Randy,
>How can I get a generic/text only driver on a panasonic 2023 printer print 42 lines.
>I am using VFP report generator.
I don't know the codes for that printer, but in general principles you will want to send the printer codes to set 42 lines at the beginning of your text stream. You may need to output the report to a file first, then send the codes, followed by the contents of the file directly to the printer.
Check out Ed Rauh's messages which might give you some ideas to play with. You can find them by using the Calendar message lookup by date:
Message#
320238 "Printing Straight Text...." 01/19/2000
Message#
327636 "Page Setup" 02/04/2000