Changes between Version 2 and Version 3 of GhostScriptRasterPrinting


Ignore:
Timestamp:
Sep 22, 2010, 8:36:25 AM (14 years ago)
Author:
Alex Taylor
Comment:

Minor corrections

Legend:

Unmodified
Added
Removed
Modified
  • GhostScriptRasterPrinting

    v2 v3  
    3030The additional Epson printers listed above are now (as of version 9.00) included in Paul Smedley's distribution of GhostScript.
    3131
    32 It's possible to send the print job directly from the application --> GhostScript --> printer without having to go through the intermediate stage of running GSView.  This is made possible using the new [http://svn.netlabs.org/unipdr UniPdr] universal port driver:
     32It's possible to send the print job directly from the application --> GhostScript --> printer without having to go through the intermediate stage of running GSView.  This is made possible using the new [http://svn.netlabs.org/unipdr UNI.PDR] universal port driver:
    3333
    3434 * Install UNI.PDR (to \OS2\DLL)
    3535 * Create a new port of type UNI.
    36  * Edit the port properties.  We need to send the print job through two programs: GhostScript, followed by whatever command actually sends the job to the printer.  Unfortunately, UniPdr doesn't seem to support piping the job through multiple programs, so you have to write a REXX script (or something similar) which does the work.
     36 * Edit the port properties.  We need to send the print job through two programs: GhostScript, followed by whatever command actually sends the job to the printer.  Unfortunately, UNI.PDR doesn't seem to support piping the job through multiple programs, so you have to write a REXX script (or something similar) which does the work.
    3737
    3838I've used the following script to print to a TCP/IP (LPD) printer on the network:
     
    4040{{{
    4141/* GS2LPR.CMD - print to a TCP/IP printer through GhostScript, using LPR.
     42 *
    4243 * The top-level GhostScript directory should be set in the environment
    4344 * variable GHOSTSCRIPT (or just edit the path directly in the file, below).
     45 *
    4446 * Syntax: GS2LPR <model> <LPD server> <LPD printer> %file%
    4547 */
     48
     49CALL RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs'
     50CALL SysLoadFuncs
     51
    4652PARSE ARG model server printer jobfile
    4753IF jobfile == '' THEN RETURN 1
     
    7884}}}
    7985
    80 Using the above, the following [http://svn.netlabs.org/unipdr UniLpr] settings will allow printing to a networked LP-9400 printer with TCP/IP address 192.168.1.100:
     86Using the above, the following [http://svn.netlabs.org/unipdr UNI.PDR] settings will allow printing to a networked LP-9400 printer with TCP/IP address 192.168.1.100:
    8187
    8288 * '''Path and file:''' {{{cmd.exe}}}
     
    8995It may also be possible to print to a local (LPT/COM/USB) printer using the OS/2 'print' command or somesuch program, but I haven't tried this.
    9096
     97Of course, you can also use the above script to print a pre-existing PostScript file from the command line.
     98
    9199-- Added by Alex Taylor