frlptFactura.LptFactura.Prepare; nPages:=frlptFactura.LptFactura.QRPrinter.PageCount; frLptFactura.LptFactura.Print;