Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Print PDF file using LP Command

807605Jul 16 2007 — edited Jul 18 2007
Hi all,

I need to print pdf files by using lp command on UNIX server. Iam using J2sdk1.4.

I need to use the following lp command in the function to print:

lpr -P <printername> <filename>

Can any one give me the code for this.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 15 2007
Added on Jul 16 2007
5 comments
1,206 views