Just venting a little, move on if that's not your thing. Or you don't know what CUPS is.
I bought my first printer in the very late 90's. Samsung monochrome laser, when they were first starting to break into the US print market so they were pricing aggressively. Spent $400 on it and it was a *steal*. It has served me well for over a decade, and it's still only on its second toner cartridge. Unfortunately it's getting tired, it's had lots of little issues, between the paper jams and the toner leaks, etc.
So, with discounts everywhere I bought a new printer. Samsung monochrome laser, network-capable, better than the old one in every measureable way. $80. Electronics is one of the closer things we still have to a free market, and look what happens. Maybe people might figure something from that.... Anyway.
Pull old printer, put new printer in its place. Do cabling surgery (I will NEVER own a device that uses a parallel cable again!), put the new printer on the network, etc. Test page prints, I can get to the printer's own web management interface. OK. But getting my machines (one Debian server, one Ubuntu desktop) to PRINT to it? Not so much. Because I have to deal with CUPS.
Supposedly CUPS is simple, intuitive and you can do everything through a handy-dandy web interface. No.
It WOULD not work. The steps that all the instructions say you should do, and they should "just work"... my ass. Between not being able to find the printer, to "invalid uri" when trying to set it up myself (I know where it is, CUPS, let me just tell you), etc etc.
So being a sysadmin, I start mucking around. Supposedly CUPS is snmp-capable, but I initially could see no sign of it. So I go looking. And find some directories, /usr/lib/cups/backend and /usr/lib/cups/backend-available. The tools I need are in 'backend-available', not 'backend'. I can run then from 'backend-available' but CUPS won't use them. So when I hard link everything in 'backend-available' to 'backend', EVERYTHING suddenly "just works".
So how the FUCK did CUPS decide which backend support tools would be in the 'they're supposedly available but I'm going to disavow all knowledge of them and not use them' directory, and which would be in the 'things I reluctantly admit to knowing about' directory? And how do you tell CUPS to switch a given tool from one to the other? Certainly not through the web interface. If I hadn't done my own digging, and thought to move (or link) the programs I needed from one directory to the other, I'd still be beating my head against a wall.
Aaaarrrggghhh CUPS
-
- Posts: 8486
- Joined: Tue Aug 19, 2008 2:15 pm
Aaaarrrggghhh CUPS
Maybe we're just jaded, but your villainy is not particularly impressive. -Ennesby
If you know what you're doing, you're not learning anything. -Unknown
Sanity is the process by which you continually adjust your beliefs so they are predictively sound. -esr
If you know what you're doing, you're not learning anything. -Unknown
Sanity is the process by which you continually adjust your beliefs so they are predictively sound. -esr
- HTRN
- Posts: 12403
- Joined: Wed Aug 20, 2008 3:05 am
Re: Aaaarrrggghhh CUPS
See, this is why they'll pry my Laserjet from my cold dead hands.
Last edited by HTRN on Thu Nov 22, 2012 11:31 am, edited 1 time in total.
HTRN, I would tell you that you are an evil fucker, but you probably get that a lot ~ Netpackrat
Describing what HTRN does as "antics" is like describing the wreck of the Titanic as "a minor boating incident" ~ First Shirt
Describing what HTRN does as "antics" is like describing the wreck of the Titanic as "a minor boating incident" ~ First Shirt
-
- Posts: 8486
- Joined: Tue Aug 19, 2008 2:15 pm
Re: Aaaarrrggghhh CUPS
The new printer is fine, I'm very happy with it.
But the software on Linux to set up printers... not so much. Works fine once you get it set up, but... It's an example of the general problem of 'what the hell do you do when your supposedly intuitive GUI software runs into a use case that there isn't a button/switch for in the GUI'? You're boned.
But the software on Linux to set up printers... not so much. Works fine once you get it set up, but... It's an example of the general problem of 'what the hell do you do when your supposedly intuitive GUI software runs into a use case that there isn't a button/switch for in the GUI'? You're boned.
Maybe we're just jaded, but your villainy is not particularly impressive. -Ennesby
If you know what you're doing, you're not learning anything. -Unknown
Sanity is the process by which you continually adjust your beliefs so they are predictively sound. -esr
If you know what you're doing, you're not learning anything. -Unknown
Sanity is the process by which you continually adjust your beliefs so they are predictively sound. -esr
- Rich
- Posts: 2592
- Joined: Mon Aug 18, 2008 8:11 pm
Re: Aaaarrrggghhh CUPS
Repost this to the Linux folks dealing with CUPS so they can decide if they want to deal with the issue.
Or just have a good laugh at your expense.

Or just have a good laugh at your expense.


A weak government usually remains a servant of citizens, while a strong government usually becomes the master of its subjects.
- paraphrased from several sources
A choice, not an echo. - Goldwater campaign, 1964
- paraphrased from several sources
A choice, not an echo. - Goldwater campaign, 1964
- PawPaw
- Posts: 4493
- Joined: Fri Jan 02, 2009 8:19 pm
Re: Aaaarrrggghhh CUPS
And here all this time I thought CUP was Copper Units of Pressure, unlike PSI, which is something different entirely.
Dennis Dezendorf
PawPaw's House
PawPaw's House
- Highspeed
- Posts: 2718
- Joined: Tue Aug 19, 2008 9:44 am
Re: Aaaarrrggghhh CUPS
Me too, I thought Greg was reloadingPawPaw wrote:And here all this time I thought CUP was Copper Units of Pressure, unlike PSI, which is something different entirely.

All my life I been in the dog house
I guess that just where I belong
That just the way the dice roll
Do my dog house song
I guess that just where I belong
That just the way the dice roll
Do my dog house song
-
- Posts: 8486
- Joined: Tue Aug 19, 2008 2:15 pm
Re: Aaaarrrggghhh CUPS
Don't I wish.Highspeed wrote:Me too, I thought Greg was reloadingPawPaw wrote:And here all this time I thought CUP was Copper Units of Pressure, unlike PSI, which is something different entirely.

But if anyone is interested, this seems to be more a problem with the way distributions package CUPS (Common Unix Printing System, IIRC) than with CUPS proper, what with stashing away backends that aren't 'needed'. Doesn't seem to be new, either. I found some discussion from 2007 on that very issue.
On the plus side, I now have an Android app that lets me send print jobs directly to the printer from my phone and tablet.
Maybe we're just jaded, but your villainy is not particularly impressive. -Ennesby
If you know what you're doing, you're not learning anything. -Unknown
Sanity is the process by which you continually adjust your beliefs so they are predictively sound. -esr
If you know what you're doing, you're not learning anything. -Unknown
Sanity is the process by which you continually adjust your beliefs so they are predictively sound. -esr
- Windy Wilson
- Posts: 4875
- Joined: Tue Aug 19, 2008 5:32 am
Re: Aaaarrrggghhh CUPS
Laserjet 5, the iron horse.HTRN wrote:See, this is why they'll pry my Laserjet from my cold dead hands.
The use of the word "but" usually indicates that everything preceding it in a sentence is a lie.
E.g.:
"I believe in Freedom of Speech, but". . .
"I support the Second Amendment, but". . .
--Randy
E.g.:
"I believe in Freedom of Speech, but". . .
"I support the Second Amendment, but". . .
--Randy
- HTRN
- Posts: 12403
- Joined: Wed Aug 20, 2008 3:05 am
Re: Aaaarrrggghhh CUPS
Yeah, a Laserjet 5si is like 200 bucks refurbed, and was originally intended for severe duty in office environments(one of the more interesting accessories was a 2000 sheet feeder). The downside is they didn't come with a network card, so you have to track one down for it.
HTRN, I would tell you that you are an evil fucker, but you probably get that a lot ~ Netpackrat
Describing what HTRN does as "antics" is like describing the wreck of the Titanic as "a minor boating incident" ~ First Shirt
Describing what HTRN does as "antics" is like describing the wreck of the Titanic as "a minor boating incident" ~ First Shirt
-
- Posts: 3969
- Joined: Mon Aug 18, 2008 5:59 pm
Re: Aaaarrrggghhh CUPS
Back when I was an undergraduate I had a buddy who was in the graduate program. He worked for Bell Labs, later AT&T Communications as a hardware evaluator. Basically, they'd hand him a piece of hardware and say "See how much you can make it do before it breaks". He loved the early HP laser printers, he put ten times the amount of paper thru it than it was designed for, finally managed to make it break.
Yeah, he had a great job.
Yeah, he had a great job.