man pages section 1: User Commands

Exit Print View

Updated: July 2014
 
 

GSinterface (1)

Name

GSinterface - LP interface script for using ghostscript under lpsched

Synopsis

GSinterface [request-id] [user] [title] [copies] [options]
[files]

Description




User Commands                                      GSinterface(1)



NAME
     GSinterface  -  LP  interface  script  for using ghostscript
     under lpsched

SYNOPSIS
     GSinterface [request-id] [user] [title] [copies] [options]
     [files]

DESCRIPTION
     This shell script is intended to be uses as an LP interface
     script on Solaris 2.6 and later systems.  It allows print
     queues to be configured under LP using Ghostscript to render
     for the printer.

     Configuration under lpsched is performed via the lpadmin(1M)
     command.

          # lpadmin -p printer -v /dev/... -I"postscript,pdf" -Tunknown \
               -i /usr/sfw/share/ghostscript/interfaces/GSinterface \
               -o GS_DEVICE=(gs-device-type) \
               [-o OutputFile=(file/device)] [-o PAPERSIZE=(size)] \
               [-o RESOLUTION=XxY] [-o banner-type=(ascii|postscript)] \
               [-o GS_OPTIONS="-sIjsServer=... -sIjsParams=..."]

     Valid  values for the GS_DEVICE setting can be obtained from
     Ghostscript by running: "gs -h". This will dump a variety of
     information  about Ghostscript's usage and compile time con-
     figuration.  The "Available devices:" section lists the for-
     mats  that  Ghostscript  will  render  to.  You will need to
     match one of these formats to the format that  your  printer
     takes as input.


EXAMPLES
     To configure a Canon Bublejet 800c (NeWSprinter CL+) printer
     connected to an ECP parallel port:

          # lpadmin -p printer -v /dev/ecpp0 -I"postscript,pdf" -Tunknown \
               -i /usr/sfw/share/ghostscript/interfaces/GSinterface \
               -o GS_DEVICE=bjc800
          # accept printer
          # enable printer

     To configure an HP DeskJet 990 printer connected via  a  USB
     interface using IJS support:

          # lpadmin -p printer -v /dev/usb/lp1 -I"postscript,pdf" -Tunknown \
               -i /usr/sfw/share/ghostscript/interfaces/GSinterface \
               -o GS_DEVICE=ijs \
               -o GS_OPTIONS="-sIjsServer=hpijs -sDeviceManufacturer=HEWLETT-PACKARD -sDeviceModel='DESKJET 990' -DIjsUseOutputFD"
          # accept printer
          # enable printer



Ghostscript        Last change: 15 October 2002                 1






User Commands                                      GSinterface(1)



ATTRIBUTES
     See   attributes(5)   for   descriptions  of  the  following
     attributes:

     +---------------+--------------------------+
     |ATTRIBUTE TYPE |     ATTRIBUTE VALUE      |
     +---------------+--------------------------+
     |Availability   | print/filter/ghostscript |
     +---------------+--------------------------+
     |Stability      | Volatile                 |
     +---------------+--------------------------+
SEE ALSO
     gs(1)



NOTES
     This  software  was   built   from   source   available   at
     https://java.net/projects/solaris-userland.    The  original
     community       source       was       downloaded       from
     http://ghostscript.com/releases/ghostscript-9.00.tar.gz

     Further  information about this software can be found on the
     open source community website at http://ghostscript.com/.































Ghostscript        Last change: 15 October 2002                 2