I came across this error when running my batch print application:
The printer, KONICA MINOLTA1200/1051PS(Plug), could not be openned. at ceTe.DynamicPDF.Printing.PrintJob.CreatePrinterHdcAndStartDoc()
at ceTe.DynamicPDF.Printing.PrintJob.Print()
It had succesfully sent about 100 items to print. I am using the following code adapted for vb from your c sharp example found on this forum, which works:
For each ....
Dim oPdf As InputPdf = New InputPdf(Readfile(strFilename))
MyPrintJob.DocumentName = strFilename
MyPrintJob.Pages.Add(oPdf)
MyPrintJob.Print()
MyPrintJob = New PrintJob(Printer.Default)
oPDF.dispose()
Next
What would cause a connection problem to the printer? it is a network printer.
Printer cannot be opened...
Re: Printer cannot be opened...
Support · Nov 28, 2012Hello,
Can you please send over the following details to our [^a|mailto:support@cete.com|opennewwindow|support^] team so that they can look into it further?
1.Full stack trace of the error message.
2.Exact name and version of the operating system(whether it is x64 or x86).
3.Are you using DynamicPDF PrintManager in Web application or Windows application?
4.Exact build number of the DynamicPDF PrintManager which you are using.
5.Are you able to print the documents to other printers?
6.Are you able to run the sample examples downloaded with the product download?
7.Sample code using which we can recreate the error.
8.Run the below sample code and send over the list of printer names.
Dim printer As ceTe.DynamicPDF.Printing.Printer
For Each printer In ceTe.DynamicPDF.Printing.Printer.GetLocalPrinters()
Console.WriteLine(printer.Name)
Next
Console.WriteLine("PrintManager------------------------------------------------")
Console.ReadLine()
Thanks,
ceTe Software Support Team.