Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Old Foxbase Printer commands in VFP 5.0
Message
De
26/07/1999 14:52:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Using Old Foxbase Printer commands in VFP 5.0
Divers
Thread ID:
00246233
Message ID:
00246233
Vues:
69
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
Jere Wilson
N:deavor Systems, Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform