Datecs LP-1000 User manual

User’s Manual
LABEL PRINTER
MODEL LP-1000
1 DATECS

User’s Manual1 DATECS LP-1000
2 3
CONTENTS:
1. OUTLINE...................................................................................................... 1 3
1.1. Features ................................................................................... 1 3
1.2. Unpacking ............................................................................... 1 4
2. BASIC RULES FOR OPERATING THE LP-1000 .................................... 15
3. BASIC SPECIFICATIONS .......................................................................... 16
4. OUTER VIEW - CONTROL ........................................................................ 17
4.1 General description of the LP-1000 ...................................... 17
4.2 Operating the printer ............................................................... 17
4.3 DIP switches and buttons ....................................................... 21
4.4 Indicators ................................................................................... 22
4.5 List of commands ..................................................................... 22
5. DETAILED DESCRIPTION OF THE COMMANDS ............................... 26
5.1 Setting the printer’s functional mode ................................... 26
5.2 Working with variables and counters .................................. 31
5.3 Generating a graphic images ................................................ 33
5.4 Working with forms................................................................... 42
5.5 Working with graphic files ...................................................... 44
5.6 Working with loadable fonts ................................................... 45
5.7 Clearing the memory ............................................................... 46
5.8 Print ............................................................................................. 47
5.9 Diagnostics and returning of data ........................................ 48
5.10 Direct printing of a text .......................................................... 49
6. WORKING WITH THE LOCAL KEYBOARD EKP-30 ............................. 50
THE INFORMATION IN THIS DOCUMENT CANNOT BE REPRODUCED IN ANY MECHANICAL,
ELECTRICAL OR ELECTRONIC WAY AND UNDER ANY
CIRCUMSTANCES WITHOUT THE WRITTEN CONSENT FROM DATECS LTD.
Sofia 1784 - BULGARIA, tel: +359 2 974 00 55, fax: +359 2 974 11 00,
e-mail: [email protected]
VERSION 02 / 2007 / EN

User’s Manual1 DATECS LP-1000
4 5
IMPORTANT SAFETY INSTRUCTIONS
Read all of these instructions and save them for future reference.
Follow all warnings and instructions marked on the product.
Unplug this product from the wall outlet before cleaning. Do not use liquid
or aerosol cleaners. Use a damp cloth for cleaning.
Do not use this product near water.
Do not place this product on an unstable cart, stand or table. The product
may fall, causing serious damage to the product.
Slots and openings on the back or cover these openings. The openings
should never be blocked by placing the product on a bed, sofa, rug of
other similar surface.
This product should never be placed near or over a radiator or heater.
This product should not be placed in an built-in installation unless proper
ventilation is provided.
This product should be operated from the type of power source indicated
on the marking label. If you renot sure of the type of power available,
consult your dealer or local power company.
Do not allow anything to rest on the power cord. Do not place this product
where the cord will be walked on.
If an extension cord is used with this product, make sure that the total of the
ampere ratings of the products plugged into the extension cord does not
exceed the extension cord ampere rating. Also, make sure that the total of all
products plugged into the wall outlet does not exceed 15 amperes.
Never push objects of any kind into this product through cabinet slots as they
may touch dangerous voltage points or short ouf parts that could result in a
risk of fire or electric shock. Never spill liquid of any kind on the product.
Except as explained elsewhere in this manual, do not attempt to service this
product by yourself. Opening and removing the covers that are marked
“Do Not Remove” may expose you to dangerous voltage points or other risks.
Refer all servicing on those compartments service to service personnel.
Unplug this product from the wall outlet and refer servicing to qualified service
personnel under the following conditions:
A.When the power cord or plug is damaged or frayed.

User’s Manual1 DATECS LP-1000
6 7
SAFETY PRECAUTIONS – BE SURE TO OBSERVE
In order to prevent hazards to an operator or other persons and
damage to property, be sure to observe the following precautions.
The following describes the degrees of hazard and damages that
can occur if the given instructions are neglected or the printer is
incorrectly operated.
WARNING
Negligence of this precaution may result in death or serious injury.
CAUTION
Negligence of this precaution may result in injury or damage to
property.
This is an illustration mark used to alert your attention.
This is an illustration mark used to indicate such information
as an instruction or the like.
B. If liquid has been spilled into the product.
C. If the product has been exposed to rain or water.
D. If the product does not operate normally when the operating instructions
are followed. Adjust only those controls that are covered be the operating
instructions since improper adjustment of other controls may result in
damage and will often require extensive work by a qualified technician to
restore the product to normal operation.
E. If the product has been dropped or the cabinet has been damaged.
F. If the product exhibits a distinct change in performance, indicating a need
for service.
Please keep the poly bag which this equipment is packed in away from
children or throw it away from children or throw it away to prevent children
from putting it on. Putting it on may cause suffocation.
CAUTIONS
Prior to using the equipment, be sure to read this User’s Manual thoroughly.
Please keep it handy for reference whenever it may be needed.
The information contained herein may be changed without prior notice.
Reproduction of part or all of this User’s Manual without permission is
strictly prohibited.
Never service, disassemble, or repair parts that are not mentioned in this
User’s Manual.
Note that we will not be responsible for damages attributable to a user’s
incorrect operation/handling or an improper operating environment .
Operate the equipment only as described in this User’s Manual; otherwise
accidents or problems may result.
Data are basically temporaty; they cannot be stored or saved permanently or
for a long time. Please note that we will not be responsible for damages or
sses of profit resulting from losses of the data attributable to accidents,
repairs, tests, and so on.
If you have any questions or notice any clerical errors or omissions regarding
the information in this manual, please contact our office.
Please note that, notwithstanding them 8 above, we will not be responsible
for any effects resulting from operation of the equipment.
!
!
!
i

User’s Manual1 DATECS LP-1000
8 9
PRECAUTIONS FOR INSTALLATION
Do not use or store the equipment in a place exposed to fire, moisture, or direct
sunshine, or in a place near a heater or thermal device where the prescribed
operating temperature and humidity are not met, or in a place exposed to
much oil, iron powder, or dust. The equipment may become out of order, emit
smoke, or catch fire.
Do not install or use the equipment in a place like a laboratory where chemical
reactions are expected, or in a place where salt or gases are contained in the
air. There is a danger of fire or electric shock.
Install the printer on a flat, stable desk or table that is free from vibration, in a
well-ventilated place.
Do not install the printer at a location where its operation could be hindered.
Do not place anything on the printer or leave small objects, like a clip or pin,
around it. A foreign object could cause trouble if it gets inside.
Do not use any sharp-pointed object, such as a pen, for example, to touch the
operation panel of the printer. It could cause trouble.
Do not use the equipment near a radio or TV receiver. Do not share the power
from a plug socket a radio or TV receiver is connected to. It may cause a
reception problem.
Use the equipment only at the specified power supply, voltage and frequency.
Otherwise, it may emit smoke and catch fire or cause other problems.
Connect only the specified power source. Use of an unspecified power source
could cause trouble or smoke/fire.
Confirm that a plug socket used for connection has sufficient capacity.
Avoid connecting a power cable to a plug socket shared by other devices or
extending the wiring too far. It may result in the cable catching fire or a power
outage. Also, do not step on or apply an excessive force (Pull, Load) to the
cable, and do not use the printer with such a force applied to it.
Never connect a grounding cable (Frame ground) to a gas pipe. There is a
danger of explosion. When connecting or disconnecting the grounding cable,be
sure to disconnect the power cable and the power plug from the plug socket.
When connecting/disconnecting the cables, be sure to turn off the power first,
including the connected side, and then connect/disconnect them, holding a
plug and a connector. Pulling the cable itself could cause it to snap or become
damaged.
Connect a power cable or a connector cable securely. If a reverse-polarity
connection is a made, internal elements may be broken or a mating device
may be ad versely affected.
WARNING
Never handle the equipment in the following manners, as it may break, become out of
order, or overheat causing smoke and resulting in fire or electric shock. If the equip
ment is used in an abnormal condition, such as when broken, then problems, smoke
emission, abnormal odor/noise, and fire can result. If an abnormal condition exists, be
sure to disconnect the power plug from a plug socket, and contact our dealer. Never
repair the equipment on your own – it is very dangerous.
Do not allow the equipment to receive a strong impact or shock, such as
kicking, stomping, hitting, dropping, and the like.
Install the equipment in a well-ventilated place. Do not use it in such a manner
that its ventilation port will be blocked.
Do not install the equipment in a place like a laboratory where chemical
reactions are expected, or in a place where salt or gases are contained
in the air.
Do not connect/disconnect a power cord or a data cable, while holding
the cable.
Do not pull, install, use, or carry the equipment in such a manner that force will
be applied to the cables.
Do not drop or insert any foreign substances, such as clips or pins, into the
equipment.
Do not spill any liquid or spray any chemical-containing liquid over the
equipment. If any liquid is spilled on it, turn off power, disconnect the power
cable and power cord from the plug socket, and contract our dealer.
Never disassemble or remodel the equipment. Negligence of this may cause
fire or electric shock.
Use the equipment only with the specified commercial power supply and DC/AC
adapter. Negligence of this may result in fire, electric shock, or problems.
If you drop or break the AC adapter, or if water or the like gets inside it, unplug
it immediately from the socket and contact your dealer.
Do not damage, break, process, bend/pull by force, twist, or head an DC/AC
dapter cord. Also, do not put a heavy substance on it or heat it. The DC/AC
adapter cord could be broken, resulting in fire, electric shock, or trouble. If the
C adapter cord is damaged, contact our dealer.
Do not connect/disconnect the DC/AC adapter with wet hands.
Do not overload a single electrical outlet, using a table tap or a current
tap socket.
An equipment packing bag must be discarded or kept away from children.
A child can suffocate if the bag is placed over the head.
!!

User’s Manual1 DATECS LP-1000
10 11
PRECAUTIONS FOR HANDLING
Do not handle the equipment in the following manners, because
problems may result.
Do not use any other power source besides the accessory DC/AC adapter.
Also, do notg use the AC adapter for other purposes.
Do not print without paper.
Do not drop or put any foreign object, such as a clip, pin, or the like, inside the
printer.
Do not spill any liquid or spray any chemical-containing liquid over the
equipment.
Never use a pointed object, such as a pen, to operate the operation panel.
Do not use Scotch tape to fasten paper together for continuous use. It could
damage the printing head.
Never pull the set paper forcibly. When Opening/closing the printer cover,
take care that the paper will not be caught. It could cause the paper to jam.
Be sure to use the specified paper. Use of other paper could deteriorate the
print quality or cause a problem with the printing head.
To Prevent and Spreading of Damage
Never touch the printing head motor, or paper cutting blade. Your finger may
be cut.
During power-on or immediately after printing, do not touch electrical parts or
moving parts, such as the mechanism, motor, internal dear, etc. They may be
very hot and can bum your hand/finder.
Be careful to avoid bodily injure or damaging other objects with an edge of
sheet metal.
Should any error occur while operating the equipment, stop it immediately
and disconnect the power plug from the plug socket.
Only a qualified serviceman is allowed to disassemble or repair the printer.
Should a problem occur, leave solving it to our serviceman. Do not disas
semble the equipment on your own.
When opening/closing the printer cover, and so on, be careful not to catch
your hand or finger on the equipment.
After using the equipment, turn off the power switch and unplug the AC
adapter from a plug socket.
Use a shielding wire or twisted pair wire for a signal line, in order to minimize
noise effect. Do not route the cable too long or connect it to a noisy device.
Connection to a noisy device could cause erroneous printing due to corrupt
data, and so on.
Use the equipment in an environment where there is s plug socket near the
main body and you can easily disconnect the power plug from it, to shut off the
power.
When the equipment will not be used for a long period of time, unplug it and
remove the paper roll from it.
When transporting the equipment, remove the paper roll from paper holder.
!

