# WinziPrint A standalone [WeasyPrint](https://weasyprint.org/) wrapper for Windows. # Usage Synopsis: ``` winziprint [-h] [-v] [-d DIR] [ -D | [-p] [-2] [-e ENCODING] [ - | INPUT [INPUT...] OUTPUT ] ] ``` Command line options: * `-h`, `--help` - show help message and exit * `-V`, `--version` - show version and exit * `-D`, `--daemon` - run as a daemon by listening on a TCP socket (port 30983) * `-d`, `--directory` - set the working directory * `-e`, `--encoding` - encoding of the input files * `-2`, `--double-paged` - pad documents to an even number of pages * `-p`, `--progress` - show progress updates Command line arguments: * `-` - use stdin for retrieving input and output file names (semi-colon-seperated) * `INPUT` - name of a html input file * `OUTPUT` - name of a pdf output file ## Normal mode In normal mode all options, input and output files are passed by command line arguments. ## Batch mode To activate batch mode `-` has to be passed as only input or output file. In batch mode all options may be passed as command line arguments. These are used as defaults. ## Server mode To activate server mode the `-D` flag has to be set. Keep in mind, that not all command line options may be present. The protocol is the same as in server mode.