wiki:CupsPort

Version 60 (modified by psmedley, 7 years ago) (diff)

--

The OS/2 port of CUPS has several required components.

WarpIN Archive

The required components for a specific (and now somewhat out of date) stable version of CUPS can be downloaded and installed in one "eCUPS Printing System" WarpIN archive – initially from ftp://ftp.netlabs.org/incoming/eCUPS003.wpi and expected to move to ftp://ftp.netlabs.org/pub/ecups/eCUPS003.wpi

Please Note: This WarpIN archive is somewhat experimental, and is also maintained separately from the various CUPS port components it contains. It does not include the latest versions of several components. In addition, it does not support certain components such as HP-LIP, ECUPS-HP, foomatic-rip or foo2qpdl. You should use the ZIP file distributions (below) if you need the very latest releases.

Read the displayed README file carefully to help decide which of the components you need to install before selecting packages for installation.

This package also contains the Cups HowTo in INF format which is opened in the Help Viewer, and will also start the CUPS Printer setup; both of these events occur at the end of the package installation. Refer to the displayed "How To" in order to setup a printer.

Note: The above WarpIN Archive was designed to be installed to eComStation systems. It should also install to OS/2 Warp 4 systems. This would result in the OS/2 system acquiring an ecs directory tree on the boot drive in the event of Docs and/or Support dll files being installed - Just something OS/2 users need to be aware of.

WarpIN 1.0.18 or later is required in order to install this archive: ftp://ftp.netlabs.org/pub/warpin/

ZIP files

The alternative is to download all required packages in ZIP file format and perform a manual installation. Check the installation notes and any included readme files plus the HowTo mentioned below to help install the packages and setup a printer:

CUPS - This is the base CUPS package. The latest stable release is V1.4.8: http://sourceforge.net/projects/ecsports/files/CUPS/cups-1.4.8-os2-20110831.zip/download (various older versions are also available: V1.4.4, V1.4.2, V1.3.11)

Ghostscript - The latest OS/2 binary should always be available from http://www.smedley.info/os2ports/index.php?page=ghostscript or by direct link: V9.00 (the previous version V8.71 is also available and is recommended for use with CUPS).

Depending on your printer, you most likely need one of the following:

ECUPS.DRV: A modified version of IBM's pscript.drv with improvements to compatibility with CUPS. New version: http://download.smedley.info/ecups-driver-20090324.zip - includes 650 or so printers from Gutenprint 5.2.3 and all printers from Splix v1.1.1

ECUPS-HP.DRV: Like the above, but for use with HP-LIP. Current version is http://download.smedley.info/ecups-hp-driver-20100304.zip - includes about 610 printers preimported from HP-LIP.

cups.pdr - port driver to allow print jobs to be queued to a cups server from OS/2 applications - source available

Installation notes:

CUPS and Gutenprint/Splix/HPLIP need to be extracted into the root directory of the SAME drive - some Gutenprint/Splix/HPLIP files need to be installed into the CUPS directories.

Ghostscript also needs to be installed. The current CUPS build expects to find gsos2.exe in \gs\gs8.70\bin\gsos2.exe - ie on the same drive as CUPS. If this isn't the location of Ghostscript, you can edit \cups\lib\cups\filter\pstoraster and edit the PREFIX which points to the Ghostscript location.

Refer to the CUPS HowTo for more details on how to use CUPS, particularly the stuff on setting up the port driver and importing PPD files into pscript.drv work in progress....

If you like this software and want to support continued ports, please consider donating via PayPal? via the link at http://smedley.info/os2ports, or via the Mensys online store at http://www.mensys.net/os2ports