Page settings and printer setup
This page covers six native printing windows. Three set the print style of native reports and forms: Page Settings (margins and spacing), the page header and footer editor, and Copy a Form. Three set up the receipt printer: Printer Setup with its Select Fonts and Select Company Logo windows. These windows differ from the print settings of the report viewer.
Opening the window
Page Settings:
- From the File tab of the main ribbon: click Page Settings. The item shows only when a company file is open. The window opens on the style Default Template.
- From the print preview: File > Page Setup. It opens on the style the preview shows.
- From Page Setup Management, for a user and a style you choose there.
Printer Setup:
- From the Accessories page of the program options: choose Printer and click Setup.... See Accessories. Nothing shows if the printer has no driver selected.
- From the printers settings window in point of sale, with the setup button of the printer.
Select Fonts and Select Company Logo: from the Printer Setup window with the Fonts and Company Logo buttons.
In these paths the program checks no permission specific to these windows.
Page Settings
The window title is Page Settings followed by the name of whom the styles belong to: the user's login name, or "Common Settings" if Print settings is common for all users is on in the program options. A style is a named set of print settings. Each user has their own styles, or all users share one set. Styles are saved in the company file.

Fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Form Name | The style you edit. A drop-down list of the user's styles. You cannot type in it, so you cannot create a style here. | Yes | If the user has no style the program creates the style Default Template. Choosing another style reads its settings. |
| Top | The top margin. | No | In centimeters, with two decimals. Initial 1.00. |
| Right | The right margin. | No | In centimeters. |
| Left | The left margin. | No | In centimeters. |
| Bottom | The bottom margin. | No | In centimeters. |
| Between lines | The space between report lines. | No | In centimeters. Initial 0.00. |
| in header | The space in the report header. | No | In centimeters. Initial 0.00. |
| Line spacing | A number for spacing between lines, used with Spacing distance. | No | A number with an optional decimal part. Initial 5.00. |
| Spacing distance | The amount of spacing. | No | In points. Whole number. Initial 10. |
| Inner Line | The width of the grid's inner line. | No | "Without" or 0 to 9. Initial 0. |
| Outer Line | The width of the grid's outer line. | No | "Without" or 0 to 9. Initial 1. |
The groups in the window are "Margins (C.M.)", Spacing, Page Headers and Report Headers.
Header and footer buttons
| Button | What it does |
|---|---|
| Page Header | Opens the header editor for text that appears at the top of each page. |
| Page Footer | Opens the editor for text that appears at the bottom of each page. |
| First Page | Opens the editor for text that appears at the top of the first printed page only. |
| Last Page | Opens the editor for text that appears at the bottom of the last printed page only. |
Clicking Ok in the editor changes only the style open in the window. It is not saved until you click Modify.
Buttons
| Button | What it does |
|---|---|
| Modify | Saves everything in the window into the selected style: margins, spacing, fonts, headers and the current paper orientation of the printer. No message shows and the window stays open. |
| Setup | Opens the Windows page setup box for the current printer. What you change there belongs to the printer, and the only part saved in the style is the paper orientation, when you click Modify. |
| Copy | Opens Copy a Form so you can bring the settings of another style into this window. |
| Close | Closes the window. It becomes Cancel after any change. If there are unsaved changes and the warning option On cancel is on, the program asks whether to discard them (see Account card). |
When you pick another style from the list while the window has unsaved changes, the program treats it like closing: it asks if the warning option is on, and if you refuse the selection returns to the previous style. If the option is off it discards the changes without asking.
Page header and footer editor
The window title depends on the button that opened it: Page Header, Page Footer, Report Header or Report Footer. It has a toolbar, a rich text editor and a height option.

Toolbar
The toolbar buttons are pictures with no text. The toolbar starts at the right edge in both languages: copy and paste first, the alignment buttons last.
| Group | What it does |
|---|---|
| Copy and paste | Copies the selected part and pastes it. |
| Insert page number and page count | Inserts a code that the program replaces when printing with the page number or the number of pages of the report. |
| Insert date and time | Inserts the printing date or time. |
| Insert file data | Inserts the company file name, its description, the server name, the database name, the user name and the computer name, each with its own button. |
| Formatting | Bold, italic and underline, and a font button that opens the Windows font and color box. |
| Alignment | Left, center and right, and a bullets button. |
Inserted codes show in the editor as &[PAGE], &[PAGES], &[DATE], &[TIME], &[FILENAME], &[FILEDESC], &[SERVERNAME], &[DBNAME], &[USERNAME] and &[COMPUTERNAME], and the program replaces them with their values when printing. Do not edit them.
Editor fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Editor | The header or footer text with its formatting. It is right-aligned in the Arabic interface. | No | Accepts formatted text and text pasted from other programs. |
| Auto Header Height Selection | The program works out the height from the text. | No | On when the saved height is zero. |
| Header Height | The height of the part in centimeters (cm). | No | The field is disabled when Auto Header Height Selection is on. |
| Button | What it does |
|---|---|
| Ok | Puts the text and the height into the style open in Page Settings, without saving it. |
| Close | Closes with no change. |
Copy a Form
The window title is Copy a Form.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Select the form to copy from | A list of your styles except the one that is open. A line above the list shows the selected style. | Yes | The program selects the first style in the list. |
| Button | What it does |
|---|---|
| Ok | Reads all the settings of the chosen style, including margins, spacing, fonts and headers, and puts them in the window in place of the current values. Nothing is saved until you click Modify in Page Settings. |
| Cancel | Closes with no change. |

Printer Setup
The window title is Printer Setup. It sets up the receipt printer you chose in the Accessories page. The numbers are saved per printer in the settings of this computer. See also Accessories.

| Field | Description | Required | Values and rules |
|---|---|---|---|
| Copies: | The number of copies printed for each document. | No | Whole number. Initial 1. |
| Bill start | The space before the first line. | No | In points (group Distances (pt)). Initial 0. |
| Before section | The space before the paper cut. | No | In points. Initial 0. |
| After section | The space after the cut. | No | In points. Initial 0. |
| Left Margin | The left margin. | No | In points. Initial 0. |
| Right Margin | The right margin. | No | In points. Initial 0. |
| Button | What it does |
|---|---|
| Fonts | Opens Select Fonts. |
| Company Logo | Opens Select Company Logo. |
| Printer Setup | Opens the setup of the printer's own driver, including its port. |
| Ok | Saves the numbers above and the two fonts, and accepts the driver setup (the port) you set. |
| Cancel | Closes without saving the numbers and puts the two fonts back as they were. It does not undo a logo you selected or cleared, because the logo is saved at once. |
Select Fonts
The window title is Select Fonts. It has two groups: Header Font and Font. Each has a sample showing the text "Sample 123 Sample" in the current font, and a Select... button.
| Button | What it does |
|---|---|
| Select... (in Header Font) | Opens the Windows font box: name, style, size from 6 to 75, and color. The sample changes at once. |
| Select... (in Font) | The same, for the text font. |
| Ok | Accepts the two fonts for the receipt printer. They are saved on the computer only when you click Ok in Printer Setup. |
| Cancel | Closes with no change. |

Select Company Logo
The window title is Select Company Logo. It shows the current logo, or the text "Logo has not been selected" in red if none is set or the file cannot be opened. The logo prints at the top of the receipt, in the middle.
| Button | What it does |
|---|---|
| Select Logo | Opens a file box. Choose an image file. The path is saved at once in the settings of this computer for this printer. |
| Cancel Logo | Clears the saved path at once. |
| Close | Closes the window. |
The program does not check the file when you choose it. If it is not a valid image, the text "Logo has not been selected" shows in this window and no logo appears on the paper. The same happens if you move or delete the image.

Messages
| Message | When it appears | What to do |
|---|---|---|
| Do you want to ignore the inputs and close the window? | You closed Page Settings or changed the style while it had unsaved changes, and the warning option On cancel is on. | Close Window discards the changes and Cancel returns you. Click Modify before closing to save. |
| Logo has not been selected | No logo is set for this printer, or it could not be read. | Click Select Logo and choose an image. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.