Prev: Debian, Exim4, From: Line & Mailman
Next: Did Debian's text console font change recently? How to get theold one back? -- It was Nouveau in Kernel 2.6.32-5!
From: Todd on 4 Jun 2010 20:00 From: CUPS 127.0.0.1:631 Description: Cups-PDF Location: RN Printer Driver: Generic postscript color printer rev4 Printer State: idle, accepting jobs, published. Device URI: cups-pdf:/ Hi All, I am using CentOS 5.5. I installed cups-pdf-2.4.6-1.el5.i386.rpm and now have the nicest CUPS to Postscript printer. Okay, I need that to use with HylaFAX, but I also need a print to PDF (not Postscript). What did I do wrong? Many thanks, -T
From: Robert Riches on 5 Jun 2010 00:21 On 2010-06-05, Todd <todd(a)invalid.com> wrote: > From: CUPS 127.0.0.1:631 > Description: Cups-PDF > Location: RN > Printer Driver: Generic postscript color printer rev4 > Printer State: idle, accepting jobs, published. > Device URI: cups-pdf:/ > > Hi All, > > I am using CentOS 5.5. I installed cups-pdf-2.4.6-1.el5.i386.rpm > and now have the nicest CUPS to Postscript printer. Okay, I need > that to use with HylaFAX, but I also need a print to PDF (not > Postscript). What did I do wrong? > > Many thanks, > -T Do you have either of these programs available?: ps2pdf pstopdf I used whichever one is on my Mandriva 2010.0 system just the other day. I used xpdf on a very large PDF, printed to a postscript file, and then ran ps2pdf to make a PDF of the single page I needed to email to someone. HTH -- Robert Riches spamtrap42(a)verizon.net (Yes, that is one of my email addresses.)
From: Todd on 5 Jun 2010 00:28 On 06/04/2010 09:21 PM, Robert Riches wrote: >> I am using CentOS 5.5. I installed cups-pdf-2.4.6-1.el5.i386.rpm >> and now have the nicest CUPS to Postscript printer. Okay, I need >> that to use with HylaFAX, but I also need a print to PDF (not > Do you have either of these programs available?: > > ps2pdf > pstopdf I have ps2pdf. I was hoping to be able to print directly to a PDF. Anyway, I put together the following (use at own risk): -T #!/bin/bash # /home/linuxutil/ConvertPS2PDF TempDir="/home/temp" Source="`Xdialog --title "Select Post Script file to convert" --fselect "$TempDir/*.ps" 40 100 2>&1`" if [ "$?" != "0" ]; then exit; fi # "0" = "Cancel" Target="`echo "$Source" | sed -e "s/.ps$/.pdf/" | sed -e "s/.PS$/.pdf/"`" if [ -f "$Target" ]; then Width="`echo "${#Target} + 46" | bc`" Xdialog --yesno "$Target already exists. Overwrite?" 7 $Width if [ $? != "0" ]; then exit; fi # $?: yes=0; no=1 if [ -f $Target.bak ]; then rm $Target.bak mv $Target $Target.bak fi fi /usr/bin/ps2pdf $Source $Target Result=$? if [ "$Result" != "0" ]; then Xdialog --title "$0" --msgbox "$Source failed to convert. Bummer man." 0 0 exit $Result else /usr/bin/acroread $Target & fi exit 0
From: Bud on 5 Jun 2010 17:47 On 2010-06-05, Todd wrote: [much snipping] Just print to a .pdf file and attatch it to your e-mail or whatever. I don't know why people want .pdf anyway. You can screw around with it any which way you want with many Linux tools. -- Bud
From: Todd on 5 Jun 2010 21:22
On 06/05/2010 02:47 PM, Bud wrote: > On 2010-06-05, Todd wrote: > > [much snipping] > > Just print to a .pdf file and attatch it to your e-mail or > whatever. I don't know why people want .pdf anyway. You can screw > around with it any which way you want with many Linux tools. Open Office, Firefox, Thunderbird have such utilities, but a lot of others do not. None of my Wine applications have Post Script or PDF. And, I need Post Script to fax (HylaFAX). PDF's are also a great way to attach quotes and proposals (and invoices) to eMail. -T |