a2ps: unknown medium 'libpaper'

May 16th, 2008 by Phil Hughes

Your rating: None

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

Reply

Please note that comments may not appear immediately, so there is no need to repost your comment.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.

More information about formatting options

Featured Videos

The November 13, 2008 edition of Linux Journal Live! Shawn Powers and special guest, Linux Journal Author Daniel Bartholomew, talk e-book readers and Daniel's Kindle, DRM, and other goodness.

From the Magazine

December 2008, #176

The Oxford English Dictionary says the word "gadget" is a placeholder name for a technical item whose precise name one can't remember. Like that book-reader thingy from Amazon...what's it called? Spindle, Gindle...Kindle, that's it. Check it out in this month's gadget issue.

Other gadgets covered include the Nokia tablets, the BlackBerry, the Neo FreeRunner, the Dash Express, the Roku Netflix Player, the Kangaroo TV, The TomTom GO 930 and the MooBella Ice Cream System. On the larger hardware front, read the reviews of the Acer Aspire One and the YDL PowerStation. On the software front, check out the articles and columns on memcached, Samba security, Mutt, desktop gadgets, bash and Puppet. To wrap it all up, read Doc's thoughts on Google and the browser platform.

Read this issue

Sign up for our Email Newsletter