Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Type To Printer Command Not Working
Message
De
13/07/2001 21:25:40
 
 
À
12/07/2001 11:56:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00529774
Message ID:
00530572
Vues:
18
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform