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

Click here to load this message in the networking platform