Command Line Options List

You can activate Viewer Light and display DocuWorks files using a command from the command prompt or a user program. You can also print DocuWorks documents and DocuWorks binders with a command.
By specifying command options, you can also specify a view or a printer.

Command line format

The format of the command (dwvlt.exe) used in Viewer Light is as follows:
 
dwvlt.exe DocuWorks_file_name [/npage_number] [/i"document_name_in_binder"]
[/mzoom_ratio] [/mw] [/mh] [/mp]
[/p] [/ptprinter_name driver_name port_name]
 

Description of options

The following table describes each option:
Options Description
/npage_number
Specify the page number you want to display.
Do not enter a space between /n and the page number.
  • When the /i option is also specified, this number refers to the page number of a document contained in a binder.
  • This option is ignored if you specify the /p or /pt option.
/i"document_name_in_binder"
If you specified a binder name as the DocuWorks file name, specify the name of the document in the binder that you want to display.
Do not enter a space between /i and the document name. Enclose the document name with double quotation marks (""). The document name cannot exceed 255 characters.
  • This option is ignored if you specify the /p or /pt option.
/mzoom_ratio
Specify the zoom ratio.
Do not enter a space between /m and the value.
  • The range of value you can specify is from 10 to 1,600. Specifying a value outside this range will display the DocuWorks file in 100% ratio.
/mw
Displays the DocuWorks file to fit to the window width.
/mh
Displays the DocuWorks file to fit to the window height.
/mp
Displays the DocuWorks file to fit to the entire page.
/p
Prints the DocuWorks file with the "default printer".
  • If you specify this option, the /n, /i, /m, /mw, /mh, and /mp options are ignored.
/pt printer_name driver_name port_name
Specify the printer to print the DocuWorks file.
Enter spaces between /pt, the printer name, the driver name, and the port name.
  • If you specify this option, the /n, /i, /m, /mw, /mh, and /mp options are ignored.

Example of use

The examples below show the usage of this command.
If the file name contains a space such as "C:\Program Files (x86)\FUJIFILM\DocuWorks\bin\dwvlt.exe", enclose the name with double quotations (" ").