Skip to main content

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​

  1. 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.
  2. 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 of Program Options with the peripheral type, the type, the port and the select and setup buttons

The Peripherals page​

The title of the first group is Peripheral device options.

FieldDescriptionRequiredValues and rules
Peripheral typeThe device you want to set up. The rest of the page changes with your choice.NoPrinter (default), Customer Screen, Cash Drawer, Barcode Reader, Scale or Discount card.
Type:The name of the driver chosen for this device.NoA display field. It shows None if you have not chosen a driver.
Port:The port the device is connected to.NoA display field. Examples: COM1:9600,e,8,1, LPT1:, SPOOLER: printer name, or None. The discount card shows no port.
ButtonWhat 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 pageAppears 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​

FieldDescriptionRequiredValues and rules
Enable logon using cardsWhen 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.NoDefault 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.

FieldDescriptionRequiredValues and rules
PortThe connector the device is on.NoNone, COM1 to COM9, LPT1 to LPT4, or SPOOLER.
BaudTransfer speed.NoShown for COM only: 110, 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 38400, 56000, 57600, 115200, 128000 or 256000.
Byte lengthBits per byte.NoShown for COM only. 4 to 8.
ParityParity type.NoShown for COM only: No Parity, Odd, Even, Mark or Space.
Stop bitNumber of stop bits.NoShown for COM only: 1, 1.5 or 2.
Select Printer (and its list)The Windows printer the device sends to.NoShown 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.

FieldDescriptionRequiredValues and rules
Copies:Number of copies printed for each document.NoDefault 1.
Bill startThe space before the first line.NoIn points. Default 0.
Before sectionThe space before the paper is cut.NoIn points. Default 0.
After sectionThe space after the cut.NoIn points. Default 0.
Left MarginThe left margin.NoIn points. Default 0.
Right MarginThe right margin.NoIn points. Default 0.
ButtonWhat it does
FontsOpens the Select Fonts window: Header Font and Font, each with a Select... button and a sample. Ok saves the two fonts.
Company LogoOpens 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 SetupOpens the setup of the printer driver itself, including its port.
OkSaves the numbers and the printer port.
CancelCloses 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.

The Special encoding window with the groups barcode, material code, quantity, price, total and category

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.

FieldDescriptionRequiredValues and rules
Start with (Barcode)The text the barcode must begin with.YesLetters or digits. It is compared with the first characters of the barcode.
Length (Barcode)The total number of characters in the barcode.YesA number. 0 means the barcode is not decoded.
Start (Material Code)The position of the first character of the material code.YesA number from 1.
Length (Material Code)The number of characters of the material code.YesA number.
QuantityReads the quantity from the barcode.NoWhen ticked, the next three fields are enabled.
Start (Quantity)The position of the first digit of the quantity.Yes if Quantity is tickedA number from 1.
Length (Quantity)The number of digits.Yes if Quantity is tickedA 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 tickedA number. Example: reading 01250 with 3 gives 1.25.
PriceReads the price from the barcode.NoWhen ticked, its Start, Length and Decimal are enabled, with the same rules.
TotalReads the total from the barcode.NoSame rules. With Price the program works out the quantity, with Quantity it works out the price, and without them it uses the material price.
CategoryReads the category from the barcode.NoWhen ticked, its Start and Length are enabled.
ButtonWhat it does
OkChecks the required fields. If one is empty, a message titled "Empty Field" appears and the cursor goes to it. Otherwise it closes the window.
CloseCloses 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​

MessageWhy it appearsWhat to do
No drivers foundYou clicked Select... and there is no driver for this kind of device.Install the device driver, then try again.
the driver has no setup programYou 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 FieldYou 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.

This page applies to alameen ERP 10, version 10.1.79.764.