r3dux.org

A number-pimping side project from the valleys in *NEW* upside-down flavour.
  • rss
  • Home
  • About
  • Email

How To: Fix CUPS PDF Printing in Linux

r3dux | August 25, 2009

CUPS, the Common Unix Printing System, is b0rked in the standard Jaunty 9.04 release. Which is less than ideal when you want to print directly to PDF.

You can use “Print to File” and change from PostScript to PDF, and this will work, but I just wanted to use the PDF virtual printer, so did a bit of research and fixed it. Turns out cups is fine, but the AppArmour profile for cupsd was busted, so all we need to do is to tell AppArmour to just moan about cups-pdf instead of shutting it down due to the wonky profile.

From the console enter the following.

r3dux@r3dux-laptop:~$ sudo aa-complain
Please enter the program to switch to complain mode: cupsd
Setting /etc/apparmor.d/usr.sbin.cupsd to complain mode.
 
r3dux@r3dux-laptop:~$ sudo /etc/init.d/cups restart
* Restarting Common Unix Printing System: cupsd
[ OK ]

FiXX0r3d. Or smth.

Source: http://linuxmoc.wordpress.com/

P.S. You can also fix the problem by disabling the AppArmour profile instead of putting the profile for cupsd to complain mode, full details given at source page above.

Related posts:

  1. How To: Install Thunderbird 3 in Linux
  2. How To: Mount a NAS in Linux (via CIFS)
  3. How To: Delete Stuff Stuck in your Linux Trashbin
  4. How To: Make VirtualBox Use Your Router’s DHCP to get an IP Address in Linux
  5. How To: Set up a FTP Server in Linux
Categories
How-To, Linux
Tags
CUPS, How-To, PDF, Print, Printing

Comments rss
Comments rss
Trackback
Trackback
Print This Post Print This Post

« Robots Are Going To Get Real Agile. Real Soon. My Lovely Horse »

Leave a Reply

Click here to cancel reply.

Translate

Categories

Archives

  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009

Post Calendar

August 2009
M T W T F S S
« Jul   Sep »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Tags

10.04 360 ActionScript ActionScript 3.0 Adobe Ballarat Bash Compiz Controller CS4 CUFDIG302A Effect Film Fire Flash Gaming Hack How-To install Jaunty Josh Joplin Group Linkage Linux Little Big Planet Motion mount Music NAS Particle photography Photoshop Problem PS3 r3dux.org Retro Slides Softmod Sound Systems Ubuntu Video VirtualBox Wii Windows XBox

Linkage

  • 9GAG
  • A Day in the Life of Jim
  • Truxnor.net

Gamercard

Prepare for Awesome

Misc.

Creative Commons License

stopsoftwarepatents.eu petition banner

“Protons have mass? I didn't even know they were Catholic...”

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox