a2ps: unknown medium 'libpaper'

May 16th, 2008 by Phil Hughes

Say what? This could be a bug report if I knew enough to write an intelligent one. But, I don't so consider this a note to anyone that if they get this message, they are not the first.

I am working on a Python program. I was doing it on my desktop (Kubuntu Hardy which I got to from an upgrade) and using a2ps to print out a listing. All was well. But, what I am working on needs to talk to a serial port and my desktop serial port is busy offering up EstelĂ­ weather. No problem, off to the trusty ThinkPad T20 which is also running Kubuntu Hardy which was a result of an upgrade.

The program is working and time for a new listing. Same a2ps command and I get the error message in the title. After deciding the message made no sense, I took a wild guess and looked for /etc/papersize. Aha, didn't exist. Creating it and putting letter in it and all is well. That is, all except the stupid error message.
__________________________
Phil Hughes


Special Magazine Offer -- 2 Free Trial Issues!
Receive 2 free trial issues of Linux Journal as well as instant online access to current and past issues. There's NO RISK and NO OBLIGATION to buy. CLICK HERE for offer

Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.

Sorry, offer available in the US only. International orders, click here.

Featured Videos

Non-linear video editing tools are great, but they're not always the best tool for the job. This is where a powerful tool like ffmpeg becomes useful. This tutorial by Elliot Isaacson covers the basics of transcoding video, as well as more advanced tricks like creating animations, screen captures, and slow motion effects.

Shawn Powers reviews the HP Mini-Note portable computer.

Thanks to our sponsor: Silicon Mechanics

Silicon Mechanics is a leading manufacturer of rackmount servers, storage, and high performance computing hardware. The best warranty offerings available are backed by experts dedicated to customer satisfaction.

From the Magazine

August 2008, #172

There's nuttin like a Cool Project to give you some relief from the summer heat, so get out your parka cuz we got a bunch of em. First up is the BUG, not a bug, The BUG. It's got a GPS, camera and more, in a hand-sized package that's user programmable. The BUG does everything. It's both a floor wax and a dessert topping. Get one now. Need a software version of a Swiss Army knife? Take a look at Billix, and don't leave home without it. Then, chew on this one, an X server on a Gumstix device driving an E-Ink display. Need more storage? How about 16 Terabytes? Can do.

And, of course, we have the usual cast of characters: Marcel, Reuven, Dave, Kyle, Doc, plus the new kid on the block Shawn Powers. But it doesn't stop there: build a MythTV box on a budget, build your own GIS system, set up the tools to monitor your enterprise and more. Finally, remember The War of the Worlds? Now you can play too.

Read this issue