# Examples of dviprt Settings

The default (when the -dviprt: parameter is blank or only + on the Property Sheets->[Printer]) is
dvipdfm^X{x}.exe ^w -s ^a-^b "^q"^Y{;"^d.pdf"}^z^{dvipdfm&x}^{View PDF &?}Make PDF by dvipdfm(x)
(This is displayed in [Setup] in the dialog before printing.)
echo^-O=^t^>>^^f;dviprt^-=^f^^q^^p;copy^^t^sprn^/b;del^^t
When this is set and the TMP environment variable is specified as c:\tmp and you want print foo.dvi from page 1 to 5, then the batch file of
echo -O=c:\tmp\dvitmp.$$$ >> c:\tmp\dvitmp.par
dviprt -=c:\tmp\dvitmp.par foo.dvi 1-5
copy c:\tmp\dvitmp.$$$ prn /b
del c:\tmp\dvitmp.$$$
is created and executed.
In c:\tmp\dvitmp.par, for example, the parameter -y=A4P is written.
If you have dviprt.exe of Windows console version in c:\dviout, you can specify as following:
+c:\dviout\^P
In this case, this is directly executed without passing through the batch file.
When using a LIPS III compatible driver of dviout, the parameter -dviprt: is
+`l
and when using a LIPS IV compatible driver, the parameter -dviprt: is
+`lD600
When using a 600 dpi ESC/Page compatible driver for LP-9000, the parameter -dviprt: is
+`mD600
For LBP Drivers, you can add the specification of subparameters.