НОВОЕ: OS/2 GURU - Вопросы и ответы

Reviews / articles about OS/2

Operating systems:
ArcaOS, eComStation, IBM OS/2 Warp
eComStation myths 

Latest  
 
 

Unsorted

 

 

Upgrade ArcaOS to NeoWPS level

  • Install original PNG icons drawed by designer, specialized at OS/2 adornation.
  • Install eSchemes 2018 to change colors and buttons on desktop.

Setup of CUPS for eComStation


TITLE: Setup of CUPS for eComStation

DATE: 2011-11-12 01:21:21

AUTHOR: Peter Brown
Please use online translator
go to http://translate.google.com
and request the translation of http://ru.ecomstation./projects/reviews/index.php?id=255
to your language

..........

  • ......... ..........
  • ... ..... CUPS . ..... ... .....?
  • ...... ............ ..
  • ....... ........ ....... ........
  • .........
  • ......... CUPS-........
  • Local printers - Parallel attached
  • Local printers - USB attached
  • CUPS printer install - Network attached and USB attached
  • Step by step visual CUPS printer setup in web admin program (USB or Network connected)
  • Creating a Desktop Printer Object to use with CUPS
  • Step by step visual OS2 printer object setup for a CUPS attached printer

......... ..........

...... .. ....... .........:

... ....... ..........., ......., ..... ....... ..., ... ..... ......... ........ ........... ....... ... ........... OS/2 ... eComStation.

. ........ . ..., ... .. ........... ..... ... ......., ..-......, "........." ....... Canon PIXMA iP4000 . CUPS ., ..-......, ....... OS/2 Printer Object, . ....... ........ ..... ........ ....... ...... ..... CUPS.

. ........ ............ ..... .... ...... . ..., ........, ........ ........ .. .. ............... ..... ..... ........ ........... ......... ..... .......... ... ........... CUPS, . .. ... ..., ........, ..... ........ ........ .. ............... .... . ..... ........

... ..... CUPS . ..... ... .....?

CUPS - ... Common Unix Printing System (..... - ..... ....... ...... ... UNIX) ... ..... ......, ...... ....... ... ..... .......... (framework) ... ......... ......... .......... CUPS, ..... ........., .............. ... ......., . .... ... ...... ........., .. ....... ........ :-).

......... . ...... CUPS ... CupsFaq.

... ............ CUPS? - ......... .......... ....... ......... ........... . ............ ....... ..........

...... ........., .............. Gutenprint: http://gutenprint.sourceforge.net/p_Supported_Printers.php (... ..... ....... . ........ ..... ............ ..... .........)

...... ........., .............. Splix: http://splix.ap2c.org/ (Splix ............ ......... ........ Samsung . Xerox)

...... ........., .............. HPLIP: http://hplipopensource.com/hplip-web/supported_devices/index.html (HPLIP ............ ......... ........ Hewlett-Packard)

..... ............. CUPS? - ... ............ ......... ........... ......... . .. ...... . ...... ... .......... .............. ...... ........ ......... .. OS/2 .. .....-.. "......" . ............ ........... .... .... ... ....... ..... ......., .......... . ..... ........... ........., ... ........ .. ........... . .. ............ .... ........ . ........ CUPS - .............

CUPS ............. ........ ... ........ ..... ..... ......... . ............ ...... .............. ......., ......... ....... ... . ......... OS/2.

..... ......, CUPS ".........." .. . .........., ......... ......, ... ... ..... .... . PostScript-......... .... .... ... . .. .... PostScript - ... ...... .............. . ................... .... .........; ........ ...... ....... . ........ eComStation (OS/2) PostScript Printer Object, ....... ........ . ....... CUPS.

...... ............ ..

.... CUPS ......... .. ......: http://svn.netlabs.org/ecups/wiki/CupsPort - ... ..... ......... . ....... WPI (... ......) ... . .... .............. ZIP-....... .... .. ......... ......... ....., ......, ... ... ........... ......... .......

..........:

  • ........ .... CUPS OS/2
  • ........ .... GhostScript OS/2
  • .. ....... .... .... .. ......... ....... ......... (........ ..., ....... ............ ... .......): Gutenprint (..... .........)
  • Splix (........ Samsung/Xerox) - ..... ....... custom GCC runtime: http://smedley.info/gcc432.zip HPLIP
  • ....... ..... eCups (CUPS.PDR)
  • ....... ...... eCups (ECUPS.DRV) - ........... CUPS-....... PostScript-........
  • Libc-....., ........... ... CUPS - ftp://ftp.netlabs.org/pub/gcc/libc-0.6.3-csd3.zip (... ..... . ... ... ..... ...., ........ .... .... .. - eComStation)

..... ...........:

  • USB helper driver (..... ...... ... ...... .. USB) - USBCALLS (.... ....... ... ............ . eComStation 1.2.5 . ....).
  • PRNDRV.EXE (... ......... "........" ...... . ......... . INI-......) - http://www.os2site.com/sw/comm/faxworks/prndrv.exe
  • USB-...... (.... .. ........... USB-.......) - http://download.smedley.info/cups-usb-backend-20090309.zip (.........: .... ..... ..... ...... ... ...... ...... CUPS. ..... (1.4.4 . ....) ...... zip-..... CUPS ... ........ .... ......, . ... .. ..... .......... ...... ......... .. ...... ......).

..... ....... ..... ......... .........

....... ........ ....... ........

CUPS ....... .. .......... .......... ......... ......., ....... ......... PostScript-...... .. ......... .......... ........ .......... ... .... ........ - ..... CUPS, GhostScript, . ...... ......... (Gutenprint, Splix, HPLIP . ...).

......... ...... .......... ... ..... OS/2 port (a.k.a. eCups):

  • ..... Libc . GCC .......... ... ......... (GCC runtime ..... ... Splix).
  • PRNDRV.EXE - ........ ....... ......... ...... ... ............ ............. ......... . ........ ......... (.........: ........... 'prndrv -d' . ............. .... ..... ....... .... PM_DEVICE_DRIVERS -> ECUPS [= .... . ECUPS.DRV] .. OS2.INI - ... ........ . ................... .... ECUPS-......... .. ... ..., .... .. ..... ....... ......... INI-.... ... .. ..... ........... ..... ECUPS-...........)
  • ....... ........ eCups (ECUPS.DRV) ........ .......... ....... PostScript- ........ OS/2 (PSCRIPT.DRV), . .... ... ........ ........... .......... CUPS PPD-....... ...... ....., .... ..... ......... .. .... ...., ... ......... ..... ......... .......... . CUPS. ....... ......... ......... . .......... ...... ... ...... ...... . CUPS. (.. .... ....... ............ ............ PostScript-....... .. IBM ... ...... . CUPS .. ............., ...., .. . ..... .......... . ..... .......)
  • ....... ..... ........ eCups (CUPS.PDR) ............ ".............." ..... OS/2 Printer Object ., .........., ......... CUPS.

......... ..... ........ ........ ..... .. .. ....... .......... OS/2 ..... ...... . ..., ... ........ . OS/2 Printer Object, . .. . ....... CUPS!

.......... .........: OS/2 Printer Object ........ ...... ...... .. .... (......, ............/................/USB-.... ... .. ....... ....... LPR . ...), ....... ......... ......... ...... . .... ...... .. ......... ... .... ... ....., ......... ... . ........... .... ....... ......... "......" ...... OS/2 ........ . ....... CUPS. ..... .. ........ . .......... ......... ..... ...., .... .. USB-.......... (......... .. .. "......", ....... ........ ........... .......... ............ ........ .....).

........ ........ .. .., ... ....... USB ..... OS/2 .. ............ ... ...... . USB-......... ..... CUPS - ...... ............ ....... ..... CUPS, . ..... ..... CUPS ............ ................ IO-...... . ......... .. .. ..... .......... . . ....... ............, ....., ........ - .. .... ....... ........... ......... CUPS.

.... CUPS .. ........ . ........ ..........., ..... ...... ............ ..... .........:

....... <-> "......" ........ .....-...... <-> ..... CUPS (CUPSD.exe) <-- ...-........ ................. CUPS (........., ........ ...... . ...)

............ .... .......... ... ...... . .............. ........... .......... .......... CUPS. ....... ..... ......... . OS/2 Printer Object ......... ....... .......... OS/2 (....... . ....... .. ..... . CUPS) ............ ... ...... CUPS-......... ..... ...... .......... .....:

....... <-> "......" ........ .....-...... <-> ..... CUPS (CUPSD.exe) <-> ....... ..... eCups (CUPS.PDR) <-> ....... PostScript-........ (ECUPS.PDR) <-> OS/2 ......... ........ <-> .......... OS/2.

.........

. ......... ..... ........ WarpIN-..... (... ........ CupsPort), .. .. ... ... ................. . ..... .. ............... ......... ....... ....... . .......... ..... ............ ...... ......... .. zip-.......

....... ......... CUPS (......... Gutenprint) ........... . .......... ....... . ........ ....... ..... (.... .. ...... .... ...........):

  • GhostScript ..... ........... . ....... \gs - ...... .........., ....., x:\gs\gs8.70 (......... zip-...... ........ ....... ....... \gs, ......... ... - ........., ... ......... ......... .....).
  • cups-*.zip ..... ........... . ........ ....... - ... ....... ....... \cups.
  • gutenprint*.zip ..... ........... . ........ ....... - ... ....... ....... \gutenprint . ....... ......... ......... ..... . ....... \cups.

    ..... .... ........ ...... .......... 3 ..... ........ . ..... .......... .....:

    • \cups
    • \gutenprint
    • \gs
  • ........... ........ \cups\readme.os2 ..... ............ ........., ........ .... .. ......... .......... USB-........
  • .... .. .............. PRNDRV.EXE, ......... .... .... ...., ... ....... ..... ... .....; . ........ ... . J:\Programs\Utils\PrnDrv

  • ..... libc0*.dll . GCC*.dll ...... .......... . ........, ......... . LIBPATH - ....., \ecs\dll ... \os2\dll.

......... ..... ..... .... ........... ..... .. ... ..... .. .... .......... . ......... ......... .......:

  • ....... ........ eCups ..... ......... . ..... ....... ..... . ....... ......... ........ ....... .. .... .. ..... ............ OS/2 ............. ......... ..... . .\OS2\DLL\ECUPS' (.... .. .........., .... ..... ......).
  • ....... ..... ........ eCups - .......... cupslpr.exe . \tcpip\bin, . cups.pdr . \os2\dll

.... .. .............. .... .. .............. ....... Splix ......... Samsung ... Xerox, .......... Splix ...... Gutenprint. .......... ... HPLIP.

.........: ............. Splix ... HPLIP .. ................

......... CUPS-........

......... ........, ............ ..... ............ ....

CUPS . ......... ..... .. ............ ........ ...... .. ........, ............ ..... ............ ...., .. ....... ........ .....

  • 1] ........ Printer object ......... Null printer driver . ........ .... LPTn . ........ Output Port . ......... printer object.
  • 2] ......... OS/2 lpd daemon (\tcpip\bin\lpd.exe). ..... lpd.exe .. ....... ........ ........ (..... ...... ...........?), ....... ........ "-c".

........ ....... CUPS . ...... .... (CUPS-.......), ...........

lpd://localhost/ . ........ URI ..........: ...

  • .......... ... OS/2 Printer object - ... ....... . Properties,
  • View page ....... . 1] .....

.........: View page ..... .......... .. ....., ....... ........ ... .........

....., .... .. ....... ....... . ...... ....... Canon iP4000, . ..... Printers ........ ........ ..... ........ . ......... ..., ............ .. ........ View - ... ..... CanoniP4. ......, . ....... .... URI .......... ...... ....

lpd://localhost/CanoniP4

.... ........ ............. Rodney . .... ..., ... ....... ... .......... ... ............. ........-............ ......... . CUPS.

......... ........, ............ ..... USB-....

......... ........... .. eComStation 2.0 RC6a. ........, ... ...... ...... ...... ......... USB . ....... ..... ........ ........, ....... .......... ...... ..... ........ USB ... OS ..... ....... ......... ......... (.. .. USBCALLS)

