Intel PRO/100 Setup Guide - Page 25

lp -d, lpshut, lpadmin -p, v/dev/null -orm, accept, enable, lpsched

Page 25 highlights

4 Test the configuration. At the command line, type: ping host lp -d printer file where: host is the name of the NetportExpress print server from step 2 above. printer is the name of the printer queue. file is the name of a file. To set up a workstation to print with lpr/lpd on HP-UX 1 Log in to your HP-UX workstation as root. 2 In the /etc/hosts file, add a unique host name and IP address for each NetportExpress print server you want to configure. 3 Set up the print queue and remote printer. 4 Type: lpshut 5 Type on one line: lpadmin -pprinter -v/dev/null -ormhost orpport -ob3 where printer is the print queue on the local system. host is the NetportExpress print server. port defines the remote printer attached to the NetportExpress print server. It can be LPT1_PASSTHRU or LPT1_TEXT (for parallel port 1 or the internal card) LPT2_PASSTHRU or LPT2_TEXT (for parallel port 2) COM1_PASSTHRU or COM1_TEXT (for the serial port) Note: Use PASSTHRU for PCL, PostScript, or application files and TEXT for standard UNIX text files. 6 Type: accept printer enable printer lpsched where printer is the name of the printer queue on the local system. 23

  • 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

23
4
Test the configuration. At the command line, type:
ping
host
lp -d
printer file
where:
host
is the name of the NetportExpress print server from step 2
above.
printer
is the name of the printer queue.
file
is the name of a file.
To set up a workstation to print with lpr/lpd on HP-UX
1
Log in to your HP-UX workstation as root.
2
In the /etc/hosts file, add a unique host name and IP address for
each NetportExpress print server you want to configure.
3
Set up the print queue and remote printer.
4
Type:
lpshut
5
Type on one line:
lpadmin -p
printer
-v/dev/null -orm
host
orp
port
-ob3
where
printer
is the print queue on the local system.
host
is the NetportExpress print server.
port
defines the remote printer attached to the NetportExpress
print server. It can be
LPT1_PASSTHRU or LPT1_TEXT (for parallel port 1 or the
internal card)
LPT2_PASSTHRU or LPT2_TEXT (for parallel port 2)
COM1_PASSTHRU or COM1_TEXT
(for the serial port)
Note:
Use PASSTHRU for PCL, PostScript, or application files
and TEXT for standard UNIX text files.
6
Type:
accept
printer
enable
printer
lpsched
where
printer
is the name of the printer queue on the local system.