Hi,
I am converting the following code from dbman to foxpro I thought i was
doing this right by using chr(27) for ESC but all it does is prints a box and
the codes and the printer does not use them :( The dbman program used a
command ESC() for this but is is not in foxpro.
old dbman code:
SET PRINT ON
****RESET
?? ESC("<27>E")
****MARGIN
?? ESC("<27>&a2L")
***LINE SPACING
?? ESC("<27>&l8D")
**SYMBOL SET ASCII
?? ESC("<27>(0U")
**SPACING FIXED
?? ESC("<27>(s0P")
**PITCH
?? ESC("<27>(s16.65H")
**Height
?? ESC("<27>(s14.25V")
**STYLE
?? ESC("<27>(s0S")
**Strke Weight
?? ESC("<27>(s0B")
new try at foxpro code:
SET PRINT ON
****RESET
?? CHR(27)+"E"
****MARGIN
?? CHR(27)+"&a2L"
***LINE SPACING
?? CHR(27)+ "&l8D"
**SYMBOL SET ASCII
?? CHR(27)+ "(0U"
**SPACING FIXED
?? CHR(27)+ "(s0P"
**PITCH
?? CHR(27)+ "(s16.65H"
**Height
?? CHR(27)+ "(s14.25V"
**STYLE
?? CHR(27)+ "(s0S"
**Strke Weight
?? CHR(27)+ "(s0B"