User’s Manual1 DATECS LP-1000
12 13
DAILY MAINTENANCE
At the time of maintenance, be sure to turn off the power switch of the printer
and unplug it from the socket.
Use a dry soft cloth to wipe off stains and dust from the surfaces of the main
body case. For severe soiling, dip the cloth in water and wring it, for wiping
off the soil. Never use organic solvents, such as alcohol, thinner, trichlene,
benzene, ketone, or chemical dusters.
If the equipment is contaminated with paper powder, use a soft brush
to clean it. Be careful not to damage the printing head.
Cleaning the Printing Head
1. Moisten gauze slightly with alcohol, and clean the heating surface of the
printing head with it.
2. Reattach the platen roller unit.
The printing head and motor are very hot. Be careful not to touch
them immediately after printing. Do not touch the heating surface of
the head with a bare hand or metal. When detaching or reattaching
the platen roller unit, be sure to raise up the printing head, other-
wise, they could be damaged. Handle the detached platen roller unit
carefully so as not to damage it.
!
1. Outline
This manual describes the disassembly, reassembly, and mainte-
nance procedures of the Label printer LP-1000. Also it includes block
scheme,electrical diagram of the PCB, the PCB, technical & electrical
specifications of the printer.
1.1 Features
The LP-1000 is designed for printing on small size labels or graphical
images to termo-sensitive paper.
Label printer
Compact design
Low-noise printing
Use of 80 mm- or 58 mm Label paper roll.
Built-in Serial RS232 Interface
Built-in input buffer
Bar code printing
High-speed printing at 50 to 150 mm/s max.
Built-in Interface for External Display
Power supply - AC adaptor
Built-in Drawer Kick-out interface
!
CAUTION

User’s Manual1 DATECS LP-1000
14 15
•Attempts to print on other types of paper, stickers, folio not specified as
acceptable in this MANUAL may seriously damage your printer.
•Do not spill liquids of any kind on the device.
•Print only on specified thermal paper-rolls.
•Don’t force paper out from the printing mechanism.
•Should the printer behave unusually during operation immediately turn
it off!
•Printer repairs are performed only by service technicians. Do not at
tempt to repair the unit yourself.
2. Basic rules for operating
The printer operates with paper rolls with sizes:
•roll with labels: width 58 mm or 79 mm
•maximum diameter of roll: 83 mm
1.2 Unpacking
When unpacking the package, confirm that the following parts are provided:
Printer body ...................... 1 unit
Sample paper roll ............ 1 roll
AC adapter ....................... 1 piece
User’s manual .................. 1 copy
Disc ................................... 1 piece
CAUTION
Install the printer body on a flat and stable desk or mount it onto
the wall, etc., using a hook, etc.
Do not install the printer near a heater or in a place exposed to
the direct sunshine.
Do not use the printer in a high-temperature, high-humidity, or
contaminated environment.
Do not allow dew condensation to form on the printer. If such
condensation should form, do not turn on the power until it has
completely gone away.
Use only the accessory DC/AC adapter. Do not use it for an
other purpose.
If you do not use the printer for a long period, disconnect the
power cable from the socket.
Keep this manual carefully at hand for ready reference.
!
!
CAUTION
!
!
FOLLOW INSTRUCTIONS CLOSELY.
MAY CAUSE DAMAGE TO THE UNIT.

User’s Manual1 DATECS LP-1000
16 17
Item Specifications
Printing Method Direct thermal print method
Printer KF2003-GD30C
Label Width 58 mm or 79 mm
Label Length max 205mm , 1640dots
Dot Density 8 x 8 dots/mm (203dpi)
Printing Speed 50 to150 mm/sec
Fonts 5 internal fonts: 8 x 12,10 x 16,12 x 20,14 x 24,
32 x 48
modify by: style, rotation, size X, size Y
Bar Code Types Code39, Code93, EAN13, EAN8,EAN128, UPC-A,
UPC-E, Interleaved 2 of 5,Codabar,Code 128
Paper Label paper roll 58mm or 80mm , φmax 83mm
Interface RS-232 Interface, type RS-232C , max 115200 bps
MCU Winbond (W77E58P-40) - 8 bits microcontroller
Input Buffer 4K bytes
Power Consumption 50W max
Adaptor Model: 32AD
Input: AC 100 - 240V , 1.3A , 50/60Hz
Output: DC 24V, 2A
Indication Green LED - Power
Red LED - Error (cutter error,head overheat,
open cover)
Weight Approx. 2 kg
External Dimensions 190(W)mm X 145(D)mm X 114(H)mm
Operating Temperature
and Humidity 5~40°C 35~85%RH
Storage Temperature
and Humidity –-10~60°C 10~90%RH
Reliability Print head life: 100 million pulses and 100km wear
resistance
Printer Mechanism: 10 million lines
3. Basic specifications 4. OUTER VIEW - CONTROL
4.1 General description of the LP-50
The LP-1000H is a thermal printer designed to print small sized labels
and graphics on thermo-sensitive paper. It is particularly useful when print-
ing information, arranged in a template form, which has to be partially
modified under customer demand.
The memory of the printer contains a command file which stores data
for the arrangement and design of the separate graphic elements, easing
your work considerably when you have to print a greater number of labels.
On the other hand it supports the PCX format and gives you the opportunity
to design the graphics of parts of the label with an appropriate program
under Windows and store it in the memory of the printer in advance. The
built-in 5 matrix fonts with different sizes, as well as the freely selectable
option for additional scaling and rotation, gives you greater freedom in
designing the inscriptions on your labels. If those fonts do not satisfy your
requirements you are free to load additional fonts in the memory of the
device.
The device may be used to print information from Windows (Word,
Notepad or other programs) after the installation of the necessary driver.
In conclusion, the LP-1000H offers fast and flexible printing at a quality
which is very similar to that of most contemporary laser printers (printing
density - 203 dpi).
4.2 Operating the printer
The functions of the printer are controlled by commands, sent via a
serial interface. It is able to maintain 7 baud rates set up by adjusting the
configuration keys: 2400, 4800, 9600, 19200, 38400, 57600 and 115200
bps, 8 bits, no parity bit. The printer uses a hardware protocol, which per-
mits its direct control under DOS but can also support Xon/Xoff protocol.
Each printer command consists of one line of text ending with a LF
(0Ah). Commands are made up of one or two letters followed by a different
number of parameters divided by a comma. Intervals MUST NOT BE EN-
TERED in these commands – this will be treated as syntax error. Capital
and small letters are identified. A detailed description of the commands
follows but it must be underlined that if a command starts with “;” it will not

User’s Manual1 DATECS LP-1000
18 19
generate any action on the part of the printer. This command may be used
for comments if we register the commands in a text file.
The fastest and easiest way to work with this printer is to use the ac-
companying software program DATECS Label Editor (LPeditWH.EXE) with
the help of which you can arrange the elements of the label and see its final
appearance on the computer screen even before loading it into the printer.
You can also print it out as a test trial. In order to work with the program
successfully you will only need to have a general idea about the functions
of the printer. No special knowledge of the command language will be
needed.
It is, of course, possible to prepare the information for printing in ad-
vance in a text file and send this over the serial interface. Here is a descrip-
tion of one possible option for preparing a label. It includes the following
stages:
When working under DOS, the setup of the PC serial port is done
with the MODE COMn command in parallel to the setup of the printer, the
format of this command being: MODE COMn: BaudRate,n,8,1 where “n” is
the number of the serial port and “BaudRate” is the set up speed of the
printer.
Select a name for the form. In any case it is advisable that the first
line of the text file should include the command for deleting a form of the
same name (FK) - if such exists, it will be deleted and replaced with the
new one. You may then proceed with the loading of a new form (command
FS).
The length of the label is defined as well as the distance between
the separate labels. When using paper rolls these distances may be arbi-
trarily selected and set but when working with self-adhesive labels, the
length of the label must be set as close to its actual dimensions as pos-
sible or the result may be incomplete printouts or empty labels. The com-
mand Q, with all demanded parameters, is placed at the beginning of the
text file. Other commands may also be located here - starting point (R),
select code table (I), print density (D) and printing speed (S).
Designing the appearance of the label. Setting the elements, which
will not be subject to changes - they will need no counters or variables.
Setting and defining the elements subject to changes for each
label. When some of them are whole numbers and will change at regular
rates a counter may be defined for them. The rest must be variables. De-
pending on the case in question the information on a given inscription or
bar code may be set in several different variables and/or counters.
Defining variables and counters includes an assessment of their
maximum possible length, alignment if and when the text is shorter than
the maximum length, rate of growth of the counters. The selection of the
initiating text is important too if it is not informative operating with the forms
later on may be difficult. A line with the command “V” or “C” is added in the
text file for each counter or variable.
If we wish to insert graphics in the label, we must select a name and
position for this element and add a command for its layout in the text file
(GG). The PCX file must be prepared in advance on a PC and loaded into
the printer prior to the execution of the form. Before sending it to the printer
its length must be verified and noted because the loading command GM
will demand this information. One possible way for doing this is by send-
ing the file from a terminal program with the DOS command COPY FileName
COMn: /B (sending the file as binary in this case is obligatory) - “n” is the
number of the serial port.
Selecting the position, font, size and orientation of the inscriptions
on the label. “A” commands are added for this purpose and if necessary,
the inclusion of text modifiers for the counters and the variables for receiv-
ing the necessary strings for printing.
Selection of the type, position, size and orientation of the bar codes
- if there will be such - where modifiers may also have to be used.
If drawing of lines and frames is needed the following commands
may be added - LE, LO, LW, X.
At the end of the file the command FE is added - “Form End”.
The ready file is then sent to the printer: the form should be loaded
into the memory and be printed out in the list with the FI command.
With the FR command the form may become active. Values of the
variables and counters are added with the command “?” from a terminal
program.
The forms, the graphics and loadable fonts use a common memory of
the printer, i.e., if we enter more graphic information there will be less
memory left for forms and vice-versa. This memory restriction comes for
two reasons: on one hand not more than 512 forms, graphic files and fonts

