>Hi Metin,
>
>Try this code:
>
>DECLARE INTEGER CopyFile IN kernel32;
> STRING lpSrcFile, STRING lpDstFile, INTEGER bFail
>
>= CopyFile(cFilename, 'LPT1:', 0)
>
>where
cFilename is a text file you want to print.
>
>No DOS window -- guaranteed :)
>
>Network printer names like \\MYSERVER\EPSON can be used as well as LPT1:
Anatoliy,
I keep coming back to you for these answers... I find that CopyFile(cFilename, 'LPT1:', 0) works, but CopyFile(cFilename, '\\MYSERVER\EPSON', 0) does not. Am I doing something wrong?
Thank you very much,
Alex