I want to print a TXT file, but I don't know how.
Can any one help me?
Can any one help me?
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
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
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 :)
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 :)