Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy file .... to lpt1
Message
De
19/08/2003 23:50:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
19/08/2003 10:54:49
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00821423
Message ID:
00821670
Vues:
21
>I have to use like "copy file eltron.txt to lpt1" command. in some computers that cause error 1102 Cannot create file lpt1 (but altough it prints).
>
>I solve that with use !copy file eltron.txt >lpt1 . but it cause a ms-dos window splash.
>
>Why vfp don't get this error some machines? I can't found any reason.

How about loading the data to a variable (in VFP 6, this is easily done with FileToStr()), and then sending the information directly to the printer with the "???" command?

You may also have to SET PRINTER first.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform