Skip to main content

Hardware and exchange drivers

A driver is a file with the extension drv that connects alameen ERP 10 to a device or to an outside file format. The program itself does not know how to read a stocktaking device, write an Excel file or print on a receipt printer. It leaves that to a driver, which you choose from a list. In its messages the program calls it a "driver".

This page explains what a driver is, how it appears in lists, its kinds, where each kind is chosen and which ones come with this version. The details of the import and export windows are in the pages of this section. The details of printers and displays are in the point-of-sale pages of the same section.

What a driver is​

  • A file in the Drv folder inside the program folder. Each driver is one file, named like biFileImp.drv or bxStdFile.drv.
  • It serves one kind of job: reading bill items, writing them, printing, showing prices on a screen, and so on.
  • It often has its own setup window: a file name and its fields, a serial port, or printer options. This window opens from the Setup button in the source window, or from the Accessories page in Program Options.
  • It has a text description that appears in the list, such as "Standard Import File Driver". The description is written inside the file in English and does not change with the program language.

How the program lists drivers​

When you open a source window (such as "Reading bill items") or a window that selects a driver for a device, the program works like this:

  1. It examines the drv files in the Drv folder one after another. A small waiting window titled "Getting driver list" shows the name of the file being examined.
  2. It loads each file and asks it for its kind and description.
  3. It lists only the descriptions of the files of the required kind, sorted alphabetically without distinguishing capital and small letters.
  4. It selects in the list the last driver you chose of this kind, if its file still exists.

A file that you put in the Drv folder appears in the list if it is of that kind and was built for this version of the program. A file that you delete disappears from it.

The program saves your choice for the current Windows user on this computer. Each user and each computer has its own last source. The driver chosen in the Accessories page is saved as explained in Program Options: Accessories.

Kinds​

The last column counts the files in the Drv folder when this version (x64) is built.

KindWhat it doesWhere you choose itFiles in this version
Bill importReads bill items from a text file or from a stocktaking device on a serial port.The Source list in the "Reading bill items" window.5: biFileImp, biPalm, biPsion, biStdFile, biSymImp. Bill import drivers
Stock import from a smart deviceReads the count file that the counting app exports on the smart device.The same list, in the stocktaking windows only.1: biSmartDeviceImp. Read Items from File (smart device)
Bill exportSaves bill items in a file, or prepares them for a label printer.The Source list in the "Saving invoice items" window.3: bxDataMax, bxExcel2013, bxStdFile. Bill export drivers
Entry importReads the lines of an entry from a text or XML file.The Source list in the "Import Entry" window.2: eiText, eiXML. Entry and serial number import drivers
Entry exportSaves the lines of an entry in an XML or Excel file.The Source list in the "Export Entry" window.2: exXML, exExcel2013. Bill export drivers
Serial number importReads serial numbers from a text file.The Source list in the "Import Serial Numbers" window.1: SNStdiFile. Entry and serial number import drivers
Packing list importReads packing list lines from a text file.No window of the program lists this kind.1: PackListFileImp. Entry and serial number import drivers
Receipt printersSends a point-of-sale receipt to a printer.The Accessories page in Program Options, and the printer settings of point of sale.11: prAxiohm749, prCitizen614, prEpsonTMU200, prIBMSure1, prOPOS, prOlivettiPR4, prOlivettiPR4EE, prPartner, prSM4610, prSamsungSRP350, prWinDrv. Receipt printer setup
Customer displaysShows the bill items and total to the customer.The Accessories page.9: cd7220, cdCasioSA-5061, cdDSP830-25, cdF-TU001, cdIBMSure1, cdOPOS, cdPosiflex, cdVFD-450e, cdVirtual. Virtual customer display and discount card
Cash drawersOpens the cash drawer.The Accessories page.7: drABS, drCitizen, drGeneric, drOPOS, drPosiflex, drPosiflexCR4005, drTMU200.
Barcode readersReceives what a barcode reader reads.The Accessories page.2: brCanmax, brOPOS.
ScalesReads a weight from a scale.The Accessories page.5: scAND, scAND_OP2, scEGE, scJadever, scZenithBG7.
Discount cardsReads the code of a discount card.The Accessories page.1: dcBarcodeDiscountCard. Virtual customer display and discount card
Report exportWrites a report into a file.No window of this section chooses it.4: rxExcel15 (Excel 2013), rxHTML, rxText, rxXML.

You choose the printer, display, drawer, reader, scale and discount card in the Accessories page. Its driver selection window is explained in Selecting the driver and its port window in Select Port. Point of sale also opens the printer selection from its Printers Setting window (Printers Setting).

What does not come with this version​

The x64 version does not include five drivers, so they appear in no list:

FileKind
biArgoxPT12Bill import from an Argox PT-12 device.
biSymCS2kBill import from a Symbol CS2000 device.
dcOmniDiscountCardOmni discount card.
drFRIFRI cash drawer.
brSNAPISNAPI-compatible barcode reader.

If you rely on one of these devices, use another driver from the table above.

Messages​

The first two messages appear in English in every program language, preceded by a line with the file name.

MessageWhy it appearsWhat to do
"Wrong driver version"The program loaded a file that declares a driver interface version other than the one it expects.Put the file that comes with this version in the Drv folder.
"Error initializing driver"The program loaded the file saved for the device but its initialization failed, for example opening the port of the device.Check the connection of the device and the setup of its port, then try again.
"No drivers found"You opened the driver selection window in the Accessories page and the Drv folder has no file of the device kind.Put the driver file in Drv.

Drivers report the errors of their devices (out of paper, closed port, device not answering) in a message that has the line "File:" and the name of the driver file. For the forms of messages see Messages and callouts.

This page applies to alameen ERP 10, version 10.1.79.764.