Hey
i was wondering what win apis i need to use to print a string to a printer at a given location.
Thx
i was wondering what win apis i need to use to print a string to a printer at a given location.
Thx
http://www.asmcommunity.net/board/viewtopic.php?t=404&highlight=print
this is how a file readme.txt is printed by a default printer
also i ld like to tell u that the 5th argument in the api can be set to a specified directory.If the file is in current directory, then u can set it null, like i did.
lpPrint db "print",0
lpfile db "readme.txt",0
invoke ShellExecute,hWnd,addr lpPrint, addr lpfile, NULL, NULL, SW_SHOWNORMAL
also i ld like to tell u that the 5th argument in the api can be set to a specified directory.If the file is in current directory, then u can set it null, like i did.