|
Re: how can i send print command from form to print a report? [message #134673 is a reply to message #129785] |
Fri, 26 August 2005 02:10 |
Leo007
Messages: 15 Registered: June 2005
|
Junior Member |
|
|
Hi shum,
use this to view the report called from forms on Screen:
Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'SCREEN');
or this one to send it directly to the default printer:
Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'PRINTER');
If you want to print it to a specific printer use this:
add_parameter(pl_id, 'DESNAME', TEXT_PARAMETER, printername);
Leo
|
|
|