![]() Output to a series of files "foo1.xyz, foo2.xyz. You might want to print each page separately. "foo.xyz", use the switch -sOutputFile=foo.xyz If you select a printer as the output device, Ghostscript alsoĪllows you to choose where Ghostscript sends the output - on Unix systems, Lowest-density (fastest) mode with gs -sDEVICE=epson -r60x72Īnd the highest-density (best output quality) mode with gs -sDEVICE=epson -r240x72. Specify the resolution on such a printer, use the "-r" switch: gs -sDEVICE= -rxįor example, on a 9-pin Epson-compatible printer, you get the Some devices can support different resolutions (densities). The order of precedence for these alternativesįrom highest to lowest (Ghostscript uses the device defined highest in the The "-sDEVICE=" switch must precede the first mention ofĪ file to print, and only the switch's first use has any effect.įinally, you can specify a default device in the environment "AbcXyz" as the initial output device, include the switch -sDEVICE=AbcXyzįor example, for output to an Epson printer you might use the Ghostscript: invoke Ghostscript and type devicenames =īut the first device on the resulting list may not be the defaultĭevice you determine with " gs -h". You can also check the set of available devices from within So if the first one in the list is the one you want to use, just Print on stdout the dimension of the postscript file. ![]() ![]() Window (previewer), else ghostscript will typically use the bbox device and If built with X11 support, often the default device is an X11 The first one of those and directs output to it. Unless you specify a particular device, Ghostscript normally opens See which devices your executable includes, run " gs Ghostscript may be built to use many different output devices. Switch produces a message which shows several useful switches, all theĭevices known to that executable, and the search path for fonts on Unix itĪlso shows the location of detailed documentation. Switches may appear anywhere in the command line and apply toĪll files thereafter. Please see the usage documentation for complete The interpreter recognizes many option switches, some of which areĭescribed below. "quit" command (either in a file or from the keyboard), atĮnd-of-file, or at an interrupt signal (such as Control-C at the The interpreter exits gracefully when it encounters the Separately and output to an output device (may be a file or an X11 window Standard input stream (normally the keyboard), interpreting each line After doing this, it reads further input from the Gs reads "files" in sequence and executes them as PostScript(tm) and Portable Document Format (PDF) languages. (OS/2) DESCRIPTIONĬommand invokes Ghostscript, an interpreter of Adobe Systems' Gs - Ghostscript (PostScript and PDF language interpreter and
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |