>DECLARE INTEGER CopyFile IN KERNEL32.DLL ; > STRING @SourceFileName, ; > STRING @DestFileName, ; > INTEGER bFailIfExists > IF CopyFile('REEMB.TXT','LPT1:',0) # 0 > * It was copied > ELSE > * it wasn't > ENDIF >What is the error return code? Also, what user is the FoxWeb service running under? System user does not have access to shared resources. Why are you using this technique for printing and not more modern method liek REPORT FORM?