Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: HOWTO: Create PDF Documents in Dapper

  1. #1
    Join Date
    Mar 2005
    Location
    Canada
    Beans
    1,595

    HOWTO: Create PDF Documents in Dapper, Edgy & Feisty

    UPDATE (April 9, 2007): According to others, this also works in Edgy & Feisty.

    In OpenOffice, there is a command in the File menu 'Export as PDF'. For other applications, you will need to do the following:

    1. Install cups-pdf
    Code:
    sudo apt-get install cups-pdf
    2. A hack to allow Dapper to create PDF Printer (from here)
    Code:
    sudo chmod +s /usr/lib/cups/backend/cups-pdf
    3. Configure CUPS for the PDF printer.
    - Select SYSTEM > ADMINISTRATION > PRINTERS > NEW PRINTER
    - Select LOCAL PRINTER
    - Use detected printer: PDF PRINTER
    - Select Print Driver:
    - Manufacturer: Generic
    - Model: Postscript Color Printer
    - Name: postscript-color-printer-rev3b
    - Click APPLY
    4. When printing from any application, select the newly created postscript-color-printer-rev3b printer to generate PDF files.

    Output files are stored in your home directory under /PDF subirectory.

    To change the default location of the PDF output:
    Quote Originally Posted by dowdberry
    Edit the /etc/cups/cups-pdf.conf file
    Code:
    gksudo gedit /etc/cups/cups-pdf.conf
    Search for:
    Code:
    Out ${HOME}/PDF
    and change to something more meaningful:
    Code:
    Out ${HOME}/my_print_to_pdf_folder
    and restart:
    Code:
    sudo /etc/init.d/cupsys restart
    -Dave
    Last edited by dbott67; April 9th, 2007 at 04:47 PM. Reason: Updated Title to include Edgy & Feisty

  2. #2
    Join Date
    Oct 2006
    Location
    Hancock, MI
    Beans
    5
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO: Create PDF Documents in Dapper

    FYI- looks like this trick works in Edgy as well.

    Just use driver name postscript-color-printer-rev4

  3. #3
    Join Date
    Oct 2005
    Location
    Rome, Ga
    Beans
    2,339
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Create PDF Documents in Dapper

    Is there a way that one might open a pdf file and manipulate it in ubuntu?

  4. #4
    Join Date
    Mar 2005
    Location
    Canada
    Beans
    1,595

    Re: HOWTO: Create PDF Documents in Dapper

    Not that I'm aware of. You would need to copy the text from the PDF into OpenOffice, edit it, and then export it as a new PDF.

    The problem is that the original PDF may have been created in a program using some unique fonts & layouts that could get lost when copying over to OpenOffice.

    -Dave

  5. #5
    Join Date
    Oct 2005
    Location
    Rome, Ga
    Beans
    2,339
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Create PDF Documents in Dapper

    oh well.

  6. #6
    Join Date
    Nov 2005
    Location
    Where do I live
    Beans
    327

    Re: HOWTO: Create PDF Documents in Dapper

    I hear that Abiword will be having, or currently has, a PDF import plugin. I'll go see if I can find out which version that's in.

  7. #7
    Join Date
    Oct 2005
    Beans
    244
    Distro
    Ubuntu Development Release

    Re: HOWTO: Create PDF Documents in Dapper

    Quote Originally Posted by dbott67 View Post
    Output files are stored in your home directory under /PDF subirectory.

    -Dave
    Is there a way to change this default location?

  8. #8
    Join Date
    May 2006
    Beans
    Hidden!

    Re: HOWTO: Create PDF Documents in Dapper

    looks in the /etc/cups/cups-pdf.conf file

    Search for:
    Out ${HOME}/PDF

    and change to something more meaningul:
    Out ${HOME}/my_print_to_pdf_folder

    and restart:
    /etc/init.d/cupsys restart

  9. #9
    Join Date
    Oct 2005
    Beans
    244
    Distro
    Ubuntu Development Release

    Re: HOWTO: Create PDF Documents in Dapper

    Quote Originally Posted by dowdberry View Post
    looks in the /etc/cups/cups-pdf.conf file

    Search for:
    Out ${HOME}/PDF

    and change to something more meaningul:
    Out ${HOME}/my_print_to_pdf_folder

    and restart:
    /etc/init.d/cupsys restart
    Worked wonders, thanks.

    dbott67, could you please add this to the original guide?

    and maybe also note that you need to restart the cups service as sudo, as some people might not know this (most people I know just copy and paste the instructions given):

    Code:
    sudo /etc/init.d/cupsys restart
    Cheers

  10. #10
    Join Date
    Mar 2005
    Location
    Canada
    Beans
    1,595

    Re: HOWTO: Create PDF Documents in Dapper

    Done... thanks dowdberry & desp.

    -Dave

Page 1 of 4 123 ... 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
  •