Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Do you know about ??CHR(27)+'*p0Y'
Message
 
À
15/07/1997 15:06:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00040071
Message ID:
00040084
Vues:
44
>thanks Vinod...the printers codes are for an HP III.
>The function xy_offset is suppose to place a piece text onto
>a form in the proper place and it does not work. The way I call the function
>is called...
>=xy_offset(100,200)
>?? 'test'
>Can you tell me why this does not work?
>thanks..rob
Rob,

The code does not work because it written to directly address the printer and under windows you are removed from the printer by the print manager which takes all output and processes it through the printer driver that is selected. This wraps you PCL (HP Print Control Language) with printer control codes so that the printer sees it as data to be printed instead of controls codes. One way you can get it to work is to set the Generic Text printer dirver as the current printer under windows before you execute the code. The generic text driver will not add any printer contorl codes to you output but rahter just pass it on as it is (which is what you need).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform