|
|
Jun. 17th, 2007 @ 01:02 pm
|
|---|
|
Linux CUPS printing is a funny thing.
Every time we reinstall Linux (I think, though, we’re going to stay with Ubuntu for the foreseeable future) I have to reconfigure printing.
When our Lexmark Z51 finally died, everybody stood around and swore they’d never buy another product from Lexmark, So we went out and bought an HP Deskjet 5740, because I’d heard that HP printers had great Linux support.
This is completely true.
But keep in mind we’re talking about Linux support. Very rarely are things point-and-click.
After installing the proper packages and the PPD file, setting up the printer wasn’t too hard. I had to change the CUPS configuration file to make it allow access from the local network, and I also made printing work from the Ubuntu machine in my room—a relatively straightforward undertaking—and so, things were happy on the LAN.
Now that I’m using OS X, though, I’m having to relearn some tricks, and today I learned how to get OS X to print to a CUPS printer.
First, make sure you can access the other machine’s CUPS server. Type something like this into Firefox:
http://192.168.1.xx:631/ You should get the CUPS information page. If you don’t, you probably need to change the configuration to allow access from the local network.
The next step depends on how your printer is set up. In my case, each client must have the PPD file for the printer, as CUPS does no translation, so I open a terminal and type:
lpadmin -p Deskjet -v ipp://192.168.1.100:631/printers/DeskJet-5740 -P ~/Desktop/HP-DeskJet_5740-hpijs.ppd -E -u allow:phil
192.168.1.100 is the IP (or hostname) of the CUPS server, DeskJet-5740 is the name of the printer queue, ~/Desktop/HP-DeskJet_5740-hpijs.ppd is the name of the PPD file for my printer (which can be had from linuxprinting.org), and -E is the magical make-it-work option. -E enables the printer. I have no idea why it is necessary to do so or why it cannot be done from the OS X print administration dialog. I assume -u allow:your_username is not required, but I don't want to break it to find out.
If you can print to your printer without a PPD file, simply leave off that option. In my case, that causes the printer to spit pages of Postscript. Your mileage may vary.
|
|
estie: as long as you don't give me a tampon with a smiley face drawn on it in sharpie for my birthday phil: that would be pretty funny, though. phil: admit it. estie: it would as long as it was followed by something more substantial estie: than something i could kill in four hoursMusic: Wilco - Ashes of American Flags
|
|
The American dream is just that — an imagined reality. |
|
 Music: Radiohead - I Might Be Wrong
|
|
now you listen to me, aaron. you don't blow your money on those comic books, you understand? they don't do you a damned bit of good. and the nude mags, you're gonna be inheriting mine when you're sixteen anyway. now look, the junk food and the candy just rots your teeth and gives you bad breath and the girls run like hell. stay the hell away from buying any rock tv shirts, or hip hop gear, or anything like that. arcade games - pick out one that you can do, okay? ONE that you can do as opposed to a whole bunch of them that you don't know what the hell you're doing. techno music just puts a hole in your brain--are you listening to me? look at me when i'm talking to you!Music: DJ Jurgen present Alice Deejay - Better Off Alone
|
| » Rooted |
If you're using Debian or Ubuntu, I uploaded a Administrator-mode Text Editor menu item. It simply opens gedit as root, but download it to ~/.local/share/applications/ and you'll have a menu item for editing root-owned configuration files.
Apr. 8th, 2007 @ 10:48 pm
|
| » Lave |
In typical March fashion, it has suddenly warmed up.
Perhaps everyone's first clue was the blooming of the Bradford pears, and the sickening, fermenting smell that emanates from these trees. From a distance, their snowy white is beautiful, but the cloud of stench that surrounds them is unbearable.
Today was a day for throwing open the windows and stretching out on the bed in boxers.
I napped before dinner, and woke up bleary-eyed to uncooperative, crumbly cornbread and catfish. When I returned to my room, the matte black of the screens in the windows stared like eyes, with green pinpoints reflected from the lava lamp on my desk.
The insects outdoors and the wash of air from the fan remind me that, indeed, we all remember.
Mar. 25th, 2007 @ 12:56 am
|
| » Cipher |
phil: very bizarre estie: strange strange strange strange estie: i vote on the legal name-change of "vagina" to "enigma" phil: it surely is one phil: and change "Enigma" to "Vagina," to make world war II history textbooks more interesting phil: "WE'VE GOT TO FIND THAT VAGINA MACHINE OR THE GERMANS WILL WIN!!"
Mar. 19th, 2007 @ 09:36 pm
|
| » JUPITER |
|
The French have a verbs for awfully specific actions, like landing on the moon. For example:
J'alunais quand j'ai frappé.
I was landing on the moon when I farted.
Estie and I propose a new verb: ajovir, which takes "jovi" from Latin and means "to land on Jupiter."
Mar. 15th, 2007 @ 10:43 pm
|
| » Twins |
I solved the twin problem.
When I was at the movie theater with Rohail and his parents, I saw these twin girls standing in line. For the rest of the night, I was trying to figure out where I'd seen them before, and finally gave up.
Tonight, I saw one of them at Burger King. By this point, I'm beginning to freak out, because I still cannot figure out where I've seen them, and by this point, I'm second-guessing myself, and thinking that I only remember her from the movie theater.
I decided I needed to figure this out.
I came home and looked through my yearbook from Bryson on the off chance that they had gone to Bryson and were a grade below me or something. Sure enough, they were 7th graders when I was in 8th grade.
I hate seeing people I almost know.
Mar. 10th, 2007 @ 09:13 pm
|
| » Peaky |
Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut.
Oh, come on!
Feb. 9th, 2007 @ 11:18 pm
|
| » You're So |

Feb. 6th, 2007 @ 06:44 pm
|
| » Available Space |

Feb. 6th, 2007 @ 06:40 pm
|
| » Zeitgeist Returns |
Google Zeitgeist seems to have been revamped as "Google Trends."
( Regrading tonight's speech... )
Jan. 23rd, 2007 @ 06:06 pm
|
| » Nautical |
Who here likes bubbles?
Can I trust you guys with the bubbles?
Jan. 21st, 2007 @ 07:15 pm
|
| » Evolution ICS |
I exported my idea lists that I keep in Evolution as both iCal and CSV files. I figured I could write a Python scraper in a few minutes that would pull out the summaries so I could post them here. However, Evolution's export seems flawed for both types.
In the CSV files, Evolution exports newlines unescaped, so you can't use normal parsers (like Python's csv module) to handle the CSV format.
For the iCal format, Evolution does something similarly annoying. For some reason, it hard wraps string values at 80 characters. For a mostly non-human-readable format, I don't understand this. Again, it makes it really hard to parse.
The only other export format is RDF, which I guess is what I'll have to use, even though I don't feel like fooling with XML.
Merry Christmas, folks!
Dec. 25th, 2006 @ 02:13 am
|
| » Mustache |

Oct. 22nd, 2006 @ 11:20 pm
|
| » Cherrydake |
elspeth: over at sherrydale phil c.: hahahaha phil c.: and got drunk elspeth: cause its right there phil c.: at sherrydale elspeth: nope elspeth: dammit! elspeth: *cherrydake elspeth: DAMMIT
Oct. 8th, 2006 @ 10:50 pm
|
| » Snakes on a Plane Prop List |
Props for interactions:
- Rubber snakes
- Large plush snake
- Leis
- Plush "Mary Kate" dog
- Spray bottles (pheromones!)
- Lip balm
- Sporks
- Empty soda bottles
- Red Bull for everyone
- Hand sanitizer
- Olive oil if you're super-hardcore
Script interactions so far:
- Applaud when Samuel first appears.
- Spritz the spray bottles during the lei-coating scene.
- Apply and pass hand sanitizer whenever Three-Gs uses his.
- When the Englishman complains about sitting next to a dog and wonders aloud what could be worse, shout "snakes!"
- Act along with the flight attendants during the safety announcements.
- Shout "federal offense!" when the smoke detector is tampered with.
- When the timer goes off, throw your rubber snakes.
- Apply lip balm when the male flight attendant does so, and loudly!
- When Mary Kate is sacrificed, throw the plush dog at the screen.
- Randomly roll empty cans down the aisles.
- Unwrap and hold up sporks when the flight attendant does so.
- Pull up on the chair in front of you and make birthing sounds when they try to pull the plane up.
- Shout along with the "I'VE HAD IT WITH THESE MOTHERFUCKING SNAKES..." speech.
- Whenever we see the snake's point of view, make a hissing sound.
- Pass the large snake during the appropriate scene.
Comment with more ideas!
Aug. 26th, 2006 @ 10:52 pm
|
| » So Begins Our |
Caught Of Montreal (with The Minders opening) at the local venue tonight!
Bryan was wearing a nice orange dress and Kevin was periodically shirtless, so all was good. Something that concerned me, however, was that a lot of people brought lightsticks.
I think someone lied to them about the genre of the band.
Aug. 19th, 2006 @ 12:55 am
|
|