[cups.general] how to restore printed jobs ?

Jabka Atu mashrom.head at gmail.com
Mon May 21 09:18:29 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kurt Pfeifle wrote:
>>> I would like to be able to restore allready printed jobs. i
>>> have read some manuals and realized that i should have dxxxxx
>>> files in /var/spool/cups but when i tried i dodn't find any. i
>>> tried searching system wide and didn't got any results.
>>>
>>> maybe there is a simpler answar i guess that there is somewhere
>>> a config file that defines the data file configuration : when
>>> to delete where to put etc ...
>>
>> I assume by "restore" you mean "reprint" or "preserve" your
>> printed jobs.
>>
>> In /etc/cups/cupsd.conf there are two settings relevant to that.
>> Their defaults are these:
>>
>> PreserveJobHistory On PreserveJobFiles Off
>
> There is another setting which does indirectly influence your
> ability to keep your printed jobs:
>
> MaxJobs 500
>
> This tells CUPS to keep 500 jobs at most (current and past
> combined). The oldest jobs are deleted first to keep the total
> beneath that limit; if the 500 are all new jobs (not printed yet),
> the 501st one will be rejected...
>
> (And look also at the related "MaxJobsPerPrinter" and
> "MaxJobsPerUser" settings).
>
>> The "PreserveJobHistory On" keeps the cXXXXX ("control") files in
>> /var/spool/cups/. With the cXXXXX there, your web interface can
>> display the list of past jobs:
>> http://localhost:23631/jobs?which_jobs=completed (and, BTW,
>> utilities like KDEPrint's kjobviewer also need these CXXXX files
>> to display the job history).
>>
>> The cXXXXX files hold the meta data for each respective job ID
>> XXXXX. The actual print file as received by CUPS are in the
>> dXXXXX ("data") files (in the original format, before any
>> conversion by CUPS filters). The default "PreserveJobFiles Off"
>> directive makes CUPS delete the dXXXXX files after their print is
>> completed.
>>
>> You have to change the default to "PreserveJobFiles On" in order
>> to keep the dXXXXX files in /var/spool/cups/ (and in order to
>> keep them for reprint or archiving purposes).
>>
>> Hint: the "default" CUPS settings may not be actually spelt out
>> in the config file [depending on your distro], but be using its
>> compiled in defaults silently. In that case, just add the lines
>> to cupsd.conf.
>>
>>
>> Cheers, Kurt
>
> -- Kurt Pfeifle System & Network Printing Consultant ----
> Linux/Unix/Windows/Samba/CUPS Infotec Deutschland GmbH - A RICOH
> Company .......... Stuttgart/Germany
>
> _______________________________________________ cups mailing list
> cups at easysw.com http://lists.easysw.com/mailman/listinfo/cups
>
10x mate ..

- --
- --
Could you at least use man ?
    Jabka Atu (aka mha13/Mashrom Head)
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBRlHGcW9p6JnF9I1qAQIQAA/+N0Mrb1rhcpI+OxkH8E/NODyrp3qBC1MY
gSnRRqEXwkdMb+ZHOHItUY2VBCWa9rBhqEG0pvSZ1G2YH0k7n8cm/3TLclWOse22
D0vQU6hHgG3kEiAPwbfopX/rapN2a2+cWNhOv+xnpID4uy/EnyQEitwHWgE+S2E0
8iZcaMEVuh97ClEAcYjJFY6dvahcy/06YjkeVYBq11PLtICaMqjAZZSOBlyIOByb
IgYzkuhtW7dlL+TrP6FzB1YtqgJhsv9KRp3+JnKm2PGB5SY9HqyhkArYHqXdBh4r
Y66w7IqNsmfFBd602nt7ypGrMSWJx0d13FcHKk1m8txFZf7ndHLprOS2uTB/kCEl
C6XW6LUKkOkXARfqQKGR15mWeviH3ojPXn/EkiIjEpYvvkBK3r29th9AtyDBg9dM
mHkWsFHFCW57L7oHpzW5otp+T421E1p3sQ2mGU+P6Zdr/Ru1kGoHNVeheW7OmGmR
2WTN5bFqcJnjUszC05KDIoRm91D2pyABx2H66Ej+e5hbh+blJmXlUavpzLBMJp27
wMBC/mDs/4LwE64cBBayZTnTuumtBWkL5/IWrzTYhYWCj1mYCyH+2IEBm1lfTv7B
XlpY0EXTTe6D6yjSo6rF7JYCpEwgvvd3oZJYOD+PrwHGngwhiUYYpnfILh3+HJLK
20WfAs73kpk=
=1PmD
-----END PGP SIGNATURE-----





More information about the cups mailing list