logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

psf - PostScript filter

Bugs

       Some  options  do  not  cooperate  well when given on one command line.  In that case it might be wise to
       split the twp operations into two separate passes over the file. For example: "psf -2 | psf -upside"  in‐
       stead of "psf -2 -upside".

Description

Psf can be used to change the behavior of a PostScript program.  It uses the  Adobe  structuring  conven‐
       tions  to  perform  operations like page selection, changing the page order, rotate pages, print multiple
       copies, use the printers secondary paper input, and the printing of a message across each page.  The con‐
       catenated input files are assumed to form one PostScript program conforming to the PS-Adobe-2.0 structur‐
       ing conventions.  The output conforms to the same conventions.  The -p option can be used to convert  in‐
       put files from text to PostScript before any further processing takes place.
       In  all  options  with  a variable part expressed by italics, except the -sort option, that variable part
       need not be part of the option argument, but can be  the  next  argument.   For  example:  `psf-#1'  and
       `psf-#1' have the same effect.

Files

       /usr/local/lib/ProcSets/pagemess.proc  the ProcSet for -m
       /usr/tmp/psf..N                        temporary files used for page reversal.

Name

       psf - PostScript filter

Options

-p     This  option  is  an  exception  in that the input files are treated as printable text and sent to
              psprint(1) before any further processing takes place.

       -olist Select the pages mentioned in the list, which has the same format as is used  in  troff(1)  utili‐
              ties.   List  is  a  comma  separated list of page numbers (N) and ranges (N1-N2).  The initial or
              trailing number of a range can be left unspecified.  Neither the pages in  the  PostScript  input,
              nor in the list need to be ordered.
              Example:  -o-4,9,11-13,15-  will cause the pages 1, 2, 3, 4, 9, 11, 12, 13, 15 and 16 of a 16 page
              document to be present in the output.

       -#N    Causes N copies of each page to be printed.

       -r     Reverse the page order.

       -mmessage
              Print the message diagonally across each page in point size 54 outline helvetica bold.

       -land  Print each page in landscape mode. I.e. rotated 90 degrees.

       -upside
              Print each page upside down. Assumes upright A4.

--

See Also

psprint(1), lpr(1), devps(1)

                                                      local                                               PSF(1)

Synopsis

psf [-p] [-olist] [-#N] [-r] [-mmessage] [-land] [-upside] [-2] [-securityN[,message]] [-c] [-inputtrayN]
       [-outputtrayN]   [-ips_ignore]  [-ips_fit]  [-ips_error]  [-noreport]  [-sort[N]]  [-duplex]  [-noduplex]
       [-tumble] [-selectstring] [-courierold] [-nondsc] [--] [file] ...

See Also