Alaska Software Inc. - How can i select a printer using Word activeX Control
Username: Password:
AuthorTopic: How can i select a printer using Word activeX Control
MollersHow can i select a printer using Word activeX Control
on Fri, 06 Jan 2012 03:04:29 +0100
How can i select a printer using Word activeX Control

With:
oPrn:printout()

i can only print on the default system printer

Many thanks

Willy
Klaus OverhageRe: How can i select a printer using Word activeX Control
on Sat, 07 Jan 2012 09:42:32 +0100
Hi Willy,

 PrintOut(Background, Append, Range, OutputFileName, From, To, Item, 
Copies, Pages, PageType, PrintToFile, Collate, FileName, 
ActivePrinterMacGX, ManualDuplexPrint, PrintZoomColumn, PrintZoomRow, 
PrintZoomPaperWidth, PrintZoomPaperHeight)

        cOldPrinter := oWord:ActivePrinter := rtrim(cPrinter)
        oDoc:PrintOut(lBackground,NIL,NIL,NIL,NIL,NIL,NIL,nCopies)
        oWord:ActivePrinter := cOldPrinter


Am 06.01.2012 03:04, schrieb Mollers:
> How can i select a printer using Word activeX Control
>
> With:
> oPrn:printout()
>
> i can only print on the default system printer
>
> Many thanks
>
> Willy
>
>
>
>
MollersRe: How can i select a printer using Word activeX Control
on Sat, 07 Jan 2012 16:38:22 +0100
Hi Klaus,

it?s works

Many thanks

Willy



<Klaus Overhage> schrieb im Newsbeitrag 
news:c3c3c1a$52a27249$b51bc@news.alaska-software.com...
> Hi Willy,
>
>  PrintOut(Background, Append, Range, OutputFileName, From, To, Item, 
> Copies, Pages, PageType, PrintToFile, Collate, FileName, 
> ActivePrinterMacGX, ManualDuplexPrint, PrintZoomColumn, PrintZoomRow, 
> PrintZoomPaperWidth, PrintZoomPaperHeight)
>
>        cOldPrinter := oWord:ActivePrinter := rtrim(cPrinter)
>        oDoc:PrintOut(lBackground,NIL,NIL,NIL,NIL,NIL,NIL,nCopies)
>        oWord:ActivePrinter := cOldPrinter
>
>
> Am 06.01.2012 03:04, schrieb Mollers:
>> How can i select a printer using Word activeX Control
>>
>> With:
>> oPrn:printout()
>>
>> i can only print on the default system printer
>>
>> Many thanks
>>
>> Willy
>>
>>
>>
>>
>