User’s Manual1 DATECS LP-1000
20 21
4.3 DIP switches and buttons
4.3.1 Configuration switches
If you keep the button pressed when printer is switched off and switch
it on in the meantime it will print out diagnostic information and then will
enter the dump mode. After this operation the printer MUST be switched
off and on again to return to normal mode!
!
CAUTION
can be stored in the memory, irrespective of how small they happen to be.
On the other hand is the restriction related to the volume of the memory
itself, which is 506 kB. It must be remembered that the memory intended
for storing forms and graphics is distributed in parts of 256 bytes each
meaning, that even a form of only 10 bytes will take up 256 bytes of the
volume of the memory.
The maximum length of the printed label is defined by the size of the
graphic buffer - 4000 dots (500 mm). The maximum printable width is 432
dots (54 mm) on 58 mm label rolls and 608 dots (76 mm) on 79 mm label
rolls.
When the printer is used for longer printing sessions the printing head
unit may heat considerably and printing is interrupted for cooling off. It is for
this reason that when printing labels with larger black areas the printer
must be switched off at shorter interval for cool off.
Sw1 Sw2 Sw3 Baud rate (bps)
OFF OFF OFF Local keyboard
ON OFF OFF 2400
OFF ON OFF 4800
ON ON OFF 9600
OFF OFF ON 19200
ON OFF ON 38400
OFF ON ON 57600
ON ON ON 115200
OFF ON
Sw4 Hardware protoco XON / XOFF protocol
Sw5 Paper width 58 mm Paper width 79 mm
Sw6 Paper roll printing Sticker label
Sw7 Not used
Sw8 Normal operation mode DATECS LP-50 compatible
4.3.2 Operation buttons
The FEED button extracts paper until it is released. In the “sticker
type labels” mode positions the printing head over the next label.

User’s Manual1 DATECS LP-1000
22 23
• Generating a graphic image
• Working with loadable fonts
• Working with forms (command files)
Start of a new form
End of a new form
Loading a form
Deleting a form
Recovering the name of the active form
Listing of the leaded forms
*
*
*
*
*
*
FS
FE
FR
FK
FA
FI
• Working with graphic files (monochrome PCX format)
Saving a new PCX file
Deleting a PCX file
Direct printing of graphics
Listing of loaded PCX files
*
*
*
*
GM
GK
GW
GI
Saving a new font
Deleting a font
Listing of the loaded forms
*ES
EK
EI
*
*
Generating a line of text
Drawing a barcode
Drawing rectangles in XOR mode
Drawing rectangles in black
Drawing rectangles in white
Drawing diagonal lines
Drawing a frame
Drawing out a loaded PCX file
Drawing a 2D barcode (PDF417)
A
B
LE
LO
LW
LS
X
GG
b
• Working with counters and variables
4.4 Indicators
POWER Lights in green when printer is ON.
ERROR Normally is not active.
Lights in red when cover is open, but there is paper.
Blinks in red with 0.5 sec period when paper is over
or no label found.
Blinks in red with 1.0 sec period when printing head
is too hot.
4.5 List of commands
4.5.1. By categories
• Setting the functional mode of the printer
Setting the printing density
Setting values for counters / variables * ?
Defining counters C
Defining a text variable V
Setting the printing density D
Selecting the Code table I
Set / Cancel condensed text mode j
Setting the page length Q
Setting the page width q
Setting the starting point R
Setting the printing speed S
Setting date/hour * TS
Setting date format TD
Setting hour format TT
Setting print direction Z

User’s Manual1 DATECS LP-1000
24 25
NOTE:
The commands marked with “*” cannot be included into a form (command file).
Listing of the leaded forms * FI
Deleting a form * FK
Loading a form * FR
Start of a new form * FS
Drawing out a loaded PCX file GG
Listing of loaded PCX files * GI
Deleting a PCX file * GK
Saving a new PCX file * GM
Direct printing of graphic info * GW
Selecting the character table I
Set / Cancel condensed text mode j
Drawing a rectangle or a line L
Clearing the operational memory * M
Clearing current forms and graphic buffer * N
Printing a label * P
Resuming an interrupted printing session * PC
Setting the page length Q
Setting the starting point R
Entering default settings * RESET
Setting date/hour * TS
Setting date format TD
Setting hour format TT
Printing diagnostic information * U
Retrieving diagnostic information * U@
Returning a list of loaded fonts * UE
Returning a list of loaded forms * UF
Returning a list of loaded graphics * UG
Info on occupied memory * UM
Defining a text variable V
Drawing frames X
Setting the direction of the print Z
• Clearing the memory
Clearing the operational memory
Clearing current forms and graphic buffer
Entering default settings
*
*
*
M
N
RESET
• Print
Printing a label
Resuming an interrupted printing session
*
*
P
PC
• Information and diagnostics
Printing diagnostic information
Retrieving diagnostic information
Info on occupied memory
Returning a list of loaded forms
Returning a list of loaded graphics
Returning a list of loaded fonts
*
*
*
*
*
*
U
U@
UM
UF
UG
UE
3.5.2. In alphabetical order
Setting values for counters/variables * ?
Direct printing of text * =
Select/cancel “print text” * @
Generating a line of text A
Drawing a bar-code B
Drawing a 2D bar-code (PDF417) b
Defining counters C
Listing of the loaded forms * EI
Deleting a font * EK
Saving a new font * ES
Recovering the name of the active form * FA
End of a new form * FE

