Hi Craig, Don't know if this helps, but "lpq -a" using LPRng-3.8.8 on Tru64 40.g works for me.
Regards, Antony. ----- Unix Systems Administrator School of Computing & IT University of Western Sydney Phone: (02) 4736 0771 Fax: (02) 4736 0770 Programmer (n): One who makes the lies the salesman told come true. She said she had nothing to wear. I smiled. ----- Original Message ----- From: "Craig Small" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 26, 2002 4:26 PM Subject: LPRng: lpq -a still does not work in 3.8.8 > # lpq -a > Printer: epson600 - cannot get status from device '<NULL>' > Printer: lp - cannot get status from device '<NULL>' > > This is lprng 3.8.8 > > This is what a D1 gives: > > 2002-02-26-16:25:42 [3601] Initialize: /dev/null fd 3 > 2002-02-26-16:25:42 [3601] initsetproctitle: doing setup > 2002-02-26-16:25:42 [3601] initsetproctitle: Argv 0xbffffbe4, LastArgv 0xbfffffee > 2002-02-26-16:25:42 [3601] lpq Setup_uid: OriginalEUID 1000, OriginalRUID 1000 > 2002-02-26-16:25:42 [3601] lpq Setup_uid: OriginalEGID 1000, OriginalRGID 1000 > 2002-02-26-16:25:42 [3601] lpq Setup_uid: Original RUID/EUID 1000/1000, RUID/EUID 1000/1000 > 2002-02-26-16:25:42.018 [3601] lpq Setup_configuration: starting, Allow_getenv 0 > 2002-02-26-16:25:42.018 [3601] lpq Setup_configuration: Configuration file '/etc/lprng/lpd.conf' > 2002-02-26-16:25:42.018 [3601] lpq Setup_configuration: Require_configfiles_DYN '1' > 2002-02-26-16:25:42.018 [3601] lpq Get_config: required '1', '/etc/lprng/lpd.conf' > 2002-02-26-16:25:42.019 gonzo [3601] lpq Get_local_host: ShortHost_FQDN=gonzo, FQDNHost_FQDN=gonzo.eye-net.com.au > 2002-02-26-16:25:42.020 gonzo [3601] lpq Is_server 0, DaemonUID 1, DaemonGID 7, UID 1000, EUID 1000, GID 1000, EGID 1000 > 2002-02-26-16:25:42.020 gonzo [3601] lpq Setup_configuration: Host 'gonzo.eye-net.com.au', ShortHost 'gonzo', user 'csmall' > 2002-02-26-16:25:42.020 gonzo [3601] lpq Build_printcap_info: list->count 0, raw->count 6 > 2002-02-26-16:25:42.020 gonzo [3601] lpq Build_printcap_info: list->count 2, raw->count 0 > 2002-02-26-16:25:42.020 gonzo [3601] lpq all: Dump_line_list: lpq- Config - 0x804c248, count 2, max 102, list 0x8051fe0 > 2002-02-26-16:25:42.020 gonzo [3601] lpq all: [ 0] 0x804d7d0 ='lpd_port=0' > 2002-02-26-16:25:42.020 gonzo [3601] lpq all: [ 1] 0x8052180 ='mc=2' > 2002-02-26-16:25:42.020 gonzo [3601] lpq all: lpq: all printers > 2002-02-26-16:25:42.020 gonzo [3601] lpq all: Get_all_printcap_entries: starting > 2002-02-26-16:25:42.020 gonzo [3601] lpq all: Select_pc_info: looking for 'all', depth 0 > 2002-02-26-16:25:42.020 gonzo [3601] lpq all: Select_pc_info: wildcard trying 'blah' > 2002-02-26-16:25:42.020 gonzo [3601] lpq all: Select_pc_info: wildcard trying 'epson600' > 2002-02-26-16:25:42.020 gonzo [3601] lpq all: Select_pc_info: wildcard trying 'lp' > 2002-02-26-16:25:42.020 gonzo [3601] lpq all: Select_pc_info: returning '<NULL>' > 2002-02-26-16:25:42.020 gonzo [3601] lpq all: Dump_line_list: Get_all_printcap_entries- All_line_list - 0x804c288, count 2, max 102, list 0x80502f0 > 2002-02-26-16:25:42.020 gonzo [3601] lpq all: [ 0] 0x8050c20 ='epson600' > 2002-02-26-16:25:42.020 gonzo [3601] lpq all: [ 1] 0x8050490 ='lp' > 2002-02-26-16:25:42.020 gonzo [3601] lpq all: Dump_line_list: lpq- All_line_list - 0x804c288, count 2, max 102, list 0x80502f0 > 2002-02-26-16:25:42.020 gonzo [3601] lpq all: [ 0] 0x8050c20 ='epson600' > 2002-02-26-16:25:42.020 gonzo [3601] lpq all: [ 1] 0x8050490 ='lp' > 2002-02-26-16:25:42.020 gonzo [3601] lpq epson600: Show_status: start > 2002-02-26-16:25:42.021 gonzo [3601] lpq lp: Show_status: start > 2002-02-26-16:25:42.021 gonzo [3601] lpq lp: lpq: done > 2002-02-26-16:25:42.021 gonzo [3601] lpq lp: lpq: tempfiles removed > 2002-02-26-16:25:42.021 gonzo [3601] lpq lp: lpq: after loop > 2002-02-26-16:25:42.021 gonzo [3601] lpq lp: lpq: cleaning up > 2002-02-26-16:25:42.021 gonzo [3601] lpq lp: cleanup: done, exit(0) > -- > Craig Small VK2XLZ GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 > Eye-Net Consulting http://www.eye-net.com.au/ <[EMAIL PROTECTED]> > MIEEE <[EMAIL PROTECTED]> Debian developer <[EMAIL PROTECTED]> > > -------------------------------------------------------------------------- --- > 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. > -------------------------------------------------------------------------- --- ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
