HP 2035n

I have installed the above mentioned printer and can successfully send print jobs to it, however after each job prints, a 2nd or sometimes 3rd page also prints with it. These pages appear to be a banner page sent from SCO because they contain the servername and filename of the print job sent.

Does anyone know how I can get rid of this banner?

Did you configure the printer as an lpr/lpd (Remote) printer, or did you use the HP Printer Manager?

IF you set it up as a remote printer, edit /etc/default/lpd to remove the banners.
If you set it up as a HP Printer, edit the model file in /usr/spool/lp/admins/lp/interfaces/model.orig.

It is set up as a remote printer. /etc/default/lpd already shows BANNERS=nobanner. It seems that maybe I should change the interface itself in /var/spool/lp/admins/lp/interfaces and add something there, but there is nothing mentioned about a banner in it.

---------- Post updated at 05:40 PM ---------- Previous update was at 09:23 AM ----------

Does anyone know what I would add to the interface itself to make sure it's not allowing a banner to print? SCO v6.0.0 by the way.

If it is set up as a Remote printer there is no script in the interfaces directory.
Try using ftp to send the print file directly to the printer.
If it is set up as an HP printer, the script is in the interfaces/model.orig directory.

---------- Post updated 11-12-11 at 10:54 AM ---------- Previous update was 11-11-11 at 08:21 PM ----------

lp -dhp2035 -onobanner file

I appreciate all your help. I did try the code you supplied and am still receiving the banner page.

Today I ran into a problem with a Canon printer that would not work set up as a remote printer, or an HP printer.
In the end I "googled" "netcat SCO" and found a site where I could download netcat and then set up a local printer using a "dumb" printer model, and the device as /dev/null.
Then I edited the driver file in the interfaces directory to remove the form feeds, and banners and replaced the line:

 0<${file}..........................

with

netcat -h printerip -p 9100 <$file

Works whether $file is postscript or PCL.
Just make sure that you take care of the form feeds and reset.

1 Like

... or perhaps even raw text, if one substituted \r\n for \n.

1 Like

I am going to test this and check the results. Thank you for the responses.

The first test using NetCat has ran successfully with no banners printed! The issue appears to be resolved, thank you for the assistance.

1 Like

Did you turn off the "banner" setting on the printer itself? It's a remote setup option but I can't seem to find out whether this printer model can be administered with telnet or whether you have to use http.

On a similar printer the setting on the printer is called "LPD Banner Page" and it defaults to "Enabled". Older Jet Direct cards just call it "Banner".

Using HTTP and browsing to the printers interface, there is no option for banner page.

I'd expect to find it under Networking/TCP/Advanced tab.
Easier to find with telnet.

Interesting, didn't expect to be able to telnet into a printer. But our HP lets us do that too, when I check. Is there a fairly consistent telnet interface for most HP network printers?

The internal and external Jet Direct cards have been pretty consistent over the years. The older ones only respond to telnet (and front panel where fitted). The newer ones just have more options.
The web interface is relatively new but I've only come across one network-connected printer so far which can only be administered with a web interface. However HP make more different printers than I will ever see and have a model numbering system which is more confusing than BMW.

Nice that they have it, then. When we had problems with our printer, the web interface was totally different than what HP support was expecting.

In the web interface there is definately no "banner" options, I'm sure of it. The Networking page does have an advanced tab, but it only contains checkboxes for LPD Printing, SLP config and WS-Discovery. I've tried telnet and got a connection refused message...ideas?