I want to print a TXT file, but I don't know how.
Can any one help me?
Posted on 2001-10-27 11:04:23 by orbb
Hello orbb,
Do you try ShellExecute ?

"print" The function prints the file specified by lpFile. The file should be a document file. If the file is an executable file, the function opens the file, as if "open" had been specified.

I don't test this, but I think it works.


TD
Posted on 2001-10-27 14:39:57 by Test Department
You could also use the API to do this. Go to this link:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/graphics/ggintro_37l3.asp

check out the table of contents in the left pane, go to the "Printer Drivers and Spooler Components" section, it will keep you busy for a while :)
Posted on 2001-10-27 18:52:47 by sluggy