[comp.sys.att] Default switches for lp?

jessea@dynasys.UUCP (Jesse W. Asher) (03/25/90)

I run AT+T Unix V/386 3.2 on a single-user system.  I'm tired of
typing in -onobanner everytime I want to print something because I
don't want banner pages.  I don't need them.  So, is there a way
to set something that it will not do this by default (both system
and/or user)?  Is there some file that I can set up for both the
system and particular users to customize lp?  Thanx in advance.


-- 
Jesse W. Asher - Dynasys - (901)382-1705     Evening: (901)382-1609 
6196-1 Macon Rd., Suite 200, Memphis, TN 38134  
UUCP: {fedeva,chromc,autoz}!dynasys!jessea

wsinpdb@lso.win.tue.nl (Paul de Bra) (03/26/90)

In article <113@dynasys.UUCP> jessea@dynasys.UUCP (Jesse W. Asher) writes:
>I run AT+T Unix V/386 3.2 on a single-user system.  I'm tired of
>typing in -onobanner everytime I want to print something because I
>don't want banner pages.  I don't need them.  So, is there a way
>to set something that it will not do this by default (both system
>and/or user)?  Is there some file that I can set up for both the
>system and particular users to customize lp?  Thanx in advance.

The printer interface is in the dir /usr/spool/lp/admins/lp/interfaces.
It is usually a copy of one of the files from /usr/spool/lp/model.

If you change the line 'nobanner="no"' to read 'nobanner="yes"'
you will not get banners.
You can also change the line (a bit further) 'nobanner="yes"' to
'nobanner="no"' and then the option for nobanner will generate a
banner (so you can still get one if you would like so).

Paul.
(debra@research.att.com)