Changes between Version 4 and Version 5 of CupsFaq


Ignore:
Timestamp:
Sep 14, 2010, 12:53:56 PM (14 years ago)
Author:
Alex Taylor
Comment:

Added first general troubleshooting info; some other tweaks

Legend:

Unmodified
Added
Removed
Modified
  • CupsFaq

    v4 v5  
    3030<p><a href="#3_0">3.  Troubleshooting</a>
    3131<ul style="list-style-type: none;">
    32 <li><a name="1_0"></a>
     32<li><a href="#3_1">3.1.  How do I diagnose printing problems?</a>
    3333</ul></p>
    3434
     
    359359to use the Generic PostScript Printer driver.<p>
    360360
    361 <li>Printing to printers which use Foomatic may result in the job aborting about
    362 99% of the way through (resulting in the last few words/characters being cut
    363 off).
     361<li>Printing to printers which use Foomatic plus a built-in GhostScript driver
     362doesn't work properly just yet: the print job may abort about 99% of the way
     363through (resulting in the last few words/characters being cut off).
    364364
    365365<p>This problem is currently under investigation.  In the meantime, it does not
     
    368368"output to file" on the output port page of the OS/2 printer object's
    369369properties), and then print the file manually using <em>cupslpr</em> or
    370 <a href="http://pages.cs.wisc.edu/~ghost/gsview/">gsview</a>.
     370<a href="http://pages.cs.wisc.edu/~ghost/gsview/">gsview</a>.  (This has only
     371been tested with single-page documents.)
    371372
    372373<p>(Similarly, in programs like OpenOffice, which have the option of exporting
     
    547548automatically whenever you created a new printer in CUPS.  Unfortunately, there is
    548549no way to do this just at the moment, so you have to create them both separately
    549 yourself.
     550yourself.</p>
     551
     552<br>
     553<p>It may also strike you as confusing that you can't simply add support for your
     554printer by importing the PPD into the ECUPS or PSCRIPT driver (as you can with
     555non-CUPS printers).  After all, the driver now lists your printer as supported,
     556just as it does for native printers... so what's the problem?
     557
     558<p>The thing is, what the driver lists as supported isn't the true printer &mdash;
     559it's the PostScript-emulated version of that printer presented by CUPS.  It depends
     560on going through CUPS in order to translate it into the printer's actualy format.
     561If you were to select a CUPS-based printer driver and then try printing directly to
     562the printer (instead of going through the eCups port driver), the printer wouldn't
     563understand the job and would either reject it or start spewing out garbage.
     564(Unless, of course, it really is a PostScript printer.)
    550565
    551566
     
    609624      <li><tt>cups/share/cups/model/gutenprint/*</tt>
    610625      </ul>
     626  <li>Reinstall the foomatic and/or foo2qpdl packages if you had them installed.
     627      (Again, simply unzipping them to the same root directory as CUPS should
     628      be sufficient.)  You should also copy the file
     629      <tt>cups/etc/foomatic/filter.conf</tt> over from your previous (renamed)
     630      CUPS installation.
    611631
    612632  <li>Restore any configuration options you have defined (and want to keep) from
     
    667687<h2>3.  Troubleshooting</h2>
    668688
    669 <p>TODO
     689<p><br><a name="3_1"></a>
     690<h3>3.1.  How do I diagnose printing problems?</h3>
     691
     692<p>First of all, go into the CUPS web GUI by pointing your browser at
     693<tt>http://localhost:631</tt>.
     694
     695<p>The best place to go first is probably the Printers page.  Each defined
     696printer will show its current status; if a printer error was received by CUPS,
     697that printer will show the error message under the status column.
     698
     699<p>For more detailed information, go to the Administration page.  There's a
     700button on that page called "View Error Log", which will show you all errors
     701and warnings that were recently logged by CUPS. 
     702
     703<p>For even more detailed diagnostics, you can enable the checkbox labelled
     704"Save debugging information for troubleshooting".  (Changing this setting
     705requires the CUPS daemon to be restarted.)  Of course, this setting is only
     706useful if it was enabled <em>before</em> the error occurred... so if you
     707decide to activate it, you'll presumably want to resubmit whatever job caused
     708the error you're trying to diagnose.
     709
     710<p>Reading the error log (with or without debug information enabled) can be
     711a bit intimidating to the uninitiated.  It's not all that hard to work out
     712with a bit of practise, however.
     713
    670714}}}