CodePudding user response:
Information is too little, it is better to stick a print preview dialog interface, and set up relevant statements printing paste,CodePudding user response:
Adv_Preview. Grid. PrintSettings. HeaderFont. Style:=[fsBold];
Adv_Preview. Grid. PrintSettings. TitleLines. The Clear;
Adv_Preview. Grid. PrintSettings. TitleLines. Add (");
Adv_Preview. Grid. PrintSettings. TitleLines. Add (");
Adv_Preview. Grid. PrintSettings. TitleLines. Add (s);
Adv_Preview. PreviewWidth:=1200;
Adv_Preview. PreviewHeight:=600;
Adv_Preview. Grid. PrintSettings. RowSpacing:=8;
Adv_Preview. Grid. PrintSettings. ColumnSpacing:=8;
Adv_Preview. Execute;
CodePudding user response:
Printed page button and preview the adapt to set about, can't flip preview may be more than one page, you can further tests, such as advpreviewdialog1. PrintSelection:=True; This is to set up print only selected areas, selected a small area of the data, if still hit extra pages, the printer or the driver problem is suspected, the print setup dialog also have "fit the page" option to test, need to add another print setup components, https://www.tmssoftware.com/site/asg16.asp asg16 is printed in the official component bag relevant example, you can refer to,CodePudding user response:
How to set the print blank pagesCodePudding user response: