www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Print to Win Printer

reply "Paul" <phshaffer gmail.com> writes:
How do I print to a Windows printer from a console program?
Thanks for your assistance.
Jan 27 2015
parent reply "Vladimir Panteleev" <vladimir thecybershadow.net> writes:
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.
Jan 27 2015
parent "Paul" <phshaffer gmail.com> writes:
Thanks Vladimir.
Jan 28 2015