File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes Network printing issue >(^.^)> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Network printing issue >(^.^)>" Watch "Network printing issue >(^.^)>" New topic
Author

Network printing issue >(^.^)>

Jhun Hoon
Greenhorn

Joined: Nov 19, 2001
Posts: 28
Hi everyone !

I'm currently using linux suse 9.2 and having a problem with network printing. I've made a simple Java program that print directly to a dot matrix printer attached to a parallel port. In the program i just send my printpage byte data to "/dev/lp0" 's outputstream.

But how could i send my print data to a remote CUPS server with IPP protocol ? In the "/etc/cups/printers.conf" there's an entry for the remote printer, something like "ipp://server/printers/lq2180" ..
I tried changing the "/dev/lp0" to that, and failed, unsurprisingly(haha) ..
How do i get around this ?

Could anyone help me on this issue ? Plzzzz ..

Albert Kam
Jhun Hoon
Greenhorn

Joined: Nov 19, 2001
Posts: 28
Hi guys, it's been dealed !
For those interested, please refer to ....

http://www.linuxprinting.org/forums.cgi?group=linuxprinting.general;article=6925

Thanks !
<(^.^< (>^.^)>
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Network printing issue >(^.^)>
 
Similar Threads
Printing at Client Side via MVC program
Print text of JtextField in java Swing using Printer
Printing from JSP
Linux + Java Printing
JPS - printing to IPP printer