Program Options: accessories
The Peripherals page sets the devices connected to your computer: the printer, customer screen, cash drawer, barcode reader, scale and discount card. Each device has a driver you choose and a port it is connected to. The page has an Encoding... button that opens the Special encoding window, which reads the quantity and price from a scale barcode.
Opening the window
- Click the File tab, then Program Options. With a file open you can also press
Shift+F3, unless the hotkey was changed in the file. - Choose the Peripherals page from the page list.
- The page always appears, even with no file open, and needs no permission.
- Scope: PC. The peripherals belong to this computer. Each computer has its own devices.
- The Special encoding window is stored in the file, so you need an open file for what you enter there to be saved.

The Peripherals page
The title of the first group is Peripheral device options.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Peripheral type | The device you want to set up. The rest of the page changes with your choice. | No | Printer (default), Customer Screen, Cash Drawer, Barcode Reader, Scale or Discount card. |
| Type: | The name of the driver chosen for this device. | No | A display field. It shows None if you have not chosen a driver. |
| Port: | The port the device is connected to. | No | A display field. Examples: COM1:9600,e,8,1, LPT1:, SPOOLER: printer name, or None. The discount card shows no port. |
| Button | What it does |
|---|---|
| Select... | Opens the driver choice window for the selected type. With Barcode Reader and Discount card it first opens the setup window of the current driver (if it has one), then the choice window. |
| Setup... | Opens the setup of the selected device: for the printer the Printer Setup window, for the customer screen, scale and barcode reader the Select Port window, and for the cash drawer the setup of the driver itself. It does nothing for the discount card. |
| Print test page | Appears with Printer only, and works if the printer has a port. It prints a page with "alameen ERP", "Printer Test Page", the driver name and file, and the port settings, and cuts the paper if paper cutting is on for this printer. |
| Encoding... | Opens the Special encoding window. |
Other options
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Enable logon using cards | When it is on, the program processes what is read from a card in the password window at sign-in, to take the user name and password from it. | No | Default off. Stored in this computer's settings. |
What you choose on this page is saved as follows:
- The driver type is saved as soon as you click Ok in the choice window, without waiting for Ok or Apply of Program Options. Cancel does not undo it afterwards.
- The port and its settings are saved when you click Apply or Ok in Program Options, and then the program sets up the point-of-sale peripherals again.
- Enable logon using cards is saved with the ports.
Choosing the driver
A small window whose title depends on the device (such as Printer Type). It has a drop-down list and the buttons Ok and Cancel.
- The list starts with None, then the drivers available for this kind of device, in alphabetical order. The program selects the one currently saved.
- Ok saves your choice. Choosing None removes the driver.
- If the program finds no driver of this kind, it shows the message "No drivers found" and the window does not open.
Select Port
The window title is Select Port. It opens from Setup... for the customer screen, scale and barcode reader.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Port | The connector the device is on. | No | None, COM1 to COM9, LPT1 to LPT4, or SPOOLER. |
| Baud | Transfer speed. | No | Shown for COM only: 110, 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 38400, 56000, 57600, 115200, 128000 or 256000. |
| Byte length | Bits per byte. | No | Shown for COM only. 4 to 8. |
| Parity | Parity type. | No | Shown for COM only: No Parity, Odd, Even, Mark or Space. |
| Stop bit | Number of stop bits. | No | Shown for COM only: 1, 1.5 or 2. |
| Select Printer (and its list) | The Windows printer the device sends to. | No | Shown for SPOOLER only. The list holds the printers of this computer. |
Ok stores the values in the page (not on the computer) until you click Apply or Ok in Program Options. Cancel closes without changes.
Printer Setup
The window title is Printer Setup. It opens from Setup... with Printer, and needs a chosen driver.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Copies: | Number of copies printed for each document. | No | Default 1. |
| Bill start | The space before the first line. | No | In points. Default 0. |
| Before section | The space before the paper is cut. | No | In points. Default 0. |
| After section | The space after the cut. | No | In points. Default 0. |
| Left Margin | The left margin. | No | In points. Default 0. |
| Right Margin | The right margin. | No | In points. Default 0. |
| Button | What it does |
|---|---|
| Fonts | Opens the Select Fonts window: Header Font and Font, each with a Select... button and a sample. Ok saves the two fonts. |
| Company Logo | Opens the Select Company Logo window: Select Logo to choose an image file, Cancel Logo to remove it, Close. The window shows the current logo or the text "Logo has not been selected". The choice is saved as soon as you click. |
| Printer Setup | Opens the setup of the printer driver itself, including its port. |
| Ok | Saves the numbers and the printer port. |
| Cancel | Closes the window without saving the numbers. |
The numbers are saved for each printer separately, in this computer's settings.
Special encoding
The window title is Special encoding. It opens from Encoding.... It describes the barcode printed by electronic scales: when you scan it in point of sale or restaurants, the program reads from it the material and the quantity, price or total.

Every position in the barcode counts from 1. The program uses the encoding only if the Length of the Barcode group is not zero and equals the length of the scanned barcode exactly, and the barcode starts with the text in Start with.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Start with (Barcode) | The text the barcode must begin with. | Yes | Letters or digits. It is compared with the first characters of the barcode. |
| Length (Barcode) | The total number of characters in the barcode. | Yes | A number. 0 means the barcode is not decoded. |
| Start (Material Code) | The position of the first character of the material code. | Yes | A number from 1. |
| Length (Material Code) | The number of characters of the material code. | Yes | A number. |
| Quantity | Reads the quantity from the barcode. | No | When ticked, the next three fields are enabled. |
| Start (Quantity) | The position of the first digit of the quantity. | Yes if Quantity is ticked | A number from 1. |
| Length (Quantity) | The number of digits. | Yes if Quantity is ticked | A number. |
| Decimal (Quantity) | The number of decimal digits: the program divides the number it reads by 10 raised to this number. | Yes if Quantity is ticked | A number. Example: reading 01250 with 3 gives 1.25. |
| Price | Reads the price from the barcode. | No | When ticked, its Start, Length and Decimal are enabled, with the same rules. |
| Total | Reads the total from the barcode. | No | Same rules. With Price the program works out the quantity, with Quantity it works out the price, and without them it uses the material price. |
| Category | Reads the category from the barcode. | No | When ticked, its Start and Length are enabled. |
| Button | What it does |
|---|---|
| Ok | Checks the required fields. If one is empty, a message titled "Empty Field" appears and the cursor goes to it. Otherwise it closes the window. |
| Close | Closes the window. If you changed something, the program asks whether to discard the changes. |
The changes are applied in the program's memory when you click Ok in this window, but they are saved in the file only when you click Ok or Apply in Program Options with a file open. They are saved for both systems: point of sale and restaurants.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| No drivers found | You clicked Select... and there is no driver for this kind of device. | Install the device driver, then try again. |
| the driver has no setup program | You clicked Setup... with Cash Drawer and the driver has no setup. It appears in English in both interfaces. | No setup is needed; set the port from the driver itself if you must. |
| Empty Field | You clicked Ok in Special encoding and a required field is empty. | Fill the field the cursor went to. |
| Do you want to ignore the inputs and close the window? | You clicked Cancel or Close after a change and the "On cancel" warning is on. | Close Window or Cancel. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.