Re: [SLE] Re: Kyocera FS-1020D *with* CUPS: Solved!
Johannes Meixner
Hello,
On Dec 22 20:34 Jim wrote (shortened):
I tried printing the ghostscript-6.51 align.ps page, but for some reason, it never emerged from the printer, although cups sent it,
I guess it is the PostScript interpreter of the printer which cannot deal correctly with the special PostScript code in align.ps which is necessary to get really the hard printer's built in margins.
What I found with old versions of ghostscript and cups is that it is the accounting information that cups adds to each PostScript print job that confuses things. My solution back then was to hack the cups perl script so that it did not insert the accounting code into the job, but it should be possible to just stop cups, and print directly to the device using ghostscript? (Just a guess) (I may have a wrong interpretation of what the problem is (since I have not followed the entire thread) -- I just happened to notice the mention of off centered printing in your post and wanted to share the experiences I had getting my own printer properly aligned.)
Hello, On Dec 23 10:14 Mark Gray wrote (shortened):
What I found with old versions of ghostscript and cups is that it is the accounting information that cups adds to each PostScript print job that confuses things. My solution back then was to hack the cups perl script so that it did not insert the accounting code into the job
I guess you are talking about http://portal.suse.com/sdb/en/2002/11/jsmeix_print-81-cups-formfeed.html If yes then note that "cupsomatic" is not a filter provided by the CUPS project but a filter provided by the foomatic project at LinuxPrinting.org. When you read the article you see that of course the accounting code may have any other arbitrary unwanted side effects too. But as the Kyocera FS-1020D is a real PostScript printer I assume no "cupsomatic" script is called - in particular no such script should be called when the original PPD file from Kyocera is used. Have a look at http://portal.suse.com/sdb/en/2003/06/jsmeix_print-cups-filters.html how to determine which filters are actually executed for a particular job - at least for modern CUPS versions you may use something like grep 'Started filter' /var/log/cups/error_log To avoid any filtering (e.g. for sending align.ps as is to the printer) either use cat align.ps >/dev/lp0 or to send it (without filtering) via the spooler use lp -d <queue> -o raw see the "CUPS Software Users Manual", "Raw or Unfiltered Output" as mentioned in http://portal.suse.com/sdb/en/2004/05/jsmeix_print-cups-in-a-nutshell.html Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
participants (2)
-
Johannes Meixner
-
Mark Gray