Home General

Undeclared identifier: dpVertical

edited April 2010 in General
Hello,

Using Delphi 7, Report Builder 7.02.
I have created a report that will need to be put in a 3-hole binder. If the
duplex printing is dpNone, then the marginleft is the same on all pages...
if not, if it is dpVertical, then the marginLeft changes on alternate pages.

Delphi gives me a "Undeclared identifier: dpVertical" when I try to verify
if (Rapport.Engine.Page.PrinterSetup.Duplex = dpVertical) then
begin
....
end;

I tried to put in the uses the ppPrintr file but it still does not see the
duplex type...
Please help.

H. Dumas

Comments

This discussion has been closed.