>I have code that works on Win9x, WinNT, Win2K that sends a text file to the printer. The code is VFP6 SP5.
>
>The code is not working when the printer is a USB printer. Anyone else having this trouble? Is there a work around. In Develoment I don't even get an error. When I compile into an executable I get ERROR Printer Not Ready (Error 125.)
I donno why it give error even successful print.
DECLARE INTEGER CopyFile IN KERNEL32.DLL ;
STRING @SourceFileName, ;
STRING @DestFileName, ;
INTEGER bFailIfExists
nErr = CopyFile(pCopyFileName, pDestFileName, 0)
The Printer I use is a barcode printer.
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.