[5453] in Athena Bugs

home help back first fref pref prev next nref lref last post

lpq/lpr

daemon@ATHENA.MIT.EDU (David Krikorian)
Mon Jul 9 11:33:14 1990

Date: Mon, 9 Jul 90 10:39:54 -0400
From: David Krikorian <dkk@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
Reply-To: dkk@mit.edu


Context: VAX and RT 7.0F (and probably all other versions)

What happens:

  tisiphone% lpq -P foo
  lpq: foo: unknown printer
  tisiphone% tail -1 /usr/adm/messages
  Jul  9 10:33:54 tisiphone lpd: unknown printer

  tisiphone% lpr -Pfoo
  lpr: foo: foo: unknown printer
  tisiphone% tail -1 /usr/adm/messages
  Jul  9 10:34:56 tisiphone lpd: foo: unknown printer

What should change:

1.  lpq should log the error as lpq, not lpd.
2.  lpq should log the name of the unknown printer.
3.  lpr should log the error as lpr, not lpd.
4.  lpr should only give stderr the printername once (not "foo: foo:")


home help back first fref pref prev next nref lref last post