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.