Skip to main content

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.

The Page Settings window on the style Default Template with margins 1.00, spacing, the four header buttons and the buttons Modify, Setup, Copy and Close

Fields​

FieldDescriptionRequiredValues and rules
Form NameThe style you edit. A drop-down list of the user's styles. You cannot type in it, so you cannot create a style here.YesIf the user has no style the program creates the style Default Template. Choosing another style reads its settings.
TopThe top margin.NoIn centimeters, with two decimals. Initial 1.00.
RightThe right margin.NoIn centimeters.
LeftThe left margin.NoIn centimeters.
BottomThe bottom margin.NoIn centimeters.
Between linesThe space between report lines.NoIn centimeters. Initial 0.00.
in headerThe space in the report header.NoIn centimeters. Initial 0.00.
Line spacingA number for spacing between lines, used with Spacing distance.NoA number with an optional decimal part. Initial 5.00.
Spacing distanceThe amount of spacing.NoIn points. Whole number. Initial 10.
Inner LineThe width of the grid's inner line.No"Without" or 0 to 9. Initial 0.
Outer LineThe 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​

ButtonWhat it does
Page HeaderOpens the header editor for text that appears at the top of each page.
Page FooterOpens the editor for text that appears at the bottom of each page.
First PageOpens the editor for text that appears at the top of the first printed page only.
Last PageOpens 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​

ButtonWhat it does
ModifySaves 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.
SetupOpens 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.
CopyOpens Copy a Form so you can bring the settings of another style into this window.
CloseCloses 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.

The Page Header editor with its toolbar, the text Alwaha Trading in bold, the Auto Header Height Selection box and the Header Height field

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.

GroupWhat it does
Copy and pasteCopies the selected part and pastes it.
Insert page number and page countInserts a code that the program replaces when printing with the page number or the number of pages of the report.
Insert date and timeInserts the printing date or time.
Insert file dataInserts the company file name, its description, the server name, the database name, the user name and the computer name, each with its own button.
FormattingBold, italic and underline, and a font button that opens the Windows font and color box.
AlignmentLeft, 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​

FieldDescriptionRequiredValues and rules
EditorThe header or footer text with its formatting. It is right-aligned in the Arabic interface.NoAccepts formatted text and text pasted from other programs.
Auto Header Height SelectionThe program works out the height from the text.NoOn when the saved height is zero.
Header HeightThe height of the part in centimeters (cm).NoThe field is disabled when Auto Header Height Selection is on.
ButtonWhat it does
OkPuts the text and the height into the style open in Page Settings, without saving it.
CloseCloses with no change.

Copy a Form​

The window title is Copy a Form.

FieldDescriptionRequiredValues and rules
Select the form to copy fromA list of your styles except the one that is open. A line above the list shows the selected style.YesThe program selects the first style in the list.
ButtonWhat it does
OkReads 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.
CancelCloses with no change.

The Copy a Form window with the list of styles and the Ok and Cancel buttons

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.

The Printer Setup window with Copies 1, the five distances at 0 and the buttons Fonts, Company Logo and Printer Setup

FieldDescriptionRequiredValues and rules
Copies:The number of copies printed for each document.NoWhole number. Initial 1.
Bill startThe space before the first line.NoIn points (group Distances (pt)). Initial 0.
Before sectionThe space before the paper cut.NoIn points. Initial 0.
After sectionThe space after the cut.NoIn points. Initial 0.
Left MarginThe left margin.NoIn points. Initial 0.
Right MarginThe right margin.NoIn points. Initial 0.
ButtonWhat it does
FontsOpens Select Fonts.
Company LogoOpens Select Company Logo.
Printer SetupOpens the setup of the printer's own driver, including its port.
OkSaves the numbers above and the two fonts, and accepts the driver setup (the port) you set.
CancelCloses 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.

ButtonWhat 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.
OkAccepts the two fonts for the receipt printer. They are saved on the computer only when you click Ok in Printer Setup.
CancelCloses with no change.

The Select Fonts window with the header font and text font samples

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.

ButtonWhat it does
Select LogoOpens a file box. Choose an image file. The path is saved at once in the settings of this computer for this printer.
Cancel LogoClears the saved path at once.
CloseCloses 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.

The Select Company Logo window with the Alwaha Trading logo and the buttons Select Logo, Cancel Logo and Close

Messages​

MessageWhen it appearsWhat 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 selectedNo logo is set for this printer, or it could not be read.Click Select Logo and choose an image.

This page applies to alameen ERP 10, version 10.1.79.764.