https://bugzilla.novell.com/show_bug.cgi?id=377000
User jsmeix@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377000#c7
--- Comment #7 from Johannes Meixner 2008-04-04 05:02:45 MST ---
If "print to file" is corrctly implemented,
the file content should be the same as what
is sent as PostScript to the print queue.
In both cases it should be generic PostScript
without having printer specific stuff in the PostScript,
see
https://bugzilla.novell.com/show_bug.cgi?id=80448#c18
and the URLs in
https://bugzilla.novell.com/show_bug.cgi?id=80448#c25
What can be different are printing option settings,
e.g. "lp -o landscape".
To get the PostScript which is actually sent to the queue
and the printing option settings:
1.
Disable printing:
cupsdisable
2.
Print a well known usual web page like
http://en.opensuse.org/Welcome_to_openSUSE.org
from Firefox to the queue
3.
The print job data file
/var/spool/cups/d<job-number-file-number>
contains what was actually sent to the queue.
4.
The print job control file
/var/spool/cups/c<job-number>
contains the option settings.
Unfortunately this file is binary but
cat /var/spool/cups/c<job-number> | tr -c '[:print:]' '.'
makes it usually sufficiently readable.
5.
Print it:
cupsenable
6.
If there is a line "LogLevel debug" in /etc/cups/cupsd.conf
one can grep the print option settings from the log file:
grep 'argv\[5\]=' /var/log/cups/error_log
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.