Original Question:
> When I send a print request from a PC to our UNIX print server,
> I always get a single trailer page for each job. I've disabled
> just about every hint of banner/trailer pages from my
> /etc/lp/printers profile for the printer (edited the .param file),
> and I never get them when printing from a UNIX machine, only
> from the PC (using Samba *or* PC-NFS).
>
> No banner page, just the trailer - and it's wasting a lot of paper!
> Anybody know what I might try to eliminate this?
>
> All hints are greatly appreciated!
The solution, verbatim from James Ashton:
I've just gone through this and I eventually found a script in
/etc/lp/interfaces. There's a script for every printer. I found the
line:
nobanner="no"
and replaced it with
#nobanner="no"
nobanner="yes" # no banner pages required - JAA
which did the trick.
--A Sun-side fix! This worked like a charm for us. We never have a need for banner pages. If you did want banner pages sometimes, however, this might not be a working solution for you...
Thanks to all those who took the time to reply - I learned much about both the PC and UNIX sides of printing! I include the following replies (which didn't apply to us) in case it helps the "me toos" with their printing problems. Since I received many similar remedies, I'll only include one of each (sorry if I leave yours out!)...
----------------------------------------------------------------------
If it's a blank page, then chances are the file coming from the PC has a formfeed character at the very end of it. Look into whether the software on the PC end has an option named "insert FF at end of file" or something like that.
-- Frank Pardo <fpardo@tisny.com> System Administrator Transaction Information Systems New York City
----------------------------------------------------------------------
In Windows 95 you need to go to the Advanced Postscript properties for the printer. Disable the leading and trailing control D. Enable ADSC compatible postscript while you're at it so that any postscript files you generate can be read by other PS tools.
In Windows 3, you're stuffed as far as I can tell. You can add this line to each printer's entry in win.ini
ctrld=0
but that only disables the leading control D, not the trailing one.
-- |Kevin.Davidson@edinburgh.ac.uk +-+ Centre for Cognitive Science/HCRC, | |tkld@cogsci.ed.ac.uk | | University of Edinburgh, | |+44 (0)131 650 6879 .oOo. | | 2 Buccleuch Place, EH8 9LW. .oOo. |
----------------------------------------------------------------------
Are you using windows on the PC?? If so, look in the printer setup for a check box about "Send FormFeed at end". This might also be the problem on DOS based apps. That's where it was coming from on my systems.
Bob White <whiterl@nv.doe.gov>
----------------------------------------------------------------------
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:09 CDT