Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gsinterface(1) [opensolaris man page]

GSinterface(1)						      General Commands Manual						    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 config- ured 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 configuration. The "Available devices:" section lists the formats 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 SEE ALSO
gs(1) Ghostscript 15 October 2002 GSinterface(1)

Check Out this Related Man Page

setnetlp(1M)															      setnetlp(1M)

NAME
setnetlp - configure the LP spooling system for network printers SYNOPSIS
/usr/sbin/setnetlp /usr/sbin/setnetlp -p printer [options] /usr/sbin/setnetlp -x printer DESCRIPTION
The command configures network printers in the LP spooling systems with specified printer model interface file. It is used to add and remove specified printer that is referred as a LP destinations, change configuration of the printer if the printer exists. Network printers that support lpd protocol or JetDirect interface can be configured by The command is a shell procedure. It calls lpad- min(1M) command for lpd printer configuration. It may also call addqueue(1) and removequeue(1) commands for configuring printers with Jet- Direct interface when the optional software HP JetDirect Printer Installer for Unix is installed on the system. Exactly one of the -p, -x options or no options must be present for every legal invocation of -p printer Names a printer to which all of the options below refer. If printer does not exist, it will be created. -x printer Removes the printer from the LP spooling system. The printer is a LP destination configured in the LP spooling sys- tem. No other options are allowed with -x. The following options are required for -p and can appear in any order. -orm machine The name of the remote machine or IP address of the network printer is machine. -om model This option selects a printer model interface program for printer. The model is one of the model file name at /usr/lib/lp/model/* supplied with the LP software or generated by psmsgen(1M). Refer to lpadmin(1M) Models for details. One and only one of the following options is required for -p and can appear in any order. -orp rprinter The name of the remote printer queue that has configured on the remote machine is rprinter. This option is required to configure lpd printer and can not be used with -jd option. -jd When this option is specified, configures the printer using commands provided by HP JetDirect Printer Install- er for Unix Interactive terminal user interface (TUI) will be invoked when is invoked without any options. At the TUI, values of all options described above can be set. In addition, for some printer model, defaults of model interface options also can be customized. When HP JetDi- rect Printer Installer for Unix is available on the system, some recommended initial values for options may be provided for some printer model. The model customization support feature by is available only for TUI. No customization is performed by non-interactive invocation of To customize model options for a printer without the TUI, pre-customized model file needs to be generated before running for configuring the printer. EXAMPLES
Assuming a LIPS printer supported lpd protocol on a network as remote printer host name lphost and remote printer name lipslp the command: /usr/sbin/setnetlp -p netlp -orm lphost -orp lipslp -om LIPS4 causes the spool system to use the local printer netlp and the local model file LIPS4. FILES
SEE ALSO
lpadmin(1M), addqueue(1), removequeue(1), psmsgen(1M) setnetlp(1M)
Man Page