Skip to Main Content

Java APIs

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!

how to execute solaris lpd printing command from java code

843790Sep 10 2007 — edited Sep 10 2007
hi folk,

I want to print a post script file on a network printer (my java code will receive the Printer's IP Address and the filename ) , i'm using the solaris lpd printing command :

lpadmin -p banana_ps -o protocol=bsd,dest=IP -v /dev/null
-m netstandard -T PS -I postscript

my question is how execute this command from the java code :)

i really appreciate ur advices
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 8 2007
Added on Sep 10 2007
1 comment
178 views