DPSEXEC(1) General Commands Manual DPSEXEC(1)NAME
dpsexec - Display PostScript Executive
SYNOPSIS
dpsexec [ -display name ][ -sync ][ -backup ][ -noexec ][ -root ][ -drawable windowId ][ -height n ][ -width n ]
DESCRIPTION
dpsexec is a Display PostScript program that allows the user to interact directly with the PostScript interpreter through a command inter-
face. dpsexec reads lines of text from standard input and passes each line to the PostScript interpreter for execution. It creates a win-
dow that displays the results of graphics operations as they are executed. dpsexec exits when end of file is reached on standard input, or
when the user types "quit<return>", which executes the PostScript quit operator.
By default, dpsexec executes the PostScript executive operator before it accepts any user input. This operator puts the PostScript inter-
preter in "interactive executive" mode so that the user can control the interpreter directly. In this mode, the PostScript interpreter
supports certain line-editing functions and prompts the user when it is ready to execute more input. See section 2.4.4, "Using the Inter-
preter Interactively," of the PostScript Language Reference Manual, Second Edition, for detailed information on this mode of operation.
OPTIONS -display name
specifies the display on which to open a connection to the Display PostScript system. If no display is specified, the DISPLAY envi-
ronment variable is used.
-sync establishes a synchronous connection with the specified X display.
-backup
uses backing store for the window in which graphics are displayed, if possible. This is generally only effective with the DPS NX
system.
-noexec
prevents dpsexec from entering "interactive executive" mode. The primary effect of this option is to inhibit printing the PS>
prompt before each line of input is accepted. This option is useful when dpsexec is run with standard input redirected from a file
or a pipe.
-root tells dpsexec to draw into the root window instead of into a window that it creates.
-drawable windowId
tells dpsexec to draw into the specified window instead of into a window that it creates.
-height n
sets the height of the created window.
-width n
sets the width of the created window.
DIAGNOSTICS
PostScript language error messages are printed to standard output.
AUTHOR
Adobe Systems Incorporated
NOTES
PostScript and Display PostScript are trademarks of Adobe Systems Incorporated which may be registered in certain jurisdictions.
Copyright (c) 1990-1994 Adobe Systems Incorporated. All rights reserved.
XFree86 Version 4.7.0 DPSEXEC(1)
Check Out this Related Man Page
PSRESIZE(1) General Commands Manual PSRESIZE(1)NAME
psresize - multiple pages per sheet
SYNOPSIS
psresize [ -wwidth ] [ -hheight ] [ -ppaper ] [ -Wwidth ] [ -Hheight ] [ -Ppaper ] [ -q ] [ infile [ outfile ] ]
DESCRIPTION
Psresize rescales and centres a document on a different size of paper. The input PostScript file should follow the Adobe Document Struc-
turing Conventions.
The -w option gives the output paper width, and the -h option gives the output paper height, normally specified in cm or in to convert
PostScript's points (1/72 of an inch) to centimeters or inches. The -p option can be used as an alternative, to set the output paper size
to a3, a4, a5, b5, letter, legal, tabloid, statement, executive, folio, quarto or 10x14. The default output paper size is a4.
The -W option gives the input paper width, and the -H option gives the input paper height. The -P option can be used as an alternative, to
set the input paper size. The default input paper size is a4.
Psresize normally prints the page numbers of the pages output; the -q option suppresses this.
EXAMPLES
The following command can be used to convert a document on A4 size paper to letter size paper:
psresize -PA4 -pletter in.ps out.ps
AUTHOR
Copyright (C) Angus J. C. Duggan 1991-1995
SEE ALSO psbook(1), psselect(1), pstops(1), epsffit(1), psnup(1), psresize(1), psmerge(1), fixscribeps(1), getafm(1), fixdlsrps(1), fixfmps(1), fix-
macps(1), fixpsditps(1), fixpspps(1), fixtpps(1), fixwfwps(1), fixwpps(1), fixwwps(1), extractres(1), includeres(1)TRADEMARKS
PostScript is a trademark of Adobe Systems Incorporated.
BUGS
Psresize does not accept all DSC comments.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWpsutils |
+--------------------+-----------------+
|Interface Stability | External |
+--------------------+-----------------+
NOTES
Source for ps utilities (psutils) is available on http://opensolaris.org.
PSUtils Release 1 Patchlevel 17 PSRESIZE(1)