PDF2PS(1)

πŸ“¦
version 10.08.0 Β· 5 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

🌸 PDF2PS(1) β€” the Ghostscript Tools glow-up 🌸

okay bestie, so you found pdf2ps and you're about to have a whole moment. it lives in the Ghostscript Tools family, and it is literally the translator that takes your PDF and hands you back PostScript. let's get into it πŸ’…


✨ NAME ✨

pdf2ps β€” the Ghostscript PDF-to-PostScript translator. that's it, that's the girl. πŸŽ€


✨ SYNOPSIS ✨

pdf2ps [ options ] input.pdf [output.ps]

✨ DESCRIPTION ✨

so here's the vibe: pdf2ps uses gs(1) under the hood to convert the Adobe Portable Document Format (PDF) file input.pdf into PostScript(tm) inside output.ps. it's giving "glow-up but make it a file format." πŸ¦‹

normally, the output is allowed to use PostScript Level 2 constructs β€” but not PostScript LanguageLevel 3 constructs. so by default, Level 3 is not invited to the party, no cap.

if you want to change that:

  • -dLanguageLevel=1 β€” this restricts the output to Level 1. keeping it old school, keeping it simple. 🌸
  • -dLanguageLevel=3 β€” this allows using LanguageLevel 3 in the output. let her use the fancy constructs, periodt. πŸ”₯

✨ FILES ✨

run gs -h to find the location of Ghostscript documentation on your system, from which you can get more details. yes queen, go read the docs, they're right there. πŸ“šβœ¨


✨ VERSION ✨

this document was last revised for Ghostscript version 10.04.0. so if you're running something older, be aware you're reading the future, bestie. 🫢


✨ AUTHOR ✨

Artifex Software, Inc. are the primary maintainers of Ghostscript. iconic behavior, honestly. πŸ‘‘


fr fr, that's the whole page β€” nothing skipped, nothing made up. now go convert something and slay πŸ’–

anyway, this was PDF2PS(1) from Ghostscript version 10.04.0, dated 18 Sept 2024, and yes, it was giving main character energy the entire time. bye bestie, go read a PDF πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from