Seth Woolley's Man Viewer

pdftops(1) - pdftops, pdftops - Portable Document Format (PDF) to PostScript converter (version 3.00) - man 1 pdftops

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

pdftops(1)                                                          pdftops(1)



NAME
       pdftops  - Portable Document Format (PDF) to PostScript converter (ver-
       sion(1,3,5) 3.00)

SYNOPSIS
       pdftops [options] [PDF-file [PS-file]]

DESCRIPTION
       Pdftops converts Portable Document Format (PDF) files to PostScript  so
       they can be printed.

       Pdftops reads the PDF file(1,n), PDF-file, and writes a PostScript file(1,n), PS-
       file(1,n).  If PS-file  is  not  specified,  pdftops  converts  file.pdf  to
       file.ps  (or  file.eps  with  the -eps option).  If PS-file is -', the
       PostScript is sent to stdout.

CONFIGURATION FILE
       Pdftops reads a configuration file(1,n) at startup.  It first tries to  find
       the  user's  private config(1,5) file(1,n), ~/.xpdfrc.  If that doesn't exist, it
       looks for a system-wide config(1,5)  file(1,n),  typically  /usr/local/etc/xpdfrc
       (but  this  location  can  be  changed when pdftops is built).  See the
       xpdfrc(5) man(1,5,7) page for details.

OPTIONS
       Many of the following options can be set(7,n,1 builtins) with configuration  file(1,n)  com-
       mands.  These are listed in(1,8) square brackets with the description of the
       corresponding command line option.

       -f number
              Specifies the first page to print.

       -l number
              Specifies the last page to print.

       -level1
              Generate Level 1 PostScript.   The  resulting  PostScript  files
              will  be significantly larger (if(3,n) they contain images), but will
              print on Level 1 printers.  This also  converts  all  images  to
              black  and  white.   No  more  than  one of the PostScript level
              options  (-level1,  -level1sep,  -level2,  -level2sep,  -level3,
              -level3Sep) may be given.  [config(1,5) file: psLevel]

       -level1sep
              Generate Level 1 separable PostScript.  All colors are converted
              to CMYK.  Images are written with separate stream data  for  the
              four components.  [config(1,5) file: psLevel]

       -level2
              Generate  Level 2 PostScript.  Level 2 supports color images and
              image compression.  This is the default setting.  [config(1,5)  file:
              psLevel]

       -level2sep
              Generate Level 2 separable PostScript.  All colors are converted
              to CMYK.  The PostScript  separation  convention  operators  are
              used to handle custom (spot) colors.  [config(1,5) file: psLevel]

       -level3
              Generate  Level 3 PostScript.  This enables all Level 2 features
              plus CID font embedding.  [config(1,5) file: psLevel]

       -level3Sep
              Generate Level 3 separable PostScript.  The separation  handling
              is the same as for -level2Sep.  [config(1,5) file: psLevel]

       -eps   Generate  an  Encapsulated  PostScript  (EPS) file.  An EPS file(1,n)
              contains a single image, so if(3,n) you use this option with a multi-
              page  PDF file(1,n), you must use -f and -l to specify a single page.
              No more than one of the mode options (-eps, -form) may be given.

       -form  Generate  a  PostScript  form  which can be imported by software
              that understands forms.  A form contains a single  page,  so  if(3,n)
              you  use this option with a multi-page PDF file(1,n), you must use -f
              and -l to specify a single page.  The -level1 option  cannot  be
              used with -form.

       -opi   Generate  OPI  comments  for all images and forms which have OPI
              information.  (This option is only available if(3,n) pdftops was com-
              piled with OPI support.)  [config(1,5) file: psOPI]

       -noembt1
              By  default, any Type 1 fonts which are embedded in(1,8) the PDF file(1,n)
              are copied into the PostScript file.  This option causes pdftops
              to  substitute  base  fonts  instead.  Embedded fonts make Post-
              Script files larger, but may be necessary for  readable  output.
              [config(1,5) file: psEmbedType1Fonts]

       -noembtt
              By  default,  any  TrueType  fonts which are embedded in(1,8) the PDF
              file(1,n) are copied into the PostScript file.   This  option  causes
              pdftops  to  substitute base fonts instead.  Embedded fonts make
              PostScript files larger, but may be necessary for readable  out-
              put.   Also,  some  PostScript interpreters do not have TrueType
              rasterizers.  [config(1,5) file: psEmbedTrueTypeFonts]

       -noembcidps
              By default, any CID PostScript fonts which are embedded  in(1,8)  the
              PDF  file(1,n) are copied into the PostScript file.  This option dis-
              ables that embedding.  No attempt is made to substitute for non-
              embedded   CID  PostScript  fonts.   [config(1,5)  file:  psEmbedCID-
              PostScriptFonts]

       -noembcidtt
              By default, any CID TrueType fonts which are embedded in(1,8) the PDF
              file(1,n)  are copied into the PostScript file.  This option disables
              that embedding.  No attempt is made to substitute for non-embed-
              ded CID TrueType fonts.  [config(1,5) file: psEmbedCIDTrueTypeFonts]

       -paper size
              Set  the  paper size to one of "letter", "legal", "A4", or "A3".
              This can also be set(7,n,1 builtins) to "match", which will set(7,n,1 builtins) the  paper  size
              to  match  the  size  specified  in(1,8) the PDF file.  [config(1,5) file:
              psPaperSize]

       -paperw size
              Set the paper width, in(1,8) points.  [config(1,5) file: psPaperSize]

       -paperh size
              Set the paper height, in(1,8) points.  [config(1,5) file: psPaperSize]

       -nocrop
              By default, output is cropped to the CropBox  specified  in(1,8)  the
              PDF file.  This option disables cropping.  [config(1,5) file: psCrop]

       -expand
              Expand PDF pages smaller than the paper to fill the  paper.   By
              default,  these  pages are not scaled.  [config(1,5) file: psExpandS-
              maller]

       -noshrink
              Don't scale PDF pages which  are  larger  than  the  paper.   By
              default, pages larger than the paper are shrunk to fit.  [config(1,5)
              file: psShrinkLarger]

       -nocenter
              By default, PDF pages smaller than the paper (after any scaling)
              are  centered  on  the  paper.   This  option  causes them to be
              aligned to the lower-left corner of the paper instead.   [config(1,5)
              file: psCenter]

       -duplex
              Set  the  Duplex  pagedevice entry in(1,8) the PostScript file.  This
              tells duplex-capable  printers  to  enable  duplexing.   [config(1,5)
              file: psDuplex]

       -opw password
              Specify  the  owner  password  for the PDF file.  Providing this
              will bypass all security restrictions.

       -upw password
              Specify the user password for the PDF file.

       -q     Don't print any messages or errors.  [config(1,5) file: errQuiet]

       -cfg config-file
              Read config-file in(1,8) place of ~/.xpdfrc or the system-wide config(1,5)
              file.

       -v     Print copyright and version(1,3,5) information.

       -h     Print usage information.  (-help and --help are equivalent.)

EXIT CODES
       The Xpdf tools use the following exit(3,n,1 builtins) codes:

       0      No error.

       1      Error opening a PDF file.

       2      Error opening an output file.

       3      Error related to PDF permissions.

       99     Other error.

AUTHOR
       The  pdftops software and documentation are copyright 1996-2004 Glyph &
       Cog, LLC.

SEE ALSO
       xpdf(1), pdftotext(1),  pdfinfo(1),  pdffonts(1),  pdftoppm(1),  pdfim-
       ages(1), xpdfrc(5)
       http://www.foolabs.com/xpdf/



                                22 January 2004                     pdftops(1)

References for this manual (incoming links)