FOOMATIC-ADDPJLOPTIONS(8)
πΈ 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 π«Ά-odir β the directory where the option information files get written to π-pprinter_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 π¦β¨
π¦ where this page comes from
- centos-stream 10: foomatic 4.0.13-33.el10 Β· GPL-2.0-or-later
- centos-stream 9: foomatic 4.0.13-19.el9 Β· GPLv2+
- debian bookworm: foomatic-db-engine 4.0.13-6
- debian trixie: foomatic-db-engine 4.0.13-6
- fedora 43: foomatic 4.0.13-34.fc43 Β· GPL-2.0-or-later
- fedora 44: foomatic 4.0.13-35.fc44 Β· GPL-2.0-or-later
- ubuntu jammy: foomatic-db-engine 4.0.13-6
- ubuntu noble: foomatic-db-engine 4.0.13-6
- ubuntu questing: foomatic-db-engine 4.0.13-6ubuntu2
- ubuntu resolute: foomatic-db-engine 4.0.13-7
- ubuntu stonking: foomatic-db-engine 4.0.13-7
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms