Hi Sergey.
Thanks for the link and I think that'll do the job.
On the same topic, the other property with regard to printers that I need to be able to set is the tray .
Is there any way of setting this, or storing it after it has been selected in th normal printer dialogue.
regards,
Gerard
>>Is there a command to store and reuse Printer settings.
>>I've used the GetPrinter and Set Printer to Name command to set the actual printer , but this does not give control over No. of Copies and Orientation.
>>
>>Is there any other command that will do this, so that settings can be maintained and set across differnet reports, without having to bring up the Printer Dialogue each time.
>>
>Hi Gerard,
>
>You can do that by changing EXPR field in the first record of the report. It's better to do that on the temporary copy of the report. See
How To Programmatically Set the Number of Copies for a Report mskb #
251236.