> From [EMAIL PROTECTED] Mon Oct 7 09:04:25 2002 > Subject: LPRng: Remote lpq doesn't display queue. > To: [EMAIL PROTECTED] > Date: Mon, 7 Oct 2002 11:16:45 -0400 (EDT) > From: "Nathan Coraor" <[EMAIL PROTECTED]> > > Before I get into my problem, I'd like to thank Patrick for creating > such a robust printing system with -excellent- and incredibly > extensive/in-depth documentation covering it. Thanks to the LPRng > HOWTO, configuration has been a snap. I wasn't surprised to see his > name as the author on the Samba printing docs. =) > > That said, here's what's up: > > I may have missed this in the documentation, but for some reason, I > can't get the printer queue of a remote printer using SysV or BSD lpq > (it may not even work with LPRng lpq, I haven't installed LPRng on any > of the workstations yet). All that lpq returns is: > > >lpq > lj101@shake 0 jobs
You need to try: lpq -s They interpret the status request 'inverted'. > > Currently, the clients are running Solaris 8 SysV printing. > /etc/printers.conf points them at BSD printing on a SunOS 4.1.4 machine > running BSD printing (a SysV print server did not seem like a very fun > idea). /etc/printcap on that machine points them to the new LPRng > print server on another Solaris 8 machine. lpq on the SysV clients AND > the BSD server returns the above output. If I point a client machine > directly at the LPRng server (bypassing the BSD server) I still get the > above output. > > In the interest of not having a busted printer installation > mid-semester, we're waiting until at least the winter break to install > LPRng clients on the client machines (same reason jobs get forwarded > twice). > > Did I miss a config option? Welll... sort of. See: # Purpose: reverse LPQ status format when specified remotehost # default reverse_lpq_status=0 (STRING) For example: lp:.... :reverse_lpq_status=sun.4.system This should work. I think. > > Thanks in advance, > --nate \ Patrick Powell Astart Technologies [EMAIL PROTECTED] 6741 Convoy Court Network and System San Diego, CA 92111 Consulting 858-874-6543 FAX 858-751-2435 LPRng - Print Spooler (http://www.lprng.com) ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
