In some cases, it is necessary to print a free-form document for an order, and the standard print options — such as receipts, pre-bills, service print, etc. — are not suitable for that. For example, when using the booking option, a customer asks to print the list of dishes, their prices, and other information about the upcoming banquet.
RK 7 has a special document type that is called User document:
In this section, you can create individual printing layouts. The data set available in this section is roughly the same as in a bill, receipt, or other similar documents. The main difference is that printing of this layout does not involve additional operations, while a bill, for example, makes an order uneditable, and a receipt requires order payment before being printed.
The procedure in this section is absolutely the same as with any other printing layout:
Save the layout and create a printing view for it.
Once the layout and its print representation are ready, you can move on to implementing the function of printing it from the POS.
RK7.PerformRefObject(RK7.FindItemByCode(rkrefMaketSchemeDetails, 88)); (where 88 is the code of printed representation for the created layout)
Now, when this function button is pressed, your user layout will be printed.
Note You do not necessarily need to use standard print layouts as in this section you can create graphic layouts using the FastReport editor |