Doesn't work for me. >>>>>> [root@xxxxxxxxx balay]# cd [root@xxxxxxxxx root]# /etc/init.d/cups stop Stopping cups: [FAILED] [root@xxxxxxxxx root]# /etc/init.d/lpd stop Stopping lpd: [FAILED] [root@xxxxxxxxx root]# lpq.LPRng -Plw3@xxxxx Printer: lw3@xxxxxxxxx 'lw3_local' Queue: no printable jobs in queue Status: lw3 printed STDIN for icotaki icotaki on silbermann.. [root@xxxxxxxxx root]# lpq.cups -Plw3@xxxxx lpq: Unable to contact server! [root@xxxxxxxxx root]# >>>>>>> Also, I need the optional port number - this way - I can tunnel my print jobs over ssh portforwarding. (without having a local cups/lpd running) I'm guessing the cups version of lpq/lpr doen't have this functionality. This is bad - esp: when redhat listed LPRng as a depreciated package. Thanks, Satish On Fri, 13 Jun 2003, Thomas Dodd wrote: > > > Satish Balay wrote: > > With LPRng, I can use the following way to print to a remote LPR print > > server.. > > > > lpr -Pprinter@xxxxxxxxxxxxxxxxx%portnumber > > lpq -Pprinter@xxxxxxxxxxxxxxxxx%portnumber > > > > Is there any equivalent stuff in the 'lpr/lpq' tools from cups? > > lpr -Pprinter@xxxxxx > lpq -Pprinter@xxxxxx > > works for me. also 'lpstat -s' list all the printer cups sees. > > -Thomas > > >