Syntax reference
Every switch and parameter, searchable, each with a copyable example. Current version 0.2.0.
Basic form
cmd4printer -<switch> [param:value ...] -<switch> [param:value ...]cmd4printer -src "C:\In\*.*" -prn "Office A" -props duplex:vertical copies:2 -options scansf:yes- Parameters are written as
name:value, separated by spaces. - Quote values that contain spaces or semicolons with straight double quotes:
tray:"Tray 2",-prn "Finance HP". - Unknown parameters and invalid values produce a warning and are ignored without stopping the run; the warning suggests the closest spelling.
- Anything not on the command line falls back to the defaults saved in the settings window (
-ini). - Run
cmd4printer -help duplexto see one parameter's description, values, default and INI key.
Switches
| Switch | Purpose |
|---|---|
-src | Files, folders, wildcards, @lists, URLs or @-; several allowed |
-prn | Printer name; the default printer when omitted |
-props | Print properties |
-options | General options and queries |
-spops | Cover and service pages |
-multipps | N-up and booklets |
-postproc | Copy, move or delete source files after printing |
-oper | Page operations; may be repeated |
-fls | File loading options |
-stat | Statistics report |
-engine | Engine for a file format |
-cmdlines | Run commands from a text file |
-ini | Open the settings window |
-inipath | Use the given settings file |
-register | Activate, request offline activation or remove a license |
-about | Version, license and available engines |
-help | -help name explains one parameter |