.... ... ....... ............ .. USB, ......... USB-...... .......... zip-.... . ....... \cups\lib\cups\backend.

... ........, ... ......... ...... ...... CUPS ... ........ usb.exe, ....... ........ .... ........., ... .. ......... . ........ \cups\lib\cups\backend. ... ..... .. ......... ...... ....... . .... ......., ........., ... ....... ....... . ......... usb.exe ... .......... - ...... .......... .........:

[J:\cups\lib\cups\backend]usb.exe
INFO: list_devices INFO: usb_find_busses=1 INFO: usb_find_devices=1 INFO: open_device
direct usb://HP/Officejet%206300%20series?serial=CN88TFB0P504J4&interface=1 "HP 
Officejet 6300 series" "HP Officejet 6300 series" "MFG:HP;MDL:Officejet 6300 ser 
ies;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;1284.4DL:4d,4e,1;CLS:PRINTER;DES:Q8061A;S 
N:CN88TFB0P504J4;S:038000C484001021002c1800007c2880011;J: ;Z: 
0102,0503d549016449,0600;BT:000000000000,4F66666963656A6574203633303020736572696 
573,0000008F,60;" ""
INFO: close_device

.... ........ ......... .. ........., ........., ... ......... USB ........ ......... . ... .. .......... ....... ........ ......... ....... . ........ .......... ......

[By 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. - ???]

....... ........ ..... .......: [........ (.............) usb.exe . ....... ....... . ......, ..... cupsd.exe ......... ..., ....., ... .. ...... ...-........ ................., .. ...... ......... USB-....., . ..... ......... .... . ...... ..... ... ..... ..........]

........... CUPS ........

......... \cups\sbin\cupsd.exe

[I created a program object for this with the Start Minimized and Close Window on exit checked in the Properties, Session tab; - ???]

. ...... ........... ...... ... ..... . ...... ......... . ........ .... ... ...... ........... . ........., ....... ......;

. ......... ....... ..... ..... ....... Working directory: Drive:\cups\sbin (... Drive ... ....., .. ....... ........... ....... ...... CUPS).
.... ...... ..... .... ....... . ..... Startup - . cupsd.exe ..... ........... ............. ... .........
.. ..... ...... ........ ......... ...... . .... \startup.cmd (... . .... ............. .... \MPTN\BIN\setup.cmd)

CD \cups\sbin 
start /min cupsd.exe

. ....... ............ ...-......... CUPS ... ......... ...... ......... ....... .. ...... http://localhost:631/ (........ CUPS) . ........ Add Printer.

. ....... (............ .. ....) ....... ......... inkjet-....... Canon PIXMA . .... ............ ... . ........ ........
..... ..... "-" ........ ..........

...: PIXMA - ..., ....... .. .... ...... .........

..............: Router LPT1 - .......... .............. ........; .. .. ............ . ..... LPT1 ........

........: Canon PIXMA iP4000 Inkjet - ....... ........ ........

Continue - ....... .... ......... ... .......... . .. ...... ..........

Device: ........ ............... ... ........... .......... .. .. LPD/LPR Host ... Printer

IPP ... USB-......... - ............ ....... ...... .... ........ ... ....... ... ...... ..... ........... ........... .............. ...........

......: Device URI: lpd://192.168.2.1/lpt1 - ..... .......... ... LPD-........

Continue - .... ......... ... .........., ....... ... ......

[Make: Canon - select printer make - for USB printers, an attempt will be made to confirm the correct PPD file to use - ???] [Canon - ....... ....... ....... - ... USB-........., ..... ....... ......., ..... ........... .......... .... PPD ............]

Continue - .... ......... ... .........., ....... ... ......

Model: Canon PIXMA iP4000 - CUPS+Gutenprint v5.2.0-beta3(en) Simplified - ........ .......... .......; ............. Simplified

Add Printer - .... ......... ... .........., ....... ... ......

..... ....... .. ...... "Add Printer" ......... ....... . ..., ... ....... ... ........ . ........ ......... ........ - ... ..... ...... ......... ...... ........ ........... ......... . ........., ... ... ... ......... ........ ... ........ Media Size, Resolution . Image Type. .... ......... ... .........., ....... ...... "Set Printer Options" . ......... ......., ... "Printer PIXMA has been configured successfully."

..... . ..... .. ....... Printers . .. ...... Print Test Page. ...... ........ ........ .......... .. .........

... ........ .........

........... . ..... readme.os2, . .............. ......... ....... ..... .......... .............. ........; ...... .... ......... ...... . \cups\bin, . ......:

[H:\cups\bin]lpr -P PIXMA \cups\share\cups\data\PReCS20.ps

..... ........ ..... ....... "..........." . "........" 2 ........... ............ .........

... ...... ........

......... ........... .. ......... ........ (............. .. .... ... ..... USB) ... ...... . CUPS . .........

...... ....., ........ . ........ ........ http://localhost:631/

........ ....... Administration

..... ....... "Find new printers"

. ...... ......, ......... ... ....... ......... . .... . ........ USB-....... . .... .., ........... ... ........... - ........ ..., ....... ...... ..........

........ ... ........., .. .. ...... ........ ..... .. ...... ...........

........ .......... ....... ........ - . .... ......, ......... Officejet 6310 . ...... ............, . ...... OJ 7110 .. .. ......., ... .. ........ ...... (.... ..... ...... ..... ........).

.......... ......... ... ........, ............ .. ..........

......! .. ......... ... ....... ... ...... . CUPS - ....... "send test page" ..... ........... ........ ......... ......... .... - ........ OS/2 print object ... ...... .. CUPS Daemon - ......... ... .....

........ Desktop Printer Object ... ...... . CUPS

...... ........ ........... CUPS . ............ ........ ..... ..... ........... ...... . CUPS .. .........., ..... ... OpenOffice.org Writer (......... .........) . PMView (.......).

  • 1] .......... ..... ........ eCUPS (.. ...... ......... ecups-20090323.zip) . ....... \os2\dll\ecups - ... ........ ........ ....... . ............ postscript-......... . \os2\dll\pscript.
  • 2] ...... ........ .. ....... 'install printer' . ..... Printers . ........ ......... ......., .... ........ ..... Desktop -> Templates . .......... ...... ........ .. Desktop ..... ...... ........ ......... ....... ...... 'install new printer driver'. ........ 'other ecomstation printer driver'. . .... "directory" ....... \os2\dll\ecups . ....... Refresh ..... ....... ...... ..........

    ....... ... ........ - . ...... ...... "PIXMA"

    ........ .... ...... - . .......... ........... LPT1 . ......... ....... ..... ........ cups ......

    ........ (pscript) ....... ... ........ - Canon PIXMA iP4000

  • 3] .......... ..... ........ ..... eCuPS (.. ...... ......... cupsportdriver-20090410.zip), ........ ..... ......... .......:

    • cups.pdr . \os2\dll
    • cupslpr.exe . \tcpip\bin
  • 4] ........ ...... ....... .... .. ...... ....... Desktop Printer Object . ........ Properties

    ........ ....... 'Printer driver'

    ........., ... ....... ........ .. ......... ...... .....

    .......... ........ ...... (Job Properties): ......... Paper Size (...... ......), Tray (...... ......), Media Type (... ........), Resolution (..........) ...... ......... . ........... CUPS-........ - . ....... Save

    ........ ....... 'Output port'

    ....... ...... 'Install new port'

    ........ "CUPS port" . ....... 'Install'

    - ...... ............ ..... CUPS .............. ......., ....... .. ...... .........., ....... .... ........... CUPS-....: CUPS1, CUPS2, CUPS3 . ....)

    .... .... .. ............, . .... CUPS.pdr ......... . ........ \os2\dll, ....... "install new port/New port drivers", ....... ....... \os2\dll . ....... 'Refresh'. CUPS-.... ...... ........., ........ ... . ....... "install".

    ........ ...... ....... .... .. CUPSx CUPSPORTx . ........ ......... ... ...... CUPS-..... ..... ....... .........:

    • Host: localhost - ... ....... 127.0.0.1
    • Printer: PIXMA (... ...... .... ..... .., ... . ..., ............ ... ........ CUPS-........ . ....... ................. ...-.......... CUPS), ....... OK.
    • ........ 'send as binary file".

    ........ '........ ........'.

