Networked Printers

Hi,

I am currently using Aspose.Words for java to carry out find and replace on a word document and send it to a printer depending on the printer selected from the JComboBox list. I have tested this using the "Fax" entry and it seems to work no problem. My problem is when using a networked printer. It seems to print to the default printer instead.

Does Aspose.Words support networked printers?

The name for my networked printer is "HQ Accounts Area on ukhq02".

When I call the method I use document.print("HQ Accounts Area on ukhq02");

This just sends it to my default printer though.

Thanks.

Hi Ross,

Thanks for your inquiry. Please make sure that you have rights to print on this printer and it is accessible. Please make sure that name of the network printer is specified correctly. Also, make sure that name of the machine is specified correctly. You can try specifying name of network printer using IP address as follows:

doc.print("\\\\192.168.0.2\\HQ Accounts Area on ukhq02");

I hope, this helps.

Best regards,