| |
How do I get my system serial
number? (back to top)
Unibar requires the system serial number from the operating system
in order to license our software. On Linux, Unibar locks to the
node name and on Windows the Windows ID code (see instructions
below for the Windows ID Code).
Barcode 2000, Version 5.1.x,
6.x, and 7.x -- Type ubfmt -ir, and send the register.inf
or register.txt file to techsupport@unibar.com
Instructions for Windows Systems
- Hold down the Windows key and press the 'Pause/Break' key or
Go to the 'Control Panel', find and double-click the 'System' icon.
- The number Unibar needs is usually the last line under the 'Registered
to:' section.
(i.e. xxxxx-xxx-xxxxxxx-xxxxx). It is important that serial
number you send to Unibar is EXACTLY like it displays on the screen (CASE SENSITIVE).
- Send the number and what version of Windows you are using to techsupport@unibar.com or
fax to (248) 299-5052 ATTN LICENSING DEPT.
|
How to install Barcode 2000 on UNIX? (back
to top)
Refer to the installation instructions provided on the product
download page. Go to download page.
How to move files over to UNIX?
(back to top)
Refer to the installation instructions provided on the product
download page. Go to download page.
How to obtain a permanent license for Unibar's products? (back
to top)
See "How do I get my system serial number" above.
How to use the print spooler for a serial
port printer? (back to top)
When multiple users print to a serial port directly the first
user's print job that is currently printing could be overwritten
by other users submitting print jobs directly to the serial port. One
possible solution to this issue is to configure the printer to
use the print spooler within UNIX/Linux.
The Spooler
The spooler is the main printing software component.
The print request is sent down as a print job and is placed in
a print queue. As the name suggests, a queue is a lineup of jobs
waiting for their turn to receive access to the hardware printer.
The spooler monitors both the queue and the printer. As the printer
becomes available, the spooler sends the next job for printing.
Once the print successfully completes, the spooler removes the
job from the queue and moves on to the next job.
BARZ_OUT/BARCODE
2000 Print Destination Table
The Print Destination Table allows
the user to input the device name (Logical field), location/destination
(Physical), how the data is handled (Type).
Sample Print Destination Table Entry
PRT_DEST =
{
Logical = MySerialPrinter
Physical = lp -dMySerialPrinter
TYPE = PIPE
}
Setup The Serial Printer
Using lpadmin, a command to configure
the LP print service, run the following commands (refer to your
operating system’s documentation for more information on
how to setup a printer using the lpadmin command):
- lpadmin –p MySerialPrinter –v/dev/tty1a
(tty1a is the serial port which may be different on your system,
check with your system administrator for more information
about serial ports)
- enable MySerialPrinter
- accept MySerialPrinter
By giving the above lpadmin command it will create
a Printer device. The enable command will enable the
printer device. By giving accept command, printer will
be able to accept print requests from users. What is a Base Directory or Environment
String? (back to top)
The base directory is where all of Unibar's products
looks for any files without a full pathname. A "full pathname" is
a file name beginning with the '/' character on UNIX/Linux, or
'\' or '[drive]:\' on DOS or Window systems.
The base directory
is established once per execution, by finding 'unibar.key'. Once
the base directory is established, every file is expected to
exist relative to the base directory.
The
following procedure is used to look for 'unibar.key'
- Check present working directory
- Check the 'UNIBAR' environment string, if it
is set
- Check '/unibar' on UNIX/Linux, or '\unibar' on DOS/Window
systems
- Check the explicit path on argv[0] (the program name),
if there is one*
- Check Operating System's search path
* - We determine if there is a search path on argv[0]
by scanning the program name backwards (from
right to left) and finding a '/' (on UNIX/Linux) or
'\' (on DOS/Windows). |
Setting the Environment String
UNIX/LINUX system only:
- Type at the command line:
UNIBAR={unibar directory} (the directory
where you installed our product)
- Type at the command line:
export UNIBAR
The command above can be inserted into a login script
so they are automatically executed whenever the user
logs on. |
Instructions for Windows
Systems (NT/2000/XP)
- Go to Control Panel>System
- Select the 'Environment' tab.
- Select 'System Variable' by hitting ALT-V
- Select the 'Variable' text box
- Type:
UNIBAR
- Select the 'Value' text box
- Type:
C:\{unibar directory} (the directory where
you installed our product)
- Select the Set button
- Select the OK button
|
Why is my label being truncated? (back
to top)
The most common reason for this behavior is the MAX_RECORD setting in the BC2000.cfg file.
The MAX_RECORD setting controls the maximum length
of a data record being sent to the Label Formatter. Records
longer than this setting will result in an incomplete label being
printed.
Setting the MAX_RECORD to a larger number will
increase the buffer amount used to store 1 data record. Example
a setting of 2048 will set the buffer for the data record to
2048 bytes.
|
|