1FOOMATIC-GETPJLOPTIONS(8) System Manager's Manual FOOMATIC-GETPJLOPTIONS(8)
2
3
4
6 foomatic-getpjloptions - <put a short description here>
7
9 foomatic-getpjloptions device
10
11 foomatic-getpjloptions hostname port
12
13
15 foomatic-getpjloptions Sends a set of PJL commands and reads back the
16 PJL options and status from a printer over a network connection or
17 device bidirectional interface such as parallel, USB, serial. printers
18 to standard output. The output can be piped into foomatic-addpjloptions
19 to add options to the database.
20
21
22
23 Options
24 device The interface to which a local printer is connected, e.g.
25 /dev/lp0, /dev/usb/lp0, /dev/tty00, etc. For a parallel
26 port, you must have bidirectional support enabled at the BIOS
27 level and the parallel port driver must support the bidirec‐
28 tional mode. Check your parallel port BIOS settings for
29 EPP/bi-directional mode.
30
31
32 hostname Host name or IP address of a network printer (HP JetDirect,
33 DLINK, etc.).
34
35
36 port Port on which your network printer listens for socket (App‐
37 socket) connections. Most common ports are 9100 (JetDirect),
38 10000 (DLINK). Usually you can configure the port via a con‐
39 figuration interface.
40
41
43 foomatic-getpjloptions returns ???
44
45
47 Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de> for the foomatic
48 project using output from the associated binary. Modified by Patrick
49 Powell <papowell at lprng.com> to provide betters support for network
50 printers, error messages, and remove CR and FF from output.
51
52
54 Uni-directional protocols as remote LPD are not supported as no status
55 is returned. Some network print servers which attach to a printer par‐
56 allel port do not support bidirectional mode.
57
58
59
60
61Foomatic Project 2001-05-07 FOOMATIC-GETPJLOPTIONS(8)