User’s Manual1 DATECS LP-1000
26 27
Setting the printing speed
Format: Sn
Where n may be between 2 and 6 , the value being ap
proximately 50, 75, 100, 125 and 150 mm/sec. At higher
density rates the printer may not be able to print at this
speed. Printing on sticker labels with speed greater than
100 mm/s is not recommended.
Example: S3
Printing speed is set at 75 mm/sec.
Selecting the code table
The printer supports 13 code tables. There are no images for the
symbols with ASCII codes 0 - 31.
Format: In
n=0: English (CP437)
n=1: Bulgarian (CP856)
n=2: Russian (CP866)
n=3: Latin2 (CP912)
n=4: Baltic (CP775)
n=5: Win CE (1250)
n=6: Win Cyrillic (1251)
n=7: Win Western (1252)
n=8: Win Baltic (1257)
n=9: Win Greek (1253)
n=10: Win Turkish (1254)
n=11: Win Hebrew (1255)
n=12: Arabic
Example: l1
Selects the Bulgarian set of symbols.
5. DETAILED DESCRIPTION OF THE COMMANDS
5.1 Setting the printer’s functional mode
Select / Cancel direct text printing mode
The command sets the printer to a mode, in which all lines received
are printed and not executed as a command. In the “sticker labels”
mode the margin between the labels is skipped.
Format: @ n
Where n may be 0, 2, 3 or 4; 0 cancels this mode while the
other values sets the direct text printing mode using the
corresponding font number.
Setting the printing density
Offers the option to adjust the printing density depending on the sen-
sitivity of the paper and the character of the printed information.
Format: Dn
n may have values from 0 to 15 where 15 sets the
maximum density possible. Setting higher density rates
leads to slower printing.
Example: D6
Sets the printing density to 6.
Select / Cancel condensed print mode
When condensed printing is selected, the white frame around every
text symbol is not printed. So the width of every symbol becomes two
dots smaller and more symbols per line can be printed. The selected
mode is memorized after switching the printer off.
Format: jn
n=0 Normal print (default)
n=1 Condensed print

User’s Manual1 DATECS LP-1000
28 29
Format: ZT or ZB
ZT Normal image
ZB Image rotated to 180o
Set date and hour
The command is used to set the real-time clock of the printer.
Format: TSm,d,y,h,m,s
mmonth (1 - 12)
dday (1 - 31, validity of the date being checked)
yyear - the last two digits (0 - 99).
hhour (0 - 23)
mminutes (0 - 59)
sseconds (0 - 59)
Example: TS10,2,01,14,10,10
Sets clock to 2 Oktomber 2001, 14:10:10
Setting date format
The command sets the mode in which the string will generate the
current date.
Format: TDAxByC
With capital letter the fields for the date have been
marked. A, B and C may have the following values,
which may be used not more than once:
Y2 or Y4 The current year, marked with 2 or 4 digits.
ME or MN The current month shown in three letters
or two digits.
DD The current day of the month.
The small letters mark the spaces between the fields. They are
entered together with the symbol, which we wish to use. The divisors
between the fields are marked in small letters - entered immediately
after the symbols we wish to use.
Example: TDdd-me-y4
This would generate a date of the type: 02-OKT-2001
Setting the length of the page
Format: Qm,[B]n[+p]
mis the length of the printed area. Possible values are
between 80 (10) and 4000 (500 mm).
Bis an optional parameter (the letter ‘B’), which selects
labels with black line on the back.
nis the added space after the printout. Possible value -
not more than 255 (32 mm). Not used when printing on
labels.
pis an optional parameter, determining the additional
offset of the printable area when using labels with black
line.
When paper rolls are used sets the vertical size of the printing area
and the automatic space added after it. Both sizes are in dots: 8 dots/
mm or 203 dots/inch. If there are elements outside of this size when
the image is generated they will be cut off.
Example: Q240,80
Sets the length of the page - 30 mm - and dividing space
10 mm. When sticker-labels are used sets the borders of
the label, and prints exactly one image per label. In spite
of this the parameters must be within the set limits as
quoted above.
Setting the starting point of the print
Sets the starting point of the printing area.
Format: Rm,n
mis the horizontal offset. Possible value is 0 - 607.
nis the vertical offset. Possible value is between 0
and 3999.
Example: R24,24
Sets an initial offset on X and Y of 3 mm.
Setting the print direction
Sets the position of the image during print.

User’s Manual1 DATECS LP-1000
30 31
5.2 Working with variables and counters
Defining a counter
Offers the option to define up to 8 counters, which are whole digit
variables, the values of which change automatically after printing at a
previously set rate. Initialization starts with the command ‘?’ It is used
alone or in combination with other variables and counters when gen-
erating a text or a barcode.
Format: Ca,b,c[d],e,f
aLogical number of the counter (0 - 7)
bMaximum Length (1 - 24)
cAlignment. Possible values:
NNo alignment. The true length is used.
RThe counter string is right aligned while on the
left the maximum length is set joined by the fill-in
symbol.
LThe counter’s string is left aligned while on the
right the maximum length is set joined by the
force justify symbol.
CThe string of the counter is centered while on the
left and right ends to the set length the fill-in
symbols are joined.
dThe additional symbol to the previous argument. If n
ot entered a space will be included.
eGrowth rate. This is whole digit with a sign; the counter
will automatically change after printing. Possible
values: -100 to +100.
fText prompt. This is string closed by inverted commas
not longer than 25 symbols. At the initialization of the
counter the printer will send this text via the serial
port.
Example: C0,6,R0,+1,”Counter1:”
Defines counter number 0 with a maximum length of 6
bytes, right aligned with zeros and a rate of +1.
Defining a text variable
Offers the option to define up to 32 variables. Initialization starts with
“?”. Used singularly or in combination with other variables and
counters for generating texts or barcodes.
Setting hour format
The command sets the mode in which the current hour will be gener-
ated by the string.
Format: TTAxByC
Schematically the fields of the hour have been marked
with capital letters. A, B and C can have the following
values which may be employed not more than once.
H: The current hour.
M: The current minute.
S: The current second.
The small letters are used to designate the spaces between the fields.
They are entered immediately after the symbol, which we wish to use.
Example: TTh:m:s
This will generate a string of the type: 15:30:20.

