Xerox Z750/N Network Guide - Page 36

Adding an LPD queue in Solaris, If Solaris 2.2/2.3 print jobs get stuck in the queue

Page 36 highlights

TCP/IP Host Configuration (UNIX) Adding an LPD queue in Solaris Add the printer to the host table. This is done by either editing the local host table /etc/hosts (if not running yp or NIS), or updating the NIS data base on the NIS (yp) server. Here is an example of how to add a PostScript queue named phaser printing to a printer named tektronix while in the Bourne shell. /bin/sh lpsystem -t bsd tektronix lpadmin -p phaser -s tektronix!PS -I postscript The queue name can be anything you want. The printer name should be the same name used in the host table. The !PS names the remote printer queue name. There are four valid remote printer names: PS, HPGL, PCL, and AUTO. Use the following commands to enable the new queue: lpshut /usr/lib/lpsched enable phaser accept phaser If Solaris 2.2/2.3 print jobs get stuck in the queue 1. Change directory (cd) to this location: /usr/spool/lp/temp/workstation-name 2. To remove any jobs, type: rm 3. Change directory (cd) to this location: /usr/spool/lp/requests/workstation-name 4. To remove any jobs, type: rm 5. Type: kill -pid where pid is the process ID number /usr/lib/lpsched. 6. To restart lpsched, type: /usr/lib/lpsched 7. Remove any jobs that have not printed from the Print Tool. PhaserShare Networking Manual 31

  • 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

PhaserShare Networking Manual
31
TCP/IP Host Configuration (UNIX)
Adding an LPD queue in Solaris
Add the printer to the host table. This is done by either editing the local host table
/etc/hosts
(if not running
yp
or
NIS
), or updating the
NIS
data base on the
NIS
(
yp
) server.
Here is an example of how to add a PostScript queue named
phaser
printing to a printer
named
tektronix
while in the Bourne shell.
/bin/sh
lpsystem -t bsd tektronix
lpadmin -p phaser -s tektronix!PS -I postscript
The queue name can be anything you want.
The printer name should be the same name
used in the host table.
The
!PS
names the remote printer queue name. There are four valid remote printer names:
PS, HPGL, PCL, and AUTO.
Use the following commands to enable the new queue:
lpshut /usr/lib/lpsched
enable phaser
accept phaser
If Solaris 2.2/2.3 print jobs get stuck in the queue
1.
Change directory (cd) to this location:
2.
To remove any jobs, type:
3.
Change directory (cd) to this location:
4.
To remove any jobs, type:
5.
Type:
6.
To restart
lpsched
, type:
7.
Remove any jobs that have not printed from the
Print Tool
.
/usr/spool/lp/temp/
workstation-name
rm
/usr/spool/lp/requests/
workstation-name
rm
kill
-
pid
where
pid
is the process ID number
/usr/lib/lpsched.
/usr/lib/lpsched