1 | CUPSWIZ - CUPS printer-creation wizard
|
---|
2 | Version 1.1
|
---|
3 |
|
---|
4 | This program is simple graphical front-end for creating CUPS-based printers
|
---|
5 | under OS/2.
|
---|
6 |
|
---|
7 | Without this program, creating a CUPS printer under OS/2 is something of a
|
---|
8 | headache. First, you need to go into the CUPS web GUI and go through its
|
---|
9 | (often agonizingly slow) creation wizard. Then you need to make sure support
|
---|
10 | for your printer has been imported into the OS/2 CUPS printer driver (which
|
---|
11 | may require you to manually prep and then import a PPD file yourself). Then
|
---|
12 | you have to create a new OS/2 CUPS port and point it to the CUPS queue you
|
---|
13 | created earlier. Finally, you have to create an actual OS/2 printer object
|
---|
14 | for your applications to print to. This may be fine for a few expert users,
|
---|
15 | but the average person just wants to create a printer quickly and simply.
|
---|
16 |
|
---|
17 | This program attempts to automate most of these steps. The basic idea is
|
---|
18 | that you select your printer make/model from the list of those supported
|
---|
19 | (which will depend on your installed CUPS setup), or import a special CUPS
|
---|
20 | PPD file which defines your printer, indicate how the printer is connected
|
---|
21 | (whether via USB or one of a number of types of network connection), give
|
---|
22 | it a name and description, and the program does the rest.
|
---|
23 |
|
---|
24 | Some of the highlights:
|
---|
25 | - When you create the printer, both the CUPS printer queue and a
|
---|
26 | corresponding OS/2 printer object are created; the CUPS port linking
|
---|
27 | the two is also created and configured automatically. (You can also
|
---|
28 | opt to only create the CUPS queue if you wish.)
|
---|
29 | - You can also select an existing CUPS printer queue (locally or on a
|
---|
30 | remote server), in which case a corresponding OS/2 printer object will
|
---|
31 | be created for it.
|
---|
32 | - The appropriate model in the OS/2 PM printer driver (ECUPS.DRV or
|
---|
33 | ECUPS-HP.DRV) is automatically identified and installed in the new OS/2
|
---|
34 | printer object. If an exact match is not found (and no PPD is available
|
---|
35 | - see next point) you will offered a list of similar models, or allowed
|
---|
36 | to select generic support.
|
---|
37 | - When installing a printer which is not currently defined in the OS/2
|
---|
38 | printer driver, if a PPD exists for the new printer it will be imported
|
---|
39 | automatically. (If not, you will be prompted as above.)
|
---|
40 |
|
---|
41 | As this program is still under development, it is not yet as smooth as it
|
---|
42 | could be. See the 'Limitations & Known Problems' section below for more.
|
---|
43 |
|
---|
44 |
|
---|
45 | REQUIREMENTS
|
---|
46 |
|
---|
47 | CUPS (that is, a full, functioning CUPS server) must be installed and
|
---|
48 | running, either on the same computer or a remote server on your network.
|
---|
49 |
|
---|
50 | At least one of the following CUPS-compatible OS/2 printer presentation
|
---|
51 | ("PrinterPak") drivers must be installed:
|
---|
52 | - ECUPS.DRV (eCups driver for Gutenprint and other filter packages)
|
---|
53 | - ECUPS-HP.DRV (eCups driver for HPLIP)
|
---|
54 | - EPSONINK.DRV (CUPS driver for EPSONINK)
|
---|
55 | - PSPRINT.DRV (Enhanced OS/2 Postscript driver replacement)
|
---|
56 |
|
---|
57 | CUPS.PDR (the eCups port driver) must be installed. In addition, it
|
---|
58 | should have a bldlevel of 1.03 (February 2011) or later. (With earlier
|
---|
59 | versions, you will be required to restart the WPS after creating a
|
---|
60 | printer.) This also requires CUPSLPR.EXE to be installed on your PATH
|
---|
61 | (preferably in the \TCPIP\BIN directory).
|
---|
62 |
|
---|
63 | (If you installed CUPS on your system from WarpIN packages, all of the
|
---|
64 | above requirements should be fulfilled.)
|
---|
65 |
|
---|
66 | Other required files (all included out of the box with eComStation;
|
---|
67 | other versions of OS/2 may or may not have them installed):
|
---|
68 | - VROBJ.DLL (VX-REXX standard runtime; must be in the LIBPATH)
|
---|
69 | - GZIP.EXE (GNU gzip; must be on the PATH)
|
---|
70 |
|
---|
71 |
|
---|
72 | INSTALLATION
|
---|
73 |
|
---|
74 | 1. Place CUPSWIZ.EXE into a suitable directory.
|
---|
75 | 2. Place CUPSPORT.EXE and PRNTOBJ.EXE either in the same directory as
|
---|
76 | CUPSWIZ.EXE, or else in a directory on the PATH.
|
---|
77 |
|
---|
78 |
|
---|
79 | USAGE
|
---|
80 |
|
---|
81 | cupswiz [ <path-to-cups> | /R ]
|
---|
82 |
|
---|
83 | Where <path-to-cups> is the location of the top-level directory in which
|
---|
84 | CUPS is installed on your system (if you are using a local CUPS server).
|
---|
85 | This can be omitted if CUPSWIZ.EXE resides on the same drive as CUPS, or
|
---|
86 | if OS2.INI defines the CUPS path in the key "eCups" -> "CUPS". If CUPS
|
---|
87 | cannot be located, a warning popup will be displayed and the program will
|
---|
88 | proceed as though the /R option was used.
|
---|
89 |
|
---|
90 | The /R option indicates that a WPS printer object is to be created for an
|
---|
91 | already-existing printer queue on a remote CUPS server. In this case, CUPS
|
---|
92 | does not need to be installed locally, but you will need to provide a CUPS-
|
---|
93 | specific PPD file for the printer in question.
|
---|
94 |
|
---|
95 | Only one of the above parameters can be specified.
|
---|
96 |
|
---|
97 | You may wish to create a program object which calls CUPSWIZ.EXE with the
|
---|
98 | appropriate parameter.
|
---|
99 |
|
---|
100 |
|
---|
101 | LIMITATIONS & KNOWN PROBLEMS
|
---|
102 |
|
---|
103 | - There is no way to go 'back' in the wizard; if you need to go back and
|
---|
104 | change a previous selection, you must cancel and start over.
|
---|
105 | - This program has not been exhaustively tested with all possible driver
|
---|
106 | packages; they should generally work, but it may be possible to encounter
|
---|
107 | a driver package which behaves in a way CUPSWIZ does not expect.
|
---|
108 | - If your %TMP% directory has spaces in the pathname, the program will almost
|
---|
109 | certainly fail to work properly. The same applies to your %LOGFILES%
|
---|
110 | directory.
|
---|
111 | - The CUPS printer is always created with default job options. If you want
|
---|
112 | to change them, you will have to do so from the CUPS administration GUI.
|
---|
113 | - Password-protected local CUPS queues are not supported. (Network printers
|
---|
114 | connected with LPD, IPP or SMB should work, however.)
|
---|
115 |
|
---|
116 | Contact: Alex Taylor (alex at altsan dot org)
|
---|