ola, sei que esse post é de 2018, mas ai vai a solução:
se você fizer esse ajuste
frxImpRemota.PrintOptions.Printer := fdqProdutosIMPRESSORAREMOTANOME.AsString;
frxImpRemota.PrepareReport(True);
frxImpRemota.PrintOptions.ShowDialog:= False;
frxImpRemota.Print;
e depois carregar o arquivo,
frxImpRemota.LoadFromFile('report.fr3');
o fastreport zera a configuração para a padrão.
então primeiro carregue o arquivo, depois altere as configurações de impressão:
frxImpRemota.LoadFromFile('report.fr3');//carrega o arquivo antes de ajustar a impressao
frxImpRemota.PrintOptions.Printer := fdqProdutosIMPRESSORAREMOTANOME.AsString;
frxImpRemota.PrepareReport(True);
frxImpRemota.PrintOptions.ShowDialog:= False;
frxImpRemota.Print;
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.