Martin Knipper wrote:
Hallo Martin ich habe mal bei cups.org gepostet und eine Antwort von Kurt Pfeile erhalten. Win-Clients prepare the print data traditionally from their drivers to be ready for the printer. Any Unix spooler therefor had to just "pass on" the files to the printer without "filtering" it. That's why there is the "raw" option in the "print command" inside the smb.conf file. (sometimes encoded as lpr -l"). CUPS filtering for page count purposes is done through the pstops CUPS filter. Win/Samba clients' jobs don't pass this filter, therefor CUPS can't count and it logs a dummy figure of "1" into the page log for those files. You may however, with the new CUPS 1.1.12 and Samba 2.2.2, use a new feature (documented in "man cupsaddsmb"): make the CUPS printer drivers downloadable for the Win Clients and install them there. Basically it means, you get an Adobe PostScript driver on the Win Clients, vamped up with a sexy CUPS PPD, which will send *all* files as PostScript to CUPS (regardless for the modell type of the target printer); CUPS will have to figure out how to convert it (just like the jobs from any Unix/Linux CUPS client) and just do it... CAVEAT: you need enogh CPU power, RAM and spooling space for temporary raster data on the CUPS server (as it is now performing the functions of a "RIP" on behalf of your Windows Clients, which it didn't need to in your previous setup). Of course you could also install the CUPS-PPDs "manually" on your Win boxen (provided they had an Adobe Generic PS driver installed previously); then you could also use IPP (not Samba) to connect them to CUPS (this needs an IPP client for Windows...) In any of these cases, pstops is part of the RIP-ing filter chain on CUPS. Your files will be accounted for correctly (unless there is a jam on the printer *after* CUPS has done its duty, and the printer looses data already sent by CUPS. But this is a minor issue...) cupsaddsmb und Samba2.2.2 vielleicht hilft es ? Ich habs momentan noch nicht probiert. Wenn es läuft meld dich wieder Bitte. Ich hab ein Auswertungstool in PHP geschrieben kann ich dir ja mal schicken wenn du willst. Grüße Torsten