Printing Large Letters From FoxBase/FoxPro
Posted on 2012-03-12
I have a prospective client using Foxpro (VFP 7) that asked a seemingly simple question but it has been a very long time (7 - 8 years) since I used Foxpro. When I looked at the app it was really FoxBase using the @Say to create output reports etc..
The previous developer used escape codes to control the format of printed output. I vaguely remember using them to control the length of the output form, the CPI of the print, the orientation and I think even the font of the output.
Back to the question. He wants to be able to print output from the system in large (3 or 4 inches high) letter/numbers to label/direct incoming inventory.
The alphanumeric contents of what he wants to print will be in a variable called 'BinNum'. He wants the contents of BinNum to print on a piece of paper with the letters being at least 3 inches high, with the option of making them 4 inches high.
I am really rusty on the syntax but the general idea would be
Set Printer to xxx....
STORE CHR(27) + CHR(119) + CHR(49) TO BigLetters 'I realize these are not correct
codes, just an example
@ 5,5 Say BinNum
Is his request possible using escape codes? If not, how can it be accomplished?