xpdf(1) General Commands Manual xpdf(1) (NAME) xpdf - (PDF) ( 4.06) (SYNOPSIS) xpdf [options] [PDF-file [:page | +dest]] ... xpdf [options] -remote remote-name [command ...] xpdf [options] -open [PDF-file] (DESCRIPTION) Xpdf << >> (PDF) . ( PDF Adobe <> .) Xpdf Qt Unix OS X Windows . xpdf : xpdf file.pdf file.pdf PDF . (:) : xpdf file.pdf :18 '+' ( PDF ): xpdf file.pdf +destinationA : xpdf file1.pdf file2.pdf :18 file3.pdf xpdf : xpdf (CONFIGURATION FILE) Xpdf . ~/.xpdfrc . /etc/xpdfrc ( xpdf ). xpdfrc(5) . (OPTIONS) . PDF . . . -geometry geometry (geometry). -title title . "xpdf: foo.pdf" . -open [PDF-file] . Xpdf ( "-open") PDF ( ) . Xpdf ( "-open") Xpdf PDF ( ) . ( PDF) . -rv (reverse video). . PDF . . -papercolor color << >> . #RRGGBB ( ) . PDF . [ : paperColor] -mattecolor color (matte) . #RRGGBB ( ) . [ : matteColor] -fsmattecolor color . #RRGGBB ( ) . [ : fullScreenMatteColor] -z zoom . 100 72 dpi . 'page' 'width' . [ : initialZoom] -rot angle 0 () 90 180 270 . -aa yes | no (anti-aliasing). "yes" . [ : antialias] -aaVector yes | no (vector anti- aliasing). "yes" . [ : vectorAntialias] -enc encoding-name . encoding-name unicodeMap ( xpdfrc(5) ). "Latin1" ( ). [ : textEncoding] -pw password PDF. ( ) . -fullscreen xpdf . -remote remote-name Xpdf (remote server). REMOTE SERVER MODE . -display display X ( X11 ). -cmd ( ). [ : printCommands] -tabstate tabstate-file loadTabState saveTabState. [ : tabStateFile] -cfg config-file config-file ~/.xpdfrc . -v . -h . (-help --help .) (Toolbar) (toggle sidebar button) ( ). (status indicator) Xpdf . . . (selection mode) ("I-beam") . . (page number entry box) . return . "view - page labels" . / (left/right arrow buttons) . / (zoom out/in buttons) ( ). (zoom popup menu) ( -z ). (fit width button) . (fit page button) . (find entry box) . return . (find next button) . (find previous button) . (find settings button) : (case insensitive) (case sensitive) (smart case: ) (find whole words). (Menu bar) . . (Tab list) . . // (Outline/layers/attachments pane) . (outline) (layers) (attachments) . (outline) (bookmarks) PDF . PDF . ( optional content ) PDF . PDF . (attachments) PDF . 'save' () . PDF . (Text selection) (highlight) . Shift . . . Shift . ( edit/copy). X11 X ( X selection buffer) . (hyperlink) (popup) . . PDF xpdf . 'launch' 'ok' . URL . ( UNIX Qt $BROWSER .) (Mouse bindings) ( ). (tab) . (pan). (: popupMenuCmd xpdfrc(5)). (Key bindings) . (: xpdfrc(5)). control-o PDF . control-r PDF . Xpdf ( ) . control-f . 'find' . control-G . control-C . control-P . control-0 (control-zero) . control-+ (control-plus) ( ). control-- (control-minus) ( ). control-s PDF . control-t . control-n . control-w . . . control-l . control-q . control- . control-shift- . control-? . alt- . alt- . home - . control- . end - . control- . . control- control- . . . control- control- . . . arrows . g . z 'page' ( ). w 'width' ( )..SH " (Full-screen mode)" Xpdf -fullscreen 'full screen' fullScreenMode toggleFullScreenMode . (fit-page) . windowMode toggleFullScreenMode . (COMMANDS) Xpdf bind unbind (: xpdfrc(5)). bind . ( ) ( '(' ')' ',' '\x01') '\x01' . 'openFile' PDF . : about 'about'. blockSelectMode . . . checkOpenFile(file) file . checkOpenFileAtDest(file,dest) file . . checkOpenFileAtPage(file,page) file . . closeSidebar . closeSidebarMoveResizeWin . closeSidebarResizeWin . closeTabOrQuit . . . closeWindowOrQuit . . continuousMode . copy . copyLinkTarget . endPan (pan). endSelection . expandSidebar(n) n . . find 'find'. findFirst . findNext . findPrevious . focusToDocWin . focusToPageNum . followLink ( ). followLinkInNewTab PDF ( ). PDF followLink . followLinkInNewTabNoSel followLinkInNewTab . ( .) followLinkInNewWin PDF ( ). PDF followLink . followLinkInNewWinNoSel followLinkInNewWin . ( .) followLinkNoSel followLink . ( .) fullScreenMode . goBackward . goForward . gotoDest(dest) . gotoLastPage PDF. gotoPage(page) . help (URL) . hideMenuBar . hideToolbar . horizontalContinuousMode . linearSelectMode . . . loadSession . sessionFile (: xpdfrc(5)). loadTabState ( saveTabState ) . tabStateFile (: xpdfrc(5))..TP newTab . newWindow . nextPage . nextPageNoScroll . nextTab . normalVideoMode ( ). open PDF . openErrorWindow . openFile(file) . openFile2(file,page,dest,passwd,location) . dest . page . password PDF . location "win" "tab" "check" PDF . file . : openFile2(test.pdf,7,,,tab) openFileAtDest(file,dest) . openFileAtDestIn(file,dest,location) . location "win" "tab" . openFileAtPage(file,page) . openFileAtPageIn(file,page,location) . location "win" "tab" . openFileIn(file,location) . location "win" "tab" . openIn(location) PDF . location "win" "tab" . openSidebar . openSidebarMoveResizeWin . openSidebarResizeWin . pageDown . pageUp . postPopupMenu (popup). prevPage . prevPageNoScroll . prevTab . print 'print'. quit xpdf. raise xpdf . reload PDF . reverseVideoMode . rotateCCW . rotateCW . run(external-command-string) . (escape) : %f => PDF ( ) %b => PDF ( ) %u => URL ( ) %p => ( ) %x => x - ( 0 ) %y => y - ( 0 ) %X => x - ( 0 ) %Y => y - ( 0 ) %t => ( ) %i => %j => x %k => y %% => % xpdfrc : bind x "run(ls -l)" . . . saveAs PDF . saveImage 'save image'. saveSession . loadSession . sessionFile (: xpdfrc(5)). saveTabState . PDF ( ) . loadTabState . tabStateFile (: xpdfrc(5))..TP scrollDown(n) n . scrollDownNextPage(n) n . scrollLeft(n) n . scrollOutlineDown(n) n . scrollOutlineUp(n) n . scrollRight(n) n . scrollToBottomEdge . scrollToBottomRight - . scrollToLeftEdge . scrollToRightEdge . scrollToTopEdge . scrollToTopLeft - . scrollUp(n) n . scrollUpPrevPage(n) n . selectLine . selectWord . setSelection(pg,ulx,uly,lrx,lry) . showAttachmentsPane //. showDocumentInfo . showKeyBindings . showLayersPane //. showMenuBar . showOutlinePane //. showToolbar . shrinkSidebar(n) n . . sideBySideContinuousMode ( ). sideBySideSingleMode ( ). singlePageMode . startExtendedSelection . startPan (pan) . startSelection . toggleContinuousMode . toggleFullScreenMode . toggleMenuBar . toggleReverseVideoMode () . toggleSelectMode . toggleSidebar . toggleSidebarMoveResizeWin . toggleSidebarResizeWin . toggleToolbar . viewPageLabels ( PDF ) . viewPageNumbers . windowMode ( ). zoomFitPage (fit-page). zoomFitWidth (fit- width). zoomIn - . zoomOut - . zoomPercent(z) z%. zoomToSelection ..SH " (REMOTE SERVER MODE)" xpdf <<-remote>> . ( (COMMANDS) ). <> xpdf . <> . : # xpdf something.pdf. xpdf -remote foo 'openFile(something.pdf)' # something.pdf . # xpdf # . xpdf -remote foo 'checkOpenFileAtPage(something.pdf, 7)' # : () something.pdf # () xpdf. xpdf -remote foo 'openFile(something.pdf)' raise (EXIT CODES) Xpdf : 0 . 1 PDF. 2 . 3 PDF. 99 . (AUTHORS) xpdf Glyph & Cog, LLC 1996-2025 . (SEE ALSO) pdftops(1), pdftotext(1), pdftohtml(1), pdfinfo(1), pdffonts(1), pdfdetach(1), pdftoppm(1), pdftopng(1), pdfimages(1), xpdfrc(5) http://www.xpdfreader.com 14 Nov 2025 xpdf(1)