FOOMATIC-ADDPJLOPTIONS(8)

πŸ“¦
version 4.0.13 Β· 3 versions
, in centos-stream 10, centos-stream 9, debian bookworm, debian trixie, fedora 43, fedora 44, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

🌸 FOOMATIC-ADDPJLOPTIONS(8) 🌸

okay bestie, sit down, hydrate, because we're about to talk about foomatic-addpjloptions β€” a lil System Manager's Manual page from the Foomatic project that takes your printer's PJL tea β˜• and formats it into something the foomatic database can actually read. it's giving translator, it's giving glow-up for option info πŸ’…


✨ NAME ✨

foomatic-addpjloptions β€” formats PJL option information for the foomatic database πŸŽ€


✨ SYNOPSIS ✨

foomatic-addpjloptions [-dafis][-o dir] -p printer_ID [pjl_info_file]

foomatic-addpjloptions [-dafq] [pjl_info_file]

foomatic-addpjloptions -h

✨ Description ✨

so here's the vibe: foomatic-addpjloptions takes a PJL information file β€” or just STDIN if you're feeling spontaneous β€” and formats it into a shape that the Foomatic database can actually use. glow-up complete ✨

πŸ¦‹ Options πŸ¦‹

  • -a β€” converts all the PJL options in the information file. all of them. no crumbs left behind πŸ’–
  • -d β€” turns on debugging information, for when you need to see the receipts πŸ”
  • -f β€” does not ask for permission, just forces the conversion. bold. main character energy, honestly πŸ‘‘
  • -h β€” prints a help message and exits. cute and efficient πŸŽ€
  • -q β€” prints a summary of the PJL information. heads up though: this output is not compatible with the foomatic database, it's just there for debugging πŸ™ˆ
  • -s β€” produces a single option file containing all the option values. one file to hold them all 🫢
  • -o dir β€” the directory where the option information files get written to πŸ“
  • -p printer_ID β€” the name of the printer in the foomatic database. this is what gets used to extract the printer's manufacturer and model info, so like, get it right bestie πŸ–¨οΈ
  • pjl_info_file β€” the file with the PJL information that your printer returned. if you don't hand over this filename, the PJL options get pulled from standard input instead. no file? no problem, we go with the flow 🌊

✨ FILES ✨

  • /usr/share/foomatic/templates/pjl*.xml β€” the template files for option information 🧚
  • ./foomatic-db/opts β€” option information lives in this directory ⭐

✨ EXIT STATUS ✨

foomatic-addpjloptions returns 0 on success, and a nonzero value on failure. slay when it works, sad when it doesn't 😭


✨ AUTHOR ✨

Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de> for the foomatic project, using output from the associated binary πŸ’œ

Modified by Patrick Powell (<papowell at astart.com>). iconic collaboration fr fr 🌈


✨ BUGS ✨

found a bug? please post those bug reports on:

http://lists.freestandards.org/mailman/listinfo/printing-foomatic
ngl, don't keep it to yourself β€” the mailing list wants to hear it πŸ’Œ

and that's the whole page, bestie πŸ’– brought to you by the Foomatic Project, dated 2001-05-07. no cap, that's the manual, go forth and format those PJL options πŸ¦‹βœ¨