error creating a printer object

error creating a printer object

Forum member · Jun 23, 2010
Hi, I'm trying to create a Printer object refering to a HP Color LaserJet CP3525 PCL 6. I tried to put the name of the printer, the share name, the url address but nothing works. I got the error the printer could not be found. But I'm able to print manualy on this printer a pdf file generated by DynamicPDF generator. And if I go to the printer and fax menu, i see the network printer that I wanted. Here is my code: Dim MyPrinter As Printer = New Printer("\\terre\HP3525-FI") I tried only the name like this: Dim MyPrinter As Printer = New Printer("HP3525-FI") And I tried the share name Dim MyPrinter As Printer = New Printer("HP3525-COLOR") Nothing works... And I have the latest build:15925 Thanks.

Re: error creating a printer object

Forum member · Jun 23, 2010
I tried another network printer and it's work. But I need to use the print manager on a web application. What is the printer setting that I need? Do I need to a the printer on the server? Because I had the printer that it worked on my srever but the printmanager does not work... And I dont know why the other printer does not work too... If it's possible to send me a doc with all setting that the network printer needs to have. Thanks.

Re: error creating a printer object

Support · Jun 23, 2010
Hello, It is possible to print to the network printer without any problem. Please make sure that you are using correct printer name. Also try using the Default printer by specifying the Printer.Default which gives the default printer. The component if used in web application will only print on the server side as it has no access to the client's printer. Thanks, ceTe Software Support Team