Me personally, I turn most pdf files into html or plain text before viewing, since it loads my browser to view the stupid thing, I figure it may as well be in a native format.  The only problem is, the pdftohtml program puts each page in it's own file, which is fine for some things, not so much for others.  I do use a lot of text, but unfortunately, there's absolutely no attempt made to maintain formatting when it converts to text, so we get lines that are typically too long for most editors.

I use it anyway, because it works with things liek grep, more and other text manipulation tools, which pdf does not. *grumble*


On 10/24/2024 10:56 PM, Ben Collver via Freedos-user wrote:
Date: Thu, 24 Oct 2024 16:58:30 +0200
From: Jose Senna <jasse...@mail.com>

   Michael Brutman said:
  >  I feel bad shipping a 3MB PDF file on FreeDOS knowing
  > that  most people are not going to open it under FreeDOS.

   What are the present means to open a .PDF file
  under FreeDOS (or any DOS, BTW) ?
There are several options, but i prefer to convert a .PDF to
72 DPI jpeg pages, then use an image viewer.

gs -r72x72 -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -sDEVICE=jpeg
     -dJPEGQ=90 -o page%03d.jpg file.pdf

The AlphaBits options cause ghostscript to use antialiasing.


_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to