[newbie] printing to pdf w/o using kprinter

2003-10-14 Thread Eric Huff
Anyone know how to print to pdf (from all programs, well
specifically mozilla) w/o using kprinter?

kprinter (which is also where qtcups links to) is s slow to
start up...

I know i can print to ps, then ps2pdf.  Hmmm i wonder if i could
get a bash script to do it...

thanks,
eric

-- 
Mandrake HowTo's  More:  http://twiki.mdklinuxfaq.org

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] printing to pdf w/o using kprinter

2003-10-14 Thread Derek Jennings
On Tuesday 14 Oct 2003 4:24 pm, Eric Huff wrote:
 Anyone know how to print to pdf (from all programs, well
 specifically mozilla) w/o using kprinter?

 kprinter (which is also where qtcups links to) is s slow to
 start up...

 I know i can print to ps, then ps2pdf.  Hmmm i wonder if i could
 get a bash script to do it...

 thanks,
 eric

Of course. That is all kprinter does.

Open KDE ControlCentrePeripheralsPrinters

Right click on the pdf pseudo printerselect configure click on the spanner 
icon next to  PostScript to pdf converter click on Edit command

and you will see it just calls up the command

gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=%filteroutput 
-sPAPERSIZE=%psl %filterargs -c .setpdfwrite -f %filterinput


derek
-- 
--
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] printing to pdf w/o using kprinter

2003-10-14 Thread Eric Huff
  I know i can print to ps, then ps2pdf.  Hmmm i wonder if i
  could get a bash script to do it...
 
 
 Of course. That is all kprinter does.
 
 Open KDE ControlCentrePeripheralsPrinters
 
 Right click on the pdf pseudo printerselect configure click on
 the spanner icon next to  PostScript to pdf converter click on
 Edit command
 
 and you will see it just calls up the command
 
 gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
 -sOutputFile=%filteroutput -sPAPERSIZE=%psl %filterargs -c
 .setpdfwrite -f %filterinput

That rocks!  I should poke around kcontrol some more and see what
else is in there...

Thanks Derek,
eric

-- 
Mandrake HowTo's  More:  http://twiki.mdklinuxfaq.org

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com