Section:

Command-Line Summary for PDF2Text

sh

1Usage: pdf2xps [<options>] file...
2
3OPTIONS:
4
5 --file... arg A list of folders and/or file names to process.
6
7 -o [ --output ] arg The output folder used to store modified files. The
8 default output folder is the current working folder.
9
10 --subfolders Process all sub-directories for every directory
11 specified in the argument list. By default,
12 sub-directories are not processed.
13
14 -d [ --dpi ] arg (=92) The output resolution, from 1 to 1000, in Dots Per
15 Inch (DPI) at which to render elements which cannot
16 be directly converted. The higher the DPI, the larger
17 the image. The default resolution is 92 DPI.
18
19 --prefix arg The prefix for the output file. The output filename
20 will be constructed by concatenating the prefix
21 string and the appropriate extension (e.g.
22 myprefix.xps or myprefix.oxps). The prefix option
23 should be used only for conversion of individual
24 documents. By default, each input filename will be
25 used as a prefix.
26
27 -a [ --pages ] arg (=-) Specifies the list of pages to convert. By default,
28 all pages are converted.
29
30 --url_links For conversions to .xps, .xod, .html or .epub only.
31 By default links are not generated for urls found in
32 the document. This option enables that generation.
33 --printmode Displays annotations in the print mode. This option
34 can be used to display 'Print Only' annotations and
35 to hide 'Screen Only' annotations.
36
37 --openxps Specifies the output format to be Open XPS rather
38 than XPS.
39
40 --norender Disables rendering of pages which cannot be mapped
41 accurately to XPS.
42
43 --enhance_thin_lines Makes thin lines appear thicker in the output
44 document. This is useful because some thin lines can
45 appear invisible in XPS, but not in the source
46 document.
47
48 --config arg Load xml file to configure font substitution for
49 missing fonts. By default, tries to load the file
50 "config.xml" in the current working directory.
51
52 --noprompt Disables any user input. By default, the application
53 will ask for a valid password if the password is
54 incorrect.
55
56 -p [ --pass ] arg The password for the input file. Not required if the
57 input document is not secured.
58
59 --extension arg (=.pdf) The default file extension used to process PDF
60 documents. The default extension is ".pdf".
61
62 --verb arg (=1) Set the verbosity level. Valid parameter values are
63 0, 1, and 2. The higher number results in more
64 feedback. The default is 1.
65
66 -v [ --version ] Print the version information.
67
68 -h [ --help ] Print a listing of available options.
69
70
71
72Examples:
73 pdf2xps -o test_out/ex1 "Apryse PDF2XPS User Manual.pdf"
74 pdf2xps -o test_out/ex3 -p mypass secret.pdf

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales