Printer Selection Problem
Hi,
I've made my own Print Dialog and I have a problem. I have ComboBox that has a list of printers. If I choose a Printer and click on a Print Button with the code:
frxReport1.print;
It always sends it to my Windows Default Printer. If I select a printer and go to preview and then click on the Print Button it will send it to the printer I've chosen.
The code is the same the only difference is that I don't do preview on the first occasion.
THanks for all the answers.
I've made my own Print Dialog and I have a problem. I have ComboBox that has a list of printers. If I choose a Printer and click on a Print Button with the code:
frxReport1.print;
It always sends it to my Windows Default Printer. If I select a printer and go to preview and then click on the Print Button it will send it to the printer I've chosen.
The code is the same the only difference is that I don't do preview on the first occasion.
THanks for all the answers.
Comments
Can you please explain me how to do that, because there is no such explanation in the manual.
Thanks
when an app is started it picks up on the default printer and this must be changed (this is what you are doing when you select from the fr preview printer dialog)