You are here: Home Software Engineering c++ print
Search
Advanced Search…
E-Mail

Webmail: webmail.wyden.com

E-Mail Preferences: postfix.wyden.com/users

E-Mail Administration: postfix.wyden.com

Statistics
Total: 473
Total Pages: 286
Total Folders: 87
Total Files: 18
Total Links: 26
Last modification: 19.04.2012 15:21
 

print

by Wyden Silvan last modified 20.05.2010 14:41

private: void PrintText (String^ Dateiname)
{
   try
   {
      StreamReader^ Datei = gcnew StreamReader(Dateiname);
      printDocument1->Print();
      Datei->Close();
}


click auf printdocument1
{
   Drawing::Font^ Schrift = gcnew Drawing::Font("Arial", 10, Fontstyle::Regular);
   e->Graphics->DrawString ("text to print", Schrift, Brushes::Black, 50, 50+20);
}