Operating System - HP-UX
1825766 Members
2095 Online
109687 Solutions
New Discussion

Re: Leaving an empty page while printing.

 
Jagadesh_2
Regular Advisor

Leaving an empty page while printing.

Hi Admins,

I am facing a strange problem while taking printout from HPUX 11.11 sever. It is printing one page properly and throwing an empty page after that. When tried to print from other server it is printing properly.

I have attached the print script. Requesting your suggestions on this.

Many thanks
S.Jagadesh
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: Leaving an empty page while printing.

Shalom,

No script attached.

This is usually due to bad escape codes. It could be built into the print spooler, if you use a third party spooler, or the document.

It could also be bad escape codes built into the driver.

If the good server is an hp-9000 running hp-ux and the printer is the same you might copy configuration from one server to the next.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jagadesh_2
Regular Advisor

Re: Leaving an empty page while printing.

Please find the script.
A. Clay Stephenson
Acclaimed Contributor

Re: Leaving an empty page while printing.

The echo "\014\c" is an ASCII FormFeed so it would emit a blank page depending upon how the printer is configured. Most printers will ignore a FF if at top of page but not all. It's really difficult to diagnose printers w/o knowing exactly what the input stream. The place to start is to capture your input to a file and then examine it with od or hd. I strongly suspect that this is a case of a printer doing just what it is told to do.
If it ain't broke, I can fix that.
Jagadesh_2
Regular Advisor

Re: Leaving an empty page while printing.

Missed out this..
------------------
MAke and Model - Digital Mutli printer , LA424

User says when they tried to print from an Ethernet printer it prints fine.

It is configured via ddfa, i can see this entry in /etc/ddfa/dp

89.67.200.210 XX/2002 /dev/telnet/carts1_2 /etc/ddfa/pcf


# lpstat -t |grep dhcarr_1
device for dhcarr_1: /dev/telnet/carts1_2
dhcarr_1 accepting requests since Sep 1 12:06
printer dhcarr_1 is idle. enabled since Sep 1 12:06
Jagadesh_2
Regular Advisor

Re: Leaving an empty page while printing.

Hi Clay Stephenson,

Could you please let me know what is the sequence for "\014\c"?

If we remove this sequence from the script will it solve the problem. I am not aware of how print scripts will work. Need your help in this.

Thanks
Raj D.
Honored Contributor

Re: Leaving an empty page while printing.

Hi Jagadesh ,

1. Can you compare the property of the dumb file , in both the server.

2. You can disable the banner , that is banner=no and check.

3. Is there any change since its printing a blank page in between,


Cheers,
Raj.

" If u think u can , If u think u cannot , - You are always Right . "
Jagadesh_2
Regular Advisor

Re: Leaving an empty page while printing.

Hi Raj,

Thanks for the response.
The printqueue is configured on only one server. Hence it is not possible to compare.

This printqueue was working fine previously and there is no changes made to that print script. That is the reason as i am really wondering where exactly the problem is.