File: foomatic-getpjloptions.8.in

package info (click to toggle)
foomatic-db-engine 3.0.2-20061031-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,480 kB
  • ctags: 344
  • sloc: perl: 10,529; ansic: 4,725; makefile: 322; sh: 292; xml: 83
file content (54 lines) | stat: -rw-r--r-- 1,815 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
.\" This -*- nroff -*- source file is part of foomatic.
.\"
.TH FOOMATIC-GETPJLOPTIONS 8 "2001-05-07" "Foomatic Project"
.SH NAME
foomatic-getpjloptions \- <put a short description here>
.SH SYNOPSIS
.BI foomatic-getpjloptions " device"

.BI foomatic-getpjloptions " hostname\ port"

.SH DESCRIPTION
.B foomatic-getpjloptions
Sends a set of PJL commands and reads back
the PJL options and status from a printer over a network connection
or device bidirectional interface such as parallel, USB, serial.
printers to standard output. The
output can be piped into foomatic-addpjloptions to add options to the database.


.SS Options
.TP 10
.BI device
The interface to which a local printer is connected, e.g. /dev/lp0, /dev/usb/lp0,
/dev/tty00, etc.
For a parallel port,
you must have bidirectional support enabled at the
BIOS level and the parallel port driver must support the bidirectional mode.
Check your parallel port BIOS settings for  EPP/bi-directional mode.

.TP 10
.BI hostname
Host name or IP address of a network printer (HP JetDirect, DLINK, etc.).

.TP 10
.BI port
Port on which your network printer listens for socket (Appsocket) connections.
Most common ports are 9100 (JetDirect), 10000 (DLINK).  Usually you can configure
the port via a configuration interface.

.SH EXIT STATUS
.B foomatic-getpjloptions
returns ???

.SH AUTHOR
Manfred Wassmann <\fImanolo@NCC-1701.B.Shuttle.de\fR> for the foomatic
project using output from the associated binary.
Modified by Patrick Powell <papowell at lprng.com> to provide betters
support for network printers, error messages, and remove CR and FF from output.

.SH WARNINGS
Uni-directional protocols as remote LPD are not supported as no status is returned.
Some network print servers which attach to a printer parallel port do not
support bidirectional mode.