[7221] in SIPB bug reports
sun4 8.2.19: tgif
daemon@ATHENA.MIT.EDU (Elliot Schwartz)
Mon Apr 5 20:21:41 1999
To: bug-sipb@MIT.EDU
Date: Mon, 05 Apr 1999 20:20:16 EDT
From: Elliot Schwartz <elliot@MIT.EDU>
System name: w20-575-36.mit.edu
Type and version: SPARC/5 8.2.19
Display type: cgsix
What were you trying to do?
Print a tgif file from the command line.
What's wrong:
Tgif tries to use "postscript" as the destination for lp.
/usr/athena/bin/lp passes postscript as the printer via the -P
option to lpr, and the printer isn't found:
athena% add sipb; tgif -print file.obj
Tgif Version 3.0 (patchlevel 13)
Copyright (C) 1990-1996, William Chia-Wei Cheng
Reading 'file.obj' ...
Writing to '/tmp/Tgif7iHzz_' ...
Writing to '/tmp/Tgif0qlIqD' ...
lp -dpostscript /tmp/Tgif0qlIqD 2>&1
/usr/athena/bin/lpr: postscript: postscript: unknown printer
'/tmp/Tgif0qlIqD' printed.
What should have happened:
Tgif probably should not have passed the "-dpostscript" option to lp,
or perhaps even called lpr directly.
Please describe any relevant documentation references:
tgif(1), lp(1), lpr(1)