Problems printing Fastreport

Asked

Viewed 1,531 times

0

I’m having trouble printing reports with Fastreport in Delphi 2010. When printing on the printer the first time, print correctly, but the second time I try to print the report does not print correctly.

I do not use dataset in the report. In other system reports the same problem occurs when printing.

Maybe it’s the printer problem. Model: HP Officejet J3680 All-in-One.

The next item is the report (fr3): https://goo.gl/jfqVfq

"frxReport1" is with the Default settings:

inserir a descrição da imagem aqui

frxReport1.LoadFromFile(arquivoRel);

if pImp then begin
  frxReport1.PrepareReport();
  frxReport1.Print;
end else
  frxReport1.ShowReport;

How should print (First time is right):

How are you printing the second time:

  • Can make available the file you are loading in your frxReport1 ?

  • I put it there as it is and as it should be to help. I do not use dataset, it is only a text field, but I will put the code here yes.

  • 1

    Dude, your code works perfectly here. To make your life easier. Download doPDF, and set it as the default printer. and checks whether the problem continues.

  • And then @cava, it worked ?

  • Sorry the delay @Victortadashi was on vacation, but anyway, I installed the program you mentioned and unfortunately it worked normally, I will use this option before printing directly on the printer. Thank you.

1 answer

0


I couldn’t solve my problem of printing directly on the printer, in my opinion it must be some problem on the printer, but I can’t say for sure, because I don’t have another PC or printer to test.

My settings: Windows 8.1, Delphi 2010 and HP printer.

I will use doPDF to solve my problem as my friend Victor comments.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.