Page 11 of 18 FirstFirst ... 910111213 ... LastLast
Results 101 to 110 of 171

Thread: HOWTO: Install Cups-PDF

  1. #101
    Join Date
    Apr 2005
    Beans
    25

    Re: HOWTO: Install Cups-PDF - problem opening files

    I'm running Edgy and Cups-PDF installed very easily and runs fine, in Linux. However, when I try to open the saved pdf file on a Windows machine with Adobe Acrobat 5 (full) or Adobe Reader (versions 7 and up), the file will not open and Adobe gives an error that the file is corrupted. The file still opens just fine in Linux. Is there a setting I missed? While I can open the files (at home), I cannot share them or open them at work. Thanks!
    __________________
    ------
    Daniel

    I have the same problem. Generated PDF does not work with Adobe Acrobat reader

  2. #102
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: HOWTO: Install Cups-PDF - problem opening files

    Quote Originally Posted by Jose Catre-Vandis View Post
    On my new Edgy install I followed the howto, but I do not see a PDF Printer avaialble to select ? Similarly if I try the CUPS web interface there is no selection for Virtual printer.

    Edgy failed to detect my HP deskjet 720C as well (although it did see it in dmesg, it failed to come up in Cups.

    This is what file permissions are like:
    Code:
    jose@edgy:/usr/lib/cups/backend$ ls -l
    total 216
    -rwxr-xr-x 1 root root  7199 2006-09-22 05:39 beh
    -rwxr-xr-x 1 root root 10184 2006-10-20 19:03 bluetooth
    -rwxr-xr-x 1 root root 10508 2006-09-27 11:41 canon
    -rwsrwsrwx 1 jose  root 23824 2006-10-03 13:07 cups-pdf
    -rwxr-xr-x 1 root root 10604 2006-09-27 11:41 epson
    -rwxr-xr-x 1 root root 20496 2006-10-13 18:36 hp
    -rwxr-xr-x 1 root root  9012 2006-10-13 18:36 hpfax
    -rwxr-xr-x 3 root root 23452 2006-10-09 17:56 http
    -rwxr-xr-x 3 root root 23452 2006-10-09 17:56 ipp
    -rwsr-xr-- 2 root lp   16712 2006-10-09 17:56 lpd
    -rwxr-xr-x 2 root root 12732 2006-10-09 17:56 parallel
    lrwxrwxrwx 1 root root    21 2007-02-07 18:33 smb -> ../../../bin/smbspool
    -rwxr-xr-x 2 root root  9868 2006-10-09 17:56 socket
    -rwxr-xr-x 2 root root 13996 2006-10-09 17:56 usb
    Any help on how to get the PDF Printer to show up?

    [EDIT]
    In the meantime have found a workaround.

    install kdeprint
    Code:
     sudo aptitude install kdeprint
    using firefox:

    File > Print > Select default printer > Properties > type "kdeprint" (in the command line box, no quotes)

    Click OK > Tick the print to File box > Print > enter your file name > Save

    You will now have a postscript file in your home folder

    Next, download the attached script, unzip it, and place it in your nautilus scripts folder
    Set as executable
    It should now show up in your Right Click on file > Scripts list

    Right Click on your recently saved postscript file > Scripts > ps2pdf

    A pdf will be created and your postscript file will be deleted

    Attachment 25152
    [RESOLVED]
    (For Edgy)
    Downloaded and installed the experimental cups-pdf package from Debian, and instantly has a pdf printer show up in "New Printers". get it here:
    http://packages.debian.org/cgi-bin/d...i386&type=main

    or follow links to the experiemental deb from here:
    http://www.physik.uni-wuerzburg.de/~...download.shtml

    And finally:

    If you want to change the output directory for your PDFs:

    Code:
    sudo nano /etc/cups/cups-pdf.conf
    Scroll down to where it says:
    Code:
    Out ${HOME}/PDF
    Change this to whatever you want, e.g.
    Code:
    Out /mypdfs
    and save the file. No apparent need to restart the cupsys service.
    Last edited by Jose Catre-Vandis; February 18th, 2007 at 06:55 PM.
    No longer participating......

  3. #103
    Join Date
    Jul 2006
    Location
    Grand Rapids, MI, USA
    Beans
    Hidden!
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Alternative: using Terminal and CUPS web admin

    Quote Originally Posted by xurizaemon View Post
    This worked fine for me. Hope it helps someone else too!
    Worked great! Thanks!!

  4. #104
    Join Date
    Feb 2007
    Beans
    10
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Install Cups-PDF

    Gotta say, this was pretty easy for me, I have been running Edgy for about a week or so and am really new to Linux and I had no problem. BTW: I didn't have to set any flags, it just came right up so I guess your wish came true.

  5. #105
    Join Date
    Apr 2006
    Location
    Hamilton, Scotland
    Beans
    186
    Distro
    Kubuntu Development Release

    Re: HOWTO: Install Cups-PDF

    Thanks for the how-to, works great for me with a couple of wee exceptions;

    1. Had to use the generic postscript driver the other PCL 3,4,5 did not work, they just gave a blank pdf file.

    2. I have not been able to print from any Java apps. This gives the same problem as above with an empty pdf file. Took a bit of work to get it that far tho, was originally getting an error message of no print service.

    If anyone can shed light on printing from Java I would be very grateful

    Chris.

    ps this might not be a cups-pdf problem, since i don't have any real printers on this pc to check.

  6. #106
    Join Date
    Mar 2007
    Beans
    5

    Re: HOWTO: Install Cups-PDF

    Thanks for the great tutorial. Although for U7.04 I did not need to do the permission adjustments, the PDF Printer showed up right after I did "sudo apt-get cups-pdf", which I believe does make adding a PDF Printer quite grandma friendly.

  7. #107
    Join Date
    Dec 2006
    Location
    Miami
    Beans
    37
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: Install Cups-PDF

    Quote Originally Posted by cemptor View Post
    Thanks. It works in Edgy, without setting the setuid bit.

    However, can anyone help me with the following (open to other packages)

    1. Change the filename and location of the printed PDF file, instead of a fixed one. It picks up the title of the page as filename and puts in in $HOME/PDF. I want to choose the location everytime

    2. If I try "Print to File", it lets me choose the name and location, but prints the file as a postscriptfile, and not pdf. What am I doing wrong?

    Thanks

    I have Edgy 386 standard installation
    Anybody find the solution to this? This would be the icing on the cake for this howto. I for example have different folders for different things that I regularly print with pdf as I am sure many of you do too. What a pain it is to have to use mv or cp or have to go through and find it then travel through my lan and place it where I want it, when this could be done from the beginning.

    thanks

  8. #108
    Join Date
    Jul 2007
    Beans
    6

    Re: HOWTO: Install Cups-PDF - problem opening files

    Quote Originally Posted by wgandhi View Post
    I'm running Edgy and Cups-PDF installed very easily and runs fine, in Linux. However, when I try to open the saved pdf file on a Windows machine with Adobe Acrobat 5 (full) or Adobe Reader (versions 7 and up), the file will not open and Adobe gives an error that the file is corrupted. The file still opens just fine in Linux. Is there a setting I missed? While I can open the files (at home), I cannot share them or open them at work. Thanks!
    __________________
    ------
    Daniel

    I have the same problem. Generated PDF does not work with Adobe Acrobat reader
    I was generating pdf files using firefox and was selecting "Print to file" box to indicate pathname of generated file - this was causing the problem. I have generated without select this box and the the pdf file was generated on default path (in my case {HOME}/Desktop). This way the pdf file is opened by acrobat reader at windows.

  9. #109
    Join Date
    Nov 2006
    Location
    Boston area
    Beans
    9
    Distro
    Ubuntu

    Re: HOWTO: Install Cups-PDF

    Thank you very much for this HOWTO. I followed most every step with the exception of using Nautilus to change the permissions on the file. I didn't see that option in the permissions tab so I used the command shown in post 20 instead. Worked like a charm.

    Thanks to all who helped with this HOWTO.

  10. #110
    Join Date
    Mar 2007
    Location
    Outer Milky Way
    Beans
    Hidden!
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: HOWTO: Install Cups-PDF

    I using Feisty 7.04. When I go to the Permissions tab for cups-pdf backend, iIdo not see a "Set User ID" tag.

    Other ideas?

    Quote Originally Posted by LoKi128 View Post
    Thanks to everyone from this thread for all their guidance. The sticking point in this whole process is that you need to be root to edit the permissions on the executable.

    1. Install the cups-pdf package (I used version 2.2.0-1)
    2. Go to System -> Administration -> Printing
    3. Doubleclick "New Pinter"
    4. Notice that there is no mention of a CUPS PDF printer
    5. Open a terminal and tpe "sudo nautilus" and then your password
    6. Go to Filesystem -> usr -> lib -> cups -> backend
    7. Rightclick "cups-pdf" and select Properties
    8. Go to the Permissions tab and click the "Set user ID" special flag
    9. Again try to add a new printer
    10. There is now a "PDF Printer" detected, select it
    11. Select the Generic, Postscript Color Printer (Rev 3b)
    12. Give it a name, like PDF Printer
    13. Right click on the newly created printer, and select Properties
    14. Click "Print a Test Page"
    15. The file should be in your Home folder, under the PDF folder

Page 11 of 18 FirstFirst ... 910111213 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •