ppdfilt(1)

πŸ“¦ version 0.10, in debian bookworm, ubuntu jammy

πŸ’… ppdfilt(1) β€” the group chat manual page πŸ’…

okay bestie, welcome to ppdfilt(1), from the General Commands Manual section. yes that's the vibe, no cap, we're doing printer magic today πŸŽ€


✨ NAME ✨

ppdfilt β€” insert printer specific code into a PS job. it's giving "glow up your Postscript before it hits the printer" fr fr πŸ¦‹


🌸 SYNOPSIS 🌸

ppdfilt [-p|--ppd ppdfilename ] [-c|--copies num ] [-o|-Z|--options
option:value ] [-4|--4up] [-2|--2up] [-n|--nup numpages ] [-D] [-d [
Tumble | NoTumble ]] [ file ]
ppdfilt [-V|--version]
ppdfilt [-?|--help]

like yes, that's a lot of brackets, she contains multitudes πŸ’…


πŸ‘‘ DESCRIPTION πŸ‘‘

so ppdfilt is designed to be a flexible command, and by flexible we mean she's booked and busy β€” she gets used either by users or from inside a print filter, both at once, main character energy ✨

what she does: ppdfilt processes a Postscript file to add commands that implement the options as specified in a PPD file, and then she outputs the result on standard out. slay πŸ’–

by default, ppdfilt will read a Postscript file from stdin, and she will fetch the ppd specified in the PPD environmental variable. lowkey she just knows where to find it 🧚


πŸ”₯ OPTIONS πŸ”₯

  • -? or --help β€” prints out a brief help message and then exits. she's brief, she's iconic, she's gone πŸ’€
  • -2 or --2up β€” prints the document in such a way that every page is rotated 90 degress and then shrunk down to 50 percent, so that two pages of information fit on one piece of paper. two for one?? we love a deal πŸ“
  • -4 or --4up β€” prints the document in such a way that every page is shrunk down to 25 percent, so that four pages of information fit on one piece of paper. tiny. adorable. efficient 🌈
  • -c or --copies β€” specify the number of copies that are printed. how many?? your call bestie πŸ’…
  • -d or --duplex [Tumble or NoTumble] β€” if the printer is so equipped, print on both sides of the piece of paper. there are two kinds of duplexing, depending on which edge you are going to bind the document. the default is NoTumble, which is most appropriate for portrait printing where you are going to bind along the long edge. Tumble is more appropriate when you are printing landscape and binding along the long edge. choose wisely, it's giving commitment 🫢
  • -D or --duplex-tumble β€” if the printer is so equipped, print on both sides of the piece of paper such that if you are printing landscape and binding along the long edge, or if you are printing portrait and binding along the short edge, the pages will appear right side up. no upside-down situationships here πŸ™ˆ
  • -p or --ppd ppdfilename β€” specify the ppd filename rather than use the one specified in the environmental variable PPD. sometimes you gotta pick your own πŸŽ€
  • -o or -Z or --option option:value β€” this argument allows you the flexibility to specify all the options available in the PPD file, as well as the special non-ppd options listed below. you may have as many -o options on the command line as you like. you may have also multiple option:value pairs separated by commas in one -o. stack them, collect them, go feral ✨
  • -V or --version β€” print out the version number and exit. short, sweet, periodt πŸ’–

πŸ’œ NON PPD OPTIONS πŸ’œ

most options are specified in the PPD files. however, there are some options which are built into pstops/ppdfilt program for convience. an example of this is Nup, which is implemented without the use of any device specific code from the PPD file. (the default is listed in all caps, iykyk πŸ‘‘)

  • page-ranges: lower-upper β€” there is one page range that you can set. this limits the number of pages that are printed to the ones between the lower and upper. just the one, bestie, don't get greedy 🌸
  • page-set: odd | even | ALL β€” this allows you to specify printing either odd or even pages only. and yes, the default is in all caps and it's ALL πŸ’…
  • Collate: true | FALSE β€” when printing multiple copies, collate the copies such that all the pages from one document are grouped together with the printout. keep the sets together, keep the vibe together πŸ¦‹
  • OutputOrder: FORWARD | reverse β€” the order things come out in. FORWARD is the default, lowercase reverse is just out here living her truth 😭
  • number-up: 1 | 2 | 4 β€” the default for this option is 1. this selects if the document is printed normally, half size with two pages per sheet of pager, or quarter size with four pages per sheet of paper. glow up, shrink down ✨
  • gamma: value β€” set the gamma of the print job. adjust the vibes πŸŽ€
  • brightness: value β€” set the brightness of the print job. turn the lights on πŸ’‘

😭 REPORTING BUGS 😭

found a bug? not her fault (it is, a little), take it here:

https://sourceforge.net/bugs/?group_id=1658

okay bestie real talk: everything above is exactly what the page says, no invented tips, no extra claims, no fake flags. we keep the facts, we just serve them with flavor πŸ’…

and that's the whole page, mwah πŸ’– this one's from 22 May 2000, ppdfilt(1) era, still eating after all these years. bye bestie, go print something cute πŸŽ€βœ¨

πŸ“¦ where this page comes from