Page 1 of 1

Printing to a printer

Posted: Sat May 10, 2003 5:28 pm
by Large
I have successfully printed what I need to my printer but I was just wondering if their is a way to print without calling the printrequester first ?

I have a print button and I want the user to click the button and the printer starts printing.

Please help if you can. :roll:

Kind regards

Posted: Sat May 10, 2003 5:50 pm
by ebs
Can't you use the DefaultPrinter() command instead of PrintRequester()?

Eric

Thanks so much !

Posted: Sat May 10, 2003 8:02 pm
by Large
I tried the DefaultPrinter() command and it did exactly what I wanted, thanks for that Eric. :D

I'm new to PB and looking in the online docs under Printer it doe's not mention DefaultPrinter() command, are they out of date or am I looking in the wrong place ?

Anyway thanks again for helping. :)

Kind regards

Posted: Sat May 10, 2003 8:36 pm
by ebs
Large,

The online docs are for version 3.51. The current version is 3.62. The help file included with the compiler includes the DefaultPrinter() information.

Regards,
Eric

Thanks Eric

Posted: Sat May 10, 2003 10:06 pm
by Large
Thanks for that Eric, I will consult the docs with the compiler in the future.

Kind regards