From: Martin on
Hello

Silly question but I am full of painkillers

How do I print to a printer without using the printer dialogue when I have a
printer path?

Thanks


From: Paulo Oliveira on
Martin,

SELF:oPrinter:=PtrDevice{SELF:Owner}


SELF:oPrinter:SetPrinterByName(cPrinterYouWant)
SELF:oReport:PrinterDevice:=SELF:oPrinter

Works for me.

Paulo Oliveira

On Jun 30, 10:22 am, "Martin" <nos...(a)spam.spam> wrote:
> Hello
>
> Silly question but I am full of painkillers
>
> How do I print to a printer without using the printer dialogue when I have a
> printer path?
>
> Thanks

From: Martin on
Thanks - this did what I needed!


From: richard.townsendrose on
Martin

see lib 15 reportpro wrapper ... its there for pdf printing

richard