Changes between Version 17 and Version 18 of HowTo


Ignore:
Timestamp:
Apr 12, 2009, 6:02:51 AM (15 years ago)
Author:
edurrant
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo

    v17 v18  
    1313Revisions to the list of required software and breif description of software sections 11/04/2009 - Ed Durrant
    1414
     15Further additional data around set up using USB interface 12/04/2009 - Ed Durrant
     16
    1517email: losepete@ntlworld.com[[BR]]
    1618[[BR]]
     
    4244        '''Local printers - Parallel attached'''
    4345
    44         '''CUPS printers - Network attached and USB attached'''
     46        '''Local printers - USB attached'''
     47
     48        '''CUPS printer install - Network attached and USB attached'''
    4549
    4650'''Creating a Desktop Printer Object to use with CUPS'''
     
    106110Libc files required for eCUPS printer port - http://download.smedley.info/libc064x.zip
    107111
     112GCC files  required if supporting Xerox printers using Splix - http://smedley.info/gcc432.zip
     113
    108114PRNDRV.EXE (this is a program that will "clean up" printer entries in the INI files) - http://www.os2site.com/sw/comm/faxworks/prndrv.exe
    109115
    110 USB backend (if you are intending to use a USB connected printer) - http:// (Need to add URL here).
     116USB backend (if you are intending to use a USB connected printer) - http://download.smedley.info/cups-usb-backend-20090309.zip
    111117
    112118
     
    210216Thanks to Rodney and others who supplied the above information regarding using locally attached printers with CUPS.
    211217
    212 [[BR]]
    213 [[BR]]
    214 
    215 
    216 
    217 '''CUPS printer'''
     218'''Local printers - USB attached'''
     219
     220If you have a USB cable attached printer load the USB backend expand the zip file into the \cups\lib\cups\backend directory.
     221Now go to this directory on the command line make sure your printer is turned on and run usb.exe with no parameters and you should get a display something like this:
     222
     223
     224[J:\cups\lib\cups\backend]usb.exe[[BR]]
     225
     226INFO: list_devices
     227INFO: usb_find_busses=1
     228INFO: usb_find_devices=1
     229INFO: open_device[[BR]]
     230
     231direct usb://HP/Officejet%206300%20series?serial=CN88TFB0P504J4&interface=1 "HP
     232Officejet 6300 series" "HP Officejet 6300 series" "MFG:HP;MDL:Officejet 6300 ser
     233ies;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;1284.4DL:4d,4e,1;CLS:PRINTER;DES:Q8061A;S
     234N:CN88TFB0P504J4;S:038000C484001021002c1800007c2880011;J:                    ;Z:
     2350102,0503d549016449,0600;BT:000000000000,4F66666963656A6574203633303020736572696
     236573,0000008F,60;" ""[[BR]]
     237
     238INFO: close_device
     239
     240
     241If you don't get such a display, check that your USB support is working correctly and that you have connected the printer with a known good cable to a known good port.
     242
     243By putting usb.exe into the backends directory when cupsd.exe starts it knows that when asked by the web administration page, that it should check USB ports as well as network and other ports for new devices.
     244
     245
     246
     247[[BR]]
     248[[BR]]
     249
     250
     251
     252'''CUPS printer install'''
    218253
    219254Start \cups\sbin\cupsd.exe
    220255
    221 I created a program object for this with the Start Minimized and Close Window on exit checked in the Properties, Session tab; the object Properties should also have the Working directory set as Drive:\cups\sbin (where Drive is the drive letter that cups is installed to). This object can be put in the Startup folder so that cupsd.exe is started automatically at bootup.
    222 
    223 
    224 As the CUPS browser admin interface seems to be working here I recommend using that interface to Add a Printer. Fire up your browser and point it at http://localhost:631/ (cups home page) and when that has loaded click Add Printer.
    225 
    226 
    227 I added the following Canon PIXMA P4000 colour inkjet (raster) printer and will be using this printer as the example. The text after the "-" is to outline the purpose
     256I created a program object for this with the Start Minimized and Close Window on exit checked in the Properties, Session tab; the object Properties should also have the Working directory set as Drive:\cups\sbin (where Drive is the drive letter that cups is installed to). This object can be put in the Startup folder so that cupsd.exe is started automatically at bootup. [[BR]]
     257You can of course also auto start this at boot-up by putting the following lines in \startup.cmd (or in the network startup file \MPTN\BIN\setup.cmd)  [[BR]]
     258 CD \cups\sbin [[BR]]
     259 start /min cupsd.exe[[BR]]
     260
     261
     262I recommend using the CUPS browser interface to Add a Printer. Fire up your browser and point it at http://localhost:631/ (cups home page) and when that has loaded click Add Printer.
     263
     264
     265I added the following (network connected) Canon PIXMA P4000 colour inkjet (raster) printer and will be using this printer as the example. The text after the "-" is to outline the purpose
    228266
    229267Name: PIXMA  - what you want to call the printer