Sponsored Content
Top Forums Shell Programming and Scripting How to open a pdf file from terminal? Post 302387472 by ankurjain on Saturday 16th of January 2010 05:31:55 AM
Old 01-16-2010
u can invoke the pdf viewer from terminal with the file name as argument for example if its arcobat reader then ...

acroread test.pdf

shall open acrobat reader with test.pdf opened ....
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

chm and pdf help in terminal (rename)

i have a cd of pdf and chm documents that i transfered from my windows xp box. i transfered the files to my linux box (ubuntu hardy). unfortunately, i used to be a windows GUI only user so the use of spaces and "( )" and underscores. now that i use linux, ive been using CLI for using and... (3 Replies)
Discussion started by: Texasone
3 Replies

2. Programming

Linux C - how to open a pdf file with default reader

sorry if i repost this... hi.. i want to ask how to open pdf files using C in Linux in Windows, i just use this code: ShellExecute(GetDesktopWindow(), "open", "D:\\Folder\\File.pdf", NULL, NULL, SW_SHOWNORMAL); thanks for advance... (3 Replies)
Discussion started by: sunardo
3 Replies

3. Solaris

Open Terminal Don't work

Hi, I installed solaris 10 x86 on my local system. it was working fine. today when i started the system, it started up without any problem. when i tried to open the terminal it didn't open any terminal. Plz help me (0 Replies)
Discussion started by: malikshahid85
0 Replies

4. Red Hat

How to open terminal automatically.

hi, I am using red hat .I want that when ever the user login in GUI interface the terminal windows automatically open and then the user want to logout it 1st close the terminal and then login. There is a file in #ls -a i.e .bashrc and .bash_logout I does not know how to add my... (0 Replies)
Discussion started by: mypass
0 Replies

5. Programming

How can this jar file open pdf ??

OKay so my question is that how does this jar file convert something in there and show pdf when open it? I don't get how it works. Can someone explain to me. I have a link below, in there will be a file call Tools, and please open the file called "PQ10-sample" it will automaticly open up a pdf as... (11 Replies)
Discussion started by: tonyduong15
11 Replies

6. Fedora

How to use terminal while keeping a program open?

hi all, I open Matlab program from terminal. However, when I go back to terminal I can't do anything in it , only until Matlab is closed. Can someone please advise me on how I can oversome this problem ? thanks peter (2 Replies)
Discussion started by: peter_071
2 Replies

7. Red Hat

Alias to Open new terminal?

Hello everyone. I want to create an alias of vi, so that everytime I use vi to edit something, it will open up a new terminal session, with the vi file that I want to edit. So for example if I enter: sudo vi /etc/bashrc This will open up a brand new terminal window, with the /etc/bashrc file... (1 Reply)
Discussion started by: Lost in Cyberia
1 Replies

8. Shell Programming and Scripting

When trying to open file Message:-Terminal too wide?

Hi, I am trying to open small size file only in vi editor on solaris or Linux machine but it giving message "Terminal too wide" and then I have to come out. As shown below:- -rwxr-x--- 1 rkycadm rkycprd 2445 Sep 12 04:06 $ vi file.txt Terminal too wide :q! ----------... (2 Replies)
Discussion started by: RahulJoshi
2 Replies

9. UNIX for Beginners Questions & Answers

Pssh open terminal?

Hi folks. I'm using pssh to run commands on a cluster, (pis/Raspian/Jessie) but I'm opening a app that runs and runs and runs. It's quite helpful to vnc to a machine to make sure it's still running ok now and then, but they're basically left alone. Of course when pssh runs a command it... (2 Replies)
Discussion started by: MuntyScrunt
2 Replies
QPDFVIEW(1)						      General Commands Manual						       QPDFVIEW(1)

NAME
qpdfview - tabbed PDF viewer SYNOPSIS
qpdfview [options] [file(s)[#page[#top]]] DESCRIPTION
qpdfview is a simple document viewer for PDF documents. It uses the poppler library for rendering. OPTIONS
--unique If an instance of qpdfview is started with this option, any files that are opened using this option afterwards, are opened as tabs in this same window. If a file is already opened in a tab of the respective window, it is merely reloaded using this option. [file(s)[#page[#top]]] Specifies the files to open when qpdfview starts. If this is not specified, qpdfview will open a blank window. Multiple files can be loaded in separate tabs if the file names are separated by spaces. The optional parameter #page opens the file at the given page. The optional parameter #top can take values between 0 and 1 and opens the page with the given position aligned to the top of the tab. (See examples.) CONFIGURATION FILE
qpdfview uses a configuration file usually located at "~/.config/qpdfview/qpdfview.conf", which allows configuration of the toolbars and thumbnails. The keys "fileToolBar", "editToolBar" and "viewToolBar" are added to the section "mainWindow". Their values are comma-separated lists. The default (available) entries are: fileToolBar: openInNewTab, refresh (open, saveCopy, print) editToolBar: currentPage, numberOfPages, previousPage, nextPage (firstPage, lastPage, jumpToPage, search) viewToolBar: scaleFactor, zoomIn, zoomOut (onePage, twoPages, oneColumn, twoColumns, fitToPage, fitToPageWidth, doNotScale, rotateLeft, rotateRight, fullscreen, presentation) The order of the items in the list defines the order of the items in the toolbar. (See examples.) Setting the keys "thumbnailWidth" and "thumbnailHeight" in the section "documentView" specifies the size of the thumbnails. The icon theme used by Qt can be overridden by setting the key "iconTheme" in the section "mainWindow". EXAMPLES
The command qpdfview foo.pdf#3#0.5 bar.pdf opens foo.pdf in the first tab with the middle of page 3 aligned to the top of the tab and bar.pdf in the second tab at the begin- ning of the document. Subsequent execution of the following commands qpdfview --unique foo.pdf bar.pdf qpdfview --unique foo.pdf#5 opens foo.pdf and bar.pdf, then reloads foo.pdf and displays its page 5. Subsequent execution of the following commands qpdfview --unique foo.pdf qpdfview bar.pdf qpdfview --unique foo1.pdf bar1.pdf opens foo.pdf in the first window, bar.pdf in a second window and then foo1.pdf and bar1.pdf in additional tabs in the first window. Adding the lines fileToolBar=openInNewTab, refresh, saveCopy, print editToolBar=firstPage, previousPage, currentPage, numberOfPages, nextPage, lastPage, search viewToolBar=zoomOut, scaleFactor, zoomIn, oneColumn, twoColumns, rotateLeft, rotateRight in section "mainWindow" of the configuration file leads to the corresponding items being displayed in the given order in the tool- bars. BUGS
If you find a bug, please report it at https://launchpad.net/qpdfview. AUTHOR
Benjamin Eltzner <b.eltzner@gmx.de> March 2012 QPDFVIEW(1)
All times are GMT -4. The time now is 04:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy