Search the Wiki

Viewing 139 to 141 of 409 items

Printer Dev Mode

TECH TIP: Configuring Printer Specific Options The Report.PrinterSetup properties can be used to set the properties that are common to all printers. Internally RB applies these to the Windows DevMode structure. Report.PrinterSetup <—-> Windows DevMode <—–> Printer Driver <—> Printer Printers often contains additional features, such as output bins, media types, etc. The Windows DevMode  Full Article…

0

Print Copy Captions

TECH TIP: Printing a Unique Caption for Each Copy of a Multi-Copy Report Sent to the Printer Here’s example of sending 3 copies to the printer and printing a unique caption for each one. Set Report.PrinterSetup.Collation to True Set Report.PrinterSetup.Copies to 3 Set the Report.PassSetting to psTwoPass. (add ppTypes to your “uses” clause) Create a private  Full Article…

0

Mirrored Margins for Duplexing

TECH TIP: Mirrored Margins for Duplex Output You can create mirrored margins for duplexed output by using the Report.OnStartPage event. As an example, try adding the following code to dm0061.pas in the main reports demo application: procedure Tfrm0061.ppOrderListStartPage(Sender: TObject); begin if (ppOrderList.AbsolutePageNo mod 2 > 0) then begin ppOrderList.Engine.Page.PrinterSetup.MarginLeft := 0.5; ppOrderList.Engine.Page.PrinterSetup.MarginRight := 0; end  Full Article…

0