HP 2035n


 
Thread Tools Search this Thread
Operating Systems SCO HP 2035n
# 1  
Old 11-10-2011
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?
# 2  
Old 11-10-2011
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.
# 3  
Old 11-11-2011
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.
# 4  
Old 11-12-2011
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 ----------

Code:
lp -dhp2035 -onobanner file

# 5  
Old 11-14-2011
I appreciate all your help. I did try the code you supplied and am still receiving the banner page.
# 6  
Old 11-14-2011
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:
Code:
 0<${file}..........................

with
Code:
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.
This User Gave Thanks to jgt For This Post:
# 7  
Old 11-14-2011
Quote:
Originally Posted by jgt
Works whether $file is postscript or PCL.
... or perhaps even raw text, if one substituted \r\n for \n.
This User Gave Thanks to Corona688 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question