Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

What is the best PDF viewer for DOS? (Users)

posted by rr Homepage E-mail, Berlin, Germany, 06.01.2008, 20:57

> it displays PDF correctly but it's not much interactive, I can only press
> ENTER for next page or Q to quit. I'd need also jump to previous page or
> zoom +/- or search but it seems to be over abilities of GS, isn't?

That's why DOSPDF or PSVIEW exist.

You could also try this little batch file:

@echo off
if "%1"=="#self" goto RUN
command.com /E:4096 /C %0 #self %1 %2
exit

:RUN
shift
if not exist %1.ps goto usage

rem Convert PS to PCX
set gspath=c:\gs
echo -I%gspath%;%gspath%\fonts>_.at
echo -sDEVICE=pcx256>>_.at
echo -sOutputFile=%TEMP%\page%%04d.pcx>>_.at
echo -r200>>_.at
echo -dNOPAUSE>>_.at
set TR=%2
if "%TR%"=="" set TR=0
%gspath%\gs.exe -q @_.at -c "<< /Orientation %TR% >> setpagedevice" -f%1.ps -c quit
del _.at

:show
lxpic.com %TEMP%\page????.pcx /12-
goto end

:usage
echo Syntax: %0 psfile [0..3] (w/o extension!)

:end


Taken from this old Usenet thread (in German): FYI: PDF-Dateien betrachten

---
Forum admin

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 222 users online (1 registered, 221 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum