GS(1) Ghostscript GS(1) (NAME) gs - PostScript PDF (SYNOPSIS) gs [ ] [ ] ... (Unix, VMS) gswin32c [ ] [ ] ... (MS Windows) gswin32 [ ] [ ] ... (MS Windows 3.1) gsos2 [ ] [ ] ... (OS/2) (DESCRIPTION) gs (gswin32c gswin32 gsos2) Ghostscript PostScript(tm) Portable Document Format (PDF) Adobe Systems. gs <<>> Ghostscript . ( ) ( X11 ) . <> ( ) ( Control-C ) . . . . Ghostscript -h -? Unix . Ghostscript . <> . Ghostscript . X11 X11 () Ghostscript bbox postscript stdout . : gs myfile.ps Ghostscript : Ghostscript : devicenames == <> . <> : -sDEVICE=AbcXyz Epson : gs -sDEVICE=epson myfile.ps <<-sDEVICE=>> . GS_DEVICE . (Ghostscript ) : setpagedevice (command line) GS_DEVICE (first device in build list) () . <<-r>> : gs -sDEVICE= -rx - Epson () : gs -sDEVICE=epson -r60x72 ( ) : gs -sDEVICE=epson -r240x72. Ghostscript -- Unix . <> : -sOutputFile=foo.xyz . <<-sOutputFile=>> <<%d>> <> : -sOutputFile=foo%d.xyz . <<%d>> printf <<%02d>> . Unix MS Windows (pipe) . pipe <> ( Unix ) : -sOutputFile=%pipe%lpr <<%>> MS Windows (%%) . : -sOutputFile=- -sOutputFile=%stdout% -q Ghostscript . : -sPAPERSIZE= : -sPAPERSIZE=a4 -sPAPERSIZE=legal ISO US . <> . Ghostscript PostScript PDF . (bounding box) PostScript ( EPS) Ghostscript <<>> . Ghostscript gs -sDEVICE=bbox golfer.ps : %%BoundingBox: 0 25 583 732 %%HiResBoundingBox: 0.808497 25.009496 582.994503 731.809445 -- filename arg1 ... ( ) "ARGUMENTS" "userdict" ( "systemdict") . Ghostscript (shell) . -Dname=token -dname=token "systemdict" . (token) ( "token" ) (whitespace) . -Dname -dname "systemdict" value=null . -Sname=string -sname=string "systemdict" . -d . -dname=35 /name 35 def -sname=35 /name (35) def . -P Ghostscript . Ghostscript -I (".") . (INITIALIZATION FILES) Use.htm Ghostscript . -q : -dQUIET . -gnumber1xnumber2 -dDEVICEWIDTH=number1 -dDEVICEHEIGHT=number2 . ( X11) ( ) . -rnumber -rnumber1xnumber2 -dDEVICEXRESOLUTION=number1 -dDEVICEYRESOLUTION=number2 . X Y . X Y . -Idirectories . - Ghostscript (pipe) . Ghostscript (end-of-file) . Ghostscript . "gs_init.ps" "systemdict" -D -d -S -s ( "userdict" ). (SPECIAL NAMES) -dNOCACHE (character caching) . . -dNOBIND "bind" . . -dNODISPLAY . . -dNOPAUSE . Ghostscript . -dNOPLATFONTS ( X11) . . -dSAFER . . -dWRITESYSTEMDICT "systemdict" . PostScript . -sDEVICE=device . -sOutputFile=filename ( pipe) . (SAFER MODE) -dSAFER ( GS_LIB) ( https://ghostscript.com/doc/current/Use.htm ). SAFER . -dNOSAFER -dDELAYSAFER . NOSAFER/DELAYSAFER ( ) ..SH " (FILES)" Ghostscript . Unix /usr/local . DOS C:\GS Ghostscript GSview . Ghostscript <> . /usr/local/share/ghostscript/#.##/* /usr/local/share/ghostscript/fonts/* /usr/local/share/ghostscript/#.##/examples/* Ghostscript /usr/local/share/ghostscript/#.##/doc/* (INITIALIZATION FILES) <> <> Ghostscript . ( Unix <> MS Windows <<\>> ) Ghostscript : 1. -I ( ) 2. GS_LIB 3. GS_LIB_DEFAULT makefile Ghostscript . gs Unix GS_LIB_DEFAULT : "/usr/local/share/ghostscript/#.##:/usr/local/share/ghostscript/fonts" <<#.##>> Ghostscript . (GS_LIB_DEFAULT GS_LIB -I) <<:>> . (ENVIRONMENT) GS_OPTIONS GS_DEVICE GS_FONTPATH GS_LIB TEMP (X RESOURCES) Ghostscript X11 <> : borderWidth ( = 1). borderColor ( = black). geometry WxH+X+Y ( NULL ). xResolution ( WidthOfScreen WidthMMOfScreen ). yResolution ( HeightOfScreen HeightMMOfScreen ). useBackingPixmap backing store ( = true). . Unix ~/.Xresources : Ghostscript*geometry: 612x792-0+0 Ghostscript*xResolution: 72 Ghostscript*yResolution: 72 X : % xrdb -merge ~/.Xresources (SEE ALSO) Ghostscript ( ) Use.htm. (BUGS) http://bugs.ghostscript.com Usenet comp.lang.postscript . (VERSION) Ghostscript 10.04.0 . (AUTHORS) Artifex Software, Inc. Ghostscript . Russell J. Lang gsview ghostgum.com.au MS Windows Ghostscript . 10.04.0 18 Sept 2024 GS(1)