Hello everyone, I am using suse 10.1 and is trying to use cupsaddsmb to install printer drivers in the print$ samba share so that windows clients can do automatic download of drivers and printing can be accounted. I could manage to install drivers using cupsaddsmb and clients could install the printer. But when i print from a windows xp client, the /var/log/cups/page_log is not getting updated at all though the jobs gets printed properly.. Could anybody give me some hints so that I can log the number of pages printed by windows clients. I am using cups-windows-6.0-1.i386.rpm. Regards Vinayan K P
Hello, On Oct 23 15:13 vinayan K.P wrote (shortened):
I am using suse 10.1 ... I could manage to install drivers using cupsaddsmb and clients could install the printer. But when i print from a windows xp client, the /var/log/cups/page_log is not getting updated at all though the jobs gets printed properly.. ... I am using cups-windows-6.0-1.i386.rpm.
By default the accounting information in /var/log/cups/page_log is done only via software accounting which can only work for some generic known data formats and it is not difficult to be circumvented by experienced users. Certain CUPS filters inspect generic known data formats (e.g. pstops inspecs PostScript) and write accounting info to /var/log/cups/page_log. In contrast the Windows client systems produce with their drivers whatever printer specific data and Samba prints it in "raw" mode. Therefore no CUPS filter is run and no such filter can be run (because printer specific data is no generic known data format and all what can be done is to send it directly to the printer). See the "two longer explanations" in http://lists.suse.com/archive/suse-linux-e/2004-Nov/1186.html To do software accounting even with printer specific data you need a special tool which knows about the data format for your particular printers or you do hardware accounting (e.g. query a network printer's built in page counter via SNMP). For example PyKota or pkpgcounter are special accounting tools: http://www.pykota.com/ For background information regarding filtering and CUPS see http://en.opensuse.org/SDB:CUPS_in_a_Nutshell and http://en.opensuse.org/SDB:Using_Your_Own_Filters_to_Print_with_CUPS Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
participants (2)
-
Johannes Meixner
-
vinayan K.P