Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

xpstopdf (1)

Name

xpstopdf - XPS to PDF converter

Synopsis

xpstopdf [OPTION...] FILE [OUTPUT FILE]

Description

XPSTOPDF(1)                        XPS Tools                       XPSTOPDF(1)



NAME
       xpstopdf - XPS to PDF converter

SYNOPSIS
       xpstopdf [OPTION...] FILE [OUTPUT FILE]

DESCRIPTION
       xpstopdf converts XPS documents to PDF format.  xpstopdf reads the XPS
       file, FILE, and writes a PDF file, OUTPUT FILE. If OUTPUT FILE is not
       specified the output filename will be derived from the FILE filename.

OPTIONS
       -?, --help
           Show help options.

       -d DOCUMENT, --document=DOCUMENT
           The document inside the XPS file to convert. By default, the first
           document of the XPS file is used.

       -f PAGE, --first=PAGE
           The first page to convert.

       -l PAGE, --last=PAGE
           The last page to convert.

       -o, --odd
           Convert only odd pages.

       -e, --even
           Convert only even pages.

       -r RESOLUTION, --resolution=RESOLUTION
           Horizontal and vertical resolution in PPI (Pixels Per Inch). The
           default is 150 PPI.

       --rx=RESOLUTION
           Horizontal resolution in PPI (Pixels Per Inch). The default is 150
           PPI.

       --ry=RESOLUTION
           Vertical resolution in PPI (Pixels Per Inch). The default is 150
           PPI.

       -x X, --crop-x=X
           The x-coordinate of the crop area top left corner.

       -y Y, --crop-y=Y
           The y-coordinate of the crop area top left corner.

       -w WIDTH, --crop-width=WIDTH
           The width of crop area.

       -h HEIGHT, --crop-height=HEIGHT
           The height of crop area.

       --paper-width=WIDTH
           The paper width.

       --paper-height=HEIGHT
           The paper height.

       --expand
           Expand pages smaller than the paper to fill the paper. By default,
           pages are not scaled.

       --no-shrink
           Don't scale pages which are larger than the paper. By default,
           pages larger than the paper are shrunk to fit.

       --no-center
           Don't center on the paper pages smaller than the paper (after any
           scaling). By default, pages smaller than the paper are aligned to
           the lower-left corner.

BUGS
       Please send bug reports to
       https://bugzilla.gnome.org/enter_bug.cgi?product=libgxps.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-------------------------+
       |ATTRIBUTE TYPE |    ATTRIBUTE VALUE      |
       +---------------+-------------------------+
       |Availability   | library/desktop/libgxps |
       +---------------+-------------------------+
       |Stability      | Pass-through volatile   |
       +---------------+-------------------------+

SEE ALSO
       xpstojpeg(1) xpstopng(1) xpstops(1) xpstosvg(1)



NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       https://download.gnome.org/sources/libgxps/0.3/libgxps-0.3.2.tar.xz.

       Further information about this software can be found on the open source
       community website at https://wiki.gnome.org/Projects/libgxps.



XPS Tools                         06/28/2022                       XPSTOPDF(1)