File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Network printing issue >(^.^)>" Watch "Network printing issue >(^.^)>" New topic

Network printing issue >(^.^)>

Jhun Hoon

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

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

Thanks !
<(^.^< (>^.^)>
I agree. Here's the link:
subject: Network printing issue >(^.^)>
It's not a secret anymore!