User’s Manual1 DATECS LP-1000
32 33
5.3 Generating a graphic image
Generating a text
The command is used for inserting textual information in the image.
Format: Aa,b,c,d[*],e,f,g,[*]h
aStarting coordinate on X for the upper left angle of
the text: 0 - 2047.
bStarting coordinate on Y for the upper left angle of
the text: 0 - 4095.
cText orientation: 0=0o, 1=90o, 2=180o, 3=270o
where rotation is clockwise.
dFont selection, where the following values are
possible:
0: 12x24 dots
1: 8x12 dots
2: 10x16 dots
3: 12x20 dots
4: 14x24 dots
5: 32x48 dots
6: 24 x 24 dots Hangeul or Chinese font
(For Korean or Chinese version only)
dcan be a Latin letter in which case it is a name of a
loadable font. The size of the symbols is there
contained. Around each of the in-built fonts there is
a white frame 1 dot wide so that the printable size is
actually 2 points bigger than the size stated above.
eSelection of a multiplier for X of the font. Possible
values are 1 - 8.
fSelection of a multiplier for Y of the font. Possible
values are 1 - 9.
gPrinting mode: N - normal, R - inverted, B - bold, W
inverted bold. The loadable font can be printed
only in a normal mode.
hText data. The format for generating a text and a
barcode is the same and is described further on.
If code table 11 (Hebrew) or 12 (Arabic) is selected, the text is printed
from right to the left. You can change the print direction placing the
symbol ‘*’ before the text data. If the symbol ‘*’ is placed after the font
name, then code table 0 (CP437) is used for this text line indepen-
dent of the last command ‘I’ executed.
Format: Va,b,c,d,e
aThe number of the variable (0 - 31)
bMaximum length (1 - 63)
cAlignment - possible values:
NNo alignment - actual length is used.
RThe string of the variable is right aligned - on
the left the set length is filled with the additional
symbol.
LThe string of the variable is left aligned - on the
right the set length is filled with the additional
symbol.
CThe string of the variable is center aligned
while on both sides the maximum length is filled
in with the additional symbols.
dThis is the additional symbol for the preceding
argument. If it is not selected space is used.
eA suggestive text (prompt). This is a string closed
by brackets and a max. length of 25 symbols. At
initialization of the variable the printer sends this
text over the serial port.
Example: V1,6,L,”Name:”
Defines a variable No.1 with a maximum length of 6
bytes, left aligned with spaces.
Initialization of variables and counters
After this command the printer asks for initialization values for the
defined counters and variables in the order of their logical
numbers. After each entry the printer sends a text prompt via its
serial port. If a longer string is sent it will cut off from the right end.
Empty strings will call out the old value of the counter or variable.
Initializing a counter with a string, which cannot be interpreted as
a positive number will be rejected.
Format: ?
Clearing the content of variables and counters
The command clears the contents and deactivates all variables and
counters.
Format: VC

User’s Manual1 DATECS LP-1000
34 35
jData for imaging. The format is similar to the generation
of text and barcode and is described further in the text.
When the barcode functions with a set number of
symbols the command will be rejected at an
unacceptable symbol. The same is valid in the case of
invalid barcode lengths demanding a certain number
of symbols.
Example: B0,0,0,E30,2,3,60,B,”123456789012"
Will create a barcode image of the EAN13 type with a
starting coordinate (0,0), not rotated, with bars 2 dots
wide, 60 dots high with a duplicating text with content:
“123456789012”.
Table 1:
String Bar code type
3 Code 39
3C Code 39 with check digit
9 Code 93
0 Code 128 UCC
1 Code 128 auto A,B,C modes
K Codabar
E80 EAN8
E82 EAN8 2 digit add-on
E85 EAN8 5 digit add-on
E30 EAN13
A30 EAN13 with internal control digit
E32 EAN13 2 digit add-on
E35 EAN13 5 digit add-on
2G German Post Code
2 Interleaved 2 of 5 (ITF)
2C CInterleaved 2 of 5 with mod. 10 check digit
2D Interleaved 2 of 5 with human readable check digit
P Postnet
1E UCC / EAN 128
UA0 UPC A
UA2 UPC A 2 digit add-on
UA5 UPC A 5 digit add-on
UE0 UPC E
UE2 UPC E 2 digit add-on
UE5 UPC E 5 digit add-on
2U UPC interleaved 2 of 5
L Plessey (MSI-1)
Example: A10, 10, 1, 3, 2, 2, N, “Something”
Will create an image of the text “Something” from the
coordinate (10,10) rotated to 90o with font 12 x 20
multiplied times 2 in a horizontal and vertical direction.
The text is not inverted.
Generating barcodes
The command is used for inserting a barcode in the image.
Format: Ba,b,c,d,e,f,g,h[i],j
aStarting coordinate on X for the upper left angle of
t he text: 0 - 2047.
bStarting coordinate on Y for the upper left angle of
the text: 0 - 4095.
cText orientation: 0=0, 1=90o, 2=180o, 3=270o
where rotation is clockwise.
dSelection of the type of barcode for printing - text
from 1 to 3 symbols. The possible values are in
Table 1.
eSetting the thickness of the narrow bar in dots.
Possible values: 1 - 6.
fSetting the thickness of the wide bar in dots.
Possible values 2 - 10, where the value must be
bigger than the previous parameter. Some of the
barcode demand additional restrictions.
gHeight of the barcode in dots. Possible values are
between 24 and 1000.
hDuplicate information in textual form or not.
Possible values:
Nno
Byes
iA non-compulsory parameter, showing th
alignment of the duplicating text in relation to the
barcode. Accepted only if the preceding parameter
has a B value. Possible values:
Ccentered
Rright aligned
By default the text is left aligned.

