[opensuse] copy of cups input data
Hello: I have a program I want to print from. Unfortunately I don't know how the program sends out the data to the printer, I only know that the data ends at CUPS and CUPS prints it out. Is it possible somehow to identify/make a copy of the data which is the input for CUPS (or exits from the program) so that I could analyze it? For example if it is text data or bitmap image data etc? Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Istvan Gabor <suseuser04@freemail.hu> [02-12-15 16:43]:
I have a program I want to print from. Unfortunately I don't know how the program sends out the data to the printer, I only know that the data ends at CUPS and CUPS prints it out. Is it possible somehow to identify/make a copy of the data which is the input for CUPS (or exits from the program) so that I could analyze it? For example if it is text data or bitmap image data etc?
You might print to a file instead of the printer. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Patrick Shanahan írta:
* Istvan Gabor <suseuser04@freemail.hu> [02-12-15 16:43]:
I have a program I want to print from. Unfortunately I don't know how the program sends out the data to the printer, I only know that the data ends at CUPS and CUPS prints it out. Is it possible somehow to identify/make a copy of the data which is the input for CUPS (or exits from the program) so that I could analyze it? For example if it is text data or bitmap image data etc?
You might print to a file instead of the printer.
This is a proprietary program. It cannot print to file, it can only send data to print. Unfortunately the print size on the paper is not properly scaled. I would like to modify the printout size. I changed the default CUPS options but it had no effect. I think it might be helpful if I had the exact data what is sent to CUPS, but I cannot get this data directly from the program. Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, 12 Feb 2015 23:13, Istvan Gabor <suseuser04@...> wrote:
Patrick Shanahan írta:
* Istvan Gabor <suseuser04@freemail.hu> [02-12-15 16:43]:
I have a program I want to print from. Unfortunately I don't know how the program sends out the data to the printer, I only know that the data ends at CUPS and CUPS prints it out. Is it possible somehow to identify/make a copy of the data which is the input for CUPS (or exits from the program) so that I could analyze it? For example if it is text data or bitmap image data etc?
You might print to a file instead of the printer.
This is a proprietary program. It cannot print to file, it can only send data to print. Unfortunately the print size on the paper is not properly scaled. I would like to modify the printout size. I changed the default CUPS options but it had no effect. I think it might be helpful if I had the exact data what is sent to CUPS, but I cannot get this data directly from the program.
Maybe a 'pdf printer' can help you, looks like an other printer in cups, but writes into a pdf file. (That can be opened in LibreOffice) Like this one: http://www.cups-pdf.de/ (english) Available for openSUSE as "unsupported" Package: Version 2.6.1 in "Printing" and 3.0beta2 in some User-projects http://software.opensuse.org/package/cups-pdf (click on "Show more packages for unsupported distributions" to see all) There are a few "gotchas", please read carefully: "/usr/share/doc/packages/cups-pdf/README" (after install) and http://en.opensuse.org/SDB:Printing_to_PDF - Yamaban.
Yamaban írta:
On Thu, 12 Feb 2015 23:13, Istvan Gabor <suseuser04@...> wrote:
Patrick Shanahan írta:
* Istvan Gabor <suseuser04@freemail.hu> [02-12-15 16:43]:
I have a program I want to print from. Unfortunately I don't know how the program sends out the data to the printer, I only know that the data ends at CUPS and CUPS prints it out. Is it possible somehow to identify/make a copy of the data which is the input for CUPS (or exits from the program) so that I could analyze it? For example if it is text data or bitmap image data etc?
You might print to a file instead of the printer.
This is a proprietary program. It cannot print to file, it can only send data to print. Unfortunately the print size on the paper is not properly scaled. I would like to modify the printout size. I changed the default CUPS options but it had no effect. I think it might be helpful if I had the exact data what is sent to CUPS, but I cannot get this data directly from the program.
Maybe a 'pdf printer' can help you, looks like an other printer in cups, but writes into a pdf file. (That can be opened in LibreOffice)
Like this one: http://www.cups-pdf.de/ (english)
Available for openSUSE as "unsupported" Package: Version 2.6.1 in "Printing" and 3.0beta2 in some User-projects
http://software.opensuse.org/package/cups-pdf
(click on "Show more packages for unsupported distributions" to see all)
There are a few "gotchas", please read carefully: "/usr/share/doc/packages/cups-pdf/README" (after install) and http://en.opensuse.org/SDB:Printing_to_PDF
Thanks. I've installed cups-pdf and it was useful. Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Op donderdag 12 februari 2015 22:41:14 schreef Istvan Gabor:
Hello:
I have a program I want to print from. Unfortunately I don't know how the program sends out the data to the printer, I only know that the data ends at CUPS and CUPS prints it out. Is it possible somehow to identify/make a copy of the data which is the input for CUPS (or exits from the program) so that I could analyze it? For example if it is text data or bitmap image data etc?
Thanks,
Istvan
You can stop the printer, but allow incoming jobs. AFAIK the print file will be in /var/spool/cups/ With the command lpoptions you can set options on a print queue. I have seen options like fit to size, which shrinks or expands the print output to the paper size. -- fr.gr. member openSUSE Freek de Kruijf -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Freek de Kruijf írta:
Op donderdag 12 februari 2015 22:41:14 schreef Istvan Gabor:
Hello:
I have a program I want to print from. Unfortunately I don't know how the program sends out the data to the printer, I only know that the data ends at CUPS and CUPS prints it out. Is it possible somehow to identify/make a copy of the data which is the input for CUPS (or exits from the program) so that I could analyze it? For example if it is text data or bitmap image data etc?
Thanks,
Istvan
You can stop the printer, but allow incoming jobs. AFAIK the print file will be in /var/spool/cups/ With the command lpoptions you can set options on a print queue. I have seen options like fit to size, which shrinks or expands the print output to the paper size.
Thanks, it was a very good idea. The jobs indeed are stored in /var/spool/cups/d-*** files. Looking at them I could solve the problem. Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Freek de Kruijf
-
Istvan Gabor
-
Patrick Shanahan
-
Yamaban