1PSERVER(1) pserver PSERVER(1)
2
3
4
6 pserver - NetWare print server
7
9 pserver [ -S server ] [ -h ] [ -U user name ] [ -P password | -n ] [ -C
10 ] [ -q queue name ] [ -c command ] [ -j job type ] [ -t timeout ] [ -d
11 ]
12
13
15 pserver is a program that connects to print queues on NetWare servers
16 and feeds incoming print jobs to the Linux printing system.
17
18
20 -h
21 -h is used to print out a short help text.
22
23 -S server
24 server is the name of the server you want to use.
25
26 -U user
27 user is the print server name at the server.
28
29 -P password
30 password is the password to use for the print server at the server.
31 If neither -n nor -P are given, and the user has no open connection
32 to the server, pserver prompts for a password.
33
34 -n
35 -n should be given if the print server does not require a password.
36
37 -C
38 By default, passwords are converted to uppercase before they are
39 sent to the server, because most servers require this. You can turn
40 off this conversion by -C.
41
42 -q queue name
43 queue name is the name of the print queue you want to service.
44
45 -c command
46 When a job is received from the print queue, pserver forks off a new
47 process, and feeds the job file to stdin. command is the printing
48 command that is executed for each job. The default command is 'lpr'.
49
50 You can insert several flags into the command, preceded by %. These
51 are replaced with values retrieved from the queue structure for the
52 print job.
53
54 %u: This field will be replaced by the name of the user who posted
55 this print job.
56
57 %d: This field will be replaced by the job description field of this
58 print job.
59
60 -j job type
61 Each job in a NetWare print queue has a job type. For print jobs,
62 this corresponds to the number of the form the job should be printed
63 on. You can tell pserver that it should only receive jobs for one
64 specific form from the queue. The default is -1, which means that
65 everything is received.
66
67 -t timeout
68 Pserver is not informed by NetWare servers when new jobs arrive. So
69 a polling scheme has to be used. When there are no jobs to service,
70 timeout tells pserver how long to wait between two requests. The
71 default is 30 seconds. When a job is finished, pserver asks the Net‐
72 Ware server immediately for a new job, and does not wait timeout
73 seconds.
74
75 -d
76 Normally, pserver daemonizes itself. -d tells it not to do so. This
77 is useful if you want to see the diagnostic messages that are
78 printed when a error occurs.
79
80
81
83 nwclient(5), slist(1), pqlist(1), ncpmount(8), ncpumount(8)
84
85
87 pserver was written by Volker Lendecke (lendecke@math.uni-goettin‐
88 gen.de)
89
90
91
92pserver 10/22/1996 PSERVER(1)