Content-type: text/html Man page of PSDRAFT

PSDRAFT

Section: User Commands (1)
Updated: 18 August 1992
Index Return to Main Contents
 

NAME

psdraft - add "draft" notices on POSTSCRIPT language documents  

SYNOPSIS

psdraft [ -sstring ] [ -xxcoord ] [ -yycoord ] [ -ffont ] [ -rangle ] [ -ggraylevel ] [ -o ] [ -poutfile ] [ -Pprinter ] [ files ]  

DESCRIPTION

psdraft reads in conforming POSTSCRIPT language files and inserts POSTSCRIPT language code to print a string such as "DRAFT" in the margins, or anywhere on the page.

For example:

psdraft text.ps
produces a POSTSCRIPT file that, in addition to the image already described in text.ps, prints the string "DRAFT" rotated 90 degrees in the right margin.
psdraft -s"Adobe Confidential" -r45 -x252 -y324 text.ps
produces a POSTSCRIPT file that includes the string "Adobe Confidential" in the middle of the page, rotated 45 degrees.

The possible options are:

-sstring
puts string on the paper. The default is "DRAFT".
-rangle
rotates the string angle degrees. The default is 90.
-xxcoord
puts the string at the xcoord x-coordinate on the page. The default is 575.
-yycoord
puts the string at the ycoord y-coordinate on the page. The default is 300.
-ggraylevel
specifies the gray level for printing the string. The default is 0 (black).
-ffont
sets the font to be used for printing the string. The default is Times-Roman30.

Font specifications have two parts: a font name as known to the POSTSCRIPT printer (e.g., Times-Roman, Times-BoldItalic, Helvetica, Courier), and a point size (1 point=1/72 inch; 8 point is a good small point size). So Courier-Bold8 is 8 point Courier Bold, Helvetica12 is 12 point Helvetica.

-o
specify that the outline of the font should be used. Default is not to use outline.
-pout
causes the POSTSCRIPT file to be written to the named file rather than being spooled for printing. As a special case, -p- will send the POSTSCRIPT language document to the standard output (which is the default behavior).
-Pprinter
specifies that psdraft should get information about the dimensions of the paper from the POSTSCRIPT Printer Description file for printer. This information is necessary to do rotation.
 

ENVIRONMENT

PPDDIR
path for finding POSTSCRIPT Printer Description files.
PSLIBDIR
path name of a directory to use instead of XPSLIBDIRX for then psdraft prologue
 

FILES

XPSLIBDIRX/psdraft.pro
prologue for psdraft
 

SEE ALSO

transcript(1)  

AUTHOR

Adobe Systems Incorporated  

NOTES

POSTSCRIPT is a trademark of Adobe Systems Incorporated.
Times and Helvetica are registered trademarks of Linotype.


 

Index

NAME
SYNOPSIS
DESCRIPTION
ENVIRONMENT
FILES
SEE ALSO
AUTHOR
NOTES

This document was created by man2html, using the manual pages.
Time: 02:43:01 GMT, October 02, 2010