Print to Win Printer

Vladimir Panteleev via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jan 27 18:07:31 PST 2015


On Tuesday, 27 January 2015 at 21:32:34 UTC, Paul wrote:
> How do I print to a Windows printer from a console program?
> Thanks for your assistance.

You can save your document to a temporary file, then call 
ShellExecute with a path to the file and the "print" command.


More information about the Digitalmars-d-learn mailing list