HOw to use local instance of TPrinter
Posted
by gorann
on Stack Overflow
See other posts from Stack Overflow
or by gorann
Published on 2010-04-16T06:44:11Z
Indexed on
2010/04/16
7:23 UTC
Read the original article
Hit count: 322
Hi,
I need to do some printing using TPrinter. The problem is I can not, for varoius reasons, use Global object Printer.
I want to be able to create my instance of TPrinter and print using that one.
I tried with:
MyPrinter := TPrinter.Create;
MyPrinter.BeginDoc;
but this generates AV.
Any idea what does it take to print something using my instance of TPrinter?
Regards Goran Nagy
© Stack Overflow or respective owner