Changes between Version 2 and Version 3 of CupsFaq


Ignore:
Timestamp:
Sep 4, 2010, 4:00:31 AM (14 years ago)
Author:
Alex Taylor
Comment:

CUPS upgrade instructions

Legend:

Unmodified
Added
Removed
Modified
  • CupsFaq

    v2 v3  
    3333</ul></p>
    3434
    35 
     35<p><br><a name="1_0"></a>
    3636<h2>1.  General Information</h2>
    3737
    38 <a name="1_1"></a>
     38<p><br><a name="1_1"></a>
    3939<h3>1.1.  What is eCups?</h3>
    4040
     
    5858
    5959
    60 <a name="1_2"></a>
     60<p><br><a name="1_2"></a>
    6161<h3>1.2.  All right then, what is CUPS?</h3>
    6262
     
    7575
    7676
    77 <a name="1_3"></a>
     77<p><br><a name="1_3"></a>
    7878<h3>1.3.  Another spooler?  Doesn't OS/2 already have a print spooler?</h3>
    7979
     
    8888
    8989
    90 <a name="1_4"></a>
     90<p><br><a name="1_4"></a>
    9191<h3>1.4.  How does CUPS work?</h3>
    9292
     
    219219
    220220
    221 <a name="1_5"></a>
     221<p><br><a name="1_5"></a>
    222222<h3>1.5.  How does CUPS fit into OS/2?</h3>
    223223
     
    336336
    337337
    338 <a name="1_6"></a>
     338<p><br><a name="1_6"></a>
    339339<h3>1.6.  What limitations does eCups have?</h3>
    340340
     
    351351
    352352
    353 <a name="1_7"></a>
     353<p><br><a name="1_7"></a>
    354354<h3>1.7.  Are there any known problems with eCups?</h3>
    355355
     
    376376
    377377
    378 <a name="2_0"></a>
     378<p><br><p><a name="2_0"></a>
    379379<h2>2.  Configuration &amp; Use</h2>
    380380
    381381
    382 <a name="2_1"></a>
     382<p><br><a name="2_1"></a>
    383383<h3>2.1.  How do I set up eCups on my system?</h3>
    384384
     
    387387
    388388
    389 <a name="2_2"></a>
     389<p><br><a name="2_2"></a>
    390390<h3>2.2.  What printers are supported?</h3>
    391391
     
    404404
    405405
    406 <a name="2_3"></a>
     406<p><br><a name="2_3"></a>
    407407<h3>2.3.  How do I install support for a printer which isn't listed?</h3>
    408408
     
    444444
    445445
    446 <a name="2_4"></a>
     446<p><br><a name="2_4"></a>
    447447<h3>2.4.  Where can I find PPD files?</h3>
    448448
     
    451451
    452452
    453 <a name="2_5"></a>
     453<p><br><a name="2_5"></a>
    454454<h3>2.5.  I can't import my PPD into ECUPS.DRV, what should I do?</h3>
    455455
     
    468468
    469469
    470 <a name="2_6"></a>
     470<p><br><a name="2_6"></a>
    471471<h3>2.6.  What's the difference between all these network device types (<tt>ipp://</tt>, <tt>lpd://</tt>, <tt>socket://</tt>, etc.)?</h3>
    472472
     
    506506
    507507
    508 <a name="2_7"></a>
     508<p><br><a name="2_7"></a>
    509509<h3>2.7.  What are the "Simplified" printer drivers for?</h3>
    510510
     
    523523
    524524
    525 <a name="2_8"></a>
     525<p><br><a name="2_8"></a>
    526526<h3>2.8.  Why do I need to create <em>both</em> a CUPS printer <em>and</em> an OS/2 printer object?</h3>
    527527
     
    550550
    551551
    552 <a name="2_9"></a>
     552<p><br><a name="2_9"></a>
    553553<h3>2.9.  Where should I define the printer settings: in the OS/2 printer properties, or in CUPS?</h3>
    554554
     
    572572
    573573
    574 <a name="2_10"></a>
     574<p><br><a name="2_10"></a>
    575575<h3>2.10.  How do I upgrade to a new version?</h3>
    576576
    577 <p>It depends on the component...
     577<p>It depends on which specific the component you are upgrading.
     578
    578579<dl>
    579 <dt>ECUPS.DRV
    580 <dd>Unzip the <tt>ecups-*.zip</tt> file over the existing files (in
    581 <tt>\OS2\DLL\ECUPS</tt>).<p>
    582 <dt>CUPS.PDR
     580<dt><u>CUPS</u>
     581<dd>Make sure you stop the CUPS Daemon (cupsd.exe) if it is running.
     582<p>Generally, you can just unzip the new <tt>cups-*.zip</tt> over your previous
     583installation.  You should back up the existing <tt>\cups</tt> directory tree
     584first, though.
     585
     586<p>If you'd rather install cleanly (while preserving your setup), do the following:
     587<ol>
     588  <li>Rename your current <tt>\cups</tt> directory tree.
     589  <li> Unzip the new <tt>cups-*.zip</tt> &mdash; a new <tt>\cups</tt> tree will be created.
     590  <li>Copy the following files over from your previous (renamed) <tt>\cups</tt> directory tree:
     591      <ul>
     592      <li><tt>etc/cups/ppd/*</tt>
     593      <li><tt>etc/cups/printers.conf</tt>
     594      <li><tt>etc/cups/classes.conf</tt>  &mdash; only necessary if you have classes (printer groups) defined
     595      <li><tt>etc/cups/snmp.conf</tt> &mdash; only necessary if you have customized SNMP settings
     596      <li><tt>etc/cups/local.convs</tt>, if it exists
     597      <li><tt>etc/cups/local.types</tt>, if it exists
     598      </ul>
     599  <li>Either reinstall Gutenprint (by re-unzipping <tt>gutenprint-*.zip</tt>
     600      to the same root directory as CUPS), or else copy the following files
     601      over from your previous (renamed) CUPS installation:
     602      <ul>
     603      <li><tt>cups/etc/cups/command.types</tt>
     604      <li><tt>cups/lib/cups/driver/gutenprint.<i>version</i>.exe</tt>
     605      <li><tt>cups/lib/cups/filter/commandtocanon.exe</tt>
     606      <li><tt>cups/lib/cups/filter/commandtoepson.exe</tt>
     607      <li><tt>cups/lib/cups/filter/rastertogutenprint.<i>version</i>.exe</tt>
     608      <li><tt>cups/share/cups/calibrate.ppm</tt>
     609      <li><tt>cups/share/cups/model/gutenprint/*</tt>
     610      </ul>
     611
     612  <li>Restore any configuration options you have defined (and want to keep) from
     613      <tt>etc/cups/cupsd.conf</tt> in your previous (renamed) CUPS instalation.
     614      You can probably just copy the file over, but you should generally compare
     615      it with the new (default) version provided by CUPS, in case the new version
     616      has new or changed items/syntax that should be taken into account.
     617</ol>
     618
     619<p>After upgrading (either way), check the file
     620<tt>\cups\lib\cups\filter\pstoraster</tt> and make sure the "<tt>prefix=</tt>"
     621line points to your correct GhostScript path.
     622
     623<p>Finally, start the CUPS Daemon (<tt>cupsd.exe</tt>), then go into the web
     624administration GUI and double-check that your printers and settings are correct.
     625
     626<p>(If everything works properly, you can delete any backed-up/renamed previous
     627versions of CUPS.  It's a good idea to run with the new version for a while
     628before doing this, however.)
     629<p>
     630
     631<dt><u>CUPS.PDR</u>
    583632<dd>Copy the new version of CUPS.PDR over the old one (probably located in
    584633<tt>\OS2\DLL</tt>).  Note that you will probably first need to unlock ECUPS.DRV
    585634using a tool like <em>unlock</em> or <em>replmod</em>, or else boot from another
    586635partition/CD.<p>
    587 <dt>CUPS
     636
     637<dt><u>ECUPS.DRV</u>
     638<dd>Unzip the <tt>ecups-*.zip</tt> file over the existing files (in
     639<tt>\OS2\DLL\ECUPS</tt>).<p>
     640
     641<dt><u>Gutenprint</u>
    588642<dd>TODO<p>
    589 <dt>Gutenprint
    590 <dd>TODO<p>
    591 <dt>GhostScript
     643
     644<dt><u>GhostScript</u>
    592645<dd>TODO<p>
    593646</dl>