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