www.delorie.com/gnu/docs/a2ps/a2ps_126.html   search  
 
Buy GNU books!


General Purpose PostScript Generating Utility

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

9.6.1 Invoking psset

 
psset [options] [file]

produce a version of the PostScript file (or of the standard input if no file is given, or if file is `-') that makes protected calls to the PostScript operator setpagedevice. Typical use is making file print duplex, or on the manual tray etc.

The call is protected so that the resulting file is safe, i.e., will still be portable, even with requests such as `-Sfoo:bar'.

It is safe to run psset with no feature requests. Depending upon the option `--no-fix', it is either equivalent to doing nothing, or to running fixps (see section 9.2 fixps).

Supported options are:

Option: -h
Option: --help
Print a short help message and exit successfully.

Option: -V
Option: --version
report the version and exit successfully.

Option: -D
Option: --debug
enter in debug mode.

Option: -q
Option: --quiet
Option: --silent
Run silently.

Option: -o file
Option: --output=file
specify the file in which is saved the output.

Option: -n
Option: --no-fix
psset will fail on ill designed PostScript. Actually it is the psutils that fail. To avoid this, by default the PostScript file is sanitized by fixps.

When given this option, don't run fixps. This is meant to be used when fixps has already been used higher in the processing chain.

Option: -S key:value
Option: --setpagedevice=key:value
Insert a setpagedevice call setting key to value. Multiple values accumulate. Lists of requests separated with `;' are valid (e.g., `-SDuplex:true;Tumble:false').

Option: -a page
Option: --at=page
Specify the page where the setpagedevice call should be done. The page 0, which is the default, corresponds to the `Setup' section of the document. More precisely, the insertion is performed at the end of the `Setup' section, so that if there are multiple calls to psset on the same document (which is of course, a bad idea), the last call is winning.

In a typical use you should not change the page.

Option: -m
Option: --manualfeed
Alias for `-SManualFeed:true', i.e., the request to print using the manual feed tray.

Option: -s
Option: --simplex
Alias for `-SDuplex:false', i.e., force simplex printing.

Option: -d
Option: --duplex
Alias for `-SDuplex:true;Tumble:false', i.e., the request to print in duplex mode, binding along the long edge of the paper.

Option: -t
Option: --tumble
Alias for `-SDuplex:true;Tumble:true', i.e., duplex printing such that binding should happen on the short edge of the medium.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003