|→||1.11 Windows programs|
Schedule file to Windows print queue
If WinPrint is started without command line arguments (i.e. by clicking the start menu item) the main window comes up and waits for your input.
winprint [-d | -P printer] file
If any command line argument is provided, WinPrint attempts to start scheduling a file to a printer immediately.
The program schedules a print job file (produced by the "print to file" option previously) to a windows print queue.
Dialog boxes are shown to choose a file and a print queue unless this information is specified on the command line.
The program always returns exit status code 0.
Configuration file syntax changed:
In previous versions the dk3print.conf file contained a lot of information.
Now the file is only used by winprint and wprclean, so the only purpose is to assign short alias names to Windows print queues.
[printer Xerox Phaser 4500DP PS] alias = lp [printer HP Laserjet 4M] alias = hplj
allows to use
winprint -P lp file
to schedule a file to the "Xerox Phaser 4500DP PS" print queue.
If you start the program without command line arguments - i.e. using the start menu item - the main window is shown.
To start scheduling a print file to a print queue you have to use the appropriate toolbar button or the "File / Print" menu item.
First you have to choose a file to send to a printer interactively.
In the next step you have to choose the destination print queue.
After scheduling the file to the printer a summary message is shown in the main window.
On success the summary is shown in green, on error the summary is shown in red.
If the program was started without command line arguments you have to exit the application manually by either using the toolbar button or the "File / Exit" menu item.
This program uses DK libraries version 3.
It is only available on the Windows platform.
Context menu entries are created automatically for *.prn and *.ps files during installation.
To create context menu entries for *.prn files you have to do the following:
"C:\Program Files\Krause\bin\winprint.exe" -d "%1"Note: In the picture below the name differs as I installed DK tools into a non-default location.
"C:\Program Files\Krause\bin\winprint.exe" "%1"