>Hi guys,
>
> Under Windows 95, sending a file to a network printer (generated by REPORT FORM ... TO FILE xxx) works fine. You do an APRINTERS(), then take the value in the second column ("\\FR_MON_BRITE\NETPRINTER" for example), load the file into a string with :
>MyVar = FileToStr(xxx), and then do a =StrToFile("\\FR_MON_BRITE\NETPRINTER", MyVar). No problem. Now I've upgraded to NT 4, this doesn't work any more. And the KB article which "inspired" me to do this doesn't work on my system either (
http://support.microsoft.com/support/kb/articles/Q190/7/69.ASP).
>
Take a look in the FAQ; I put up an entry "How to copy a file to a printer port?" which shows how to use the CopyFile() API call to send a file to a port or UNC. You'd print to file and then use CopyFile() to send the file to the printer.