User’s Manual1 DATECS LP-1000
36 37
cFrame thickness: 1 - 80. Thickness is at the
expense of the inner area.
dX coordinate of the opposite angle: 0 - 2047
eY coordinate of the opposite angle: 0 - 4095
Example: X10, 10, 3, 360, 250
Draws a rectangle with a size of 250 x 240 and frame
thickness of 3 dots.
Generating 2D barcodes
The command is used for inserting 2D barcode in the image. Only
PDF417 is supported.
Format: bp1,p2,p3,p4,p5[,pi...],”Data”
p1Starting coordinate on X for the upper left corner of
the barcode: 0 to 2047.
p2Starting coordinate on Y for the upper left corner
of the barcode: 0 to 4095.
p3Barcode type. Must be ‘P’ for PDF417. MacroPDF
and Extended Channel Interpretation are not
supported.
p4Maximum print width in dots. 0 to 384.
p5Maximum print height in dots. 0 to 1024.
The following parameters are optional. When not entered, default
values are used. Each parameter is identified by a single letter:
p6 (s) Error correction level. Allowed values: s0 - s8.
If not specified, the value is calculated using
the following table:
User data codewords
-
1 - 31
32 - 63
64 - 127
128 - 255
256 -511
512 - 928
-
-
EC Level
0
1
2
3
4
5
6
7
8
EC codewords
2
4
8
16
32
64
128
256
512
Drawing a rectangle
There are three commands designed for this operation. LO prints in
black, LE inverts the dots located below the line (in the XOR mode),
while LW prints, unconditionally, in white.
Format: LOa,b,c,d or
LEa,b,c,d or
LWa,b,c,d
aStarting coordinate for X: 0 - 2047
bStarting coordinate for Y: 0 - 4095
cSize for X: 1 - 2047
dSize for YL: 1 - 4095
Example: LO10, 10, 100, 200
Draws a rectangle with coordinates (10,10), (110,10),
(110,210) and (10, 210) in black.
Drawing a diagonal line
Format: LS[m]a,b,c,d,e
mNon-compulsory parameter. Possible values:
Emode XOR
Wwhite
aStarting coordinate for X: 0 - 2047
bStarting coordinate for Y: 0 - 4095
cLine thickness: 1 - 80
dEnd coordinate for X: 0 - 2047
eEnd coordinate for Y: 0 - 4095
Example: LSE10, 10, 8, 100, 200
Draws a line from coordinate (10,10) to (100,200) 8 dots
thick which inverts the image over which it runs.
Drawing frame
The command generates a rectangular frame with a set line thick-
ness.
Format: Xa,b,c,d,e
aThe X coordinate of the right angle: 0 - 2047
bThe Y coordinate of the right angle: 0 - 4095

User’s Manual1 DATECS LP-1000
38 39
Example: b0,0,P,320,100,f0,”DATECSLtd.\ 10www.datecs.bg\10"
will print the a PDF417 barcode containing the data:
DATECS Ltd.<LF>www.datecs.bg<LF>
Upper left corner of the image will be (0,0). Starting from module width
6, the printer reduces the size until the barcode can be printed. The
resulting bar-code has 9 columns and 5 rows. Error correction level is
automatically set to 1 (4 error correction codewords). Auto compres-
sion mode is selected, the printer uses text compaction with shift to
byte compaction for encoding the <LF> characters.
Direct printing of graphics
The command permits the screening of a graphic image in the
memory of the printer, which has not been saved there in advance.
Format:GWa,b,c,d,e
aX coordinate of the upper left angle: 0 - 2047.
bY coordinate of the upper left angle: 0 - 4095.
cHorizontal size in units of 8 dots (bytes) 1 - 127.
dVertical size in dots: 0 - 2047.
eGraphic lines. There are c*d bytes of information,
8 dots per byte where bit 1 is a black dot. Data is sent
in horizontal lines from left to right. CR and LF are
added at the end of all data.
Format of the text information for commands A (text) and
B (barcode)
The input data for the commands A and B is a string which can be
formed by the joining of a free text the current date and hour as well as
some of the defined and initialized counters and variables in the
order and quantity as required by the user. The separate elements
are joined together in the order of their description from left to right.
Their encoding is as follows:
Free text: This is entered directly and is closed by inverted
brackets. If the symbol “ has to find a place in
the text it must be preceded by ‘\’.
Current date: It is coded with TD[m], where m is not a compulsory
whole number from -3500 to 3500 setting the offset
size in relation to the current date.
p7 (c) Data compression method.
c0 Auto-encoding (default).
c1 Binary mode.
p8 (p) Print human readable data. Non-standard
PDF417 and should be used for troubleshooting
purposes only.Internal format: px,y,n
xX start coordinate. 0 - 2047.
yY start coordinate. 0 - 4095.
nMaximum characters per line. 1 - 40.
p9 (f) Barcode origin point.
f0 Barcode origin point is defined by parameters
p1 and p2.
f1 Barcode is centered in the rectangle, defined
by p1, p2, p4 and p5. This is the default.
p10 (x) Set maximum module width (in dots). Allowed
values: x2 to x9. Default: x6.
p11 (y) Set maximum bar height (in dots). Allowed values:
y4 to y99. Default is 4 times module width (4*p10).
p12 (r) Set maximum row count. Allowed values: r3 to
r90. Default: r90.
p13 (l) Set maximum column count. Allowed values:
l5 to l34. Default: l34.
p14 (o) Rotation. Allowed values: o0: 0, o1: 90, o2: 180,
o3: 270 degrees. Default o0.
Data Contains barcode data. The format is the same
as the data format for text and barcode, but it is
possible additionally to encode non printable
characters (with ASCII codes below 32) using
the syntax ‘\dd’, where dd is the decimal
representation of the ASCII code.
If the barcode with the selected module width and height fits not in the
area, defined by p1, p2, p4 and p5, the printer automatically starts to
lower p10 and p11 until the area of the barcode becomes small enough
to be printed. Row and column count are calculated so the propor-
tions of the barcode are as near as possible to p4 : p5. If this procedure
fails, the barcode is not printed.
Other manuals for LP-1000
1
Table of contents
Other Datecs Label Maker manuals