Using PSC
PSC is a command line utility that allows
you to do many of the tasks you
might otherwise perform in PCONSOLE
or NetWare Administrator.
Tasks you can perform with PSC include the following:
-
View network printer information
-
Control network printers
-
Control the print server
PSC has the following command syntax:
PSC PS=printserver P=printernumber [option ... ]
To cancel the downing of the Sales Print Server:
PSC PS=PS-SALES CD
To remove a printer from the list of network printers:
PSC PS==printserver PP=printernumber PRI
To stop printer 1 on PS-SALES:
PSC PS=PS-SALES P=1 STO
To view all online help screens:
PSC /? ALL
To view your current print layout in list format:
PSC L
To view online help:
PSC /?
To view specific online help for the STAR (Start) option:
PSC /? STAR
To view the status of all printers for PS-SALES:
PSC PS=PS-SALES P=ALL STAT
The following options to PSC are supported:
- AB
-
Abort. Stops the current print job and deletes it from the print queue.
The print server and printer must be specified.
- CD
-
Cancel down. Cancels the ``Going down after current jobs'' option available
in PCONSOLE, NetWare Administrator, and the print server
console. The print server and printer must be specified.
- FF
-
Form feed. Advances the printer to the top of the next page. The printer
must be paused, stopped, or waiting for a print job. The print server and
printer must be specified.
- /? or /H
-
Help. Displays online help.
- L
-
List. Displays a tree layout of the current printing setup.
- M [character]
-
Mark. Prints a line of whatever character you indicate so that you can
see which line the printer will start printing on. Default:
.
- MO F=number
-
Mount form. Tells the print server that you have mounted a new form on
the printer. Specify the form number (form names are referenced only in
NetWare Administrator and PRINTDEF).
- PAU
-
Pause. Stops the printer temporarily. The STAR (Start) option
continues printing the print job from the point that the print job was
paused. The print server and printer must be specified.
- PRI
-
Removes the printer from the list of network printers. Use if you don't
want other network users to print on the specified printer. The print
server and printer must be specified.
- SHA
-
Shared. Removes the Private flag and makes the network printer available
to the print server. The print server and printer must be specified.
- STAR
-
Start. Restarts the printer after you have stopped or paused it. The print
server and printer must be specified.
- STAT
-
Status. Displays the status (print job name, ID, and percentage
complete) on one or more printers on the specified print server. The
print server must be specified.
- STO
-
Stop. Stops the printer and returns the print job to the print queue.
The STAR (Start) option prints the print job from the beginning.
- S=name
-
Server. Indicates which NetWare server contains the print server you want
to manage. Default = current server (bindery-based). This option is not
needed when specifying a print server in the same Directory tree.
You can use PCONSOLE to accomplish many of
the same tasks, but PSC can be placed
in batch files or typed quickly at the
DOS prompt.
The ``Server'' option will require you to attach
to the specified server with a bindery connection.
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999