HP Visualize J210XC IRIX to HP-UX Migration Guide - Page 47

Printers

Page 47 highlights

8. Printers The print services under IRIX are managed by the print daemon, lp, which provides the spooling service that processes all print requests as well as a user interface to the print services for management. Under IRIX the simplest tool for controling print services is the graphic interface System Manager. This chapter will address user and administrative commands for lp. The IRIX Print Spooler The lp, or line printer spooling utility, is the software package that manages the print spooling system. In the lp spooling system a file is held temporarily in a queue until the printer becomes available. At that time the next file in the queue is printed. The lp spooler utility allows for many users to share the same printer and keeps the workstation available to users while a print job is in the print queue. All print services are managed by the lp spooling utility. Managing the lp System Prior to sending print requests to a printer you must register the printer to the lp spooler. The procedures depend upon the type of printer. In this section we will address adding three types of printers: ! Parallel printers on the local system ! Serial printers on the local system ! Printers connected to remote print servers Adding a Parallel or Serial Printer To register local printers connected directly to the parallel or serial port: 1. Become superuser with the su command, or login as root. 2. To stop the print spooler, type: /usr/lib/lpshut 3. If the printer is attached to the parallel port, use mkcentpr to install the printer: /usr/sbin/mkcentpr The mkcentpr is an interactive script that prompts you for all the necessary information regarding the printer. If the printer is attached to the serial port, use mkserialpr to install the printer: /usr/sbin/mkserialpr The mkserialpr command is similar to the mkcentpr command except that it uses the serial port. 4. To set the printer as the default printer, type: /usr/lib/lpadmin -dprinter-name The printer is now registered with lp and is ready to accept print requests. 42

  • 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
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125

42
8. Printers
The print services under IRIX are managed by the print daemon,
lp
, which provides the spooling service
that processes all print requests as well as a user interface to the print services for management.
Under IRIX the simplest tool for controling print services is the graphic interface System Manager.
This chapter will address user and administrative commands for
lp
.
The IRIX Print Spooler
The
lp
, or line printer spooling utility, is the software package that manages the print spooling system. In
the
lp
spooling system a file is held temporarily in a queue until the printer becomes available. At that time
the next file in the queue is printed.
The
lp
spooler utility allows for many users to share the same printer and keeps the workstation available to
users while a print job is in the print queue. All print services are managed by the
lp
spooling utility.
Managing the lp System
Prior to sending print requests to a printer you must register the printer to the
lp
spooler. The procedures
depend upon the type of printer. In this section we will address adding three types of printers:
!
Parallel printers on the local system
!
Serial printers on the local system
!
Printers connected to remote print servers
Adding a Parallel or Serial Printer
To register local printers connected directly to the parallel or serial port:
1.
Become
superuser
with the
su
command, or login as
root
.
2.
To stop the print spooler, type:
/usr/lib/lpshut
3.
If the printer is attached to the parallel port, use
mkcentpr
to install the printer:
/usr/sbin/mkcentpr
The
mkcentpr
is an interactive script that prompts you for all the necessary information regarding the
printer. If the printer is attached to the serial port, use
mkserialpr
to install the printer:
/usr/sbin/mkserialpr
The
mkserialpr
command is similar to the
mkcentpr
command except that it uses the serial port.
4.
To set the printer as the default printer, type:
/usr/lib/lpadmin –d
printer-name
The printer is now registered with
lp
and is ready to accept print requests.