LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   view pdf file through command prompt (https://www.linuxquestions.org/questions/linux-newbie-8/view-pdf-file-through-command-prompt-715791/)

sumer 03-31-2009 09:29 AM

view pdf file through command prompt
 
Hi

RHEL 5.2 is installed on my system. I want to see the contents of a pdf file through command prompt and make the printout of this pdf file by command mode.


Regards
Sumer

amani 03-31-2009 10:13 AM

with X?

#man xpdf

cupsdoprint
lpr

Didier Spaier 03-31-2009 10:40 AM

I do not know if it is possible to see the file's content when you are not in graphical mod (i.e not using X) as pdf files can include images.

But print a pdf file is as easy as issuing "lp <filename>" or "lpr <filename>" in a console or virtual terminal..

To know more see "man lp" ad "man lpr"


All times are GMT -5. The time now is 09:24 PM.