HP CommonIO Products Bedienungsanleitung Seite 144

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 261
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 143
PAD Ser vices
Remote PAD Printer Support (x29printd)
Chapter 6144
Examples
x29printd and lpsched Operation
For this example, a printer (a RuggedWriter) is connected on port 5 (or
B1 on HP 2335a PADs) to a PAD whose address is 4085551203. The
address of the printer in this case would be 408555120305. In the PAD
device local configuration, port 5 must be downloaded with:
parm_no: parm_value;1:0; 2:0; 3:0; 4:10; 5:0; 6:0; 7:0;
8:0; 9:0; 10:0; 11:14; 12:1; 13:0; 14:0; 15:0; 16:8;
17:24; 18:0; 19:1; 20:0; 21:0; 22:0
which is profile 21 on HP 2335a.
On the host side, the printer name is foo. This means that when a user
types lp -d foo /tmp/file, the file /tmp/file will be printed on this
printer. The X.25 interface on the host is interface0.
Printer Configuration
To configure a printer (foo in the examples below) for use with the
standard UNIX LP spooler system and x29printd, follow these steps:
Step 1. Edit the /etc/x25/x29hosts file to include:
printer {
device x29printer1
name interface0
remote_x121 408555120305
x3 default_printer
logging 3
}
x29printd uses /etc/x25/x29hosts to configure remote PAD printers.
Step 2. Execute /usr/sbin/x29printd with the -l3 option.
After /usr/sbin/x29printd starts, it creates a device file named
/dev/x29/x29printer1. You can verify that this device file exists with
the command: ll /dev/x29.
x29printd creates the device file by linking it to a slave PTY. This
master/slave PTY pair is the interface for lpsched and x29printd (see
the pty(7) man pages for information about UNIX PTYs). The device file
for printer foo will be written to /dev/x29/x29printer1.
Seitenansicht 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 260 261

Kommentare zu diesen Handbüchern

Keine Kommentare