Re: to printer a word document


[ Delphi Forum ] [ Delphi Tutorials -- by DelphiLand ]

Posted by steve on September 01, 2003 at 23:37:12:

In Reply to: to printer a word document posted by mass kuntakinte on August 18, 2003 at 14:12:07:

: hi every body
: i need help about how to print a WORD or RTF doc through a Delphi application
: thanx!

put this line under a button (procedure)
ShellExecute(Handle, 'print', PChar('c:\test\readme.txt'), nil, nil, SW_SHOW);


Related Articles and Replies:


[ Delphi Forum ]
[ DelphiLand: free Delphi source code, tips, tutorials ]