Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • September 01, 2015, 01:02:44 AM
  • Proudly celebrating 10 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 2090 times)

kalos

  • Member
  • Joined in 2006
  • **
  • gravatar avatar
  • Posts: 1,369
    • View Profile
    • Donate to Member
parse pdf file to pdf viewer via cmd
« on: February 21, 2012, 07:50:14 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
  • **
  • gravatar avatar
  • Posts: 1,369
    • View Profile
    • Donate to Member
Re: parse pdf file to pdf viewer via cmd
« Reply #1 on: February 26, 2012, 11:03:10 AM »
any chance?

kalos

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

kalos

  • Member
  • Joined in 2006
  • **
  • gravatar avatar
  • Posts: 1,369
    • View Profile
    • Donate to Member
Re: parse pdf file to pdf viewer via cmd
« Reply #3 on: June 01, 2012, 06:43:06 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: 2,533
    • View Profile
    • Donate to Member
Re: parse pdf file to pdf viewer via cmd
« Reply #4 on: June 01, 2012, 09:08:44 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
  • **
  • gravatar avatar
  • Posts: 1,369
    • View Profile
    • Donate to Member
Re: parse pdf file to pdf viewer via cmd
« Reply #5 on: June 01, 2012, 11:00:08 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: 4,391
    • View Profile
    • Donate to Member
Re: parse pdf file to pdf viewer via cmd
« Reply #6 on: June 01, 2012, 11:24:05 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
  • **
  • gravatar avatar
  • Posts: 1,369
    • View Profile
    • Donate to Member
Re: parse pdf file to pdf viewer via cmd
« Reply #7 on: June 01, 2012, 11:27:26 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: 4,391
    • View Profile
    • Donate to Member
Re: parse pdf file to pdf viewer via cmd
« Reply #8 on: June 01, 2012, 11:30:50 AM »
Since you said you wanted to use MuPDF:

Code: [Select]
"c:\path\to\mupdf.exe" "c:\my\path\somefile.pdf"
Obviously, change the paths to match your computer.

kalos

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