Firefox printing to CUPS PDF [SOLVED]

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Firefox printing to CUPS PDF [SOLVED]

Postby taebek on Fri Feb 27, 2009 11:19 am

I can not find the file after printing to PDF with Firefox using "Print to PDF".
Last edited by taebek on Fri May 29, 2009 7:02 am, edited 1 time in total.
taebek
Level 1
Level 1
 
Posts: 4
Joined: Fri Feb 27, 2009 11:08 am

Linux Mint is funded by ads and donations.
 

Re: Firefox printing to CUPS PDF

Postby altair4 on Fri Feb 27, 2009 1:00 pm

Welcome to the wacky world of Print_to_pdf.

It goes to /home/username (/home/taebek for example) . If anyone knows how to change this default location I'd love to hear about it.

Now here's an interesting point. Instead of using Print_to_PDF use Print to File. When you select that you are given the option to change the output format from postscript to PDF. It will also give you the option of saving it wherever you choose.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 16
Level 16
 
Posts: 6047
Joined: Tue Feb 03, 2009 10:27 am

Re: Firefox printing to CUPS PDF

Postby garda on Fri Feb 27, 2009 3:57 pm

It goes to /home/username (/home/taebek for example) . If anyone knows how to change this default location I'd love to hear about it.

Enter this in a Terminal window:
Code: Select all
gksu gedit /etc/cups/cups-pdf.conf

Now find a section that looks like this:
Code: Select all
### Key: Out
##  CUPS-PDF output directory
##  special qualifiers:
##     ${HOME} will be expanded to the user's home directory
##     ${USER} will be expanded to the user name
##  in case it is an NFS export make sure it is exported without
##  root_squash!
### Default: /var/spool/cups-pdf/${USER}

Out ${HOME}/Documents

Change the last line (Out ${HOME}/Documents) to whatever you like then save and close Gedit. Next, restart CUPS by executing this command:
Code: Select all
sudo /etc/init.d/cupsys restart

Sometimes CUPS may become shaky after being restarted this way. If you think it does become shaky, close all open programs then press CTRL+ALT+F1, enter your login credentials and enter these commands in console:
Code: Select all
sudo su

Code: Select all
/etc/init.d/gdm stop

Code: Select all
shutdown now

Worry not, the last command will not actually tell your computer to turn itself off. Instead, it will stop all running services and drop you to the recovery option screen in which you should choose resume normal boot. You wiill soon be thrown back to the login screen without having to go through full reboot.
User avatar
garda
Level 5
Level 5
 
Posts: 744
Joined: Sat Aug 30, 2008 2:55 am
Location: /root

Re: Firefox printing to CUPS PDF

Postby altair4 on Fri Feb 27, 2009 4:36 pm

Thanks, I'll add that to my notes. One thing though there is no service named cupsys in Mint.

sudo /etc/init.d/cupsys restart should be
sudo /etc/init.d/cups restart - I think

Or better yet sudo service cups restart - easier for someone like me to remember :)
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 16
Level 16
 
Posts: 6047
Joined: Tue Feb 03, 2009 10:27 am

Re: Firefox printing to CUPS PDF

Postby garda on Fri Feb 27, 2009 4:47 pm

I do not know what version of CUPS you have installed on your system, but I do not have cups in my /etc/init.d/ directory, only cupsys. Secondly, that command:
Code: Select all
sudo service cups restart

is viable in Debian but not in Mint by default.

Edit:
I might be wrong, though, as I have slimmed my system down by removing some packages which might have caused debian-helper-scripts and sysvconfig to be purged along.
User avatar
garda
Level 5
Level 5
 
Posts: 744
Joined: Sat Aug 30, 2008 2:55 am
Location: /root

Re: Firefox printing to CUPS PDF

Postby altair4 on Fri Feb 27, 2009 4:58 pm

Don't know what to tell you, my /etc/init.d goes like this:

...
console-setup
cron
cups
dbus
...

no cupsys

I don't remember installing anything special to use the "service" command but to be honest I don't know at this moment where I put my car keys either.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 16
Level 16
 
Posts: 6047
Joined: Tue Feb 03, 2009 10:27 am

Re: Firefox printing to CUPS PDF

Postby garda on Fri Feb 27, 2009 5:01 pm

Well, I have edited my post. Again, I could be wrong.
User avatar
garda
Level 5
Level 5
 
Posts: 744
Joined: Sat Aug 30, 2008 2:55 am
Location: /root

Re: Firefox printing to CUPS PDF

Postby altair4 on Fri Feb 27, 2009 6:16 pm

Didn't see your edit before I posted, sorry.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 16
Level 16
 
Posts: 6047
Joined: Tue Feb 03, 2009 10:27 am

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Barbados99, Barry87, JerseyBiker, jonesypeter, Mangar, Matoro, wilbobob and 25 guests