Location of PDF files

All of you must be knowing already that in Ubuntu, we can install a printer that generates PDF focument through installing cups-pdf. But, normally, when you print, the output is saved in a folder called ‘PDF’ in your home folder.

I personally feel that it is better to have the destination as the Desktop. If any of you want to change the default destination location, it can be done through these steps :

  • Open the /etc/cups/cups-pdf.conf file using any text editor. As an administrator.
  • Look for a line something like Out ${HOME}/PDF
  • You can change it to Out ${HOME}/Desktop
  • Save and close.
  • Open the /etc/apparmor.d/usr.sbin.cupsd file using any text editor. As an administrator.
  • Look for two lines like the following :   @{HOME}/PDF/ rw,
    @{HOME}/PDF/* rw,
  • Change them to :   @{HOME}/Desktop/ rw,
    @{HOME}/Desktop/* rw,
  • Save the file.
  • Reboot. (Though the cups file can be restarted from terminal, the changes in apparmor.d folder takes effect only when we restart. So, it is better to restart).
  • Now, if you print anything using the PDF printer, the outputs will be saved in the Desktop

I find this very useful. So, thought of sharing with everyone.

Advertisements
Published in: on July 3, 2010 at 1:53 am  Leave a Comment  

The URI to TrackBack this entry is: https://ubuntuissues.wordpress.com/2010/07/03/location-of-pdf-files/trackback/

RSS feed for comments on this post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: