hoe to view pdf files in command mode.
i have lot of problem with xserver.
now i am currently working with command mode. can u please tell me some of the command for viewthe pdf files in command mode. |
You could probably pipe a couple commands:
- pdf2ps will give you the PostScript equivalent of your PDF file. - Starting from there you can obtain plain text using ps2ascii or pstotext Yves. |
bruse,
AFAIK you need to first set the DISPLAY on using setenv or set command depending on the shell you are working on c-shell or bash respectively. eg-<C-shell> setenv DISPLAY <IPAddress or name of our M/c:0.0> This will enable display to view the *.pdf or anyother file. Next just run the executable of acrobat to view your pdf file. eg-<C-shell> ./acroread That's it.. |
eg-<C-shell> ./acroread
is this package or command. how could this open my pdf file in terminal .pls more abt this. |
acroread is the executable for running acrobat reader on my sunplatform.
and I work on c-shell.So just setting environment by setenv DISPLAY bruse-machine:0.0 and then running the executable iff u are having acrobat package with u. check it. |
It seems pdf2ps isn't even needed! This should work:
Code:
ps2ascii your_file.pdf >(less) |
ps2ascii *.pdf | more
this helped me too.thanks. |
"evince" is one such pdf viewer programme.
"$ which evince" /usr/bin/evince On my system $evince filename.pdf displays the pdf file. You may have other pdf viewer programme if not evince like may be 'kpdf' or something like that. Prasad |
All times are GMT -5. The time now is 08:47 AM. |