Sponsored Content
Full Discussion: enable printer banner
Top Forums UNIX for Dummies Questions & Answers enable printer banner Post 33985 by RTM on Tuesday 28th of January 2003 01:15:12 PM
Old 01-28-2003
See the man page on lpadmin - there is a "nobanner" and "banner" option. Banner is default.

Controlling the Use of the Banner Page

nobanner
Allow a user to submit a print request specifying that
no banner page be printed.

banner
Force a banner page to be printed with every print
request, even when a user asks for no banner page.
This is the default. Specify -o nobanner to allow
users to specify -o nobanner with the lp command.

Note the following if that does not help (reverse engineer it!):
Quote:
Disabling the banner page in Sun OS 5.x (Solaris 2.x) environment:

NeWSprint printer:

1. Change to the printer spooling directory on the printer server.

e.g. /etc/lp/printers/<printername>

2. Set BANNERPS and TRAILERPS to nullin .param file:

e.g. BANNERPS=; export BANNERPS
TRAILERPS=; export TRAILERPS

HP Jetdirect printers (using jetadmin):

1. Change directory to /etc/lp/interfaces/model.orig

2. Edit the file named after the printer:

change banner="no" (or "yes") to banner=""

All other printers:

1. Change to the /etc/lp/interfaces/<printername> directory.

2. Edit the file named after the printer:

change nobanner="no" to nobanner="" (or "yes")

If the printer you are printing to is a remote printer, your only options are:

1. Set up the remote printer with "Banner Required? No" and send your
jobs with:

lp -d printername -o nobanner file

2. Shut off the banner in one of the above ways on the print server.
Also note that some printers may need to have the banner turned on -

Quote:
If the printer is an HP with Jetdirect card you need to
telnet into the jetdirect card (telnet <pingname of prtr>
then hit cr twice) to get to the internal menu. There is
a banner option that needs to be turned off. Follow the
instructions in the menu to turn it off.

Last edited by RTM; 01-28-2003 at 02:20 PM..
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Banner on remote printer

Hi all, i have a Sun Solaris server ( Sun OS 5.5.1 ) , and few windows machines accessing it using exceed humming bird software ( 6.1 ). I have a EPSON printer connected to one of the PCs, and I am using Exceed LPD daemon for printing. Whenever I trigger a print command from Sun server,... (2 Replies)
Discussion started by: shibz
2 Replies

2. Linux

know I do for to printer in printer deskjet 80colun

I want to print some thing in HP Deskjet 692.? (1 Reply)
Discussion started by: edvaldo
1 Replies

3. IP Networking

How do you send printer codes to an IP printer

We were printing to a serial laser printer with all the HP codes to generate a form (i.e. lines, boxes, etc.) Thus the file is filled w/ control codes. We are switching to an IP printer and we can no longer print directly to the device (i.e. cp text /dev/tty11). It looks like we have to use the lp... (2 Replies)
Discussion started by: jeffbugfree
2 Replies

4. UNIX for Dummies Questions & Answers

regular user - enable printer - aix unix

how can I let a regular user enable a printer? (0 Replies)
Discussion started by: naes
0 Replies

5. AIX

Check printer queue on Windows printer server

Hello Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running. I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Discussion started by: NielsV
0 Replies

6. AIX

Enable printer - Permission denied

Enable printer - Permission denied I have created prnuser in AIX system and I member this user to printq and lp groups when I try to enable any printer I'm getting Permission denied Pls advice .... (1 Reply)
Discussion started by: Mr.AIX
1 Replies

7. Linux

Find printer location and printer type

Hi, Is it possible to find the printer location and printer type (whether it is local or network) using command in Linux ? Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies

8. Shell Programming and Scripting

How to enable "banner" for a user in solaris?

Password: Using keyboard-interactive authentication. Do you agree with the banner terms (y/n)?: y (4 Replies)
Discussion started by: frintocf
4 Replies
enable(1)                                                          User Commands                                                         enable(1)

NAME
enable, disable - enable/disable LP printers SYNOPSIS
/usr/bin/enable printer... /usr/bin/disable [-c | -W] [ -r [reason]] printer... DESCRIPTION
The enable command activates printers, enabling them to print requests submitted by the lp command. enable must be run on the printer server. The disable command deactivates printers, disabling them from printing requests submitted by the lp command. By default, any requests that are currently printing on printer will be reprinted in their entirety either on printer or another member of the same class of printers. The disable command must be run on the print server. Use lpstat -p to check the status of printers. enable and disable only effect queueing on the print server's spooling system. Executing these commands from a client system will have no effect on the server. OPTIONS
The following options are supported for use with disable: -c Cancels any requests that are currently printing on printer. This option cannot be used with the -W option. If the printer is remote, the -c option will be silently ignored. -W Waits until the request currently being printed is finished before disabling printer. This option cannot be used with the -c option. If the printer is remote, the -W option will be silently ignored. -r [reason] Assigns a reason for the disabling of the printer(s). This reason applies to all printers specified. This reason is reported by lpstat -p. Enclose reason in quotes if it contains blanks. The default reason is "unknown reason" for the existing printer, and "new printer" for a printer added to the system but not yet enabled. OPERANDS
The following operand is supported for both enable and disable: printer The name of the printer to be enabled or disabled. Specify printer using atomic name. See printers.conf(4) for information regarding the naming conventions for atomic names. EXIT STATUS
The following exit values are returned: 0 Successful completion. non-zero An error occurred. FILES
/var/spool/lp/* LP print queue. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpcu | +-----------------------------+-----------------------------+ |CSI |enabled | +-----------------------------+-----------------------------+ SEE ALSO
lp(1), lpstat(1), printers.conf(4), attributes(5) SunOS 5.10 9 Sep 1996 enable(1)
All times are GMT -4. The time now is 04:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy