Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Old Foxbase Printer commands in VFP 5.0
Message
From
26/07/1999 14:52:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Using Old Foxbase Printer commands in VFP 5.0
Miscellaneous
Thread ID:
00246233
Message ID:
00246233
Views:
66
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.
Next
Reply
Map
View

Click here to load this message in the networking platform