Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-15-2006, 04:50 AM   #1
LQ Newbie
Registered: Apr 2006
Location: India, Bangalore
Posts: 25

Rep: Reputation: 15
Open PDF using command

Hi Friend's

I want to open PDF file using command in terminal "not in GUI"

Is there possibility to open PDF file in text mode on terminal??

Chandan K.
Old 07-15-2006, 06:14 AM   #2
Registered: Jun 2006
Distribution: FC5, FC3, RHEL 3, Debian 3.1, Debian 3.0
Posts: 56

Rep: Reputation: 15
Hi pro_chandan,
One way of opening .PDF files in text mode, is to use the command line utilities like pdftotext or pdftohtml.

$ pdftohtml file_name.pdf file_name.html
Then use a command line browser like elinks or lynx.
$ pdftotext file_name.pdf file_name.txt
Then use any text editors to view. But if the .PDF file has images then nothing can be done about that, using pdftotext.

With Regards,

Last edited by Theorist; 07-15-2006 at 06:15 AM.
Old 07-16-2006, 12:10 AM   #3
LQ Newbie
Registered: Apr 2006
Location: India, Bangalore
Posts: 25

Original Poster
Rep: Reputation: 15
Hi Theorist,

That did not work. Anyway, thanks for help..
Old 07-16-2006, 12:14 AM   #4
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
What happens when you try to use those commands? Detailing why it did not work will better allow members to continue to provide help to your question.
Old 07-16-2006, 05:35 PM   #5
Registered: Mar 2006
Location: Ekaterinburg, Russia
Distribution: Debian, Ubuntu
Posts: 709

Rep: Reputation: 428Reputation: 428Reputation: 428Reputation: 428Reputation: 428
Hello, pro_chandan !
I browse software on my laptop (with `man -k framebuf') and find program for viewing PostScript/PDF files in console via framebuffer (actually this is a shell script which prepare tiff-images for `fbi' -- console image viewer).
Try this:
fbgs -d /dev/fb0
If it doesn't work and `fbgs' and `fbi' exists on your disk, then, maybe, your framebuffer device isn't properly installed/configured. Check your kernel configuration.

Hope, this is useful!


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some .pdf file cannot open....:( kenshinji Linux - Software 12 12-06-2005 07:37 PM
trying to open a pdf file kotoko Linux - Newbie 6 12-06-2005 07:36 PM
Open pdf-attachement in Evolution hyllplan Linux - Software 6 09-03-2005 01:38 PM
Open Office/PDF Help ZingSter Linux - Software 1 01-10-2005 04:07 PM
Can't open pdf files on Internet satimis Fedora 5 11-18-2004 06:20 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:05 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