r3dux.org

A number-pimping side project from the valleys in *NEW* upside-down flavour.

  • Home
  • ABOUT
  • OLD SITE
  • SEARCH
  • FEEDBACK

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: Delete Stuff Stuck in your Linux Trashbin
  2. How To: Mount a NAS in Linux (via CIFS)
  3. How To: Fix A Numeric Keypad That’s Stopped Working In Linux
  4. How To: Mount a SD card in Linux
  5. How To: Use a Wired XBox 360 controller 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

Tags

3D ActionScript ActionScript 3.0 Adobe AI Ballarat Bash C++ Class Convert CS4 Effect Error Film Flash FPS GLFW Glitch GLSL Hack How-To install Java Kinect Linux Live Mash-Up Microsoft Motion mount OpenGL Particle Problem PS3 Remix Retro script Slides Sound Ubuntu Video VirtualBox Wii Windows XBox

Gamercard

OpenR3dux

Misc.

Flattr this

RSS Feed

r3dux twitter feed



“I ran three miles today, finally I said "Lady, take your purse."”

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