Technical article 105667

Suppressing banners when printing to HP Jet Direct Network Printers.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

I configured printing to an HP Jet Direct Network printer. How can I suppress the banner page and form feed? I tried changing the interface file in /usr/spool/lp/admins/lp/interfaces, but this did not make a difference. Also, I did not find a file in /usr/spool/lp/admins/lp/interfaces for the Network printer.

Cause

The interface file for non-HP Jet Direct printers is found in the directory /usr/spool/lp/admins/lp/interfaces. The interface file has the same name as the printer. However, when print services for an HP Jet Direct network printer are configured, a new directory is created. It is /usr/spool/lp/admins/lp/interfaces/model.orig. It is in this directory that the interface file for the HP Jet Direct printer will be found.

Solution

Edit the interface file in the directory:

/usr/spool/lp/admins/lp/interfaces/model.orig

that has the same name as the HP Jet Direct printer. Search for lines containing the word "banner".

For SCO UNIX Version 4.2 systems, the lines will read:

nobanner="no"
Change them to:
nobanner="yes"

For SCO OpenServer 5.0.x systems, the lines will read:

banner="yes"
Change them to:
banner=""
NOTE:     If you have copied an interface file for a serial or parallel
          printer into the model.orig directory to use as the interface
          file for your  HP Jet Direct printer, be sure to edit out any
          stty commands as they will generate email error messages.

See also

TA102824, "What is the HP Jet Direct Extended Feature Supplement?"

From the Xinuos technical article database, record 105667. Reproduced with permission. The original is at www.sco.com/ta/105667, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.