UBI EasyCoder 71 User Manual

Page 1
1
CONTENTS
UBI EasyCoder 71 – Introduction
Introduction Contents .................................................................................................... 1
Preface....................................................................................................... 3
Notices Required by National Authorities:
FCC Notice (U.S.A.)............................................................................. 4
DOC Notice (Canada) ........................................................................... 4
VDE Notice (Germany) ........................................................................ 4
Installation Instructions Unpacking .................................................................................................5
Mains Connection..................................................................................... 6
Installation ............................................................................................ 7
Operation .............................................................................................. 8
Paper Load:
Standard Model..................................................................................... 9
Self-strip Model (option)..................................................................... 10
Test Mode:
Printing Test Labels ............................................................................ 11
Computer Connection:
Centronics Parallel Interface ............................................................... 12
RS 232C Serial Interface..................................................................... 12
Cables ................................................................................................. 12
UBI Windows Driver Installation:
Step-by-Step Instructions .................................................................... 13
Application Notes ............................................................................... 18
Maintenance and Troubleshooting Memory Cartridge ................................................................................. 19
Cleaning:
External Cleaning ............................................................................... 20
Cleaning the Printhead ........................................................................ 20
Troubleshooting...................................................................................... 21
Removing Caught Label:
Introduction ........................................................................................ 22
Remove the Access Cover and optional Self-strip Device ................... 23
Remove the Enclosure Top ................................................................. 24
Remove Caught Label from Printhead ................................................ 25
Remove Caught Label from Mechanism ............................................. 27
Printhead Replacement:
Remove Printhead............................................................................... 29
Install Printhead .................................................................................. 30
Specifications Thermal Paper:
General Information ............................................................................ 31
Pre-printed Paper ................................................................................ 31
Recommended Paper Brands .............................................................. 31
Paper Dimensions:
Paper Roll ........................................................................................... 32
Self-adhesive Labels ........................................................................... 33
Tags .................................................................................................... 34
Technical Data ........................................................................................ 35
Programming Introduction:
General Information ............................................................................ 36
General Programming Information ..................................................... 37
Program Check List ............................................................................ 40
Communication Command:
Y Serial Port Setting ....................................................................... 41
Memory Management Command:
M Memory Allocation ..................................................................... 42
Character Set Selection Command:
I Character Set Selection ............................................................... 44
Continued!
UBI EasyCoder 71 Instruction Book Edition 2, April 1994 Art. No. 1-960319-01
Page 2
2
CONTENTS, cont'd.
UBI EasyCoder 71 – Introduction
Programming, cont'd. Windows Mode Command:
W Windows Mode On-Off .............................................................. 45
Status & Configuration Commands:
U Print Current Configuration ......................................................... 46
UP Print Codepage & Memory Status ............................................... 46
UM Codepage & Memory Status ....................................................... 46
UI Codepage Status & Enable Prompts ............................................ 46
FI Print Form Information ............................................................... 46
GI Print Graphics Information .......................................................... 46
Clear & Delete Commands:
N Clear Image Buffer ..................................................................... 47
FK"Filename" Delete Form .............................................................. 47
GK"Filename" Delete Graphics ........................................................ 47
FK"*" Delete All Forms.................................................................. 47
GK"*" Delete All Graphics .............................................................. 47
Store & Retrieve Form Commands:
FS"Filename" Store Form ................................................................ 48
FE Closing Command to Store Form.................................................. 48
FR"Filename" Form Retrieve ........................................................... 48
Print Command:
P Print Label .................................................................................. 49
Variable Data Command:
V Define Variable ........................................................................... 50
Protect Variable Data (KDU only) ...................................................... 50
Consecutive Numbering Command:
C Define Counter ............................................................................ 51
Protect Consecutive Number (KDU only) ........................................... 52
Real Time Clock Commands:
TS Set Real Time Clock ................................................................... 53
TT Define Time Layout .................................................................... 53
TD Define Date Layout ..................................................................... 54
Print Parameters Commands:
Q Set Form Length ......................................................................... 55
Z Print Direction Select .................................................................. 56
R Reference Point Setting ............................................................... 57
S Speed Select ................................................................................ 58
D Heat Density Select ..................................................................... 58
Text & Bar Code Commands:
A Place Text ................................................................................... 59
B Place Bar Code ........................................................................... 62
Line & Box Commands:
X Draw Box ................................................................................... 65
LE Draw Line ................................................................................... 65
LO Line Overwrite ............................................................................ 65
Graphics Commands:
GM Store PCX File to Graphics Memory ........................................... 66
GG Write Graphics from Graphics Memory ...................................... 66
Error Messages:
Printer Status....................................................................................... 67
Programming Examples:
Label Sample 1 ................................................................................... 68
Label Sample 2 ................................................................................... 77
Summary of Commands ........................................................................ 78
Appendices Appendix 1: Parallel & Serial Interfaces .................................................. 79
Appendix 2: Conversion Chart Mm – Inches – Dots ................................ 80
Appendix 3: Fonts, Code Pages and Character Sets ................................. 81
Appendix 4: Keyboard Display Unit (KDU)............................................ 95
Page 3
3
PREFACE
The EasyCoder 71 is simple to operate and a cost effective solution for your low volume label printing requirements.
The EasyCoder 71 uses direct thermal printing technology. The labels are printed by moving thermal sensitive paper past a fixed thermal printhead. The printhead heats small dot patterns (8 dots/ mm = 203 dots/inch) to form the desired labels.
The EasyCoder 71 is designed to work with any computing device capable of producing ASCII outputs. The connection is through either the parallel Centronics port or the serial RS 232C port. Connection cable is not included in the delivery, unless specifically ordered.
The EasyCoder 71 is delivered with a floppy disk containing a driver program for Microsoft Windows. The driver makes it possi­ble to produce bitmapped printouts from a large number of standard programs run under MS Windows, e.g. MS Word, MS Excel or PC
Paintbrush. UBI has developed a label-editing program called UBI LabelShop, which runs under MS Windows and is compatible with
the full range of UBI EasyCoder printers. The EasyCoder 71 can also be run by means of a special control
program described later in this manual. The program uses short lines of ASCII characters to format the labels, enter text and bar codes and control the printing. This makes it possible to use a terminal, or a personal computer, that does not operate under MS Windows.
The EasyCoder 71 can print labels or tags with a web width of up to 108 mm (4.25") and a maximum print width of 104 mm (4.09"). A self-strip and label-taken sensor device is available as a factory­installed option as well as a battery pack and an external display/ keyboard unit.
UBI EasyCoder 71 – Introduction
Information in this manual is subject to change without prior notice and does not represent a commitment on the part of UBI Printer AB.
© Copyright UBI Printer AB, 1994. All rights reserved. Published in Sweden. EasyCoder and LabelShop are trademarks of United Barcode Industries.
Centronics is a registered trademark of Centronics Data Computer Corp. IBM is a registered trademark of International Business Machines Corp. Microsoft is a registered trademark of Microsoft Corporation. Paintbrush is a trademark of Zsoft Corporation. TrueType is a trademark of Apple Computer, Inc. Windows is a trademark of Microsoft Corporation.
This manual describes: Software Version 1.27 Windows Driver v. 1.6
Page 4
4
WARNING:
This equipment generates, uses, and can radiate radio frequency energy and if not installed and used in accordance with the instructions manual, may cause interference to radio communi­cations. It has been tested and found to comply with the limits for a Class A computing device pursuant to Subpart J of Part 15 of FCC Rules, which are designed to provide reasonable protection against such interference when operated in a commercial envi­ronment. Operation of this equipment in a residential area is likely to cause interference in which case the user at his own expense will be required to take whatever measures may be required to correct the interference.
Canadian Dept. of Communication
REGULATIONS COMPLIANCE
(DOC-A)
This digital apparatus does not exceed the class A limits for radio noise emissions from a digital apparatus as set out in the radio interference regulations of the Canadian Department of Commu­nication.
Ministère des Communications du Canada
CONFORMITE DE REGLEMENTS
(DOC-A)
Le présent appareil numérique n´émet pas de bruits radio­électriques dépassant les limites applicables aux appareils numériques de classe A prescrites dans le règlement sur brouillage radioélectrique édicté par le Ministère des Communications du Canada.
ALLGEMEINE VORSCHRIFT:
Reparaturen oder sonstige Eingriffe, die sich nicht auf normale Bedienung der Maschine beziehen, dürfen ausschließlich nur von einem ausgebildeten, zuständigen Fachmann vor­genommen werden.
FCC Notice (United States of America)
NOTICES REQUIRED BY NATIONAL AUTHORITIES
UBI EasyCoder 71 – Introduction
DOC Notice (Canada)
VDE Notice (Germany)
Page 5
5
Before starting the installation, carefully examine the delivery for possible damage or missing parts:
1.
Open the box and remove the upper foam-plastic shock ab­sorber.
2.
Lift up the printer, transformer unit and other parts and check that no visible damage has occurred during the transportation. Keep the packing material until you are sure that the printer functions properly.
3.
Check to make sure any options ordered are included.
4.
Check the accessories included in the delivery. The box should contain:
• One EasyCoder 71 printer
• One Memory Cartridge
• Transformer unit w. power cord
• Cleaning card in paper envelope
• One full label roll
• This manual
• One 3.5" floppy disk containing UBI EasyCoder 71 Windows
Driver.
Note that no cable for printer-to-computer connection is in­cluded, unless in case of EasyPak 71 or if ordered separately.
5.
Check the separate transformer unit in regard to voltage rating (120 VAC, 60 Hz or 220 VAC, 50 Hz).
6.
Pull out the battery protection strip from the memory cartridge and insert the cartridge into the slot on the left side of the hinged label roll cover.
Should any kind of damage have occurred during transportation, immediately make a complaint to the carrier.
Any incorrect delivery or missing parts should be reported to the distributor.
UBI EasyCoder 71 – Installation Instructions
UNPACKING
Easy Coder 71
Power
Feed
Memory Cartridge
Page 6
6
1.
Make sure that the transformer is set for the correct voltage by checking the voltage sign on the top.
2.
First, fit the round connector into the power inlet on the printer's rear plate. Then connect the other cord to a wall socket.
3.
The power can be turned on/off by means of the main switch situated immediately to the left of the power inlet. The “Power” control lamp on the printer lights red or green to indicate that the power is on.
MAINS CONNECTION
UBI EasyCoder 71 – Installation Instructions
Easy
Coder
71
Power
Feed
Control lamp
No light: Power off Red light: Power on –
Out of paper
Green light: Power on –
Ready to print
Orange light: Error.
Tap Feed key to reset,
or
Press Feed key a few sec's to enter Dump Mode,
or
Turn power off and on.
0 I
Voltage sign
Main switch Power inlet
Transformer
Mains plug
Page 7
7
The EasyCoder 71 can be supplemented by an optional battery pack, which makes the printer independent of a mains supply. The battery pack allows the printer to be operated approximately 8 hours before the battery pack must be recharged for approximately 13 hours.
To install a battery pack, proceed as follows:
1.
Check that the mounting kit contains the following items: (1) ea. Mounting Plate (4) ea. M3x45 Mounting Screws
2.
Disconnect the printer from any power source and from the computer.
3.
Remove the four (4) rubber feet from the bottom of the base of the printer. (These feet can be pulled out by hand.
4.
Using a Phillips screwdriver, remove the four (4) screws from the base of the printer.
5.
The printer cover will be loose at this point and the removable front cover may come loose. If so, set the removable front cover aside and turn the printer on its side and hold it together by hand.
6.
Position the Mounting Plate with the vents facing front, and secure it with the four (4) screws that were included in the kit.
7.
Replace the removable front cover on the printer.
8.
Place the battery pack on a flat surface with the latch and cable pointing to the rear.
BATTERY PACK (option)
Easy
Coder 71
Power
Feed
0
I
BATTERY
POWER
LOW
FULL
ON
ON/OFF
Switch
Control Lamps
Installation
UBI EasyCoder 71 – Installation Instructions
Page 8
8
9.
Slide the front of the printer into the mounting tab on the front of the battery pack, then press the back of the printer down into the rear latch of the battery pack.
10.
Plug the battery pack into the power connector socket of the printer.
11.
Switch ON the battery pack switch located on the right side of the battery pack.
12.
Reconnect the printer to the computing source and switch ON the printer's power switch.
1.
Operate the printer normally until the battery low light turns on. You should be able to print an average of eight (8) hours without requiring a recharge.
2.
Switch the battery pack off when it is not connected to the printer or to a charging power source.
3.
The battery pack is recharged by connecting it to the printer's transformer unit. The charging time is approximately thirteen (13) hours. The battery pack must be ON to recharge.
4.
The battery pack can also be recharged while connected to an active printer if the battery pack is connected to the transformer and the battery pack switch is ON.
Installation, cont'd.
BATTERY PACK (option), cont'd.
0 I
0
I
Screws
Latch
Power Cable
Mounting Plate
Tab
Operation
UBI EasyCoder 71 – Installation Instructions
Page 9
9
TAGS
LABELS
Easy Coder 71
Power
Feed
PAPER LOAD
Standard Model
The EasyCoder 71 can print on self-adhesive labels or non- adhesive tags 25 mm (1") to 108 mm (4.25") wide. Be careful when loading self-adhesive labels. If labels are not flat on the backing paper, the exposed edges can stick to your printer and cause problems.
Note the difference between how labels and tags should be wound on the label roll:
Labels should be wound with the labels facing
outwards and unroll from the top of the roll.
Tags should be wound with the thermal layer facing
inwards and unroll from the bottom of the roll.
Paper guides
Spindle
Cover
Release knob
UBI EasyCoder 71 – Installation Instructions
Feed button
To load a supply of labels or tags, proceed as follows:
1.
Open the hinged cover.
2.
Place the spindle into the core of the paper roll.
3.
Place the paper roll and spindle in the open hinged cover.
4.
Pull the paper guides outwards as far as they can possibly go.
5.
Place the front edge of the paper between the paper guides and push it forwards until you notice a resistance.
6.
Adjust the guides so they become flush with the edges of the paper without causing it to bend.
7.
Press the Feed button to advance the paper until its front edge is flush with the front cover.
8.
If the paper is off centre, push back the printhead release knob and hold it there while adjusting labels. Then release the knob.
9.
While keeping the paper straight, rewind excess paper onto the roll. Place the roll in the cavity with the spindle resting in the slots. Close the hinged cover.
10.
When the Power indicator lamp lights green, your printer is ready to print.
11.
Press the Feed button. If the printer does not feed out a complete label or tag, the paper feed needs to be adjusted. See “Test Mode” on page 11.
Page 10
10
PAPER LOAD, cont'd.
Self-strip Model (option)
The Self-strip model of the EasyCoder 71 is fitted with a dispenser edge and a plastic cover on the front, and a label-taken sensor above the label outfeed area. With these features, the printer strips the label from the backing paper each time a label is printed. The label-taken sensor (LTS) is a photo-electric sensor that keeps the printer from printing a new label until the previous one has been removed. The LTS is automatically engaged when completely extended.
Easy
Coder
71
Power
Feed
Label-taken sensor
Plastic cover
UBI EasyCoder 71 – Installation Instructions
Printhead
Platen
Label
Backing paper
Backing paper
tear-off edge
4.
With your left hand, push back the printhead release knob. While holding the knob in posi­tion, pull the paper towards the back of the printer until there is no slack around either roller.
5.
Press the Feed button and release it when the top of next label becomes visible.
6.
If you want to use the label-taken sensor, pull it out until it snaps into extended position.
7.
Rewind excess label web onto the roll and place it into the cavity. Close the cover.
8.
If the printer does not feed out the labels com­pletely, the paper feed needs to be adjusted. See “Test Mode” on page 11.
To load a supply of self-adhesive labels, first follow the instructions on previous page, steps 1 – 6.
Then proceed as follows:
1.
Press the Feed button until a full label has been fed out through the printer's front.
2.
Manually peel off the first label from the back­ing paper . Then thread the backing paper around the dispenser edge and down between the black platen and the white self strip roller. Push the paper down as far as it will go.
3.
Press the Feed button until the backing paper appears at the bottom of the printer.
Self strip roller
Dispenser edge
Page 11
11
TEST MODE
UBI EasyCoder 71 – Installation Instructions
Printing Test Labels
The Test Mode automatically adjusts the paper feed according to the length of the labels or tags of the present paper supply
1
. Once the paper feed has been adjusted, it needs no readjustment until labels or tags of a different length are loaded, or you change the memory cartridge. Power off does not affect the paper feed length.
The Test Mode also allows you to check the printout quality and to get information on the memory setup and the real-time clock. You can enter the Test Mode without having connected the printer to a computer.
To enter the Test Mode, proceed as follows:
1.
Press down the Feed button and keep it that way until further notice.
2.
Turn on the power.
3.
The first Test Label will be printed. It contains the following information:
• Software version.
• Current serial communication setup.
• Test pattern for checking the printhead dots.
• Information on the size of various parts of the RAM memory.
• Information on number of character bits, code page and country code for the selected character set.
• Date and time according to the printer's optional real-time clock (if installed, else 00:00:00).
4.
If you continue to hold down the Feed button, a second Test Label will repeatedly be printed with samples of the different fonts and a bar code sample.
5.
Release the Feed button.
6.
Return to normal operation by turning off and on the power.
1
/. The Windows Driver adjusts the paper
feed length automatically, see page 18.
Page 12
12
EasyCoder 71 is fitted with a 36-p female Centronics connector for
the parallel interface port and a DB9 female connector for the RS 232C serial interface port. You can use either of these ports.
If you intend to use the Windows Driver (see pages 13–18), choose the parallel Centronics interface, which has DSTB to printer and BUSY to host handshake signals.
The parallel interface can also be used for programming the printer by means of the control program described later in this manual. However, prompts and other information from printer to host cannot be transmitted, since the parallel interface is one-way only.
The serial RS 232C channel can be used to run the control program described later, but is not suited for the Windows Driver.
The RS 232C communication setup is variable by means of the Y command (see page 41). Use the Test Mode (see page 11) to check the printer's present setup (bold letters indicate default setup).
Baud rate .......... : 1200, 2400, 9600, or 19200
Parity ................ : None, Odd, or None
Data bits ........... : 7 or 8
Stop bits............ : 1 or 2
Flow control ..... : XON/XOFF and DRS/CTS
With the exception of EasyPak 71, no communication cables are included in the delivery unless specifically ordered. For pin out specifications, please refer to Appendix 1.
COMPUTER CONNECTION
UBI EasyCoder 71 – Installation Instructions
Centronics Parallel Interface
0 I
RS 232C
Centronics
Cables
RS 232C Serial Interface
Page 13
13
UBI EasyCoder 71 – Installation Instructions
UBI WINDOWS DRIVER INSTALLATION
Note: This driver uses features that are specific to Windows 3.1 and will not work with Windows
3.0 or earlier versions.
Step-by-step Instructions
The Windows Driver for UBI EasyCoder 71 operates under Micro- soft Windows 3.1 in the 386 enhanced mode and makes it possible to print labels from any Windows application, such as Microsoft Word, Paintbrush , or Microsoft Excel and from UBI's own label-
creating WYSIWYG
*
-program UBI LabelShop. The Windows
Driver is stored on a 3.5" floppy disk included in the delivery. Install the Windows Driver as follows:
• Open Microsoft Windows in your PC.
• In the “Main” window of the “Program Manager”, open the “Control Panel”.
• In the “Control Panel”, choose “Printers”.
• In the “Printers” menu, click the “Add>>” button.
Continued!
Add Button
Control Panel Icon
Printers Icon
*
/. WYSIWYG = What You See Is What
You Get.
Page 14
14
• In the list of printers, choose “Install Unlisted or Updated Printer”, then click the “Install...” button.
• The path window will show “A:\” as the path. Insert the Windows Driver floppy disk for EasyCoder 71 and click the “OK” button.
• In next window, select “UBI EasyCoder 71” and click the “OK” button.
Step-by-step Instructions, cont'd.
Continued!
UBI WINDOWS DRIVER INSTALLATION, cont'd.
Install Button
UBI EasyCoder 71 – Installation Instructions
OK Button
OK Button
Page 15
15
UBI WINDOWS DRIVER INSTALLATION, cont'd.
• Click the “Setup” button.
A window will be displayed that allows you to specify the printing characteristics of your EasyCoder 71.
The following parameters can set:
Resolution:
The value is fixed at 200 dpi (= 8 dots/mm).
Paper Size:
Enter your “user defined size” or preferably choose your label size from the alternatives in the “Paper size:” box.
The width of the label is always set to 100 mm
*
, even if you enter another width with “user defined size”. The left margin or indent setting in your Windows application may, if required, be used to indent for a narrow label. Thus ignore the width at this point. The height of the label is measured from the top to the bottom of the label.
Step-by-step Instructions, cont'd.
Continued!
Setup Button
UBI EasyCoder 71 – Installation Instructions
*
/. The maximum practical print width
with the Windows Driver is 99 mm (3.9").
Page 16
16
Paper size, cont'd:
The selection of label size is not critical for the printer as the printer stops after a gap anyway. However, your application is using this value to set the paper size. There are a number predefined sizes, all with a width of 100 mm (3.94") and with different lengths between 14 and 150 mm (.55 –5.9"). You may also use “User Defined Size” to set any not predefined height, but the width should always be set to 100 mm (full width).
Paper Source:
Fixed at “Direct Labels”, i.e., direct thermal printing.
Orientation:
Decides the direction of the print image on the paper:
- Portrait means that a line of text is printed across the label, upside down from right to left.
- Landscape means that a line of text is printed along the web, starting with the first character in the line.
• Click the “Options” button. A new window will be displayed.
In this window, you can set up the printer in regard of “Print
Quality” and “Paper Quality”. (“Intensity Control” and “Dith- ering” have no consequences).
Print Quality:
Controls the darkness of the printout
1
(Light, Medium or Dark).
Paper Quality:
Controls the print speed: Low speed: 25 mm/sec. (1"/sec.) Medium speed: 38 mm/sec. (1.5"/sec.) High speed: 50 mm/sec. (2"/sec.)
UBI WINDOWS DRIVER INSTALLATION, cont'd.
Step-by-step Instructions, cont'd.
Continued!
UBI EasyCoder 71 – Installation Instructions
1
/. Reducing the print speed will increase the blackness of the printout relative to the Print Quality setup and vice versa.
Page 17
17
• Click the “OK” button until the main “Printers” window is displayed. There, click the “Connect” button.
• In the “Connect” window, connect the printer to the parallel port of your PC, usually LPT1 (see Microsoft Windows User's Guide).
• Turn off both the printer and the computer and fit a parallel communication cable between the 36-p Centronics connector on the printer and the selected parallel port on your PC.
• Start up the printer and the PC again and the installation is completed.
UBI WINDOWS DRIVER INSTALLATION, cont'd.
Step-by-step Instructions, cont'd.
ALSO SEE:
Application Notes
ON NEXT PAGE!
Connect Button
UBI EasyCoder 71 – Installation Instructions
Page 18
18
UBI WINDOWS DRIVER INSTALLATION, cont'd.
UBI EasyCoder 71 – Installation Instructions
With a few exceptions due to the limited physical size of the label or tag, your EasyCoder 71 will work like any matrix or laser printer operating under MS Windows 3.1. However, before starting, please read the following information.
Margins (left, right, top, and bottom)
It is important to set the margins in your application. These should normally be set to zero to allow for printing on the entire full-width label.
Narrow labels and left margin
The printer will start printing at the extreme left edge of the label path (compare matrix or laser printers). However, labels in EasyCoder 71 are centred to the middle. Thus, to print on a narrow label it will be necessary to set the left margin, i.e., move the print to the right.
Label length autoadjust
The EasyCoder 71 is automatically measuring the label length by feeding two blank labels the first time a form is sent to the printer from a Windows application after a power-up. This value is stored in the printer as long as the power is on.
Memory restrictions
If the print image is too large to fit in the printer's memory, the “Power” control lamp on the printer will turn orange and an error message will appear on the screen. If this happens, turn printer back “on-line” by pressing the Feed key on the printer. When the “Power” lamp turns green, the printer is ready.
To avoid memory overflow, reduce the amount of data sent to the printer by limiting the label size. Do not design your label with a frame that prints along the edges of the label, or too far to the right side of the label.
Code 39 Bar Code Fonts
The UBI EasyCoder 71 Windows Driver floppy disk contains two Code 39 bar code fonts with different resulotion in TrueType format and one Code 39 bar code font in normal format. The TrueType fonts can be used in portrait as well as landscape mode, whereas the normal font only can be used in portrait mode.
If found useful, install these fonts in your PC using the standard routines for font installation in Windows.
Application Notes
Page 19
19
MEMORY CARTRIDGE
The EasyCoder 71 is fitted with an easily exchangeable memory cartridge that contains the printer's entire PROM and RAM memory and the optional real-time clock circuit (RTC). As standard, the memory cartridge contains 1
× 128 kbyte PROM and 256 kbyte
RAM (2
× 128 kbyte). The RAM memory can optionally be
expanded up to 512 kbyte (4
× 128 kbyte).
The RAM memory and the RTC are battery backed-up by means of a coin-type lithium battery (Panasonic CR2032 3V) fitted inside the cartridge. The battery should be replaced at least once a year. Proceed as follows:
1.
Turn off the printer.
2.
Pull the cartridge straight up.
3.
Remove the Phillips screw on the side of the cartridge.
4.
Separate the two sides of the cartridge by sliding one of them slightly sideways and then pulling them apart.
5.
Quickly replace the battery. The RAM packages will keep their content for 5 minutes without any current from the battery.
6.
Reassemble in reverse order and turn on the printer.
UBI EasyCoder 71 – Maintenance & Troubleshooting
1. Pull cartridge up 2. Remove screw
Easy Coder 71
Power
Feed
128 
kbyte
RAM
128  kbyte RAM
128 
kbyte
PROM
+
Battery
3. Slide sideways 4. Open cartridge and replace battery
Socket for RTC (optional)
Page 20
20
CLEANING
UBI EasyCoder 71 – Maintenance &
Troubleshooting
The UBI EasyCoder 71 printers are manufactured and tested under a strict quality management program. Only high quality compo­nents and materials are used in the printers. Although only minimal maintenance is required, following these simple maintenance procedures will ensure longer life with quality printing perform­ance.
Keep your EasyCoder 71 clean by periodically wiping it with a soft cloth dampened with water. Do not use abrasive cleaners or solvents as they will scratch the surface.
We recommend using the special Cleaning Card and the proce­dures below to clean the printhead once a month for low usage, and weekly for high usage printers.
1.
Remove the label or tag web from the paper feed slot.
2.
Open the pouch along the dotted line and remove cleaning card. Be careful not to tear the card inside!
3.
Place the cleaning card into the paper feed slot at the bottom of the paper roll cavity.
4.
Press and release the Feed button. The cleaning card will come through the printer.
5.
Repeat steps 1 and 2 twice.
6.
Discard the used cleaning card and reload the paper stock.
External Cleaning
Cleaning the Printhead
UBI EasyCoder 71 – Maintenance & Troubleshooting
Page 21
21
TROUBLESHOOTING
SolutionProblem
Power indicator does not light up when power switch is turned on.
Power indicator lights green but printer will not feed.
Printer appears to be working but nothing is printed on label.
Printing is faded.
Prints only partial label.
Difficult to load label.
Label visibly caught on printhead.
Keeps printing and feeding labels when it should not be printing.
Printing stops and Power indica­tor lights orange.
Check power connector. Make sure connectors on power supply are securely plugged into socket on rear panel, and to AC outlet.
Check interface cable. Make sure interface cable is securely plugged into both printer and computer.
Check that labels or tags are loaded with the thermal-sensitive side up.
Clean the printhead with the cleaning card, as described on page 20. If printing is still faded, increase the print energy with appropriate setup as described on pages 16 and 58.
Label caught on printhead. Refer to page 22 for instructions on how to remove the caught label.
Label caught on printhead or in the print mechanism. Refer to page 22 for instructions on how to remove the caught label.
Refer to page 22 for instructions on how to remove the caught label.
Label caught on label stop sensor on the lower paper guide in the mechanism. Refer to page 22 for instructions on how to remove the caught label.
a. Possible software problem. Debug software in dump mode, see
page 37.
b. Possible problem with label gap. Verify gap between bottom of
label and top of next label is at least 2 mm (.08").
c. Possible label jam. Refer to page 22 for instructions on how to
remove the caught label.
UBI EasyCoder 71 – Maintenance & Troubleshooting
Page 22
22
REMOVING CAUGHT LABEL
The EasyCoder 71 is designed to prevent label jams, i.e. labels caught inside the printer. The usual cause for label jams is exposing the adhesive edges when loading labels. The easiest way to prevent label jams is to make sure that when loading labels, the labels lie flat on the backing paper.
The procedures in this chapter are intended to help you find and remove labels caught inside the printer. There are four subsections:
• Remove the Access Cover and Self-strip device
• Remove the Enclosure Top
• Remove Caught Label from Printhead
• Remove Caught Label from Mechanism The most likely place for a label to get caught is on the printhead
or inside the mechanism (including the lower paper guide) where the labels enter the mechanism through the paper feed slot. You can remove a caught label from the printhead after just having removed the access cover, but it is often more convenient to remove the enclosure top anyway. To gain access to the inside of the mecha­nism, the enclosure top must be removed.
Introduction
UBI EasyCoder 71 – Maintenance & Troubleshooting
Page 23
23
REMOVING CAUGHT LABEL, cont'd.
1.
Turn off the power by means of the mains switch at the printer's rear plate. Check that the Power indicator goes out.
2.
Disconnect the power and communication cables.
3.
Open the hinged cover and remove the paper roll.
4.
Remove the access cover as follows: a. While facing the front of the printer, place hands on both sides
of printer with fingers on the side, and thumbs on front access cover about 2.5 mm (1 inch) from the top of the cover.
b. Press down with thumbs and pull cover towards you. The
cover will detach from printer. Do not use excessive force. Should the access cover refuse to come off, loosen the forward two screws that holds the enclosure top (see next page).
(c)If the printer is fitted with an optional label-taken sensor,
disconnect the cable from the connector on the Feed button/ Power indicator assembly underneath the left side of the
opening in the enclosure top. d. Remove the access cover. (e) If the printer is fitted with an optional self-strip device,
remove the stripper guide by pulling it straight up. Also
remove the dispenser edge by pushing it sideways until one
end comes out of its slot.
5.
After having removed the caught label, reassemble in reverse order.
Remove the Access Cover and optional Self-strip Device
Dispenser edge
(optional)
Stripper guide
(optional)
Access cover
Label-taken sensor
(optional)
UBI EasyCoder 71 – Maintenance & Troubleshooting
Page 24
24
REMOVING CAUGHT LABEL, cont'd.
Remove the Enclosure Top
1.
Turn off the power by means of the mains switch at the printer's rear plate. Check that the Power indicator goes out.
2.
Disconnect the power and communication cables.
3.
Open the hinged cover and remove the paper roll.
4.
Remove the enclosure top as follows: a. Place the printer on its side. b. Remove the four rubber feet by pulling them off. c. Using a Phillips screwdriver, remove the four screws. d. Remove the enclosure top. e. Disconnect the cables to the Memory Cartridge adapter and
to the Feed button/Power indicator assembly from the CPU
board.
5.
After having removed the caught label, reassemble in reverse order.
Rubber foot
Phillips screw
UBI EasyCoder 71 – Maintenance & Troubleshooting
Page 25
25
REMOVING CAUGHT LABEL, cont'd.
Remove Caught Label from Printhead
CAUTION
Static can damage the printhead. Before working on the printhead, be
sure to ground yourself first by touching a metal door jamb, or any
grounded equipment. Avoid rubbing your feet on the carpet.
1.
After having removed the access cover, disassemble the print­head unit as follows:
a. Using a Phillips screwdriver, remove the two screws from
printhead retainer bracket. b. Remove printhead retainer bracket and spring. c. Raise front end of printhead unit and remove printhead
release rod.
Note: If you have not removed the enclosure top, be careful
not to drop printhead release knob inside the printer.
d. Remove the printhead unit without unplugging it.
Note: The paper guide fits on the back of the mechanism and
is held in place by the printhead unit. It might come off if you
move the printer after removing the printhead unit. To install
it, simply slide the paper guide into the slot at the back of the
mechanism.
Continued!
Phillips screws
Retainer bracket
Spring
Printhead unit
Release rod
UBI EasyCoder 71 – Maintenance & Troubleshooting
Page 26
26
REMOVING CAUGHT LABEL, cont'd.
Remove Caught Label from Printhead, cont'd.
2.
Turn over the printhead unit and check for caught label, espe­cially on print area, i.e., the front bottom edge of the printhead.
If label is caught on printhead, clean the printhead per step 3. If not, label is probably stuck somewhere in the mechanism. First, clean printhead, then follow instructions in the subsection “Remove Caught Label from Mechanism”.
3.
Using a clean cloth soaked with isopropyl alcohol, rub off caught label. After removing caught label, use another clean cloth soaked with isopropyl alcohol and clean the surface.
4.
Install the printhead as follows: a. Tilt the printhead to fit the two slots at the rear of the mounting
bracket onto stubs in the mechanism, then lower the front end
of the print head onto the platen. b. Place the release rod inside the top enclosure and fit the D-
shaped end into the corresponding slot in the release knob. c. Fit the release rod underneath the hooks on the printhead
mounting bracket. Fit the rod into the slots in the sides of the
mechanism. d. Place the leaf spring with its fingers underneath the release
rod and with the pins of the mechanism in the alignment holes
in the spring. The tips of the spring's fingers should point
upwards. e. Place printhead retainer bracket on spring and secure it with
the two Phillips screws. f. Put back the access cover as described in the subsection
“Remove the Access Cover and optional Self-strip Device”.
Print area
(delicate)
Printhead unit
(upside down)
Do not disconnect!
CAUTION
Do not unplug the connectors, since
they provide ground for the
printhead.
Do not use metal objects
to remove a stuck label
as they may damage the printhead.
UBI EasyCoder 71 – Maintenance & Troubleshooting
Bracket slot
Page 27
27
1.
Open up the interior of the printer as described in the subsection “Remove the Enclosure Top”. Then remove the mechanism as follows:
a. Remove the three Phillips screws attaching the mechanism to
the base. b. Disconnect the three cables between mechanism and CPU
board and optionally the two cables to the printhead unit.
c. Tilt the mechanism forward and remove the two cables from
the slot in the lower paper guide. d. The lower paper guide is held in place by two flexible tabs.
Grasp both tabs and pull them towards each other, then lift the
guide out of the mechanism.
REMOVING CAUGHT LABEL, cont'd.
Remove Caught Label from Mechanism
Phillips screws (2)
Cables
Lower paper guide
Mechanism
Slot
Continued!
Tab
Tab
Phillips screw (1)
Ground
cable
CPU board
Mechanism
UBI EasyCoder 71 – Maintenance & Troubleshooting
Page 28
28
REMOVING CAUGHT LABEL, cont'd.
Remove Caught Label from Mechanism, cont'd.
2.
Check lower paper guide and inside of mechanism for caught label. Label stuck on label stop sensor will cause printer to keep feeding labels when it should not be printing.
If label is not caught on any part of mechanism, bypass step 3. If a label is caught, remove it according to step 3.
3.
Using a clean cloth soaked with isopropyl alcohol, rub off caught label. After removing the label, use another cloth soaked with isopropyl alcohol and clean the surface.
Note: If the guide strip (made of clear plastic) is damaged, order replacement from your UBI distributor. Remove damaged guide strip, clean surface with isopropyl alcohol, and attach replacement guide strip.
4.
Install mechanism as follows: a. Place lower paper guide in mechanism with bottom of guide
on top of two stubs at bottom of mechanism. Make sure
bottom of guide is even with bottom of mechanism. b. Push lower paper guide into mechanism until tabs snap into
place. c. Install the cable from the motor and the label-stop sensor into
the cable slot. d. Connect cables to CPU board according to “Cable Connec-
tion” to the left. e. Place mechanism on base of printer and attach it by means of
the three screws. f. Install the top enclosure as described in the subsection
“Remove the Enclosure Top”.
Label-taken sensor
(lower unit)
Stub
Cable slot
Cable connection:
From To CPU board
Motor JP2 Lower label stop sensor JP5 Upper label stop sensor JP6 Printhead JP3 Printhead bracket JP10
CAUTION
Do not use metal object
to remove caught label
Guide strip
Tab
UBI EasyCoder 71 – Maintenance & Troubleshooting
Tab
Page 29
29
PRINTHEAD REPLACEMENT
Remove Printhead
CAUTION Static can damage the printhead. Before working on the printhead, be sure to ground yourself first by touching a metal door jamb, or any grounded equipment. Avoid rubbing your feet on the carpet.
1.
After having removed the access cover as described in the chapter “Removing Caught Label”, disassemble the printhead unit as follows:
a. Using a Phillips screwdriver, remove the two screws from
printhead retainer bracket. b. Remove printhead retainer bracket and spring. c. Raise front end of printhead unit and remove printhead
release rod.
Note: If you have not removed the top enclosure, be careful
not to drop printhead release knob inside the printer.
d. Remove the printhead unit without disconnecting the ground
cable.
Note: The paper guide fits on the back of the mechanism and
is held in place by the printhead unit. It might come off if you
move the printer after removing the printhead unit. To install
it, simply slide the paper guide into the slot at the back of the
mechanism.
2.
Disconnect the printhead cable.
3.
Using a Phillips screwdriver, remove the screw that holds the printhead unit together (see next page).
Phillips screws
Retainer bracket
Spring
Printhead unit
Release rod
Screw
Printhead
cable
Ground
cable
UBI EasyCoder 71 – Maintenance & Troubleshooting
Page 30
30
PRINTHEAD REPLACEMENT, cont'd.
Install Printhead
4.
Install the replacement printhead as follows: a. Fit the new printhead into the bracket using a Phillips screw.
Make sure the two stubs on the bracket fit into the corre-
sponding holes in the printhead. b. Connect the printhead cable. c. Tilt the printhead assembly as to fit the two slots at the rear
of the mounting bracket onto the corresponding stubs in the
mechanism, then lower the front end of the print head onto the
platen. d. Place the release rod inside the top enclosure and fit the D-
shaped end into the corresponding slot in the release knob. e. Fit the release rod underneath the hooks on the printhead
mounting bracket. Fit the rod into the slots in the sides of the
mechanism. f. Place the leaf spring with its fingers underneath the release
rod and with the pins of the mechanism in the alignment holes
in the spring. The tips of the spring's fingers should point
upwards. g. Place printhead retainer bracket on spring and secure it with
the two Phillips screws. h. Put back the access cover.
Connector
Printhead
Bracket
Screw
UBI EasyCoder 71 – Maintenance & Troubleshooting
Bracket slot
Page 31
31
THERMAL PAPER
UBI has specified two quality grades of direct thermal paper:
Smudge Proof Quality, which sets high demands on printout
quality and resistance against moisture, high temperature, UV­light, plasticisers and vegetable oil.
Standard Quality, which has slightly lower specifications on
printout quality and no specified demands on resistance against plasticisers and vegetable oil, but is in all other respects equal to the Smudge Proof Quality.
When using pre-printed thermal paper, we strongly advice against using background pre-print on such areas that are intended for thermal printing.
Make sure that the pre-print ink does not contain any titanium dioxide (a white agent), which has a strong grinding effect that may wear out the printhead prematurely. The same applies to some types of fluorescent ink. If possible, avoid ink containing sodium, chlo­rine and potassium, since these agents may adversely affect the printhead through chemical corrosion.
If pre-printing cannot be avoided on areas intended for thermal printing, the ink or varnish must be resistant to heat up to 225˚C (+437˚F) for at least 1 second at 2.0 kgs/cm
2
. Otherwise, the ink will
melt and clog printhead. UBI recommends the following brands of thermal paper for use
with the EasyCoder 71 printer:
General Information
Pre-printed Paper
UBI EasyCoder 71 – Specifications
Recommended Paper Brands
Supplier Type Quality Notes
Appleton T0972 Smudge proof
T0972IR Smudge proof IR-readable Blümberg T1968 SN Standard Jujo AP62KM-A Standard
TP62KM-A Standard
TP62KM-A6 Standard
TP63KS Standard Semi topcoated Kanzaki KPT-86S Smudge proof
KPT-86RS Smudge proof IR-readable Kanzan KL-46B Smudge proof Ricoh 130 LAB/LAM Smudge proof Ricoh 130 is designated LAM in the U.S.A. and LAB elsewhere.
130IA Smudge proof IR-readable
130LEB-E Standard Tomoegawa LPB-70BT Smudge proof UBI DT 110 Standard
DT 120 Standard Semi topcoated
DT 220 Smudge Proof Tag 150 gr/m
2
Page 32
32
PAPER DIMENSIONS
Paper Roll
TAGS
38.1 mm (1.5")
Max. 90 mm (3.54")
Max. 108 mm
(4.25")
Max. 108 mm
(4.25")
38.1 mm (1.5")
Max. 90 mm (3.54")
LABELS
Core:
Diameter ...................... : 38.1 mm (1.5")
Width .......................... : Must not protrude outside the web.
Roll:
Max. diameter.............. : 90 m m ( 3.54")
Max. web width ........... : 108 mm ( 4.25")
Min. web width............ : 25 m m ( 1.0")
Max. web thickness
1
.........
: 175 µm (0.007")
1
/. This is the recommended maximum thickness. Thicker web may be used at the possible expense of an impaired printout quality. However, the stiffness is also important. A stiff web limits the maximum thickness and vice versa.
Labels should be wound with the labels facing outwards and unroll from the top of the roll.
Tags should be wound with the thermal-sensitive layer facing inwards and unroll from the bottom of the roll.
Important! Protect the paper stock against sand, grit, and other hard particles during printing and storage. Keep the transparent cover closed. Even very small but hard foreign particles may cause severe harm to the delicate printhead.
UBI EasyCoder 71 – Specifications
Page 33
33
PAPER DIMENSIONS, cont'd.
a Web width (incl. backing paper):
Maximum .................................................. : 108.0 mm (4.25")
Minimum .................................................. : 25.0 mm (1.00")
b Label width (excl. backing paper):
Maximum .................................................. : 104.0 mm (4.09")
Minimum .................................................. : 21.0 mm (0.83")
c Label length:
Maximum label length ............................... : 165.1 mm (6.5")
Minimum label length ............................... : 12.5 mm (.5")
d Label gap height:
Maximum .................................................. : 10 mm (.39")
Recommended........................................... : 3 mm (.125")
Minimum .................................................. : 2 mm (.08")
Self-adhesive Labels
UBI EasyCoder 71 – Specifications
a
b
c
d
SELF-ADHESIVE
LABELS
Page 34
34
Tags
PAPER DIMENSIONS, cont'd.
a Web width (incl. backing paper):
Maximum .................................................. : 108.0 mm (4.25")
Minimum .................................................. : 25.0 mm (1.00")
b Tag length:
Maximum length ....................................... : 165.1 mm (6.5")
Minimum length ........................................ : 12.5 mm ( .5")
c Detection slot length:
Minimum .................................................. : 12 mm (.47")
d Detection slot height:
Maximum .................................................. : 10 mm (.39")
Recommended........................................... : 3 mm (.125")
Minimum .................................................. : 2 mm (.08")
The detection slot should be centred on the web.
UBI EasyCoder 71 – Specifications
a
c
TICKETS & TAGS
d
b
Page 35
35
TECHNICAL DATA
- UBI reserves the right to change the specifications without prior notice. -
UBI EasyCoder 71 – Specifications
Fonts
5 resident fonts. Fonts can be magnified up to 8 times horizontally and 9 times vertically.
Bar Codes
Code 128 UCC case code Code 128 support A, B, and C Interleaved 2 of 5 Interleaved 2 of 5 with check digit Code 39 (std & extended) Code 39 with check digit Code 93 EAN13 EAN13 2 digit add-on EAN13 5 digit add-on EAN8 EAN8 2 digit add-on EAN8 5 digit add-on Codabar Postnet UPC-A UPC-A 2 digit add-on UPC-A 5 digit add-on UPC-E UPC-E 2 digit add-on UPC-E 5 digit add-on UPC Interleaved 2 of 5
Formatting
Print formats can be preprogrammed in EPROM.
Memory
128 kbyte PROM 256 kbyte – 512 kbyte RAM (w. battery backup)
Keyboard
One “Feed” button.
Display
1 LED indicator.
Options
Self-strip device/Label-taken sensor Real-time clock circuit Battery pack Keyboard/display unit
General
Direct thermal printing on self-adhesive labels and tags. Optional self-strip device.
Dimensions
Length: 230 mm (9.1") Height: 145 mm (5.7") Width: 196 mm (7.8") Net Weight: 3 kg (6.6 lbs.) excl. options
Mains
Separate transformer unit; 120 VAC/60 Hz or 220 VAC/50 Hz. Power consumption: 61.5 W
Interfaces
1 × RS 232C serial plus 1 × Centronics parallel.
Serial Communication
Variable.
Protocol
XON/XOFF and DSR/CTS
Ambient temperature
Operation: +5˚ C to +40˚ C Storage: -20˚ C to +60˚ C (Thermal paper may impose further restrictions).
Humidity
Operation: 30–85% RH, non-condensing Storage: 5–90% RH (Thermal paper may impose further restrictions).
Printable area
Width: Max. 104.0 mm (4.09") Length: Max. 160 mm (6.3")
Printing Speed
Up to 50 mm/sec. ( 2"/sec.)
Printhead Density
8 dots per mm (203 dots per inch). Corresponding dot size 0.125 mm (4.9 mils).
Print Directions
Text, bar codes, and graphics can be printed in four directions.
Specifications on Direct Thermal Paper
See pages 32–34.
Page 36
36
UBI EasyCoder 71 – Programming
INTRODUCTION
General Information The EasyCoder 71 is provided with a built-in control program by
which you can use any computer or terminal, that can produce ASCII characters, to control the printer. This is a useful alternative to the Windows Driver, which requires a PC operating under Microsoft Windows.
With this control program, you can use any editor to program the EasyCoder 71, either by means of the serial RS 232C channel or the parallel Centronics channel.
The remaining part of the manual will assist you in designing labels using the EasyCoder 71 programming software. It has been organ­ized to provide you with an understanding of the printer’s functions and command structure. It is recommended that you read it in the order presented.
If you have any questions regarding the product or this manual, please contact your distributor for technical assistance.
Dump Mode
The printer has the capability to perform in dump mode, which means that the printer will print out the echo of the received ASCII. Use this capability to debug your software when the printer does not perform as you expect.
To enter Dump Mode:
• Turn OFF the power to the printer.
• Hold down the Feed key and turn On the power again.
• Hold the Feed key until the printer starts to feed. Then immedi-
ately release the Feed key (else, you will Enter the Test Mode, see page 11).
• When an error occurs and the control lamp shines orange, you can
also enter the Dump Mode by pressing the Feed key and keep it depressed a few seconds (as opposed to tapping the key, which just resets the printer).
• The output is the same label as produced in the Test Mode or by
means of a U command, but an extra line will be appended saying “now in DUMP MODE”. Then the printer waits for ASCII dump printing.
• Send a string of characters or a label form to the printer and tap the
Feed key to produce a printout. Dump mode will also print control characters.
• To return to normal mode, press the Feed key. A label with the
message “out of DUMP MODE” will be printed.
Continued!
Note: If problems occur when using the Dump Mode from Windows Terminal, it may help setting “Flowcontrol” to “None”.
Page 37
37
Memory
The EasyCoder 71 firmware has memory allocation for print image buffer, form, graphic, and external font
1
memory. The first time the printer is used, it is automatically initialized to default settings. However, the printer may print an Error message and not accept any data if the memory areas are to small for your requirement.
Below Memory command line is equal to the default setting and will set image buffer for a maximum-sized label, Form memory to 25Kb and graphic memory area to 25Kb. The remaining memory space is allocated to the external font memory. External fonts require special software and are not used in UBI EasyCoder 71. Memory space allocated to external fonts can therefore be used for the other parts of the memory.
Direct Mode
You can print a label without using a predefined format by sending write commands (text, bar codes, lines boxes and images) to the printer after having cleared the image buffer using an N command (see page 47). The label remains stored in the Image buffer and can be printed over and over again by sending new P print commands (see page 49), until the buffer is cleared by an N command or by retrieving and printing a Form (see FR on page 48).
The Direct Mode is also used for retrieving and printing prepro­grammed label formats and for the issuing of Global Setup com­mands.
Form Edit Mode
This mode is used to permanently store label forms, and graphics in the printer memory. These individual label forms can then be retrieved and printed in the Direct Mode.
The optional Keyboard Display Unit (KDU) can retrieve a stored form and enables the printer to be used as a stand alone system, i.e., without connection to a computer.
Form
Every label is made up of various fields. A form is the complete set of commands that define the content and the design of the label.
Text Editor
Use any ASCII output device with a parallel or serial port and a text editor to design the form and programming the EasyCoder 71 printer. Communication is based on ASCII 10 dec; 20-21 dec; 32­255 dec.) characters.
UBI EasyCoder 71 – Programming
INTRODUCTION, cont'd.
General Programming Information
Continued!
Page 38
38
UBI EasyCoder 71 – Programming
General Programming Information, cont'd.
Commands
The command syntax is based on upper case characters, numeric, comma as a separator, quotation marks and line feed (LF; ASCII 10 dec.). The LF in this manual is listed as in the command descriptions.
Note that all programming examples start with LF (depicted as ) and that it is advisable to send the Line Feed character to start any sequence of command lines.
LINE FEED (LF) IS REQUIRED TO BE SENT
AT THE END OF EACH COMMAND LINE.
Most PC based systems send CR/LF when pressing the Enter key. The CR (carriage return) sent in a CR/LF sequence will be ignored. CR alone will not work.
Commands can be used for one or several of the following purposes:
Global Setup Commands:
Global Setup commands the general behaviour and characteris­tics of the printer, e.g. communication, memory allocation and selection of character set. Global Setup commands can only be issued in the Direct Mode.
• Direct Mode Commands:
These commands are used to control the printing in the Direct Mode, i.e. when printing labels without the use of prepro­grammed label forms, as well as to retrieve and print label forms.
Form Edit Mode Commands:
The commands are stored within a specific label form and will only affect that form, overriding the corresponding Global Setup and direct mode commands. Some commands issued in the Form Edit Mode will change the Global Setup setting after the form has been printed.
In the description of each command, information will be for which purposes it can be used.
"Name"
Enter the name of the form within double quotation marks (ASCII 34 dec.), i.e. "UBI".
"Data"
The data could be from another source such as a PCX file, a database, or entered by the operator. Data designates the place in the command sequence to input the data.
INTRODUCTION, cont'd.
Continued!
Page 39
39
UBI EasyCoder 71 – Programming
INTRODUCTION, cont'd.
General Programming Information, cont'd.
Because the software program uses " " (ASCII 34 dec.), you need a special designator if you need to print text or bar code which includes quotation marks
1
. The backslash character "\" (ASCII 94
dec.) serves that purpose:
To print: " enter: "\"" To print: "UBI" enter: " \"UBI\" " To print: \ enter: "\\" To print: \code\ enter: " \\code\\ "
1
/. If a 7 bit character set is selected, this syntax will not be supported. All
back-slash (\ )characters will be printed as entered.
Field
Each small block in the figure below represents a field on the form. The form defines the location of the fields on the label and parameters for each field, as well as the content of the field. Fields can contain fixed data, variable data, or a combination of both. Fixed data are embedded in the form. Variable data are provided from the host at print time.
Field Positioning
Dots are used as the unit for establishing position on the form in relation to a specified reference point, in this example the top left corner of the form. There are eight dots per millimetre, or 203 dots per inch. E.g., a field that starts 5 mm (0.197 in.) in from the left margin and 3 mm (0.118 in.) down should be expressed as 40 dots on the x axis and 24 dots on the y axis.
On the x axis (horizontal) only, the printer rounds off the dimen­sions in dots to the nearest millimetre. For example, the printer rounds off 63 dots to 8 millimetres, and 74 dots to 9 millimetres.
X Axis
Y Axis
Paper Feed Direction
Variable  Text V00
Data
Fixed Text
Variable  Bar Code V01
Counter C0
Counter C1
Variable V02
Page 40
40
GLOBAL SETUP: Set Serial Interface? Yaa,b,c,d
41
Define Memory? Ma,b,c
42
Define Character set? I a,b,c
44
DESIGN FORM:
1. Start Command structure Start form with LF
38
2. Delete Previous Form? Delete form using FK"Name"
47
3. Store Form Store form using FS"Name"
48
4. Define Variables & Counters Variables? Vaa,b,c,"Prompt"
50
Counters? Ca,b,c,d,"Prompt"
51
5. Define Printer Parameters Label length + Gap Qa,b
55
Print Direction Zn
56
Reference Point Ra,b
57
Print Speed Sn
58
Darkness Dn
58
6. Write and Place Fields Draw Box? X0,0,4,752,584
65
Draw Line? LO0,144,752,4
65
Write Fixed Text? Aa,b,c,d,e,f,g,"Data"
59
Write Bar Code? Ba,b,c,d,e,f,g,"Data"
62
Write Graphics? GGa,b,"Name"
66
Write Variable Text? Aa,b,c,d,e,f,g,Vnn
59
Write Variable Bar Code? Ba,b,c,d,e,f,g,Vnn
62
Write Counter? A a,b,c,d,e,f,g,Cn
59
Ba,b,c,d,e,f,g,Cn
62
7. Store Form End form with FE
48
DOWNLOAD GRAPHICS:
1. Delete Graphic? Delete Graphic using GK"Name"
47
2. Store New Graphics Prepare to Down load - PCX file GM"Name"a
66
3. Send PCX file to Printer At the DOS prompt, type: Copy Name.pcx prn /b (press Enter) 66 RETRIEVE FORM: Retrieve Form FR"Name"
48, 75
Send Variables? ?
49, 75
Variable .........
49, 75
Set Counter? Counter start value
49, 75
Print Labels Pa,b
49, 75
UBI EasyCoder 71 – Programming
The following check list will guide you through the programming and the printing of your form. It is advisable that you draw a draft of your label before you start. It is important that you use the check list in the specified order when designing your form.
Program Check List
INTRODUCTION, cont'd.
Page 41
41
Used for: Global Setup Syntax: Yaa,b,c,d where...
aa = 19 Baudrate 19,200
96 Baudrate 9,600 24 Baudrate 2,400 12 Baudrate 1,200
b = O Odd parity
E For odd parity N No parity
c = 7 7 data bits
8 8 data bits
d = 1 1 stop bit
2 2 stop bits
The printer communicates either via a Centronics parallel port or an RS 232C serial port. The EasyCoder 71 serial port settings can be controlled by this software command.
Example: Y19,O,7,1 = 19,200 baud, Odd parity, 7 bit data, 1 stop bit
UBI EasyCoder 71 – Programming
COMMUNICATION COMMAND
Y Serial Port Setting
Page 42
42
Used for: Global Setup Syntax: Ma,b,c where...
a = Image buffer area in Kbytes. b = Form memory area in Kbytes c = Graphic memory area in Kbytes
The command to allocate the memory may have to be performed to initialize the printer if the current memory areas are to small.
IMPORTANT: This command will also erase all previously stored data and return printer default settings.
This command line will set image buffer, form and graphic memory area. The printer is, in its standard configuration, fitted with 2 × 128Kb RAM.
Example:
M196,25,25↵ Default setting.
When is it necessary to reconfigure memory in the printer?
• If you have replaced the EPROM or added optional RAM
packages.
• If your label size is larger then the current Image area.
• If you have a large number of forms to be stored and they do not
fit in the current Form memory.
• If you have a large number of graphics or a large graphic that does
not fit in the Graphics memory.
To check the current settings, perform a status print out by entering dump mode, see page 37.
Image Buffer
The image buffer is the area where the active print image is temporarily stored. Calculate the memory size needed for your image area by measuring the tallest form intended to be printed (take future needs into consideration).
Rule of thumb for full width labels:
Label height in inches ×
22Kb (Min. 44Kb)
Label height in mm × 1Kb (Min. 44Kb) (Exact value: Label height in mm × 832 bytes)
Round off to the next highest even number.
UBI EasyCoder 71 – Programming
MEMORY MANAGEMENT COMMAND
M Memory Allocation
Continued!
Page 43
43
UBI EasyCoder 71 – Programming
MEMORY MANAGEMENT COMMAND, cont'd.
M Memory Allocation, cont'd.
Form Memory
The Form memory is for permanent storage of label form. To calculate memory requirements, estimate 1K of memory per form. (A regular simple label form will use less than 1K and an extensive form might use over 1K). If you are using an editor, you can estimate by checking your file size and add 0.1K. Round off to the next highest even number.
Graphics Memory
If your form has graphics, you need to estimate graphics memory requirements. (The same graphics can be used on one form or in multiple forms and still just take up one space in memory). Use the file size of the PCX file or files in DOS. The graphics memory requirement is the same as this file size. Round off to the next highest even number.
Factory Setting
The EasyCoder 71 printers are factory delivered with 252K of available memory. Expansion of the basic memory runs in multi­ples of 128K, up to maximum 508K.
The memory is initialized, or the Memory Cartridge Battery is activated, by pulling the “battery protection strip”. The printer is now set to the following default values.
Memory M196,25,25 Speed S1 (1,5") Print direction ZT Darkness D5 Reference point R4,0 Label length Q 1024,24 Character set I8,0,001 Serial port Y96,N,8,1
Note: The settings above format memory for a 5" long label.
Page 44
44
Used for: Global Setup Syntax: Ia,b,c where...
a = 8 for 8 bits)
7 (for 7 bits)
b = Code Page, see table below c = Country Code, see table below
CODE PAGE
“b” value if “a” is 8 “b” value if “a” is 7
b Code Page Language b Language
0 437 English 0 US English 1 850 Multilingual (Latin 1) 1 British English 2 852 Slavic 2 German 3 860 Portuguese 3 French 4 863 Canadian-French 4 Danish 5 865 Nordic 5 Italian
6 Spanish 7 Swedish 8 Swiss
COUNTRY CODE
032 Belgium 055 Brazil 002 Can-French 042 Czech 042 Slovak 045 Denmark 358 Finland 033 France 036 Hungary 061 Intl. Eng. 039 Italy 003 Latin Am. 031 Holland 047 Norway 048 Poland 351 Portugal 034 Spain 046 Sweden 041 Switzerland 001 USA 044 UK 038 Yugoslavia 049 Germany
Example: I8,5,047= 8bit,Nordic,Norway
Note: The default setting is I8,0,001. For further information on supported characters, see Appendix 3: Fonts, Code Pages and Character Sets.
UBI EasyCoder 71 – Programming
I Character Set Selection
CHARACTER SET SELECTION COMMAND
Page 45
45
Used for: Global Setup Syntax: Wa where...
a = Y Will switch to Windows mode if transmitted
N Will NOT switch to Windows mode if Escape
is transmitted
The Windows Driver sends an Escape character followed by the graphics information. The Wa command will set the printer to ignore or accept any Escape sequence sent from the Host.
Note: Defaults to accept Escape sequences and it will only be required to use this command to ignore the Escape sequence if the printer does not perform properly in a main frame application.
UBI EasyCoder 71 – Programming
WINDOWS MODE COMMAND
W Windows Mode On/Off
Page 46
46
UBI EasyCoder 71 – Programming
STATUS & CONFIGURATION COMMANDS
U Print Current Configuration
Used for: Direct Mode Syntax: U
Prints a list with information identical to the first label produced in the Test Mode (see page 11).
Example: U
Used for: Direct Mode Syntax: UP
Print the same list as U plus returns a string to the host on the serial channel with the Codepage & Memory status (see UM).
Example: UP
Used for: Direct Mode Syntax: UM
Returns a string to the host on the serial communication channel with the Codepage & Memory status.
Example: UM
Used for: Direct Mode Syntax: UI
Returns a string to the host on the serial communication channel with the Codepage status, and also presets the printer to return variable and counter prompts back to the computer on the serial interface (new UI instruction must be issued after each power up!).
Example: UI
Note: The optional Keyboard Display Unit sends this command automatically, as it requires these prompts for its display functions. If the device used is not programmed to handle prompts, make sure not to send any UI command during normal use.
Used for: Direct Mode Syntax: FI
Prints a list of all stored forms and the number of bytes remaining in the Form memory.
Example: FI
Used for: Direct Mode Syntax: GI
Prints a list of stored graphics files and remaining graphics memory. Example: GI
UP Print Codepage & Memory Status
UM Codepage & Memory Status
UI Codepage Status & Enable Prompts
GI Print Graphics Information
FI Print Form Information
Page 47
47
UBI EasyCoder 71 – Programming
CLEAR & DELETE COMMANDS
N Clear Image Buffer
Used for: Direct Mode Syntax: N
The image buffer is a bit image buffer used for the active label form. The N command will clear this buffer. When using the “Print Directly” method, it is strongly recommended to clear the image buffer between each new label.
Example: N
Used for: Direct Mode Syntax: FK"Filename"
Erase label form named within the quotation marks. Example: FK"TEST"
Used for: Direct Mode Syntax: GK"Filename"
Erase graphic file named within the quotation marks. Example: GK"UBI"
Used for: Direct Mode Syntax: FK"*"
Erase all label forms. Example: FK"*"
Used for: Direct Mode Syntax: GK"*"
Delete all graphics from memory. Example: GK"*"
GK "*" Delete All Graphics
FK "*" Delete All Forms
GK"Filename" Delete Graphic
FK "Filename" Delete Form
Page 48
48
UBI EasyCoder 71 – Programming
STORE & RETRIEVE FORM COMMANDS
FS "Filename" Store Form
Used for: Form Edit Mode Syntax: FS"Filename"
The command FS"Filename" is the starting command to store a label form in the Form memory. The file name must be enclosed in double quotation marks and can contain up to 8 characters. The printer is upper and lower case sensitive. The FS command cannot overwrite an old form, Consequently it’s a good practice to precede FS with FK to insure that you are saving a new form each time.
Example: FS"TEST"
Used for: Form Edit Mode Syntax: FE
Indicates the end of a form and stores it in the Form memory. Example: FE
Note: Global Setup commands such as FI, GI, EI, FK, GK, EK, I, M, N, P, TS, U, Y, W, ?, are not allowed inside of FS...FE.
Used for: Direct Mode Syntax: FR"Filename"
The command FR"Filename" is the starting command line to clear the image buffer and retrieve a stored label form from the printer's Form memory. FR (Form Retrieve) is followed by the form name given at the time originally stored. The printer is upper and lower case sensitive, so the file name must match exactly upper and/or lower case. Use FI command to check original storing, if required.
Example: FR"TEST"
FE Closing Command to Store Form
FR "Filename" Form Retrieve
Page 49
49
Used for: Direct Mode Syntax: Pa,b where... a = Number of Labels (or sets, see b) b = Number of Copies of each label. Can be omitted in Direct
Mode and for forms without any counters.
This is the closing command line and activates the printing of the label currently residing in the image buffer.
Example 1:
Command Explanation FR"Filename" Form Retrieve
... If required add write commands here ? Variables will follow
.... Send variables
Pa Print labels. a = number of labels
Example 2:
Command Explanation FR"Filename" Form Retrieve
.... If required add write commands here
? Variables and counters will follow
.... Send variables
Pa, b Print labels. a = sets, b = copies
The question mark line indicates the start of variable and consecu­tive numbers.
The number of lines following the question mark line must match exactly the total number and order of variables and consecutive numbers for that specific form.
Example 3:
If the form does not contain any counters or variables, or when issuing a print command in the Direct Mode, the printer will accept the syntax:
Command Explanation FR"Filename" Form Retrieve
Pa Print labels. a = number of labels
UBI EasyCoder 71 – Programming
PRINT COMMAND
P Print Label
Page 50
50
Used for: Form Edit Mode Syntax: Vaa,b,c,"pmt" where...
aa = 2 digit number from 00 to 29 to identify each variable. b = Sets maximum character length. Valid numbers: 1–29. c = L for left justification
R for right justification N for no justification
"pmt" = A text field (prompt) which is transmitted on the serial
interface telling the operator to enter the appropriate input data.
Variable data is data unique to each individual label. This command defines the parameters for a variable and a “prompt” that the printer will send through the serial port upon retrieval of stored label. The prompt will only be displayed on the screen of the host if a UI command has been issued after last power-up (see page 46). The KDU sends the UI command automatically.
The syntax requires that variables are defined in order (starting with V00) on the command line following the FS"Filename" line.
If Left and Right justification is selected and the input is less then the maximum field length, the full field length is going to be retained, and the data will be left or right justified. If no justification is selected, the field will adjust to fit the actual length of the data and will not exceed the set maximum field length.
Example: V00,15,N,"Enter Product name:"
When the optional Keyboard Display Unit (KDU) is used, the form can be designed to “skip” the variable prompt, thereby protecting the variable data.
This is achieved by placing a minus sign (-) before the variable prompt.
The variable data is now protected and the prompt will appear only the first time the form is retrieved.
Example: V01,10,L,"-Enter Part Number:"
UBI EasyCoder 71 – Programming
VARIABLE DATA COMMAND
V Define Variable
Protect Variable Data (KDU only)
Page 51
51
Used for: Form Edit Mode Syntax: Ca,b,c,
±
d,"pmt" where...
a = Counter number. One digit number from 0 to 9. b = Is maximum number of digits for the counter. Valid lengths
are 1 through 29.
c = L for left justification
R for right justification N for no justification
±
d = Defining step value and counting Up or Down. Valid data
is a "+” or "-” sign followed by step value.
"pmt" = A text field (prompt) which is transmitted to on the serial
interface telling the operator to enter the appropriate input data.
This command is used for forms that require sequential numbering of labels, such as serial numbers.
The prompt will only be displayed on the screen of the host if a UI command has been issued after last power-up (see page 46). The KDU sends the UI command automatically.
The syntax requires that counters are defined in order starting with C0 on the command line following variables, if any, or otherwise directly after the FS"Filename" line.
Left and right justification means that if the input is less then the maximum field length, the full field length is going to be retained, and the data is will be left or right justified. If no justification is selected, the field will adjust to fit the actual length of the data and will not exceed the set maximum field length.
Example: C0,6,L,+1,"Enter Serial Number:"
Note: If a single counter is stepped up several times on the same form, then the step value
±
d must be set to the number of times the counter is
used in the form or equivalent to what the step values for the single counter add up to in this form.
A Cn
±
b command must also be used when designing the actual
form. See the “Place Text” and “Place Bar Code” commands later in this manual.
UBI EasyCoder 71 – Programming
CONSECUTIVE NUMBERING COMMAND
C Define Counter
Page 52
52
When the optional Keyboard Display Unit (KDU) is used, the label form can be designed to “skip” a consecutive number prompt, thereby protecting the data (i.e. a serial number), by placing a single minus sign (-) before the variable prompt. This prompt is now protected and will appear only the first time the form is retrieved.
Example: C0,10,L+1,"-Enter Serial Number:" By designing a label form with two (2) minus signs before the
prompt, the prompt will be protected and will never show. This is especially desirable for applications, where data should not be changed, e.g., serial numbers.
Example: C0,10,L+1,"- -Enter Serial Number:"
The protected consecutive number is accessed and modified from the optional Keyboard Display Unit only.
Enter the following when the KDU is displaying:
FORM - retrieve form F2 - list forms vx.x
1. If necessary, press <Exit> key to display above.
2. Press <F1> key.
3. Press 4 9 1 6.
4. Press <Form> key.
5. Key in Form name and press <Enter> to retrieve.
6. Enter or modify the consecutive number.
7. When complete, print label to store new consecutive number in
the form memory of the printer.
UBI EasyCoder 71 – Programming
CONSECUTIVE NUMBERING COMMAND, cont'd.
Protect Consecutive Number (KDU only)
Page 53
53
Used for: Global Setup Syntax: TSaa,bb,cc,dd,ee,ff where...
aa = Month, 01 through 12 bb = Day, 01 through 31 cc = Year (Last two digits of year, e.g. 94 for 1994) dd = Hour, 00 through 23 (24 hours) ee = Minutes, 00 through 59 ff = Seconds, 00 through 59
Example: TS01,01,94,14,00,00
Used for: Global Setup & Form Edit Mode (resets Global Setup) Syntax: TTa|b|c|d where...
a, b, or c can be set to h, m, or s: h = Hour format, 2 digit from 00 to 23 m = Minute format, 2 digit from 00 to 59 s = Second format, 2 digit from 00 to 59 d = Hour clock. Can be ignored or set to a + sign to define a
12 hour clock with AM/PM.
| = Separator. Can be any separator between ASCII 32 dec.
and 63 dec. or no separator.
Certain labels require time information on the label form. If the printer has the optional clock circuitry, the time can be read from this internal clock. The program allows you to use any separator between ASCII 32 dec. through 63 dec. Any order of hour, minutes and seconds can be defined. Partial entry is accepted, such as minutes and hours only, separated with a colon (if 24 hour clock TTm:h).
Example: TTh:m:s –> 14:25:00
TTh:m –> 14:25 TTh+ –> 02 PM
REAL TIME CLOCK COMMANDS (Option)
TS Set Real Time Clock
UBI EasyCoder 71 – Programming
TT Define Time Layout
Page 54
54
Used for: Global Setup & Form Edit Mode (resets Global Setup) Syntax: TDaa|bb|cc where...
aa or bb or cc can be set to y2, y4, me, mn: y2 = Year with two digits (94). y4 = Year with four digits (1994) me = Month in letters (JAN., FEB.,..) mn = Month in numeric (01,02,..). dd = Day in numeric | = Separator. Can be any separator between ASCII 32 dec.
and 63 dec. or no separator.
Certain labels require date information on the label form. If the printer has the optional clock circuitry, the date can be read from this internal clock. Any order of year, month and day can be defined. Partial entry is accepted, such as years only (TDy2). The program allows you to use separator between year, month, day and entries.
Example: TDy2/me/dd –> 94/JAN/01
TDdd-me-y4 –> 01-JAN-1994 TDdd,mn,y4 –> 01,01,1994
TD Define Date Layout
REAL TIME CLOCK COMMANDS, cont'd. (Option)
UBI EasyCoder 71 – Programming
Page 55
55
Used for: Global Setup & Form Edit Mode (resets Global Setup) Syntax: Qa,b+c where...
If gap in media, then:
a = Label length in dots
1
b = Gap length in dots +c = Optional, Offset value in dots see Example 2
If continuous paper, then:
a = Form feed in dots after finished printing data b =0 +c = Not used
The EasyCoder 71 has a gap sensor. When setting the Q value, it is important to understand that the gap sensor is located in the middle of the label path and the label path is centred.
Example 1: Standard Label
Qa,b a = 20.0 mm –> 160 dots
b = 3.0 mm –> 24 dots
Therefore the command should be: Q160,24
Example 2: Butterfly Labels
Qa,b±c a = 12.5 mm –> 100 dots
b = 3.0 mm –> 24 dots +c = 3.0 mm –> 24 dots
Therefore the command should be: Q100,24+24
UBI EasyCoder 71 – Programming
PRINT PARAMETERS COMMANDS
Q Set Form Length
a
b
c
PRINT
DIRECTION
a
b
1
/. The paper feed controlled by the Q
command is slightly less than 8 dots/mm. There is also a small margin at the rear edge of the label, see R command. There­fore, if you want to print from the upper edge of the label in direction ZB, you may need to increase the label length in the Q command.
Page 56
56
Used for: Global Setup & Form Edit Mode (resets Global Setup) Syntax: Za where...
a = T To start print from the top of the label.
B To start print from the bottom of the label.
When the printer starts from the bottom of the label, the operator will be able to read the label as it is printed. See Reference Point Setting.
The figure below shows the form orientation on the label when a ZT command is sent. This command causes the label to be printed from the top to the bottom.
Provided that there is a Q command sent to the printer, the printer can also handle a ZB command.
The figure below shows the form orientation on the label when a ZB command is sent. This command causes the label to be printed from the bottom to the top.
UBI EasyCoder 71 – Programming
PRINT PARAMETERS COMMANDS, cont'd.
Z Print Direction Select
UBI PRINTER AB
Feed Direction
UBI PRINTER AB
Feed Direction
Page 57
57
UBI EasyCoder 71 – Programming
PRINT PARAMETERS COMMANDS, cont'd.
R Reference Point Setting
Used for: Global Setup & Form Edit Mode (resets Global Setup) Syntax: Ra,b where...
a = Horizontal margin in dots b = Vertical top margin in dots
This command establishes the reference point for both the x and y axes. All horizontal and vertical measurements in other commands use the setting for R as the Reference Point.
The horizontal margin is calculated as a number of dots from the extreme left or right dot of the printhead, depending on print direction. The EasyCoder 71 has 832 addressable dots across the label path (203 dots/inch or 8 dots/mm). See example to the left!
There is a small margin at the rear edge of the label, i.e. at the top of the label in direction ZB. This margin can be overrun by increasing the label length in the Q command.
The figure below shows the Reference point when print orientation is set to ZB or ZT. By increasing a and b value in the Ra,b command, the present reference point moves in horizontally and vertically.
Note: Set the reference point correctly, so the printing will occur on the media. Repeated printing outside the media will cause excessive printhead wear.
Feed Direction
Sensor Location
a
b
Reference Point
Direction ZB
a
b
Label path orientated in the centre
Maximum Print Width
Printhead Dot Line
Margin
Reference Point
Direction ZT
Calculation example:
• The printhead has 832 dots.
• The label width is 90 mm (3.54"), i.e. 90 mm x 8 dots/mm = 720 dots.
• 832 - 720 = 112 of the printhead dots are outside the label width.
• Since the label is centred, half of the dots will be to the left and the other half to the right of the label.
• Thus, set the horizontal margin to 112/2 = 56 dots for starting the printing exactly at the edge of the label.
• Allow an extra millimetre or so for possible misalignment, i.e “a” ≈ 50.
Page 58
58
UBI EasyCoder 71 – Programming
PRINT PARAMETERS COMMANDS, cont'd.
S Speed Select
D Heat Density Select
Used for: Global Setup & Form Edit Mode (resets Global Setup) Syntax: Sa where... a = 0 Print speed 1.0 inch/sec. (25 mm/sec.)
1 Print speed 1.5 inch/sec. (37 mm/sec.) 2 Print speed 2.0 inch/sec. (50 mm/sec.)
Used for: Global Setup & Form Edit Mode (resets Global Setup) Syntax: Da where...
a = Density value 0 to 7.
0 is the lightest printing and 7 is the darkest.
Page 59
59
Used for: Direct Mode & Form Edit Mode Syntax: Aa,b,c,d,e,f,g,"DATA" where...
a = Horizontal start position (x) in dots b = Vertical start position (y) in dots
1
The start position for a field is determined by the upper left corner of the field.
c = 0 No Rotation
1 90 degrees rotation clockwise 2 180 degrees rotation clockwise 3 270 degrees rotation clockwise
d = Font selection
2
: 1 20.3 cpi, 6 points, (8 x 12 dots) 2 16.9 cpi, 7 points, (10 x 16 dots) 3 14.5 cpi, 10 points, (12 x 20 dots) 4 12.7 cpi, 12 points, (14 x 24 dots) 5 5.6 cpi, 24 points, (32 x 48 dots)
e = Horizontal multiplier 1, 2, 3, 4, 6, 8.
Magnifies the text horizontally.
f = Vertical multiplier 1, 2, 3, 4, 5, 6, 7, 8, 9.
Magnifies the text vertically.
g = N for Normal image
R for Reverse image
DATA = Fixed data entry. (Must be enclosed in quotation marks).
"DATA" can be replaced by or combined with below commands:
Variable: Vnn
nn= 2 digit number from 00 to 29. Places variable Vnn entry in this position in this field.
Consecutive Number Counter: Cn
n = One digit number from 0 to 9. Places counter Cn entry in this position in this field.
or...
Cn±b
n = One digit number from 0 to 9. Places counter Cn entry in this position in this field. b = One digit number from 0 to 9. Steps up the counter's start value with the value b. Enter + to increment or - to decrement.
UBI EasyCoder 71 – Programming
TEXT & BAR CODE COMMANDS
A Place Text
Continued!
1
/. When using reverse image, space must be provided for the black back­ground. Thus, vertical start position ≥ 2 dots must be used.
2
/. Fonts 1 - 5 are non proportional. For character availability see Appendix 3, Fonts, Code Pages and Character Sets.
Page 60
60
UBI EasyCoder 71 – Programming
TEXT & BAR CODE COMMANDS, cont'd.
A Place Text, cont'd.
Consecutive Number Counter, cont'd.:
Example: When labels with consecutive numbers are printed next to each other across the web, it is done by using a single counter in one form.
The command Cn
±b in our example will be used twice
and count up the single counter by one (1) in each position. Set the Form Step Value
±d to +3 for the counter Cn used
in our example. The Form Step value is explained in “Consecutive Num-
bering Commands” (Ca,b,c,±d,"prompt").
Time: TT
Places current time, (read from the RTC, if fitted), using time layout defined.
or...
TT+nnn
Places “sell by” time. Adds nnn number of minutes (must be three digits) to the current time (read from the RTC, if fitted), and places it on the form using time layout defined.
or...
TD
Places current date, (read from the RTC, if fitted), using date layout defined.
or...
TD+nn
Places “sell by” date. Adds nn number of days (must be three digits) to the current date (read from the RTC, if fitted), and places it on the form using date layout defined.
00001 00002 00003
Continued!
Cn Cn+1 Cn+2
Page 61
61
TEXT & BAR CODE COMMANDS, cont'd.
A Place Text, cont'd.
UBI EasyCoder 71 – Programming
Valid Text Commands Explanation Aa,b,c,d,e,f,g,h,"DATA" Write Text
Aa,b,c,d,e,f,g,h,Vnn Write Variable Aa,b,c,d,e,f,g,h,Cn Write Counter Aa,b,c,d,e,f,g,h,TT Write Current Time Aa,b,c,d,e,f,g,h,TT+015 Write Current Time + 15 minutes Aa,b,c,d,e,f,g,h,TD Write Current Date Aa,b,c,d,e,f,g,h,TD+10 Write “Sell By” Date
or a combination thereof:
Aa,b,c,d,e,f,g,h,"DATA"V00C0"DATA"TD+05V01TT+015
IMPORTANT!
In case of Forms, a question mark (?) must be sent after the Form Retrieve (FR) command. This does not apply to the Direct Mode (Time and Date only).
Page 62
62
Used for: Direct Mode & Form Edit Mode Syntax: Ba,b,c,d,e,f,g,h,"DATA" where...
a = Horizontal x start position in dots b = Vertical y start position in dots
The start position for a field is determined by the upper left corner of the field.
c = 0 No rotation
1 90 degrees rotation clockwise 2 180 degrees rotation clockwise 3 270 degrees rotation clockwise
d = Barcode select. See table below. e = Narrow bar width in dots 1 through 10, see table below.
“d” Barcode Type “e”
0 Code 128 UCC case code 1-10 1 Code 128, support A, B and C 1-10 2 Interleaved 2 of 5 1-10 2C Interleaved 2 of 5 w. check digit 1-10 3 Code 39 (std & extended) 1-10 3C Code 39 with check digit 1-10 9 Code 93 1-10 E30 EAN13 2-4 E32 EAN13 2 digit add-on 2-4 E35 EAN13 5 digit add-on 2-4 E80 EAN8 2-4 E82 EAN8 2 digit add-on 2-4 E85 EAN8 5 digit add-on 2-4 K Codabar 1-10 P Postnet fixed UA0 UPCA 2-4 UA2 UPCA 2 digit add-on 2-4 UA5 UPCA 5 digit add-on 2-4 UE0 UPCE 2-4 UE2 UPCE 2 digit add-on 2-4 UE5 UPCE 5 digit add-on 2-4 2U UPC Interleaved 2 of 5 2-4
f = Wide bar width in dots 2 through 30 g = Barcode height in dots h = B Human readables ON
N Human readables OFF
DATA = Fixed data entry. (Must be enclosed in quotation marks).
UBI EasyCoder 71 – Programming
TEXT & BAR CODE COMMANDS, cont'd.
B Place Bar Code
Continued!
Page 63
63
UBI EasyCoder 71 – Programming
TEXT & BAR CODE COMMANDS, cont'd.
B Place Bar Code, cont'd.
Continued!
"DATA" can be replaced by or combined with below commands:
Variable: Vnn
nn= 2 digit number from 00 to 29. Places variable Vnn entry in this position in this field.
Consecutive Number Counter: Cn
n = One digit number from 0 to 9. Places counter Cn entry in this position in this field.
or...
Cn±b
n = One digit number from 0 to 9. Places counter Cn entry in this position in this field. b = One digit number from 0 to 9. teps up the counter's start value with the value b. Enter + to increment or - to decrement.
Example: When labels with consecutive numbers are printed next to each other across the web, it is done by using a single counter in one form.
The command Cn
±b in our example will be used twice
and count up the single counter by one (1) in each position. Set the Form Step Value
±d to +3 for the counter Cn used
in our example. The Form Step value is explained in “Consecutive Num-
bering Commands” (Ca,b,c,±d,"prompt").
Cn Cn+1 Cn+2
Page 64
64
UBI EasyCoder 71 – Programming
TEXT & BAR CODE COMMANDS, cont'd.
B Place Bar Code, cont'd.
Time: TT
Places current time, (read from the RTC, if fitted), using time layout defined.
or...
TT+nnn
Places “sell by” time. Adds nnn number of minutes (must be three digits) to the current time (read from the RTC, if fitted), and places it on the form using time layout defined.
or...
TD
Places current date, (read from the RTC, if fitted), using date layout defined.
or...
TD+nn
Places “sell by” date. Adds nn number of days (must be three digits) to the current date (read from the RTC, if fitted), and places it on the form using date layout defined.
Valid Bar Code Commands Explanation Ba,b,c,d,e,f,g,h,"DATA" Write Barcode
Ba,b,c,d,e,f,g,h,Vnn Write Variable Ba,b,c,d,e,f,g,h,Cn Write Counter Ba,b,c,d,e,f,g,h,TT Write Current Time Ba,b,c,d,e,f,g,h,TT+015 Write Current Time + 15 minutes Ba,b,c,d,e,f,g,h,TD Write Current Date Ba,b,c,d,e,f,g,h,TD+05 Write “Sell By” Date
or a combination thereof:
Ba,b,c,d,e,f,g,h,"DATA"V00C0"DATA"TDV01TT+015
IMPORTANT!
Fields in forms containing variables, counters, time and date will not be printed, unless a question mark (?) is sent after the Form Retrieve (FR) command. This does not apply to the Direct Mode (Time and Date only).
Page 65
65
Used for: Direct Mode & Form Edit Mode Syntax: Xa,b,c,d,e where...
a = Horizontal x start position in dots b = Vertical y start position in dots c = Line thickness d = Horizontal end position in dots e = Vertical end position in dots
Used for: Direct Mode & Form Edit Mode Syntax: LEa,b,c,d where...
a = Horizontal start position in dots b = Vertical start position in dots c = Horizontal length in dots d = Vertical length in dots
If the LE command is introduced after any other write command, the overlapping print area will print. In other words, black print on black will be white. This command is useful for creating reverse images beyond the reverse option offered in Write Text and Write Bar Code Commands section.
Used for: Direct Mode & Form Edit Mode Syntax: LOa,b,c,d where...
a = Horizontal start position in dots b = Vertical start position in dots c = Horizontal length in dots d = Vertical length in dots
The LO command is for overwriting only. If introduced after any other write command, the line will overwrite the other print. Example: Black print on black will stay black.
UBI EasyCoder 71 – Programming
LINE & BOX COMMANDS
X Draw Box
LO Line Overwrite
LE Draw Line
Page 66
66
UBI EasyCoder 71 – Programming
GRAPHICS COMMANDS
GM Store .PCX File to Graphics Memory
Used for: Global Setup Syntax: GM"name"a where...
"name" = Name of .PCX Graphics file (no extension) a = .PCX file size in bytes
The PCX download procedure is a separate activity that is done before or after the label design process. To determine the value of "a”, view the PCX file in its directory and use the listed file size.
Example: GM"UBI"3768 Assuming that you have a .PCX file named “UBI.PCX” in your
current directory, copy the .PCX file to the printer via the printer's parallel Centronics port
1
using the DOS COPY command.
Follow the syntax:
COPY UBI.PCX PRN /b
(downloads file to default printer PRN)
or...
COPY UBI.PCX LPT1: /b
(downloads file to the printer connected to port LPT1) Note: PCX file must be 2 colour only.
Send a GI to verify that the file has been successfully stored. This PCX file is now permanently stored to the graphics memory and can be deleted only by using GK"UBI" or GK"*".
This graphic can be used for multiple label forms.
Used for: Direct Mode & Form Edit Mode Syntax: GGa,b,"name" where...
a = Horizontal start position in dots b = Vertical start position in dots.
The start position for a field is determined by the upper left corner of the field.
"name" = Graphics file name
Example: GG32,100,"UBI"
Note: A graphic field can not be combined with other data.
GG Write Graphics from Graphics Memory
1
/. If you wish to use the serial communi­cation channel for downloading graphic files, you must redirect the output from the PC using the DOS Mode command.
Page 67
67
UBI EasyCoder 71 – Programming
ERROR MESSAGES
Printer Status
The printer will print the following error messages:
ERROR:2
= Form related error
ERROR:3
= Graphics related error
BATTERY LOW
= Replace Memory Cartridge battery
Note: Error:2 and Error:3 usually mean an invalid syntax or memory overflow has occurred.
HINT! If a persistent programming error occurs or the printer starts to behave in an unexpected way, it can often be remedied by turning the power off and on.
Page 68
68
Store Form Permanently in Form Memory
Permanently storing label forms is the preferred way to use the printer.
Example: The label form below will be programmed in these sections with short explanations of the syntax. (Refer to the Command section for detailed description of each command).
Name the Form
Name of this form is TEST.
Command Explanation
CR/LF to start command structure
FK"TEST"
Delete current form named TEST
FS"TEST"
Start store form named TEST
Note: Program codes are presented in an ASCII editor environment.
The symbol
represents LF (ASCII 10 dec.). If the host is sending CR/LF (ASCII 10 dec. + ASCII 13 dec.), it will not confuse the syntax. CR (ASCII 13 dec.) is not accepted by itself.
UBI EasyCoder 71 – Programming
PROGRAMMING EXAMPLES
Label Sample 1 (Form Edit Mode)
Continued!
Page 69
69
UBI EasyCoder 71 – Programming
Label Sample 1, cont'd. (Form Edit Mode)
PROGRAMMING EXAMPLES, cont'd.
Continued!
Define Variables
The first variable (V00) has a maximum of 15 characters. The second variable (V01) has 10 characters and prints in reverse. The third variable (V02) has maximum 8 characters.
Command Explanation V00,15,N,"Enter Product name:"↵Define first variable
V01,10,L,"Enter Model number:"↵Define second variable V02,8,N,"Checked by:"
Define third variable
The text within quotes are prompts, which will be sent from the printer to the host when the label form is retrieved (serial printer only).
Define Counter
The counter has maximum 6 digits.
Command Explanation C0,6,L,+1,"Enter Serial Number:"↵Define counter
Note: The variables (V00, V01, V02) and counter (C0), are defined within this label form named TEST. The next label form containing variables and counters, will again start with V00 and C0.
If variable data is being sent from an external data base, delete the text between the quotes and replace with a space character, e.g.
V00,15,N," " .
Define Label Size
The media size for this example is a die cut direct thermal label,
3.00" (76.2 mm) tall, 4.00" (101.6 mm) wide with a label gap of .12" (3.0 mm). These values will determine correct Q value setting.
Command Explanation Q610,24
Set label size
Page 70
70
UBI EasyCoder 71 – Programming
Label Sample 1, cont'd. (Form Edit Mode)
PROGRAMMING EXAMPLES, cont'd.
Continued!
Set Reference Point
We want to begin printing 0.20" (5.0 mm) from the side of the label. Total printhead width is 104 mm and the label path is always centred. For the vertical reference point setting, we start from the top, (this will automatically be about .04" (1.0 mm) from the top). This will determine correct R value setting.
Command Explanatio n R40,0
Set reference point
Set Print Speed
Set the print speed to 2 inches/ sec. (50 mm/sec.)
Command Explanatio n S2
Set speed
Set Print Darkness Level
Set the darkness level to 5. The print quality is affected by this heat setting. Reduce or increase this value depending on the result when taking out a test print at the end of this chapter.
Command Explanatio n D5
Set darkness
Set Print Rotation
Use ZB to orient the printed label for reading as it is printed.
Command Explanatio n ZB
Print rotation
The form is now ready for entering text, lines, boxes, bar codes and graphics to the label form.
Page 71
71
UBI EasyCoder 71 – Programming
Label Sample 1, cont'd. (Form Edit Mode)
PROGRAMMING EXAMPLES, cont'd.
Draw a Box and a Line
Start to draw the surrounding box using the X command and then draw the two lines using the LO command.
Command Explanation X0,0,4,752,584
Draw a box
LO0,144,752,4
Draw a line
LO440,232,4,160
Draw a line
Note: The closest vertical print starts .04" (1.0 mm) from the edge of label. The printer also assumes that the closest point to the other edge of the label is .06" (1.5 mm). This means, maximum vertical location of any imprint is Q value - 16 dots. Thus, placing an object closer then this can cause a printer error condition.
Place a Text Line with Fixed Data
Enter a text line containing the fixed data "UBI", in text size 5 (the largest size). The quotation marks enclosing the fixed data will not be printed. Write a 90 degree text line with the text "Made in Sweden". The text size (1) is the smallest resident font in the printer.
Command Explanation A456,48,0,5,1,1,N,"UBI"
Write a text line, fixed data
A40,400,1,1,1,1,N,"Made in Sweden"↵90 deg. text line, fixed data
Place a Variable Text
The next line is a text line, using text size 5 in reverse and prints the variable V00. The data printed in this field must be sent to the printer at the time of form retrieval.
Command Explanation A24,152,0,5,1,1,R,V00
Write a text line, 1:st variable
Place a Combination of Fixed Data and a Variable
The following two command lines consist of a combination of fixed data enclosed in quotation marks and variable data.
Command Explanation A24,250,0,4,1,1,N,"MODEL: "V01↵Text line, fixed data + 2:nd variable
A472,312,0,4,1,1,N,"Checked by: "V02↵Text line, fixed data + 3:rd variable
Continued!
Page 72
72
Place a Combination of Fixed Data and a Counter
The next command line is a text line containing fixed data and the counter (C0). The first time this label form is retrieved for printing, the start value for this counter must be sent to the printer. The printer will store the value of the counter for this form and automatically continue to print the next value the next time this form is retrieved. Reset or set to another value by sending a new start value.
Note: The value of the counter will be kept in the memory even if another form is retrieved or the printer is switched off.
Command Explanation A24,312,0,4,1,1,N,"SERIAL#: "C0↵Text line, fixed data + 1:st counter
Place a Bar Code with Fixed Data and a Counter
Below Bar Code Command line is entering a Code 128 bar code, containing the fixed data "S" in combination with the actual counter value. It is also set for printing the human readable text below the bar code.
Note: The narrow to wide ratio is not relevant for Code 128. The printer will use the value for the narrow bar to define the bar code. (Value 3 for wide bar definition is ignored).
Command Explanation B200,440,0,1,2,3,96,B,"S"C0
Bar code, fixed data + 1:st counter
Place Graphics
The next line writes a graphic named "UBI"1 from graphics memory and positions it on the form.
Command Explanation GG24,12,"UBI"
Write graphic from graphics memory
End Programming of this Form
The closing command that flags the end of form, see the full program listing later in this chapter.
Command Explanation FE Closing command to store form
UBI EasyCoder 71 – Programming
Label Sample 1, cont'd. (Form Edit Mode)
PROGRAMMING EXAMPLES, cont'd.
Continued!
1
/. The graphic “UBI” is not available in your printer and has only been included in the example to illustrate the method of using graphics in a label lay­out. Substitute this graphic with your own logotype or some other graphic of approximately the same size.
Page 73
73
Download Graphics PCX File
The PCX Down Load procedure is a separate activity that is done before or after the label design process.
Connect your EasyCoder 71 printer to your PC via the parallel Centronics interface. If you prefer to use the serial communication channel for downloading graphic files, you must redirect the output from the PC using the DOS Mode command before starting the downloading process.
Download any .PCX graphic file that you may want to use in this or future forms. The procedure is:
Make sure there is a sufficient amount of free memory in the graphics memory (check by means of a U command).
Prepare the EasyCoder 71 to receive the graphic by the following command:
GM"name"a "name" is the name of .PCX graphic file without the .PCX
extension. a is the size of the .PCX file size in bytes. To determine the size, view
the .PCX file in its directory and use the listed file size. If you use Windows, you must go to DOS before downloading the
graphic file (use MS-DOS Prompt). Assuming that you have a .PCX file named UBI.PCX in your current directory, copy the .PCX file to the printer using the DOS COPY command.
Follow the syntax:
COPY UBI.PCX PRN /b
(downloads file to default printer PRN)
or...
COPY UBI.PCX LPT1: /b
(downloads file to the printer connected to port LPT1) Note:
This graphic can be used for multiple label forms. The maximum size of the .PCX file is 64 kbytes.
UBI EasyCoder 71 – Programming
Label Sample 1, cont'd. (Form Edit Mode)
PROGRAMMING EXAMPLES, cont'd.
Continued!
Page 74
74
Below find the entire program listing for the Example.
Command Explanation
CR/LF to start command structure
FK"TEST"
Delete current form named TEST
FS"TEST"
Start store form named TEST
V00,15,N,"Enter Product name:"↵Define 1:st variable V01,10,L,"Enter Model number:"↵Define 2:nd variable V02,8,N,"Checked by:"
Define 3:rd variable
C0,6,L,+1,"Enter Serial Number:"↵Define counter Q610,24
Set label size
R40,0
Set reference point
S2
Set speed
D5
Set darkness
ZB
Print rotation
X0,0,4,752,584
Draw a box
LO0,144,752,4
Draw a line
LO440,232,4,160
Draw a line
A456,48,0,5,1,1,N, "UBI"
Write a text line of fixed data
A40,400,1,1,1,1,N,"Made in Sweden"↵Write a 90˚ text line of fixed data A24,160,0,5,1,1,R,V00
Write 1:st variable text field
A24,250,0,4,1,1,N,"MODEL: "V01↵Write text line, fixed data + 2:nd variable A472,312,0,4,1,1,N,"Checked by: "V02↵Write text, fixed data + 3:rd variable A24,312,0,4,1,1,N,"SERIAL#: "C0↵Write text line, fixed data + 1:st counter B280,440,0,1,2,3,96,B,"S"C0
Write barcode, fixed data + 1:st counter
GG24,12,"UBI"
Write graphic from graphics memory
FE
Closing command to store form
UBI EasyCoder 71 – Programming
Label Sample 1, cont'd. (Form Edit Mode)
PROGRAMMING EXAMPLES, cont'd.
Continued!
Page 75
75
UBI EasyCoder 71 – Programming
Label Sample 1, cont'd. (Form Edit Mode)
PROGRAMMING EXAMPLES, cont'd.
Retrieve and Print Form
The form on the previous page can now be retrieved and printed from any ASCII sending device using this sequence:
Command Explanation
CR/LF to start command structure
FR"TEST"
Retrieve form
?
Call for variables
EASYCODER
Substitute variable V00
501 SA
Substitute variable V01
Dan
Substitute variable V02
100000
Counter start value C0
P1,2 Print 2 copies of a single label
In this example we have manually substituted variables for testing purposes.
Note: It is critical to the syntax to send exactly the same number of variable lines as defined for this label form.
Provided you use the serial interface for communication between printer and host
1
, you can make the printer return prompts that
appear on the screen informing the operator which kind of input data to enter. This requires that a UI command is issued after each power-up.
Printer sends Command Explanation
CR/LF to start command structure
UI Enable prompts command (optional)
UI80,001 Printer returns codepage status
FR"TEST"
Retrieve form
?
Call for variables
Enter Product name: EASYCODER↵Substitute variable V00
(The selected font allows uppercase characters only)
Enter Model number: 501 SA
Substitute variable V01
Checked by: Dan
Substitute variable V02
Enter SERIAL#: 100000
Counter start value C0 Number of labels sets Prompt P1 Ignore
P1, Enter P + Qty of labels + comma sign Copies of each label Prompt 12
Enter Qty of copies +
Continued!
1
/. Not all kinds of host computers or
terminal programs can handle prompts. In such cases, no UI command must be issued! Prompts cannot be used in connection with parallel communi­cation.
Page 76
76
UBI EasyCoder 71 – Programming
Label Sample 1, cont'd. (Form Edit Mode)
PROGRAMMING EXAMPLES, cont'd.
The example below demonstrates that it is not necessary to set the counter start value again. The counter internally keeps track of the last number issued and is updated according to instructions in the form.
Command Explanation
CR/LF to start command structure
FR"TEST"
Retrieve form
?
Call for variables
EASYCODER
Substitute variable V00
501SA
Substitute variable V01
Dan
Substitute variable V02
CR/LF to use existing counter value
P1,2
Print 2 copies of 1 label
Once a form has been retrieved, it can be used over and over again until another form is retrieved. All variable input data and counter values are stored in memory. If prompts are enabled, existing data and counter values will be displayed on the screen after the related prompt. Any input data can be overwritten at will.
Command Explanation ?
Call for variables in same form
CR/LF to use existing data in V00
CR/LF to use existing data in V01
Sam
Substitute data in variable V02
200000
Substitute counter start value
P1,1
Print 1 copy of 1 label
Important!
Note that the question mark (?) following the FR command is essential for the printing of certain fields edited in the Form Edit Mode, i.e. fields containing variables, counters, time and/or date. Variables and counter start values must be entered or accepted as described above, whereas time and date will be read from the optional real-time clock circuit. If no question mark is transmitted, all fields containing variable input, i.e. variables, counters, time and date, will be completely omitted from the printout.
Page 77
77
UBI EasyCoder 71 – Programming
Label Sample 2 (Direct Mode)
PROGRAMMING EXAMPLES, cont'd.
Print Label Form Directly without Storing in Form Memory
Command Explanation
CR/LF to start command structure
N
Clear image memory
Q610,24
Set label size
R40,0
Set reference point
S2
Set speed
D5
Set darkness
ZB
Print rotation
X0,0,4,752,584
Draw a box
LO0,144,752,4
Draw a line
LO440,232,4,160
Draw a line
A456,48,0,5,1,1,N, "UBI"
Write a text line of fixed data
A40,400,1,1,1,1,N,"Made in Sweden"↵Write a 90° text line of fixed data A24,160,0,5,1,1,R,"EASYCODER"↵Write 1:st variable text field A24,250,0,4,1,1,N,"MODEL: 501 E"↵Write text line, fixed data + 2:nd variable A472,312,0,4,1,1,N,"Checked by: Dan"↵Write text, fixed data + 3:rd variable A24,312,0,4,1,1,N,"SERIAL#: 000001"↵Write text line, fixed data + 1:st counter B280,440,0,1,2,3,96,B,"S 000001"↵Write barcode, fixed data + 1:st counter GG480,400,"UBI"
Write a graphic from graphics memory
P2
Print command to print image buffer
Page 78
78
Command Syntax Explanation Page
A Aa,b,c,d,e,f,g,"Data" Write Text 59 B Ba,b,c,d,e,f,g,h,"Data" Write Bar Code 60 C Ca,b,c,d,"Prompt" Define Counter 62 D Dn Heat Density – Select 58 FE FE Closing Command to Store Form 48 FI FI Print Form Information 46 FK FK"Filename" or FK "*" Delete One Form or All Forms 47 FR FR"Filename" Form Retrieve 48 FS FS"Filename" Store Form 48 GG GGa,b,"Name" Write Graphics from Graphic Memory 66 GI GI Print All Graphics Stored in Graphic Memory 46 GK GK"Filename" or GK"*" Delete One or All Graphics in Graphic Memory 47 GM GM,"Name"a Store Graphics to Graphic Memory 66 I Ia,b,c Character Set Selection 44 LE/LO LE/LO,a,b,c,d Draw Line 65 M Ma,b,c Memory Allocation Setting 42 N N Clear Image Buffer 47 P Pa,b Print 49 Q Qa,b Form Length Setting 55 R Ra,b Reference Point Setting 57 S Sn Speed – Select 58 TD TDaa|bb|cc Define date layout (option) 54 TS TSaa,bb,cc,dd,ee,ff Set Real Time Clock (option) 53 TT TTa|b|c|d Define Time Layout 53 U U Print Current Configuration 46 UP UP Print Codepage & Memory Status 46 UM UM Return Codepage & Memory Status 46 UI UI Return Codepage Status & Enable Prompts 46 V Vaa,b,c,"Prompt" Define Variable 50 X Xa,b,c,d,e Draw Box 65 Y Yaa,b,c,d Serial Port Setting 41 W Wn Windows mode OFF or ON (N or Y) 45 Z Zn Print Direction – Select 56 ? ? Start Variable Entry 49
SUMMARY OF COMMANDS
UBI EasyCoder 71 – Programming
Page 79
79
1: INTERFACES
Handshake:
DSTB to printer and BUSY to host.
Interface cable
Computer end: Depends on type of host computer.
IBM-PC: DB25 male connector.
Printer end: 36-p male Centronics connector.
Pin Function Transmitter
1 -Strobe Host
2–9 Data 0–7 Host
10 Busy Printer 11 Busy Printer 12 Paper empty Printer 13 Select Printer
14–15 N/C
16 Signal ground 17 Chassis ground 18 N/C
19–30 Signal ground
31 -Init 32 -Fault Printer 33 Signal ground
34–36 N/C
Protocol (default):
9600 baud, No parity, 8 data bits, 1 stop bit XON/XOFF, DSR/CTS
To change serial settings, use the Y command, see page 41.
Interface cable
Computer end: Depends on type of host computer.
IBM-XT & PS-2: DB25 female connector.
IBM-AT: DB9 female connector
Printer end: DB9 male connector.
Host 9-pin 25-pin 9-pin Printer
1 +5V RXD 2 3 2 TXD TXD 3 2 3 RXD DTR 4 20 4 N/C
GND 5 7 5 GND
DSR 6 6 6 RDY RTS 7 4 7 N/C CTS 8 5 8 RDY
9 N/C
Parallel Interface
Serial Interface (RS 232C)
UBI EasyCoder 71 – Appendices
Page 80
80
2: CONVERSION CHART
UBI EasyCoder 71 – Appendices
Dots to mm & inches Mm and inches to dots
Dots mm Inches mm Inches Dots
1 0.13 0.005 1 0.039 8 2 0.25 0.010 2 0.079 16 3 0.38 0.015 3 0.118 24 4 0.50 0.020 4 0.157 32 5 0.63 0.025 5 0.197 40 6 0.75 0.030 6 0.236 48 7 0.88 0.034 7 0.276 56 8 1.00 0.039 8 0.315 64
9 1.13 0.044 9 0.354 72 10 1.25 0.049 10 0.394 80 20 2.50 0.099 20 0.787 160 30 3.75 0.124 30 1.181 240 40 5.00 0.197 40 1.575 320 50 6.26 0.246 50 1.969 400 60 7.51 0.296 60 2.362 480 70 8.76 0.345 70 2.756 560 80 10.01 0.394 80 3.150 640 90 11.26 0.443 90 3.543 720
100 12.51 0.493 100 3.937 800 200 25.02 0.985 200 7.874 1600 300 37.54 1.478 400 50.05 1.970 500 62.56 2.463 600 75.07 2.956 700 87.59 3.448 800 100.10 3.941
900 112.61 4.433 1000 125.12 4.926 2000 250.25 9.825
Page 81
81
Resident Fonts
The EasyCoder 71 printer supports 160 different characters for font size 1–4 and 80 characters for font size 5.
Note: All fonts are Non proportional. The ASCII value of the different characters is determined by the I command setting.
Font Size in dots Size of characters
1 8 x 12 dots 20.3 characters/inch (cpi), 6 points 2 10 x 16 dots 16.9 cpi, 7 points 3 12 x 20 dots 14.5 cpi, 10 points 4 14 x 24 dots 12.7 cpi, 12 points 5 32 x 48 dots 5.6 cpi, 24 points
3: FONTS, CODE PAGES & CHARACTER SETS
Fonts, Code Pages and Character Sets
UBI EasyCoder 71 – Appendices
Font Sizes 1 – 5
Page 82
82
3: FONTS, CODE PAGES & CHARACTER SETS, cont'd.
Continued!
UBI EasyCoder 71 – Appendices
Size 1–4 (8 bit); Code Page 437
Size 1–4 (8 bit); Code Page 850
Page 83
83
3: FONTS, CODE PAGES & CHARACTER SETS, cont'd.
Continued!
UBI EasyCoder 71 – Appendices
Size 1–4 (8 bit); Code Page 852
Size 1–4 (8 bit); Code Page 860
Page 84
84
3: FONTS, CODE PAGES & CHARACTER SETS, cont'd.
Continued!
UBI EasyCoder 71 – Appendices
Size 1–4 (8 bit); Code Page 863
Size 1–4 (8 bit); Code Page 865
Page 85
85
3: FONTS, CODE PAGES & CHARACTER SETS, cont'd.
Continued!
UBI EasyCoder 71 – Appendices
Size 5 (8 bit); Code Page 437
Size 5 (8 bit); Code Page 850
Page 86
86
3: FONTS, CODE PAGES & CHARACTER SETS, cont'd.
Continued!
UBI EasyCoder 71 – Appendices
Size 5 (8 bit); Code Page 852
Size 5 (8 bit); Code Page 860
Page 87
87
3: FONTS, CODE PAGES & CHARACTER SETS, cont'd.
Continued!
UBI EasyCoder 71 – Appendices
Size 5 (8 bit); Code Page 863
Size 5 (8 bit); Code Page 865
Page 88
88
UBI EasyCoder 71 – Appendices
3: FONTS, CODE PAGES & CHARACTER SETS, cont'd.
Continued!
Size 1 – 4 (7 bit); USA
Size 1 – 4 (7 bit); German
Size 1 – 4 (7 bit); British
Page 89
89
UBI EasyCoder 71 – Appendices
3: FONTS, CODE PAGES & CHARACTER SETS, cont'd.
Continued!
Size 1 – 4 (7 bit); French
Size 1 – 4 (7 bit); Italian
Size 1 – 4 (7 bit); Danish
Page 90
90
UBI EasyCoder 71 – Appendices
3: FONTS, CODE PAGES & CHARACTER SETS, cont'd.
Continued!
Size 1 – 4 (7 bit); Spanish
Size 1 – 4 (7 bit); Swiss
Size 1 – 4 (7 bit); Swedish
Page 91
91
UBI EasyCoder 71 – Appendices
3: FONTS, CODE PAGES & CHARACTER SETS, cont'd.
Continued!
Size 5 (7 bit); USA
Size 5 (7 bit); German
Size 5 (7 bit); British
Page 92
92
UBI EasyCoder 71 – Appendices
3: FONTS, CODE PAGES & CHARACTER SETS, cont'd.
Continued!
Size 5 (7 bit); Danish
Size 5 (7 bit); French
Size 5 (7 bit); Italian
Page 93
93
UBI EasyCoder 71 – Appendices
3: FONTS, CODE PAGES & CHARACTER SETS, cont'd.
Continued!
Size 5 (7 bit); Spanish
Size 5 (7 bit); Swiss
Size 5 (7 bit); Swedish
Page 94
94
UBI EasyCoder 71 – Appendices
3: FONTS, CODE PAGES & CHARACTER SETS, cont'd.
Size 5 (7 bit); Characters in Dump Mode
Page 95
95
4: KEYBOARD DISPLAY UNIT
General Instructions The Keyboard Display Unit (KDU) is a terminal unit that interfaces
with UBI EasyCoder 71 in a stand-alone capacity.
The KDU has sixty-two (62) keys and a 2-line, 20 character LCD display. The KDU is powered by and communicates with the printer through an RS 232C port. The KDU has an auxiliary RS 232C port for input only, i.e., from a scanning device, magnetic stripe reader, scale, etc. The KDU provides +5V to the auxiliary port.
The KDU is strictly terminal and does not have the capability to store data or set up parameters. The KDU is used for the following functions:
• List label forms stored in printer.
• Retrieve stored label forms.
• Input variable data.
• Print label.
Check that the printer is set up for the following communication protocol, e.g. by issuing a U command (see page 46) or entering the Test Mode (see page 11):
Baud rate 9600, Parity none, Data bits 8, Stop bits 1. If not, reset the communication parameters using a Y command, see
page 41. Switch the printer power to OFF and connect the KDU's 9-pin
connector to the printer's serial port, then switch power ON.
UBI EasyCoder 71 – Appendices
Continued!
Set Up
Page 96
96
4: KEYBOARD DISPLAY UNIT, cont'd.
UBI EasyCoder 71 – Appendices
Continued!
At power ON, the Main Menu reads:
FORM - retrieve form F2 - list forms vx.x
Press the <F2> key to print a list of saved forms. The time and date will print out if that option is installed. If not
installed, the time and date will print as zero's.
Retrieve a Form:
Press the <FORM> key. The top line in the display will prompt:
Enter Form Name: _
Enter the form name using the keys on the keyboard. Upper and lower case letters must match exactly as the form name was saved. If a scanner is connected to the KDU, you may enter the form name by scanning.
When the form name is entered, press <ENTER> to continue. The form is now retrieved and active in the printer.
Form without Variables:
If the form does not contain variables, the display line will prompt:
Number of Label Sets 1_
The default number of labels is always one (1).
Single Label: If one (1) label is desired, press <ENTER> to print that label.
Multiple Labels:
If multiple labels are desired, enter the new quantity and press <ENTER> to print labels.
Exit a Form:
Press <EXIT> at any time to return to the Main Menu, or press <FORM> to select another form.
List of Saved Forms
Start Up
Print a Form
Page 97
97
4: KEYBOARD DISPLAY UNIT, cont'd.
UBI EasyCoder 71 – Appendices
Print a Form, cont'd. Form with Variables:
If the form contains variables, the display line will display the 1:st variable prompt, i.e.:
Store No. _
Enter data at each variable prompt and press <ENTER>. The final prompt is:
Number of Label Sets 1_
The default number of labels is always one (1).
Single Label: If one (1) label is desired, press <ENTER> to print that label.
Multiple Labels:
If multiple labels are desired, enter the new quantity and press <ENTER> to print labels.
Exit a Form:
Press <EXIT> at any time to return to the Main Menu, or press <FORM> to select another form.
Form with Consecutive Number Fields:
If the form contains a consecutive number field, the system will automatically keep track of the next number sequence. If you do not need to interfere with this predetermined sequence, press <ENTER> at this prompt. The final prompt is:
Copies of Each Label 1_
The default number of copies is always one (1). If one (1) copy is desired, press <ENTER> to print that label.
Note: Change quantity if you desire multiple labels with the same consecutive number.
Continued!
Page 98
98
Edit a Form:
Once a form has been activated, it will automatically indicate the last information keyed in. If you want to retain that information, press <ENTER>.
To Enter Data:
1. Enter the new data, thereby overriding the old data, or
2. Press <ENTER> if the old data is correct, or
3. Use the orange backspace key (<–) or the <CLEAR> key to
modify data.
When you have finished editing and have printed the label, you will automatically return to the first variable prompt.
Exit a Form:
Press <EXIT> at any time to return to the Main Menu, or press <FORM> to select another form.
Protecting Data:
If the label form has been designed to “hide” a variable prompt, e.g., Store No., that data will be protected and this prompt will appear only when the form is initially retrieved.
Another label design command will prevent a prompt from ever showing and may be desirable for applications, where data should not be changed, e.g., Serial Numbers.
The auxiliary port is intended for RS 232C communication from e.g. a scanner or magnetic strip reader and is provided with a female DB-9 connector. The pin configuration is:
Pin 1 Optional + 5V, 150 mA Pin 2 N/C Pin 3 Receive data Pin 4 N/C Pin 5 Ground Pin 6 Ready Pin 7 N/C Pin 8 N/C Pin 9 + 5V, 150 mA
The communication is permanently set to:
Baudrate 4800 Data Bits 8 Parity Odd Stop Bits 1
UBI EasyCoder 71 – Appendices
Print a Form, cont'd.
4: KEYBOARD DISPLAY UNIT, cont'd.
Auxiliary Port
Loading...