PSDMAN
Section: Maintenance Commands (8)
Updated: 5 March 1991
Index
Return to Main Contents
NAME
psdman - TRANSCRIPT document manager for POSTSCRIPT printers
SYNOPSIS
psdman
[
-rfGFaL
][
-Pprintername
][
-pprog
][
-nuser
][
-hhost
][
file
]
DESCRIPTION
psdman
is the TRANSCRIPT document manager, invoked by the printer interface script,
psinterface
(System V), or
psint.sh
(BSD),
after the printer interface program has been invoked by the print spooler.
psdman
is responsible for reading the the document file to be printed, and
taking the appropriate action to prepare the file for printing on a
POSTSCRIPT printer.
psdman
distinguishes between text files (which get formatted) and POSTSCRIPT print
files. If the input to
psdman
does not begin with the POSTSCRIPT
magic number
- the first two characters being ``%!'' -
psdman
will invoke
enscript
to create a listing of the file.
If the first bytes of the input file are ``%!PS-Adobe-'',
and if the printer options so specify,
psdman
will also will perform various document management tasks,
such as page reversal, font and other resource downloading, and
printer-specific feature inclusion (manual feed, duplex, paper tray
setting, etc.)
before printing, if so requested.
psdman
supports LZW compression and ASCII85 encodingfor Level 2 printers.
The possible options are:
- -r
-
never reverse.
- -f
-
continue processing despite errors.
- -G
-
do not attempt to rearrange fonts for more efficient downloading.
- -F
-
turn off parsing. If this is specified, psdman will simply pass the data
through untouched. This means that it won't attempt to determine whether a
file is PostScript or not, either.
- -a
-
strip out comments. If this is specified, psdman will strip out any line
that begins with '%'.
- -L
-
landscape. Psdman will cause the input to be printed rotated 90 degrees.
It will not attempt to make sure the resulting image will fit on the page.
- -P printername
-
printername
is the name of the POSTSCRIPT printer for which output is intended.
- -p program
-
program
( BSD only) is the name of the program through which psdman was invoked.
Typically this is
psi0.
- -h host
-
host
( BSD only) is the name of the host from which the print job originated.
- -n user
-
user
( BSD only) is the name of the user for whom the print job is being printed.
- file
-
file
is the name of the document file to be processed by
psdman.
ENVIRONMENT
There are a number of environment variables used by psdman
These are listed below.
The
psinterface
(System V) or
psint.sh
(BSD)
script sets the initial value for each,
and the printer options file can be used to change the value for a
particular printer.
Note that Bourne shell syntax must be used in the printer options file.
For BSD, this file is in the spool directory; for System V, look in
/usr/spool/lp/transcript/ps.opt.
Many of the variables take a number value, and specify whether
an action should take place or not; 1 means do the action, and
0 means don't do it.
- REVERSE=number
-
Reverse the page order
- VERBOSELOG=number
-
Print verbose log messages
- COMPRESS=number
-
Perform LZW compression on file
- PSTEMPDIR=Directory name
-
Directory for temp files
One could turn off page reversal for a particular printer
by adding this line to the printer.opt file:
REVERSE=0
FILES
- /usr/lib/transcript/bogusmsg.ps
-
POSTSCRIPT file for "spooled binary file rejected" message to printer
- /tmp/t*
-
Temporary file to format text files.
SEE ALSO
transcript(1), pscomm(1), lp(1), enscript(1).
System V Line Printer Spooling Utilities
AUTHOR
Adobe Systems Incorporated
NOTES
POSTSCRIPT is a registered trademark of Adobe Systems Incorporated.
TRANSCRIPT is a trademark of Adobe Systems Incorporated.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- ENVIRONMENT
-
- FILES
-
- SEE ALSO
-
- AUTHOR
-
- NOTES
-
This document was created by
man2html,
using the manual pages.
Time: 00:58:30 GMT, September 26, 2024