Jim .... it's always been an issue going way, way back. I always had a SET PRINTER TO LPT1: or whatever preceding a manual report and then SET PRINTER TO (nothing) after the report, forcing the report to get spooled to the printer. I don't think you need a SET PRINT ON, though.
>I have an old dbase report that I want to reuse instead of using an .frx. This report prints to a pre-formatted form on a dot-matrix. I've been fighting with the .frx version for weeks and decided it's time to get out the old dbase code.
>
>My question is, how do you redirect output to the printer in VFP? I'm using SET PRINT ON and SET DEVICE TO PRINT and then issue my @...SAY commands. Nothing happens but when I issue SET PRINTER TO DEFAULT the output that has apparently been queued up suddenly dumps to the printer. FYI, I'm using a generic/text only printer driver with an Okidata ML320 if that helps.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05