To print the document in accordance with the created layout, first apply this layout.
Go toOptions > Printing > Printing schemes
Select the required printing scheme or create your own. We will edit the main one
Select theMainscheme and in theDocument Views section right-click on an empty space
SelectAdd Document View
TheDocuments and Layouts menu will open. Select the layout created earlier:
Click ОК
The layout will appear in the printing scheme. Now the receipt printer will print 2 receipts according to this printing scheme. To avoid this, delete the standard receipt layout from the printing scheme
Now the payment receipt will be printed according to our template.