Command parameters
Command line usage:

xpstopdf <-i XPS File> [-o Output] [Options]

-i <string> Input XPS files or directory which contains XPS files.
-o <string> Specify output directory or specify output pdf file.
-w Set overwrite if output file is exist.
-g <string> If no set. default save log in the same folder as program.
-g off Turn off to save log. default is turn on
-g "c:\pdf_stamp.log" Specify log file.
-d Include sub directory.
-# Keep original subfolder.
-s Delete source file when success.
-x <int> Set horizontal resolution (72-600) in generated pdf files.default is 72
-y <int> Set vertical resolution (72-600) in generated pdf files.default is 72
-p <int>
    -p 0:
    -p 1:
    -p 2:
    -p 3:
    -p 4:
    -p 5:
    -p 6:
    -p 7:
Set permission. only for encrypt.
0 = all disallowed.
1 = permit print.
2 = permit copy.
3 = permit print and copy.
4 = permit modify.
5 = permit print and modify.
6 = permit copy and modify.
7 = permit print copy and modify.
-l <int> Encrypt level "40" bit,"128" bit. only for encrypt.
-u <string> Set user password, only for encrypt.
-n <string> Set owner password, only for encrypt.
-t <string> Set 'title' to pdf file
-j <string> Set 'subject' to pdf file
-a <string> Set 'author' to pdf file
-k <string> Set 'keywords' to pdf file
-c <string> Set 'creator' to pdf file
-e <string> Set 'producer' to pdf file
-z <int> Page Orientation, "0, 90, 180, 270"
-v View the result pdf files after convert done.
-r <register> Register.
-? Help.
----------------------------------------------------------------------------------------------------------------------------------------
Example:
  xpstopdf -i "c:\input.xps" -o "c:\output.pdf" Convert "c:\input.xps" to "c:\output.pdf"
  xpstopdf -i "c:\input.xps -i "c:\input\" -o "c:\output.pdf" Convert "c:\input.xps" and all xps files placed in"c:\input\" to one pdf file "c:\output.pdf".
  xpstopdf -i "c:\input\" -o "c:\output\" -u opoosoft -l 128 -p 1 Convert all xps files placed in "c:\input\" to "c:\output\", The pdf user password is "opoosoft", encryption level is 128 bits,and permit copy.
  xpstopdf -i "c:\input\" -o "c:\output\" -t opoo -a soft -v Convert all xps files placed in "c:\input\" to "c:\output", It set document title "opoo" and author "soft".