cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Member
New Member

Send PDF to a Network Printer from java

What is the best way to send a PDF file to a Xerox WorkCentre 5755 printer directly from java. Can I FTP (preferrable SFTP) the PDF file or use a data stream to send the file? Where can I find documentation and example of this?

 

FYI: The computer where the java is running does not have the printer drivers.

 

0 Kudos
1 Reply
Highlighted
Technical Escalation User
Technical Escalation User

Re: Send PDF to a Network Printer from java

Hello,

 

you can look at using LPR command to achieve this.

These are industry standard, you should only need to have port 515 and LPR protocol open on the printer.

 

Some discussing on this:

http://www.oracle-java.com/article/6099513/Using+lpr+command+from+java

Please select Accept as Solution if you feel this post has helped you.
0 Kudos