.. .... ......... .......... ...... ..... .......... ........ .........

  • ..... ....... ......, ......... ... cupsd.exe .......
  • .......... .... \cups\share\cups\data\testprint.ps .. ..... ...... Desktop Printer Object
  • ........ Printer-specific . ......... .......

.. ...... ........ ........ ........, ............ .. ...... OS/2 Desktop Printer Object

......... ... - .......... ............... ........ .. ...... ........ .......... .........., . ..... ........... ......... ... ..... OS/2 Desktop Printer ........ ......... ...... ..... .. ......... .........., ....., .......... .. PMView.

......... ........... .. ......... OS2 printer object ... CUPS-........ . .........

........ ..... ......... . ....... "add printer":

........ local printer.

....... "install printer driver", ..... "other printer driver location" . ......., .... .. ......... ....... ........ eCUPS ( \OS2\DLL\CUPS , ... .......... .....) - ..... ....... refresh. ........... ... ........ . ..... CUPS, ........ ....... ...... ........ (... .........) . ....... Install.

....... .. ..... ......... ........ ........ ... ........ "printer" .. ...-.. ..... ........... . ....... "......." - printer object ..... ...... . ...... ......... ......... (.. ... ... .. ......).

........ ........ ...... ...... ....... ........, ........ ....... "printer driver", ......... ... ..... ....... ...... . ...... .. ...... ...... .. ...... ...... ...... "job properties" .... ......, .. .. ........., ... ......... ..... ..... .. ... .., ... .. ....... ... ........ ........ .. ........ ................. CUPS. .... .. ........ ........ ........ ........, .. ....... .... .......... ......... ........... ...... . ........ .. ... ..... ...... ....... .. ....... "output port", . ..... "install new port":

.... .. ......... eCUPS Port Driver . ....... OS2\DLL ....., ...... ... ..... ........ ... ...... ........ .......... ......... CUPS - ...... ........ CUPS1 . ....... "install"

........ ...... .. ..... ........ ....., ........... ...... ......... - ..... ..... "......." ....... ...... OS/2 . ........ ...... CUPS! ...... .... . ........ "localhost" ......... ... .... .... ....... ......... . ..... ... .... .. .. ... ......... . CUPS, ............. .. ...... ......, ..... ..... .... .. ....... IP-..... ... hostname .... ...........
...... ...... .... - ... ... ........ . ...... ............ CUPS - ... .. ......, . ........ ...-........ ................. CUPS ..... ........ ... - . ...... ...... ....... ... "HP_Officejet_6300_series". ....... "save properties", ........ ...... ......... ........... . ......!

. . ............. .................. ... ...... ...... Firefox . ..... ............ ..... CUPS ........., ....... . ...... ... . ..... ...... ....... OS/2!

..... . ....... Paul Smedley .. ........ ......!

 


  • ........: http://svn.netlabs.org/ecups/wiki/HowTo
  • .....: Peter Brown
  • ....... ........ .. ...... eCo Software

 

...... ...... ......:

Revision 1 14/08/2008 Peter Brown
Revisions to filenames29/12/2008Paul Smedley
Revisions to USB section29/03/2009Paul Smedley
Revisions to the list of required software and brief description of software sections11/04/2009Ed Durrant
Additional details about using USB interface and visual instructions around set up of CUPS web admin printer install12/04/2009Ed Durrant
Additional visual instructions around set up of OS/2 printer object to use CUPS attached printer13/04/2009Ed Durrant
Changes to the desktop printer object setup based on the later versions of the files for clarification10/07/2009Ed Durrant
Various formatting improvements and clarifications2010-11-08Alex Taylor
Formatting improvements and clarifications, continued2010-12-11Alex Taylor
Added warning about the (hard-learned) pitfalls of prndrv -d2011-02-17Alex Taylor

 

Test the program:

ThirdEye - utility aimed to download photos from digital still cameras attached via COM-port

Komentarze:

Does ACPI.PSD work on your notebook?

Please press Fn + F1, Fn + F2, .. keys and collect the codes. Read more

 


 

(C) OS2.GURU 2001-2021