www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Send file to printer in D language ( windows )

reply "Alexandre" <alebencz gmail.com> writes:
I searched the internet, somehow sending documents (txt) to the 
printer, but not found, how can I do to send TXT files to the 
printer using the D language?
Jun 27 2014
next sibling parent "Kagamin" <spam here.lot> writes:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd162859%28v=vs.85%29.aspx
Jun 27 2014
prev sibling parent =?UTF-8?B?IkrDvHJnZW4=?= Reichmann" <jr rdvsb.de> writes:
On Friday, 27 June 2014 at 18:17:21 UTC, Alexandre wrote:
 I searched the internet, somehow sending documents (txt) to the 
 printer, but not found, how can I do to send TXT files to the 
 printer using the D language?

A good and simple example programm is redpr.c which is part of RedMon. http://pages.cs.wisc.edu/~ghost/redmon/index.htm The source of redpr.c can be found in http://pages.cs.wisc.edu/~ghost/gsview/download/redmon19.zip Cheers J├╝rgen
Jun 28 2014