Changes between Version 22 and Version 23 of HowTo


Ignore:
Timestamp:
Apr 13, 2009, 6:20:22 AM (16 years ago)
Author:
edurrant
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo

    v22 v23  
    4242'''Configuration of CUPS Printer'''
    4343
    44         '''Local printers - Parallel attached'''
    45 
    46         '''Local printers - USB attached'''
    47 
    48         '''CUPS printer install - Network attached and USB attached'''
    49 
    50         '''Step by step CUPS printer setup in web admin program (USB or Network connected)'''
     44'''Local printers - Parallel attached'''
     45
     46'''Local printers - USB attached'''
     47
     48'''CUPS printer install - Network attached and USB attached'''
     49
     50'''Step by step visual CUPS printer setup in web admin program (USB or Network connected)'''
    5151
    5252'''Creating a Desktop Printer Object to use with CUPS'''
     53
     54'''Step by step visual OS2 printer object setup for a CUPS attached printer'''
    5355
    5456[[BR]]
     
    182184
    183185
    184 Other files can be unzipped now or later as they are required as follows:
     186'''Other files can be unzipped now or later as they are required as follows:'''
    185187
    186188The eCUPS printer driver should be put into a directory under \OS2\DLL - my suggestion is \OS2\DLL\CUPS - you will then point the printer install dialog at this directory during the install process.
     
    213215When creating the CUPS printer in the below section (CUPS printer) use lpd://localhost/<printer_name> as the Device URI:  where <printer_name> is the Physical name of the OS/2 Printer object - as shown on the Properties, View page - created in 1] above. Note this may not be the same as the name given to the printer during creation.
    214216
    215 eg
     217e.g.
    216218If you created a printer with the object name Canon iP4000 in the Printers folder open the Properties for that printer and check the name displayed on the View page - it shows CanoniP4 here. So in the above example the device URI should be
    217219
     
    324326
    325327
    326 '''Step by step CUPS printer setup in web admin program (USB or Network connected)'''
     328'''Step by step visual CUPS printer setup in web admin program (USB or Network connected)'''
    327329
    328330
     
    358360That's it ! You have now set up your printer under CUPS - press the send test page and hopefully you'll get a nice printout.
    359361The next stage is now to set up the OS/2 print object to print to the CUPS Daemon - see those details later in this documentation.
     362
     363[[BR]]
    360364
    361365
     
    416420
    417421The next test is to print a multiple page document from your favourite wordprocessor, followed by printing any other document types from an appropriate application, eg Photos from PMView, using your new OS/2 Desktop Printer.
    418 
    419 
     422[[BR]]
     423[[BR]]
     424[[BR]]
     425[[BR]]
     426
     427'''Step by step visual OS2 printer object setup for a CUPS attached printer'''
     428
     429Open the printer folder and click on add printer:
     430
     431[[Image(http://farm4.static.flickr.com/3337/3436989266_49596f4c73.jpg?v=0)]][[BR]]
     432
     433Select local printer.
     434
     435[[Image(http://farm4.static.flickr.com/3323/3436183577_6999f0eb27.jpg?v=0)]][[BR]]
     436
     437Click on install printer driver, click on "other printer driver location" and type in where you put the eCUPS printer driver (I suggested \OS2\DLL\CUPS earlier) - then press the refresh key. all the printers in the CUPS file will now appear, scroll down and select the printer driver for your printer (or a near model), and press Install.
     438
     439[[Image(http://farm4.static.flickr.com/3611/3436183847_f2b07e7465.jpg?v=0)]][[BR]]
     440
     441Press OK to load the driver. Now change the printer name field to something reasonable from "printer" that is currently in the field and press the create key and your printer object will be created and the install dialog will close (but you haven't finished yet ....).
     442
     443[[Image(http://farm4.static.flickr.com/3654/3436990144_c62a6d86d1.jpg?v=0)]][[BR]]
     444
     445Open the properties of your new printer object and select the "printer driver" tab, make sure the new driver is highlighted in both boxes.[[BR]]
     446You can press the job properties button as this point if you wish but you'll find the settings are the same as you set when you created the printer in the CUPS admin webpage. If you look at the properties of the Printer driver you can also set some printer parameters. In general I leave these areas as they are.[[BR]]
     447Now press on the "output port" tab and press install new port:
     448
     449[[Image(http://farm4.static.flickr.com/3656/3436184471_70d55f31d4.jpg?v=0)]][[BR]]
     450
     451Because you put the eCUPS Port Driver into OS2\DLL earlier, you will now get a whole lot of CUPS drivers to chose from - simply highlight CUPS1 and press "install"
     452
     453[[Image(http://farm4.static.flickr.com/3384/3436184959_e97f091a22.jpg?v=0)]][[BR]]
     454
     455Double click the new port driver and you will get its configuration panel - this is where we link the OS/2 print system to the CUPS print system! - The first field says "localhost" we will leave that as it is as the printer is connected to this PC - if it was connected to CUPS running on another PC, you could put that PCs IP address or hostname in here. What is important is the second field - this is the name of the printer within the CUPS configuration - you'll see I have loaded up the CUPS web admin page in manage printer to show you this - in this case the name is "HP_Officejet_6300_series". Press "save properties" and close the printer setup panels and you are finished. just to prove this ....
     456
     457[[Image(http://farm4.static.flickr.com/3647/3436990894_0a8a5d94ee.jpg?v=0)]][[BR]]
     458
     459Here is the printer dialog in Firefox with the new CUPS connected printer available to print the same as any other OS/2 printer !
     460[[BR]]
     461[[BR]]
     462
     463Have fun and thanks to Paul Smedley for all his good work !
     464