>i have this POS printer that requires escape codes to control it.
>
>i tried
>
>set device to printer
>?chr(27)+chr(13)+chr(12)
>
>nothing happened
>
>any suggestions will be greatly appreciated.
>
>PS i'm using VFP 5
Hi.
I have A POS my self and when I need to send commands to the printer I use
??? {27} + ¨{13} + {12}
I suggest you read de document "Windows Printer" from Brad Schulz you can find it on the files section under "Visual Fox Pro In General" file #36
It explains how each command affect the printer and also has a printer driver for generic printer.
B.D.H.