Print Templates Management
This window manages the print templates that POS Pro devices use to print receipts and summaries. You create a template, choose the fields that appear in it, its language and its format, and then pick it in the POS card. For the steps see Design print templates.
Opening the windows
Choose POS Pro > Tools > Print Templates Management. The command needs the POS on smart devices feature in the licence, and the Print Templates Management permission on the operations page of the Users window.
| Window | How to open |
|---|---|
| Print Templates Management | From the command above. |
| Design Print Template | Click New... or Modify, or double-click a row. |
| Field format | Click the format button next to a ticked field in the design window. |
| Template format | Click the button next to Printing Format in Forms Information. |
List of templates
The window title is Print Templates Management. It holds a grid of all templates.
| Column | What it shows |
|---|---|
| Number | The template number. The program gives the highest existing number plus one. |
| Template Type | The template type. See Template types. |
| Template Name | The name. |
| Latin Name | The Latin name. |
| Print Language | Arabic or English. |
| Button | What it does |
|---|---|
| New... | Opens the design window for a new template of type Materials Transactions. |
| Modify | Opens the selected template for editing. Disabled until a row is selected. |
| Delete | Deletes the selected template with all its fields, after asking you to confirm. Disabled until a row is selected. If the template is in use, a message shows and nothing is deleted. |
| Close | Closes the window. |
Double-click a row to edit it. A template counts as in use when a POS card, a return coupon or a custom copy has chosen it.
Template types
| Type | Prints | Sections |
|---|---|---|
| Materials Transactions | The sales receipt and the sales return receipt. | Corporation Information, Ticket Info, Customer Information, Materials Information, Totals, Footer. |
| Return Coupon | The return coupon. | Corporation information, ticket info, customer information and footer, with no item details. |
| Sales Order | A sales order (pickup or delivery). | Corporation Information, Order Information, Customer Information, Order Item Info, Totals, Delivery, Footer. |
| Summary Of Driver Orders | The summary of a driver's orders. | Corporation Information, Order Information, Totals, Footer. |
| Shift Summary | The shift summary. | Corporation Information, Shift Information, Sales, External Operation Info. |
| External Operation | An external transaction (receivable, payable, expense, revenue, central safe). | Corporation Information, External Operation Info, Customer Information, Footer. |
In the POS card, each type is tied to the matching transaction type (POS card printing).
Design Print Template
The window title is Design Print Template. You can enlarge it. It has a preview at one side (Preview) and two groups at the other.
Forms Information
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Print Template Type | The template type. | Yes | The six types in Template types. Disabled when the template is in use. Changing the type replaces all fields with those of the new type. |
| Template Name | The name. | Yes | Not repeated by another template of the same type. |
| Latin Name | The name in Latin letters. | No | If entered, not repeated by another template of the same type. When it is entered, the program saves Template Name in lower case letters. |
| Print Language | The receipt language. | Yes | Arabic or English. The first value is the current program language. Changing it switches the field captions and the sample values to the chosen language, and changes the preview direction. |
| Material Items As One Block | The data of each item prints as one block, not lined up in columns. | No | One choice between this option and the next. Disabled with the External Operation type. |
| Material Items As Table | The items print as a table with columns. | No | Disabled with the External Operation type. |
| Printing Format | The width of the receipt columns. | No | A button next to the caption that opens the template format window. |
| Button | What it does |
|---|---|
| OK | Checks, then saves the template with its fields, shows "Print template has been saved" and closes the window. |
| Close (becomes Cancel after any change) | Closes without saving. If you changed something, the program asks whether to ignore it (Messages and callouts). After the window closes, the list refreshes from the database. |
Printing Fields
The Printing Fields group shows the sections of the template, each in a panel that folds and unfolds. Each section holds the fields that can be printed. Tick a field to print it. A section has a right-click menu (Section menu).
The shapes of a field:
| Shape | What you see | What it does |
|---|---|---|
| Value field | A tick box and, once ticked, a text box with the field caption as printed before its value, and a format button. | Prints the value of the field from the transaction. You edit the caption in the text box. |
| Multi-line text | A tick box, a large text box and a format button. | Prints text you type, such as the company name or the text field. |
| Picture | A tick box, a read-only path and a folder button. | Prints a picture you choose from a file by clicking the folder button. The program saves the picture with the template. |
| Line break | A tick box, a line style list and a Double box. | Prints a line. The styles are Solid, Dot, Dash, DashDot and Wide. |
| Barcode | A tick box only. | Prints the barcode. |
A field that cannot be cleared shows ticked and disabled (such as the Saudi e-invoice fields).
Fields of the Materials Transactions type
| Section | Fields |
|---|---|
| Corporation Information | POS Logo, Company's Name, Text Field, Line Break. With a Gulf tax system: Tax No and Tax No Code. |
| Ticket Info | POS Number, POS Name, Ticket Type, Ticket Number, Employee, Order Number, Ticket Date, Ticket Time, Ticket Code, Shift Code, Bill No (ticked at first), Ticket Note, Salesman, Salesman Cost Center, Ticket Barcode, Ticket Number Barcode. With the electronic invoice: issue date, number and QR code. |
| Customer Information | Customer Name, Customer Latin Name, Surname, Suffix, Customer Account Code, Customer Account Name, Account Latin Name, Nationality, Address Name, Customer Notes, Country, City, Area, Street, ZIP Code, Mail Box, Building Number, Floor Number, Details, Phone 1, Phone 2, Mobile, Pager, Fax, Telex, Email, Tax Number. With a Gulf tax system: Tax Location and Customer Tax Code. |
| Materials Information | Item Code, Item Name, Item Grand Total, Item Qty, Unit, Item Price, Net Price:, Item Sub Total, Item Addition, Item Discount, Item total tax, Compound, Serial Numbers, Salesman, Salesman Cost Center, the sale prices Whole, Half Whole, Vendor, Export, Retail and End User, and Line Break between Items. With a Gulf tax system: Item Tax Code. |
| Totals | Sub Total, Items Discount, Ticket Discount, Total Discount, Items Addition, Ticket Addition, Total Addition, Tax Total, Exchange Return Net, Item Total, Items Count, Quantity Total, Total before tax and after discount, the payment methods detail, the amount received and change due, Current Balance. With the Egyptian electronic invoice: the T1 to T4 taxes. |
| Footer | Address and Company's Address Picture (from the Print page of the POS card), Text Field. |
The sections of the other types work the same way. Some of their fields: in Order Information: Order Type, Expected Delivery Date, Expected Delivery Time, Receive Method, Order Barcode Number. In the Totals of sales orders: Down Payment, Delivery Fees, Down payment Date. In the driver summary: Orders Value and Orders Number. In external operations: Amount, Amount As Words, Currency, Equivalent, Exchange Rate, Debit Account, Credit Account, Receive Or Pay. In the shift summary: Start Date, End Date, Start Time, End Time, Total Sales Count, Total Sales Amount, Total Sales Return Count, Total Sales Return Amount.
Section menu
Right-click a section title.
| Command | What it does |
|---|---|
| Check All | Ticks every field of the section whose tick can be changed. |
| Uncheck All | Clears every field of the section whose tick can be changed. |
The same menu exists in the print template design window of the distribution module. No command of the program opens that window, so this guide does not describe it.
Preview
The other side of the window shows an approximate picture of the receipt with sample values for the ticked fields. The preview follows the template language and its direction. It has no buttons or fields to fill.
Field format
The window title is Printing Format. It has the Value Format group, which sets how the field value prints.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Font Size | The font size. | No | From 7 to 36. |
| Text Alignment | The text alignment. | No | Left, Center or Right. |
| Line Height | The line height. | No | A number. |
| Bold | The font is bold. | No | |
| Italic | The font is italic. | No |
| Button | What it does |
|---|---|
| OK | Applies the format to the field and closes the window. The format is saved with the template when you save it. |
| Close (becomes Cancel after any change) | Drops the changes and goes back to the saved format of the field. |
Template format
The window title is Printing Format. It sets the width of the receipt columns and the number of characters before the line wraps, in three parts. The default values change with the print language.
| Part | Fields |
|---|---|
| Header | Column1 Width % and Column1 Wrap At, Column2 Width % and Column2 Wrap At. |
| Body | Columns 1 to 4: Column1 Width % to Column4 Width %, and Column1 Wrap At to Column4 Wrap At. |
| Total | Columns 1 and 2, with the same two fields. |
| Button | What it does |
|---|---|
| OK | Applies the format to the template and closes the window. |
| Close | Goes back to the previous format of the template. |
Messages
| Message | Why it appears | What to do |
|---|---|---|
| "Template is used in POS card, cannot delete!" | You clicked Delete on a template chosen in a POS card, a return coupon or a custom copy. | Choose another template in those places, then delete it. |
| "Please enter template name" | Template Name is empty. It appears next to the field. | Enter the name. |
| "Name Is Used In Another Design! Cannot Save" | Template Name is repeated by a template of the same type. | Change the name. |
| "Latin Name Is Used In Another Design! Cannot Save" | Latin Name is repeated by a template of the same type. | Change the Latin name. |
| "Print template has been saved" | The save succeeded. | Information only. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.