Home > Back-end >  RM2.6 printed page Settings
RM2.6 printed page Settings

Time:09-23

I use RM2.6 made a report, the first printed set width and height, and then opens the report have not set when the width and height or the original appearance, want to implement code define the print width, and like how to write,
Var
Page: TRMReportPage;
Page:=TRMReportPage (RMReport1 Pages [0]).
Page. ChangePaper (ASize, AWidth, AHeight, ABin, AOr);
ASize: paper type, 256 for a custom
Width of AWidth:
Height of AHeight:
Direction of AOr:
ABin: feed way
AOr: rmpoPortrait, rmpoLandscape defined in RM_Common
ABin: $FFFF//the default feed,
This code is tried, useless
  • Related