To control the printer from a .prg send to appropriate control code. Eg) ??? chr(27)+'M'. You can find these codes in your printer manual. To control the printer using the Report Writer's .frx file you need to change the values in the Expr field of the first record in the .frx file. See Microsofts KnowledgeBase article Q133163 for more info.
http://support.microsoft.com/support/search/c.asp?FR=0>Does anyone know a way to programatically change printer settings, (i.e. paper size, portrait/landscape, ...), without prompting the user to manually change them?
>
>Thanks in advance
>
>sc
Mark Achin
Independent Consultant, VFP MCP