>>We are converting a program from FoxPro 2.6a for DOS to FoxPro 2.6a for Windows. We are experiencing a couple problems. The biggest problem has to do with printed reports. When open up the printer and send the HP LaserJet printer codes, the codes print out rather than being interpreted by the printer. These worked fine under DOS. Does anyone have any ideas?
>
>Which way do you send the control codes to the printer? Are you using ??? command?
We use ??? and @ SAY. An example is below. This prints (s0p16.67.h8.5v0s0b0t instead of the line printer font.
m.linedraw = CHR(27) + "11U" + CHR(27) + "(s0p16.67.h8.5v0s0b0t"
SET PRINTER ON
??? &linedraw && Line printer font
OR
@ 20, 20 SAY &linedraw && Line printer font
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only