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.