Hi Steve,
Why the SET PRINTER commands at all? If this is a VFP application then there is no real reason for the SET PRINTER commands.
>
>
>*SET PRINTER TO LPT1:
>SET PRINTER ON
>SET NULLDISPLAY TO ""
>SET ANSI ON
>SELECT * FROM aed_info ;
>WHERE ALLT(aed_info.name1) = ALLT(THISFORM.t_name1.Value) AND ;
> ALLT(aed_info.unitid) = ALLT(THISFORM.cbo_unitid.DisplayValue) ;
>INTO CURSOR rpt
>SET ANSI OFF
>REPORT FORM \aed\aedlocdt.frx TO PRINTER NOCONSOLE
>SET PRINTER OFF
>*SET PRINTER TO
>CLEAR
>THISFORM.Refresh
>
>
>It used to print the blank page immediately after printing my report, but since I commented out SET PRINTER TO commands, it waits until I exit the application and then prints the blank page. My report, however, prints properly.
>
>Thanks for helping.
------------------------------------------------
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