XPSTOPDF(1)
π XPSTOPDF(1) β XPS Tools, bestie edition π
okay so real quick β this is a page from XPS Tools (you'll see that name floating around the header up there), and honestly? It's giving "tiny utility, huge main character energy." Let's get into it. β¨
πΈ NAME πΈ
xpstopdf β the XPS to PDF converter. That's it, that's the whole vibe. Lowkey iconic. π
π¦ SYNOPSIS π¦
xpstopdf [OPTION...] FILE [OUTPUT FILE]
β¨ DESCRIPTION β¨
So here's the tea: xpstopdf converts XPS documents into PDF format. π
It reads the XPS file β that's FILE β and writes out a PDF file β that's OUTPUT FILE. Simple, clean, no drama.
But bestie, listen: if OUTPUT FILE is not specified, the output filename will be derived from the FILE filename. So the tool just names it for you, no cap. π«Ά
π OPTIONS π
-?,--helpβ Show help options. Your little "hey what does this do" lifeline. π«Ά-d DOCUMENT,--document=DOCUMENTβ Picks the document inside the XPS file to convert. By default, the first document of the XPS file is used. Like scrolling past the first slide to get to the good one. π-f PAGE,--first=PAGEβ The first page to convert. Where the story starts. β-l PAGE,--last=PAGEβ The last page to convert. Roll credits. π-o,--oddβ Convert only odd pages. Chaos mode, but the organized kind. π-e,--evenβ Convert only even pages. The other half. π-r RESOLUTION,--resolution=RESOLUTIONβ Horizontal and vertical resolution in PPI (Pixels Per Inch). The default is150PPI. Crisp. β¨--rx=RESOLUTIONβ Horizontal resolution in PPI (Pixels Per Inch). The default is150PPI. Just the x vibes. π¦--ry=RESOLUTIONβ Vertical resolution in PPI (Pixels Per Inch). The default is150PPI. Just the y vibes. π¦-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. Slice slice. π-h HEIGHT,--crop-height=HEIGHTβ The height of crop area. Slice slice, vertical edition. π--paper-width=WIDTHβ The paper width. That's the canvas. π¨--paper-height=HEIGHTβ The paper height. Also the canvas, just the other direction. π¨--expandβ Expand pages smaller than the paper to fill the paper. By default, pages are not scaled. So yeah β glow-up mode is opt-in only. π₯--no-shrinkβ Don't scale pages which are larger than the paper. By default, pages larger than the paper are shrunk to fit. β οΈ So like, flip this only if you want the overflow, bestie.--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. π― (yep, the default is already corner-aligned β read it twice, it's not a typo)
π BUGS π
Found a bug? Please send bug reports to:
https://bugzilla.gnome.org/enter_bug.cgi?product=libgxps
Do it for the culture. ππ
π₯ SEE ALSO π₯
The whole friend group. They're all slaying in their own formats. π«Ά
and that's the whole page, bestie! β¨ this one's from XPS Tools, dated 10/12/2023 β go convert something iconic. ππ
π¦ where this page comes from
- opensuse-leap 16.0: libgxps-tools 0.3.2+5-160000.3.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libgxps-tools 0.3.2+5-160000.3.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libgxps-tools 0.3.2+5-160000.3.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libgxps-tools 0.3.2+5-160000.3.2 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms