Discussion:
private documents on company`s printer - problem
Piotr Adamcio
2012-12-19 09:36:56 UTC
Permalink
I have a serious problem with printed documents in the our company. I have cups print server and printers installed on the computers but employees print private documents on company`s printers. Is it possible to view printed documents stored in /var/spool/cups? or any other way to check what is the contents printed file? In cups web interface are only lists of this documents but i cant view them.
Michael Sweet
2012-12-19 12:13:59 UTC
Permalink
Piotr,

You need to preserve the job files, run:

cupsctl PreserveJobFiles=yes

to keep the 'd' files around in /var/spool/cups - those are the documents being printed.

If you are using a Mac for the print server you can view these documents from the printer window, otherwise you'll need to manually access the files as root.
Post by Piotr Adamcio
I have a serious problem with printed documents in the our company. I have cups print server and printers installed on the computers but employees print private documents on company`s printers. Is it possible to view printed documents stored in /var/spool/cups? or any other way to check what is the contents printed file? In cups web interface are only lists of this documents but i cant view them.
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
__________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
Piotr Adamcio
2012-12-19 14:11:59 UTC
Permalink
Michael
i have found this files but in linux i cant open it? in cups web interfaces when i choose tasks i saw only printer and job number even (HL-5350DN-p214-639 smbprn.00000155 czytaj !!! - Notatnik ) but what program, command allow me to show this document in human readable format ;p like in pdf or odt doc.... or may be there is a way to convert d*****-jobnumber files to any readable format - pdf or something like that...
Post by Michael Sweet
Piotr,
cupsctl PreserveJobFiles=yes
to keep the 'd' files around in /var/spool/cups - those are the documents being printed.
If you are using a Mac for the print server you can view these documents from the printer window, otherwise you'll need to manually access the files as root.
Post by Piotr Adamcio
I have a serious problem with printed documents in the our company. I have cups print server and printers installed on the computers but employees print private documents on company`s printers. Is it possible to view printed documents stored in /var/spool/cups? or any other way to check what is the contents printed file? In cups web interface are only lists of this documents but i cant view them.
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
__________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
Michael Sweet
2012-12-19 14:28:02 UTC
Permalink
Piotr,

You *may* be able to use the cupsfilter command to give you a PDF version of a queued document. Without knowing the version of CUPS you are using or what Linux distro you are using, it is hard to advise you further.

However, if the print jobs are raw PCL or some other printer language you won't be able to (easily) get a preview, you might need to actually print the job to see what it contains...
Post by Michael Sweet
Michael
i have found this files but in linux i cant open it? in cups web interfaces when i choose tasks i saw only printer and job number even (HL-5350DN-p214-639 smbprn.00000155 czytaj !!! - Notatnik ) but what program, command allow me to show this document in human readable format ;p like in pdf or odt doc.... or may be there is a way to convert d*****-jobnumber files to any readable format - pdf or something like that...
Post by Michael Sweet
Piotr,
cupsctl PreserveJobFiles=yes
to keep the 'd' files around in /var/spool/cups - those are the documents being printed.
If you are using a Mac for the print server you can view these documents from the printer window, otherwise you'll need to manually access the files as root.
Post by Piotr Adamcio
I have a serious problem with printed documents in the our company. I have cups print server and printers installed on the computers but employees print private documents on company`s printers. Is it possible to view printed documents stored in /var/spool/cups? or any other way to check what is the contents printed file? In cups web interface are only lists of this documents but i cant view them.
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
__________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
__________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
Paul Conklin
2012-12-19 16:04:25 UTC
Permalink
FWIW... GhostPCL works reasonably well for converting PCL to PDF.

if you just vi the file, you can usually tell the format pretty easy.

if it's ps just ps2pdf
if it's PDF, use that
if it's PCL, use GhostPCL

GhostPCL is kind of cludgy, but it follows the same rules as GhostScript for the most part.
Post by Michael Sweet
Piotr,
You *may* be able to use the cupsfilter command to give you a PDF version of a queued document. Without knowing the version of CUPS you are using or what Linux distro you are using, it is hard to advise you further.
However, if the print jobs are raw PCL or some other printer language you won't be able to (easily) get a preview, you might need to actually print the job to see what it contains...
Post by Michael Sweet
Michael
i have found this files but in linux i cant open it? in cups web interfaces when i choose tasks i saw only printer and job number even (HL-5350DN-p214-639 smbprn.00000155 czytaj !!! - Notatnik ) but what program, command allow me to show this document in human readable format ;p like in pdf or odt doc.... or may be there is a way to convert d*****-jobnumber files to any readable format - pdf or something like that...
Post by Michael Sweet
Piotr,
cupsctl PreserveJobFiles=yes
to keep the 'd' files around in /var/spool/cups - those are the documents being printed.
If you are using a Mac for the print server you can view these documents from the printer window, otherwise you'll need to manually access the files as root.
Post by Piotr Adamcio
I have a serious problem with printed documents in the our company. I have cups print server and printers installed on the computers but employees print private documents on company`s printers. Is it possible to view printed documents stored in /var/spool/cups? or any other way to check what is the contents printed file? In cups web interface are only lists of this documents but i cant view them.
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
__________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
__________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
Loading...