[linux] printcap entry for a null printer default

Cere M. Davis cere at u.washington.edu
Wed Mar 31 17:09:26 PST 2004



Er uhm. I figured it out. Just forgot to hup the lpd server and I sort
of let the debugging output confuse me for a little too long.

I just had to set lp=/dev/null and set the spool directory with sd=.

The solution was just easy as I had hoped.


On Wed, 31 Mar 2004, Aaron Grewell wrote:


> Date: Wed, 31 Mar 2004 16:28:08 -0800

> From: Aaron Grewell <agrewell at uwb.edu>

> Reply-To: Linux/Unix Users Group at the UW <linux at u.washington.edu>

> To: Linux/Unix Users Group at the UW <linux at u.washington.edu>

> Subject: Re: [linux] printcap entry for a null printer default

>

> You may need a fake queue with a special print-filter script that sends

> any data submitted to /dev/null.

>

> On Wed, 2004-03-31 at 16:19, Cere M. Davis wrote:

> > Hi.

> >

> > I'm running lprng and want to set my printcap file so that the default

> > printer is null and directs jobs that are sent to no particular printer to

> > /dev/null, basicaly forcing users to use an 'lpr -P <printer>' type

> > command when they send print jobs. I can't figure out how to set this up

> > in /etc/princap in such a way that lprng wont reject. Does anyone have

> > experience with this?

> >

> > Thanks,

> > -Cere

> >

> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

> > Cere Davis

> > Unix Systems Administrator - CSDE

> > cere at u.washington.edu ph: 206.685.5346

> > https://staff.washington.edu/cere

> >

> > GnuPG Key http://staff.washington.edu/cere/gpgkey.txt

> > Key fingerprint = B63C 2361 3B9B 8599 ECC9 D061 3E48 A832 F455 9E7FA

> >

> >

>

>


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cere Davis
Unix Systems Administrator - CSDE
cere at u.washington.edu ph: 206.685.5346
https://staff.washington.edu/cere

GnuPG Key http://staff.washington.edu/cere/gpgkey.txt
Key fingerprint = B63C 2361 3B9B 8599 ECC9 D061 3E48 A832 F455 9E7FA





More information about the Linux mailing list