Oli2
asked on
TQuickReport
Hi!
I have a TQuickReport component (myQR).
When calling myQR.Print, it alway prints to the default Windows Printer, even if before printing I set
myQR.Printer.PrinterIndex := 4; //(4 is just an example)
or
myQR.QRPrinter.PrinterInde x := 4;
Regards, Oli
I have a TQuickReport component (myQR).
When calling myQR.Print, it alway prints to the default Windows Printer, even if before printing I set
myQR.Printer.PrinterIndex := 4; //(4 is just an example)
or
myQR.QRPrinter.PrinterInde
Regards, Oli
listening...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
How?
None of these ones work:
myQr.ApplySettings; //error
myQr.QRPrinter.ApplySettin gs; //error
myQr.Printer.ApplySettings ; //error
Regards, Oli
None of these ones work:
myQr.ApplySettings; //error
myQr.QRPrinter.ApplySettin
myQr.Printer.ApplySettings
Regards, Oli
ASKER
Never Mind, myQr.ApplySettings works...
I'm testing...
I'm testing...
ASKER
.testing done!
All I had to do is:
myQr.PrinterSettings.Print erIndex := 4;
This works.
Thanks for your help, Neil, it lead me to the right direction.
Regards, Oli
All I had to do is:
myQr.PrinterSettings.Print
This works.
Thanks for your help, Neil, it lead me to the right direction.
Regards, Oli
OK, you already received an answer.
I just wanted to tell you that you should use the QR.PrinterSettings and
not the QR.QRPrinter object.
I've made this mistake too .. ;)
greets
Sascha
I just wanted to tell you that you should use the QR.PrinterSettings and
not the QR.QRPrinter object.
I've made this mistake too .. ;)
greets
Sascha