Operating System - HP-UX
1823144 Members
3532 Online
109647 Solutions
New Discussion юеВ

Re: Printing an additional page

 
Shaamil
Frequent Advisor

Printing an additional page

Hi All
I have a remote printer configured on my
hp-ux11.00 server. The printer is connected to a lantronix print-server.
I have an issue that when I send a file to my printer it prints an additional page with some info on it. i.e.
1) The file being printed in a banner format.
2) The name of the printer job.
3) The user who sent the print job.
4) Time/date
5) name of the print server.

Is there a setting I have to change in the /etc/lp/interface/ file????
Please assist.
HP is the greatest
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: Printing an additional page

First try printing with nobanner option - "lp -onb filename". If that works you could make an alias for lp that includes the nb option.


Pete

Pete
Prashant Zanwar_4
Respected Contributor

Re: Printing an additional page

I have the interface file like the below:

See that the BSDh should be added to options of rlp command.

Hope above helps
Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Shaamil
Frequent Advisor

Re: Printing an additional page

Thanks Guys,
The opiton of edditing the script did not work, why I do not know.

I have discussed with my developers and they will add the -onb to their lp command in their program.
HP is the greatest
Jose Mosquera
Honored Contributor

Re: Printing an additional page

Hi,

Pls check if a /etc/lp/interface/model.orig/ file exist, the try to modify here the BANNER variable.

Rgds.
Rory R Hammond
Trusted Contributor

Re: Printing an additional page

You might login using EZWebCon and check to see if you have the banner box checked under services.

FYI. I was able to download from lantronics a xwindows version of EZWebCon. No MS windows need.

you can also telnet to see if banner is on:

telnet printer_ip
trying...
Connected to printer_ip
Escape character is '^]'.
Local flow control off

Lantronix LPS1 Version V3.5/7(981112)

Type HELP at the 'Local_3> ' prompt for assistance.
Username> anyname
Local_3>> list services

Service Identification
DPBILL_PS LPS1 Parallel Port PostScript Service
DPBILL_PCL LPS1 Parallel Port PCL/binary Service
DPBILL_TEXT LPS1 Parallel Port Text Service
TEXT

(I have a services CALLED TEXT defined)
Local_3>> list service TEXT

you will see the banner if it is enable in the output. I would read the Lantronx doc about changing via the command line.


Rory
There are a 100 ways to do things and 97 of them are right