How to code the following PrintOptions in prg?

231 views
Skip to first unread message

hua

unread,
Apr 4, 2012, 10:48:11 PM4/4/12
to FastReport for [x]Harbour, Alaska Xbase++, Visual FoxPro
Hi,
How to set the following at prg level?

-PrintOptions:
Collate: = True
Copies: = 2
PrintOnSheet: = A4
PrintMode: = pmJoin

TIA
--
hua

Reinaldo

unread,
Apr 5, 2012, 9:53:30 AM4/5/12
to fastreport_f...@googlegroups.com
Hua;

Hi.  Check method PrintOptions() which returns the printer options object.

for example:

oFrprn:PrintOptions:SetCopies( nCopies )

oFrprn:PrintOptions:SetPrinter( cModel )




Reinaldo.

hua

unread,
Apr 8, 2012, 11:18:34 PM4/8/12
to FastReport for [x]Harbour, Alaska Xbase++, Visual FoxPro
On Apr 5, 9:53 pm, Reinaldo <reinaldo.cre...@gmail.com> wrote:
> Hi.  Check method PrintOptions() which returns the printer options object.
>
> for example:
>
> oFrprn:PrintOptions:SetCopies( nCopies )
>
> oFrprn:PrintOptions:SetPrinter( cModel )

Thanks Reinaldo. Can't seem to find PrintOnSheet and PrintMode though.
Reply all
Reply to author
Forward
0 new messages