LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Cups/Samba disable banner printing (http://www.linuxquestions.org/questions/linux-networking-3/cups-samba-disable-banner-printing-678820/)

devbro 10-24-2008 10:13 AM

Cups/Samba disable banner printing
 
Hello everybody

I am in a pinch and after weeks of up and down I cannot remove the banner pages when printing.

We have several computer on the network and all of them submit their jobs for printing to samba. Samba passes the job to CUPS and an accounting is done using pykota.

All of these are located on a RHEL5.

no matter what I do printing jobs that come from samba always have a banner page.

my samba print command is:
print command = lpr -l -r -h -P %p %s # added to prevent cover page(banner)

I checked using: http://localhost:631 that no banner page is set.

I tracked the banner page to this file:
/usr/share/cups/banners/standard

Any ideas where else should I look at?

thanks in advance

plpl303 10-24-2008 09:01 PM

Check in /etc/cups/printers.conf


A printer that prints no banners should say:

JobSheets none none


while a printer that does will say something like:

JobSheets standard none


The first item is the "before" banner while the second is the "after" banner.

devbro 10-24-2008 10:20 PM

I checked it out.

It is already as "JobSheets none none".

I tried printing localling and there was no banner :|. So Where is the banner coming from? Samba? is there anyway to tell cups to omit banner no matter what?


here is the printer.conf file:
# Printer configuration file for CUPS v1.3.8
# Written by cupsd on 2008-10-24 10:14
<DefaultPrinter printer3>
Info printer3
Location grad lab
DeviceURI cupspykota://socket://10.0.0.21:9100
State Idle
StateTime 1224856527
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
<Printer printer4>
Info printer4
Location grad lab
DeviceURI cupspykota://socket://10.0.0.20:9100
State Idle
StateTime 1224857566
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
Option job-sheet none,none
</Printer>

ardentbiker 06-05-2009 05:50 PM

Same (similar) problem
 
I am having the same problem. I am not printing through Samba (as far as I can tell), only via CUPS and my printer is connected to a CentOS 5.3 machine.

Every print job (including test pages) from the Windows machines is preceded by a "banner" page. Pages (so far only test pages) printed from the CentOS machine do not have these banner pages.

The banner pages have the following text:

Code:

%%[Page: 1]%%
            %%[LastPage]%%
                          %%[ ProductName: ESP Ghostscript ]%%

My /etc/cups/printers.conf has the line "JobSheets none none" as specified. I have not been able to find a Ghostscript configuration file even though there is an /etc/ghostscript/ directory.

Any help would be appreciated. Thank you.


All times are GMT -5. The time now is 09:20 PM.