Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set printer to name error
Message
De
20/01/2005 15:27:17
 
 
À
20/01/2005 14:53:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows NT
Divers
Thread ID:
00978912
Message ID:
00979033
Vues:
10
I havneæt used ??? for many years, but I have read many messages about problems with ???. The best solutions seems to be to use a file:
SET PRINTER TO "dummyfile"
??? whatever
??? more whatever
.. other commands to the file
SET PRINTER TO NAME yourprinter
??? filetostr("dummyfile")
>The name is same as I was using. Even better, set printer to worked with the name I am using today!
>HOWEVER, when I try to send a character string that is 70000 char, it gives a syntax error.
>So I typed
>???left(xd,20000)
>???substr(xd,20001,10000)
>and got a syntax error on the second line! ???chr(12) did work.
>Any suggestions here? The printer did print the top of a special letterhead
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform