Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Print to jpg instead of PDF

  1. #1
    Join Date
    Aug 2008
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Print to jpg instead of PDF

    When I choose to print something out, I currently have the option "print to PDF." I'd like to make it so that I also have the option of "print to jpg." Is this possible? I know that I can convert PDF to jpg, but I have to do this very often, so it would be much more convenient to print directly to jpg. This question has come up on the forum before, but no one offered an answer except for conversion. I currently use PDF->gimp->jpg. Is there are more efficient way?

    Thanks!

  2. #2
    Join Date
    Feb 2006
    Location
    Kentucky
    Beans
    571
    Distro
    Ubuntu

    Re: Print to jpg instead of PDF

    There are extensions for that:

    Google Chrome:
    https://chrome.google.com/webstore/d...dncknpmg?hl=en

    Firefox:
    https://addons.mozilla.org/en-US/fir...on/?src=search

    Not sure if there's any Ubuntu software available to do that for every print-capable program.
    "Civilization is the limitless multiplication of unnecessary necessities."
    -- Mark Twain

  3. #3
    Join Date
    Aug 2008
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Print to jpg instead of PDF

    Quote Originally Posted by gerowen View Post
    There are extensions for that:

    Google Chrome:
    https://chrome.google.com/webstore/d...dncknpmg?hl=en

    Firefox:
    https://addons.mozilla.org/en-US/fir...on/?src=search

    Not sure if there's any Ubuntu software available to do that for every print-capable program.
    Thanks. Unfortunately all of those extensions save as png and not jpg. My company is standardized on jpg. Also, I do have to do it in other programs as well, so it would be great if there was a way, but I'm not holding my breath for that.

    Never mind, just noticed that I can do screenshot for jpg with the Google extension you gave.
    Last edited by josephellengar; November 11th, 2012 at 04:04 PM.

  4. #4
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Print to jpg instead of PDF

    JPEG is quite bad for text documents and line art like graphs and diagrams. The problem is that at mid- and high-level compression it leaves bad compression artifacts. They can be quite distracting. PNG is really a better choice for 'printed' documents. Although PDF would be even better. It's only when you get into pictures and photographs that PNG would have much advantage over PDF.

  5. #5
    Join Date
    Jul 2007
    Location
    Poland
    Beans
    4,499
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Print to jpg instead of PDF

    +1
    saving your docs in a lossy format doesn't sound like a good idea and on top of that JPEG is one of the worst formats to store text you can think of. Its compression works nicely when there is a natural grain (like in photos), but in case of clean, sharp black shapes on flat white surface tons of clearly visible mosaic like distortions appear (the algorithm makes sharp edges create ripple effect).
    Last edited by Vaphell; November 11th, 2012 at 05:04 PM.
    if your question is answered, mark the thread as [SOLVED]. Thx.
    To post code or command output, use [code] tags.
    Check your bash script here // BashFAQ // BashPitfalls

  6. #6
    Join Date
    Aug 2008
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Print to jpg instead of PDF

    Quote Originally Posted by Vaphell View Post
    +1
    saving your docs in a lossy format doesn't sound like a good idea and on top of that JPEG is one of the worst formats to store text you can think of. Its compression works nicely when there is a natural grain (like in photos), but in case of clean, sharp black shapes on flat white surface tons of clearly visible mosaic like distortions appear (the algorithm makes sharp edges create ripple effect).
    Yeah, I agree. But I don't get to choose how I submit my expense reports. Oh well!

  7. #7
    Join Date
    Oct 2010
    Beans
    7
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Print to jpg instead of PDF

    1. Install imagemagick if it is not already installed
    2. Create a new folder on your desktop, name it pdf, and put the file you want to convert into pdf into this folder
    3. Run Terminal (ctrl + Alt + T)
    4. Type in the following command after the $ prompt

    cd Desktop/pdf <RETURN>

    mogrify -format jpg *pdf <RETURN>


  8. #8
    Join Date
    Aug 2008
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Print to jpg instead of PDF

    Quote Originally Posted by mywai View Post
    1. Install imagemagick if it is not already installed
    2. Create a new folder on your desktop, name it pdf, and put the file you want to convert into pdf into this folder
    3. Run Terminal (ctrl + Alt + T)
    4. Type in the following command after the $ prompt

    cd Desktop/pdf <RETURN>

    mogrify -format jpg *pdf <RETURN>

    I don't want to convert. I already know a million ways to do that. I want to print *directly* to jpg, instead of pdf.

  9. #9
    Join Date
    Jul 2007
    Location
    Poland
    Beans
    4,499
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Print to jpg instead of PDF

    write a script that will run in the background, will detect new pdf(s) appearing in a defined location and will convert them automatically. From your perspective there would be next to no difference.
    if your question is answered, mark the thread as [SOLVED]. Thx.
    To post code or command output, use [code] tags.
    Check your bash script here // BashFAQ // BashPitfalls

  10. #10
    Join Date
    Aug 2008
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Print to jpg instead of PDF

    Quote Originally Posted by Vaphell View Post
    write a script that will run in the background, will detect new pdf(s) appearing in a defined location and will convert them automatically. From your perspective there would be next to no difference.
    Ooh, good idea. Thanks!

Page 1 of 2 12 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
  •