changing the printer at run time
Hello My friends, I'm trying to change the printer in code but I can not. My code is like this:
So it prints where I want. But if I use the same code to switch to another printer it will not reprint to the previous printer.
Questions:
1) How do I print to a shared printer on the network?
2) How to print alternately on 2 printers on the network?
3) Any difference if it is a network printer (bematech 4000TH TPC / IP)?
Thank you all ... sorry for the english, I used the google translation.
    frxImpRemota.PrintOptions.Printer := fdqProdutosIMPRESSORAREMOTANOME.AsString; //Windows Printer Name
    frxImpRemota.PrepareReport(True);
    frxImpRemota.PrintOptions.ShowDialog:= False;
    frxImpRemota.Print;
So it prints where I want. But if I use the same code to switch to another printer it will not reprint to the previous printer.
Questions:
1) How do I print to a shared printer on the network?
2) How to print alternately on 2 printers on the network?
3) Any difference if it is a network printer (bematech 4000TH TPC / IP)?
Thank you all ... sorry for the english, I used the google translation.
Comments