Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Old Foxbase Printer commands in VFP 5.0
Message
 
À
26/07/1999 14:52:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00246233
Message ID:
00246324
Vues:
17
Hi:

Have you tried SET DEVICE TO PRINTER?

HTH,

--Paul


>For too many reasons to go into, I am having to try and re-use much of the printer code (@ SAY) in an old application being "converted" to VFP 5.0
>
>The old code used to do something like so:
>
>MP12 = CHR(27) + "&k2s"
>SET CONSOLE OFF
>SET PRINT ON
>*GO TO 12 PITCH
>?? &MP12
>SET PRINT OFF
>SET CONSOLE ON
>
>In order to send ASCII printer control codes to the printer to control things like pitch, orientation, compression, underlining, etc.
>
>However, the ?? construct doesn't seem to be supported in VFP 5.0
>
>Are there other methods or syntax that could duplicate the above types of printer control commands when using the old @ SAY technique of printing. I saw somewhere previously that there might be some _ (underscore) type of command to do this.
>
>Help!!
>
>Jere Wilson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform