TO:UNIX problem

Jean-Pierre A. Radley appl at jpr.com
Fri Sep 10 08:32:49 PDT 2004


Courtney propounded (on Fri, Sep 10, 2004 at 10:09:17AM -0400):
| If I use the command
| 
| lp -ddefault /tmp/filename
| 
| it goes there...it was a UNIX problem and has been fixed...we r scratching
| our heads as to why this happened...but we know now how to fix it...
| 

If a printer you call "default" is in fact the default system printer,
then the command

	lp filename

should behave *exactly* like the command

	lp -ddefault filename.

IOW, you never need to specify the default system printer with the -d
option; omitting the -d option sends the job to the default system
printer.

Calling a printer "default" does not make it the default system printer,
you have to so designate it.

What does the second line of the output of 'lpstat -t' tell you?

-- 
JP


More information about the Filepro-list mailing list