FOOMATIC-R...DPRINTERIDS(1)
π FOOMATIC-REPLACEOLDPRINTERIDS(1) π
okay so this is one of those little gremlin scripts from the Foomatic pile β it lives in section 1 of the General Commands Manual, and bestie, it is so niche. Let's get into it. π¦
β¨ NAME β¨
foomatic-replaceoldprinterids β swap out references to old printer IDs π
πΈ SYNOPSIS πΈ
foomatic-replaceoldprinterids
That's it. That's the whole vibe. No options, no arguments, nothing. She takes zero input on the command line. π
π DESCRIPTION π
So what does she actually do? She goes through some arbitrary file and replaces references to old printer IDs β the numerical ones, or honestly just any printer IDs that are obsolete and have been left behind. Out with the old, in with the new. β¨
By default, she uses the db/oldprinterids file of the current Foomatic database as her translation table. That's the lookup sheet she reads from when she's doing her little find-and-replace moment. ππ
But lowkey, she's flexible: you can use arbitrary translation tables if you want. Not the default one, a different one, whatever you're feeling. The script doesn't gatekeep. π«Ά
β οΈ real talk: it is very unlikely you need to use this. Like, extremely unlikely. The original manpage says it, I'm saying it, the whole group chat agrees. If you're reaching for this command, pause and ask yourself some questions first. π
π a lil sign-off π
This page is brought to you by the Foomatic Project, dated 2014-08-21 β an icon, a legend, a moment in time. Go forth and only replace old printer IDs if you truly must. mwah ππ
π¦ 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+
- 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
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms