Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-31-2009, 09:29 AM   #1
LQ Newbie
Registered: Jan 2009
Posts: 13

Rep: Reputation: 0
view pdf file through command prompt


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.

Old 03-31-2009, 10:13 AM   #2
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
with X?

#man xpdf

Old 03-31-2009, 10:40 AM   #3
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64- on Lenovo Thinkpad W520
Posts: 9,521

Rep: Reputation: Disabled
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"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Texmaker question: can't start the command to view Pdf amyssal Linux - Newbie 1 01-17-2009 09:17 AM
hoe to view pdf files in command mode. bruse Linux - Newbie 7 09-15-2005 10:03 AM
execute php file on command prompt robberttheman Linux - Newbie 0 09-23-2004 01:24 PM
How do you copy and paste a file from a command prompt? thenewguy05 Linux - Newbie 6 07-13-2004 03:41 PM
How to play a wav file from the Command Prompt arraman Linux - General 1 08-02-2001 07:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration