author | Petr Sumbera <petr.sumbera@oracle.com> |
Wed, 12 Oct 2016 05:02:11 -0700 | |
changeset 7099 | 58b579e0ff32 |
parent 178 | 4340c0d63702 |
permissions | -rw-r--r-- |
178
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
1 |
.\" $Id$ |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
2 |
.TH GSinterface 1 "15 October 2002" Ghostscript \" -*- nroff -*- |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
3 |
.SH NAME |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
4 |
GSinterface \- LP interface script for using ghostscript under lpsched |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
5 |
.SH SYNOPSIS |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
6 |
.na |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
7 |
\fBGSinterface\fB |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
8 |
[request\-id] [user] [title] [copies] [options] [files] |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
9 |
.SH DESCRIPTION |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
10 |
This shell script is intended to be uses as an LP interface script on |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
11 |
Solaris 2.6 and later systems. It allows print queues to be configured |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
12 |
under LP using Ghostscript to render for the printer. |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
13 |
.PP |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
14 |
Configuration under lpsched is performed via the |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
15 |
.BR lpadmin(1M) |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
16 |
command. |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
17 |
.PP |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
18 |
.nf |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
19 |
.na |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
20 |
# lpadmin -p printer -v /dev/... -I"postscript,pdf" -Tunknown \\ |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
21 |
-i /usr/sfw/share/ghostscript/interfaces/GSinterface \\ |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
22 |
-o GS_DEVICE=(gs-device-type) \\ |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
23 |
[-o OutputFile=(file/device)] [-o PAPERSIZE=(size)] \\ |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
24 |
[-o RESOLUTION=XxY] [-o banner-type=(ascii|postscript)] \\ |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
25 |
[-o GS_OPTIONS="-sIjsServer=... -sIjsParams=..."] |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
26 |
.ad |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
27 |
.fi |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
28 |
.PP |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
29 |
Valid values for the GS_DEVICE setting can be obtained from Ghostscript by |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
30 |
running: "gs \-h". This will dump a variety of information about Ghostscript's |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
31 |
usage and compile time configuration. The "Available devices:" section |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
32 |
lists the formats that Ghostscript will render to. You will need to match one |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
33 |
of these formats to the format that your printer takes as input. |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
34 |
|
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
35 |
.SH EXAMPLES |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
36 |
.br |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
37 |
.PP |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
38 |
To configure a Canon Bublejet 800c (NeWSprinter CL+) printer connected to an ECP parallel port: |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
39 |
.nf |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
40 |
.na |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
41 |
|
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
42 |
# lpadmin -p printer -v /dev/ecpp0 -I"postscript,pdf" -Tunknown \\ |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
43 |
-i /usr/sfw/share/ghostscript/interfaces/GSinterface \\ |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
44 |
-o GS_DEVICE=bjc800 |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
45 |
# accept printer |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
46 |
# enable printer |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
47 |
.ad |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
48 |
.fi |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
49 |
.PP |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
50 |
To configure an HP DeskJet 990 printer connected via a USB interface using IJS support: |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
51 |
.nf |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
52 |
.na |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
53 |
|
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
54 |
# lpadmin -p printer -v /dev/usb/lp1 -I"postscript,pdf" -Tunknown \\ |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
55 |
-i /usr/sfw/share/ghostscript/interfaces/GSinterface \\ |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
56 |
-o GS_DEVICE=ijs \\ |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
57 |
-o GS_OPTIONS="-sIjsServer=hpijs -sDeviceManufacturer=HEWLETT-PACKARD -sDeviceModel='DESKJET 990' -DIjsUseOutputFD" |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
58 |
# accept printer |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
59 |
# enable printer |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
60 |
.ad |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
61 |
.fi |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
62 |
.SH SEE ALSO |
4340c0d63702
7019309 move ghostscript to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff
changeset
|
63 |
gs(1) |