NewPrinterPage()
语法
NewPrinterPage()概要
Creates a new empty page. The previous page is sent to the printer and can't be modified anymore. It has to be called inside a StartDrawing()/StopDrawing() block.
参数
无.
返回值
无.
示例
If PrintRequester() If StartPrinting("Two sheets") If StartDrawing(PrinterOutput()) DrawingMode(#PB_2DDrawing_Transparent) DrawText(10, 10, "First page !", RGB(0, 0, 0)) ; Tell the printer to start a new page NewPrinterPage() DrawText(10, 10, "Second page !", RGB(0, 0, 0)) StopDrawing() EndIf StopPrinting() EndIf EndIf
已支持操作系统
所有