i was wondering what win apis i need to use to print a string to a printer at a given location.
Posted on 2004-10-15 10:41:14 by ReVeR
Posted on 2004-10-15 10:59:29 by JimmyClif
this is how a file readme.txt is printed by a default printer

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.
Posted on 2004-10-15 13:13:18 by nickdigital