How to inform the printer for Report Builder

Asked

Viewed 1,127 times

1

I use Reportbuilder in my applications and would like to know how to inform which printer it will use to print before displaying the report.

  • Eduardo, I changed your question. See if you still agree with what you wanted. If you do not like it can still reverse.

1 answer

2


A solution found in the Developerguide of the component:

uses
  ppTypes;

ppReport1.DeviceType := dtPrinter;
ppReport1.Print;

This snippet displays a dialog box for the user to enter which printer to use.

Browser other questions tagged

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