printing extra blank page after each form print using Linux

Bill Campbell bill at celestial.com
Thu Nov 1 19:26:03 PDT 2007


On Thu, Nov 01, 2007, Kenneth Brody wrote:
>Quoting Tony Freehauf (Thu, 01 Nov 2007 17:32:34 -0500):
>
>> i just installed a new Xerox 3500N laser printer. Xerox says it is fully
>> pcl5 compatable.
>> it appears to work great.
>> the issue is after each form is printed an extra blank page is printed
>> We are running Linux  2.4.20-18.7smp & filepro 5.0
>> the print command i am using is lp -dprintername -o nobanner -s
>> what should i do?
>
>filePro ends the report at the end of the page, and then the spooler tells
>the printer to eject the page.  The combination of the two often causes a
>blank page to be printed.
>
>1) It may be possible to tell the spooler not to add the page eject at the
>    end of the printout, perhaps with some other "-o" flag in pmaint.
>
>2) You may be able to change filePro's printer termination (print code 3)
>    sequence for the printer, to eliminate the printer reset sequence that
>    may be there, thereby preventing a double-reset by the spooler.

With HP Laserjets, sending ESC-E will act as a form feed only if
there's data in the printer's buffer.

My printer interface scripts strip trailing blank lines from the
end of the print jobs which cures this problem as well,
regardless of printer type.

Bill
--
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

It's not what you pay a man but what he costs you that counts.
    Will Rogers


More information about the Filepro-list mailing list