[cups.general] Missing print jobs in page_log

Johannes Meixner jsmeix at suse.de
Tue May 17 02:14:24 PDT 2011


Hello,

On May 13 05:38 Shimi Chen wrote (excerpt):
>> http://en.opensuse.org/SDB:Printer_Accounting
>> ---------------------------------------------------------------------
>> In contrast when there are users who print from Windows to your
>> Linux print server, the default CUPS software accounting is not
>> really useful. The usual way to print from Windows to Linux is
>> that on the Windows client machine the Windows printer driver
>> is run. The driver produces printer specific data which is
>> then printed in "raw" mode on the Linux print server. In this
>> case the default CUPS software accounting cannot count pages.
>> For each "raw" print job there may be none or at most a single
>> entry in /var/log/cups/page_log but the page count value could
>> be only a dummy value "1" regardless how many pages were
>> actually printed.
>> ---------------------------------------------------------------------
....
> Is there any way to prevent printing in "raw" mode and just accept
> postscript so that the log will work correctly?

See the "Printing from Windows to Linux" article
(which is linked at "See also" in the above article):
http://en.opensuse.org/SDB:Printing_from_Windows_to_Linux
----------------------------------------------------------------------
When filtering should take place on the CUPS server, a pre-filtering
process into PostScript must happen on Windows client systems...
----------------------------------------------------------------------
Additionally you may have to disable in your Samba configuration
a line like "cups options = raw" so that the PostScript which
comes from the Windows clients is processes as usual by CUPS.
Note that without "cups options = raw" in your Samba configuration
all Windows client systems must send plain PostScript - otherwise
the CUPS filtering and/or the CUPS software accounting would fail.


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH -- Maxfeldstrasse 5 -- 90409 Nuernberg -- Germany
HRB 16746 (AG Nuernberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer





More information about the cups mailing list