topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 6, 2024, 4:32 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: parse pdf file to pdf viewer via cmd  (Read 5419 times)

kalos

  • Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 1,824
    • View Profile
    • Donate to Member
parse pdf file to pdf viewer via cmd
« on: February 21, 2012, 07:50 AM »
hello!

I want to parse a pdf file in a pdf viewer with a cmd commant or any other none GUI way

it would be best to use MuPDF, but any other pdf viewer would suffice

any help?

thanks!

kalos

  • Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 1,824
    • View Profile
    • Donate to Member
Re: parse pdf file to pdf viewer via cmd
« Reply #1 on: February 26, 2012, 11:03 AM »
any chance?

kalos

  • Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 1,824
    • View Profile
    • Donate to Member
Re: parse pdf file to pdf viewer via cmd
« Reply #2 on: March 03, 2012, 04:03 PM »
bump

kalos

  • Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 1,824
    • View Profile
    • Donate to Member
Re: parse pdf file to pdf viewer via cmd
« Reply #3 on: June 01, 2012, 06:43 AM »
does anyone know if xpdf can open a pdf file with something like C:> xpdf afile.pdf ?

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Re: parse pdf file to pdf viewer via cmd
« Reply #4 on: June 01, 2012, 09:08 AM »
does anyone know if xpdf can open a pdf file with something like C:> xpdf afile.pdf ?
How dangerous could it be to simply try that?

kalos

  • Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 1,824
    • View Profile
    • Donate to Member
Re: parse pdf file to pdf viewer via cmd
« Reply #5 on: June 01, 2012, 11:00 AM »
I tried it with no luck
I cannot also locate a win32 manual, neither a xpdf.exe file
I only got xpdf tools for win32

any hint?

or any other solution? maybe a stand-alone library implementation?

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: parse pdf file to pdf viewer via cmd
« Reply #6 on: June 01, 2012, 11:24 AM »
Did you look through the xpdf package at all?  There is no xpdf.exe file.  In the bin32/bin64 folders of the xpdf package, you'll find the following executables:

pdftotext.exe
pdftops.exe
pdftoppm.exe
pdfinfo.exe
pdfimages.exe
pdffonts.exe
pdfdetach.exe


I coloured the one you need to use.

kalos

  • Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 1,824
    • View Profile
    • Donate to Member
Re: parse pdf file to pdf viewer via cmd
« Reply #7 on: June 01, 2012, 11:27 AM »
yeah I know, so there is no way to open a pdf via cmd, even with another program?

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: parse pdf file to pdf viewer via cmd
« Reply #8 on: June 01, 2012, 11:30 AM »
Since you said you wanted to use MuPDF:

"c:\path\to\mupdf.exe" "c:\my\path\somefile.pdf"

Obviously, change the paths to match your computer.

kalos

  • Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 1,824
    • View Profile
    • Donate to Member
Re: parse pdf file to pdf viewer via cmd
« Reply #9 on: June 02, 2012, 04:31 AM »
wow great thanks!