Printing to a printer

Windows specific forum
Large
User
User
Posts: 56
Joined: Tue Apr 29, 2003 8:24 pm

Printing to a printer

Post 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
ebs
Enthusiast
Enthusiast
Posts: 563
Joined: Fri Apr 25, 2003 11:08 pm

Post by ebs »

Can't you use the DefaultPrinter() command instead of PrintRequester()?

Eric
Large
User
User
Posts: 56
Joined: Tue Apr 29, 2003 8:24 pm

Thanks so much !

Post 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
ebs
Enthusiast
Enthusiast
Posts: 563
Joined: Fri Apr 25, 2003 11:08 pm

Post 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
Large
User
User
Posts: 56
Joined: Tue Apr 29, 2003 8:24 pm

Thanks Eric

Post by Large »

Thanks for that Eric, I will consult the docs with the compiler in the future.

Kind regards
Post Reply