0% found this document useful (0 votes)
169 views27 pages

1 Datecs: Label Printer LP-1000

This document is a user manual for the DATECS LP-1000 label printer. It contains instructions on setup, operation, specifications and maintenance of the printer. The manual includes sections on unpacking the printer, basic rules for operation, an overview of controls and indicators, a list of commands for printing and formatting labels, and safety precautions for use.

Uploaded by

Xaoc Kabata
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
169 views27 pages

1 Datecs: Label Printer LP-1000

This document is a user manual for the DATECS LP-1000 label printer. It contains instructions on setup, operation, specifications and maintenance of the printer. The manual includes sections on unpacking the printer, basic rules for operation, an overview of controls and indicators, a list of commands for printing and formatting labels, and safety precautions for use.

Uploaded by

Xaoc Kabata
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

1 DATECS

User’s Manual

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

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: sales@datecs.bg
VERSION 02 / 2007 / EN

2 3
1 DATECS LP-1000 User’s Manual

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.

4 5
1 DATECS LP-1000 User’s Manual

B. If liquid has been spilled into the product. SAFETY PRECAUTIONS – BE SURE TO OBSERVE
C. If the product has been exposed to rain or water.
D. If the product does not operate normally when the operating instructions In order to prevent hazards to an operator or other persons and
are followed. Adjust only those controls that are covered be the operating damage to property, be sure to observe the following precautions.
instructions since improper adjustment of other controls may result in
damage and will often require extensive work by a qualified technician to The following describes the degrees of hazard and damages that
restore the product to normal operation. can occur if the given instructions are neglected or the printer is
E. If the product has been dropped or the cabinet has been damaged. incorrectly operated.
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 ! WARNING
children or throw it away from children or throw it away to prevent children
from putting it on. Putting it on may cause suffocation. Negligence of this precaution may result in death or serious injury.

! CAUTION

CAUTIONS Negligence of this precaution may result in injury or damage to


property.
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. ! This is an illustration mark used to alert your attention.
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
This is an illustration mark used to indicate such information
User’s Manual. i as an instruction or the like.
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.

6 7
1 DATECS LP-1000 User’s Manual

! WARNING ! PRECAUTIONS FOR INSTALLATION

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

8 9
1 DATECS LP-1000 User’s Manual

Use a shielding wire or twisted pair wire for a signal line, in order to minimize ! PRECAUTIONS FOR HANDLING
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 Do not handle the equipment in the following manners, because
data, and so on. problems may result.
Do not use any other power source besides the accessory DC/AC adapter.
Use the equipment in an environment where there is s plug socket near the Also, do notg use the AC adapter for other purposes.
main body and you can easily disconnect the power plug from it, to shut off the Do not print without paper.
power. Do not drop or put any foreign object, such as a clip, pin, or the like, inside the
printer.
When the equipment will not be used for a long period of time, unplug it and
Do not spill any liquid or spray any chemical-containing liquid over the
remove the paper roll from it.
equipment.
Never use a pointed object, such as a pen, to operate the operation panel.
When transporting the equipment, remove the paper roll from paper holder.
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.

10 11
1 DATECS LP-1000 User’s Manual

! DAILY MAINTENANCE
1. Outline
This manual describes the disassembly, reassembly, and mainte-
At the time of maintenance, be sure to turn off the power switch of the printer nance procedures of the Label printer LP-1000. Also it includes block
and unplug it from the socket. scheme,electrical diagram of the PCB, the PCB, technical & electrical
specifications of the printer.
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. 1.1 Features
If the equipment is contaminated with paper powder, use a soft brush The LP-1000 is designed for printing on small size labels or graphical
to clean it. Be careful not to damage the printing head. images to termo-sensitive paper.

Cleaning the Printing Head Label printer


1. Moisten gauze slightly with alcohol, and clean the heating surface of the Compact design
printing head with it.
Low-noise printing
2. Reattach the platen roller unit.
Use of 80 mm- or 58 mm Label paper roll.
Built-in Serial RS232 Interface
Built-in input buffer
! CAUTION
Bar code printing
The printing head and motor are very hot. Be careful not to touch High-speed printing at 50 to 150 mm/s max.
them immediately after printing. Do not touch the heating surface of
the head with a bare hand or metal. When detaching or reattaching Built-in Interface for External Display
the platen roller unit, be sure to raise up the printing head, other- Power supply - AC adaptor
wise, they could be damaged. Handle the detached platen roller unit Built-in Drawer Kick-out interface
carefully so as not to damage it.

12 13
1 DATECS LP-1000 User’s Manual

1.2 Unpacking 2. Basic rules for operating


When unpacking the package, confirm that the following parts are provided:
Printer body ...................... 1 unit ! FOLLOW INSTRUCTIONS CLOSELY.
Sample paper roll ............ 1 roll ! MAY CAUSE DAMAGE TO THE UNIT.
AC adapter ....................... 1 piece
User’s manual .................. 1 copy • Attempts to print on other types of paper, stickers, folio not specified as
Disc ................................... 1 piece 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.
! CAUTION • Don’t force paper out from the printing mechanism.
• Should the printer behave unusually during operation immediately turn
Install the printer body on a flat and stable desk or mount it onto it off!
the wall, etc., using a hook, etc. • Printer repairs are performed only by service technicians. Do not at
tempt to repair the unit yourself.
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 ! CAUTION
completely gone away.
The printer operates with paper rolls with sizes:
Use only the accessory DC/AC adapter. Do not use it for an • roll with labels: width 58 mm or 79 mm
other purpose. • maximum diameter of roll: 83 mm

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.

14 15
1 DATECS LP-1000 User’s Manual

3. Basic specifications 4. OUTER VIEW - CONTROL


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

16 17
1 DATECS LP-1000 User’s Manual

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

18 19
1 DATECS LP-1000 User’s Manual

can be stored in the memory, irrespective of how small they happen to be. 4.3 DIP switches and buttons
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 4.3.1 Configuration switches
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 Sw1 Sw2 Sw3 Baud rate (bps)
volume of the memory.
OFF OFF OFF Local keyboard
The maximum length of the printed label is defined by the size of the ON OFF OFF 2400
graphic buffer - 4000 dots (500 mm). The maximum printable width is 432
OFF ON OFF 4800
dots (54 mm) on 58 mm label rolls and 608 dots (76 mm) on 79 mm label
rolls. ON ON OFF 9600
OFF OFF ON 19200
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 ON OFF ON 38400
this reason that when printing labels with larger black areas the printer OFF ON ON 57600
must be switched off at shorter interval for cool off.
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.

! CAUTION
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!

20 21
1 DATECS LP-1000 User’s Manual

4.4 Indicators • Generating a graphic image


POWER Lights in green when printer is ON.
Generating a line of text A
ERROR Normally is not active. Drawing a barcode B
Lights in red when cover is open, but there is paper. Drawing rectangles in XOR mode LE
Blinks in red with 0.5 sec period when paper is over Drawing rectangles in black LO
or no label found. Drawing rectangles in white LW
Blinks in red with 1.0 sec period when printing head Drawing diagonal lines LS
is too hot. Drawing a frame X
Drawing out a loaded PCX file GG
4.5 List of commands Drawing a 2D barcode (PDF417) b

4.5.1. By categories • Working with forms (command files)


• Setting the functional mode of the printer
Start of a new form * FS
Setting the printing density
End of a new form * FE
Setting the printing density D Loading a form * FR
Deleting a form * FK
Selecting the Code table I Recovering the name of the active form * FA
Set / Cancel condensed text mode j Listing of the leaded forms * FI
Setting the page length Q
Setting the page width q
Setting the starting point R • Working with graphic files (monochrome PCX format)
Setting the printing speed S
Setting date/hour * TS Saving a new PCX file * GM
Setting date format TD Deleting a PCX file * GK
Setting hour format TT Direct printing of graphics * GW
Listing of loaded PCX files * GI
Setting print direction Z

• Working with counters and variables


• Working with loadable fonts
Setting values for counters / variables * ?
Defining counters C Saving a new font * ES
Deleting a font * EK
Defining a text variable V
Listing of the loaded forms * EI

22 23
1 DATECS LP-1000 User’s Manual

• Clearing the memory Listing of the leaded forms * FI


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

24 25
1 DATECS LP-1000 User’s Manual

5. DETAILED DESCRIPTION OF THE COMMANDS Setting the printing speed

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

26 27
1 DATECS LP-1000 User’s Manual

Setting the length of the page Format: ZT or ZB


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

28 29
1 DATECS LP-1000 User’s Manual

Setting hour format 5.2 Working with variables and counters


The command sets the mode in which the current hour will be gener- Defining a counter
ated by the string. Offers the option to define up to 8 counters, which are whole digit
Format: TTAxByC variables, the values of which change automatically after printing at a
Schematically the fields of the hour have been marked previously set rate. Initialization starts with the command ‘?’ It is used
with capital letters. A, B and C can have the following alone or in combination with other variables and counters when gen-
values which may be employed not more than once. erating a text or a barcode.
H: The current hour. Format: Ca,b,c[d],e,f
M: The current minute. a Logical number of the counter (0 - 7)
S: The current second. b Maximum Length (1 - 24)
The small letters are used to designate the spaces between the fields. c Alignment. Possible values:
They are entered immediately after the symbol, which we wish to use. N No alignment. The true length is used.
Example: TTh:m:s R The counter string is right aligned while on the
left the maximum length is set joined by the fill-in
This will generate a string of the type: 15:30:20. symbol.
L The counter’s string is left aligned while on the
right the maximum length is set joined by the
force justify symbol.
C The string of the counter is centered while on the
left and right ends to the set length the fill-in
symbols are joined.
d The additional symbol to the previous argument. If n
ot entered a space will be included.
e Growth rate. This is whole digit with a sign; the counter
will automatically change after printing. Possible
values: -100 to +100.
f Text 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.

30 31
1 DATECS LP-1000 User’s Manual

Format: Va,b,c,d,e 5.3 Generating a graphic image


a The number of the variable (0 - 31)
b Maximum length (1 - 63) Generating a text
c Alignment - possible values:
The command is used for inserting textual information in the image.
N No alignment - actual length is used.
R The string of the variable is right aligned - on Format: Aa,b,c,d[*],e,f,g,[*]h
the left the set length is filled with the additional a Starting coordinate on X for the upper left angle of
symbol. the text: 0 - 2047.
L The string of the variable is left aligned - on the b Starting coordinate on Y for the upper left angle of
right the set length is filled with the additional the text: 0 - 4095.
symbol. c Text orientation: 0=0 o, 1=90o, 2=180o, 3=270o
C The string of the variable is center aligned where rotation is clockwise.
while on both sides the maximum length is filled d Font selection, where the following values are
in with the additional symbols. possible:
d This is the additional symbol for the preceding 0: 12x24 dots
argument. If it is not selected space is used. 1: 8x12 dots
e A suggestive text (prompt). This is a string closed 2: 10x16 dots
by brackets and a max. length of 25 symbols. At 3: 12x20 dots
initialization of the variable the printer sends this 4: 14x24 dots
text over the serial port. 5: 32x48 dots
Example: V1,6,L,”Name:” 6: 24 x 24 dots Hangeul or Chinese font
Defines a variable No.1 with a maximum length of 6 (For Korean or Chinese version only)
bytes, left aligned with spaces. d can 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
Initialization of variables and counters
a white frame 1 dot wide so that the printable size is
After this command the printer asks for initialization values for the actually 2 points bigger than the size stated above.
defined counters and variables in the order of their logical e Selection of a multiplier for X of the font. Possible
numbers. After each entry the printer sends a text prompt via its values are 1 - 8.
serial port. If a longer string is sent it will cut off from the right end. f Selection of a multiplier for Y of the font. Possible
Empty strings will call out the old value of the counter or variable. values are 1 - 9.
Initializing a counter with a string, which cannot be interpreted as g Printing mode: N - normal, R - inverted, B - bold, W
a positive number will be rejected. inverted bold. The loadable font can be printed
only in a normal mode.
Format: ?
h Text data. The format for generating a text and a
barcode is the same and is described further on.
Clearing the content of variables and counters If code table 11 (Hebrew) or 12 (Arabic) is selected, the text is printed
The command clears the contents and deactivates all variables and from right to the left. You can change the print direction placing the
counters. 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-
Format: VC dent of the last command ‘I’ executed.

32 33
1 DATECS LP-1000 User’s Manual

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

34 35
1 DATECS LP-1000 User’s Manual

Drawing a rectangle c Frame thickness: 1 - 80. Thickness is at the


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

36 37
1 DATECS LP-1000 User’s Manual

p7 (c) Data compression method. Example: b0,0,P,320,100,f0,”DATECSLtd.\ 10www.datecs.bg\10"


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

38 39
1 DATECS LP-1000 User’s Manual

Current hour: Coded with TT the command V or C;


Variable: Format: Vn[-m|+m] [Modifiers] - All modifiers are executed from left to right;
n Number of the variable. - The resulting string is added to the end of the string, resulting from
m Not obligatory parameter – an integer between the processing of the previous elements.
0 and 10000. If present and the variable can be
interpreted as an integer number, then this Examples: “Date: “TD” Time:”TT
value is addred to the value of the variable. will generate something like this:
Modifiers Instructions for separating some of the symbols Date: 02.OCT.2001 Time: 16.30
from the variable. Their number is arbitrary. If V0> < C1L3V0> < C1L3
they are missing the variable is added as per will create a string from the variable V0, which is cleared
definition and initialization without additional off leading and end intervals as well as the left 3 symbols
processing. The printer performs the following from the counter C1.
modifiers: V0L1V0M3.2V0R1
> Cuts off the string all leading symbols, which will create a string, which will include the first, third, fourth
are identical to the symbol following the mark and last symbol of the variable V0.
of the modifier. May also be used for cutting off
leading zeros or spaces.
< Cuts off the string the end symbols which are
identical to the symbol following the mark of
the modifier.
Rn Cuts off the symbols to the left of n.
Ln Leaves the last n symbols in the string.
Mm.n Separates n symbols from the string starting
from the position m.
# If the string can be interpreted as a whole
number cuts off the leading zeros.
Xmn Substitutes all symbols with value m with the n
symbol.
G After this symbol other modifiers must follow. They will act
as global modifiers - the whole text until the current
position will be changed, not the last variable or counter.
Counter: Format: Cn[Modifiers]
n Number of the counter.
Modifiers Their meaning and functions are the same as
with the variables.
The order in which the printer processes the variables and the
counters is as follows:
- The present values of the counter/variable is taken as a starting
point
- Its formatting is performed depending on the way it is defined with

40 41
1 DATECS LP-1000 User’s Manual

5.4 Working with forms Deleting a form


Starting to save a new form The command deletes existing form or all forms. The engaged memory
after this is freed.
This command starts the entry of a new form in the operational memory
of the printer. All valid commands, which are sent to the printer be-
Format: FK”Name”
tween this command and FE will be saved in this form. If any of the
Name: The name of the form - a form of that name must
commands is rejected due to syntax error because it has not been
be saved in the memory. If ‘*’ is entered as a name
accepted in a form it will not be saved. If there is a previous form with
all forms will be deleted.
this name it must be deleted with FK - in the opposite case the com-
mand will be rejected.
Format: FS”Name”
Information on the loaded forms
Name is the name of the file, which have at the most 8
symbols. All symbols with ASCII codes between 32 and The command initiates the printing of all loaded forms or returns via
127 including are acceptable excluding the symbol ‘*’. the serial port the content of one of them.
Small and capital letters are not distinguished so that
“Test” and “TEST” are one and the same form. Format: FI
Prints a list of all forms.
Example: FS”Test”
Format: FP”Name”
Prints the contents of the form “Name”.
End of form
The command puts an end to the saving of the form it is registered in
the list of forms and is ready for loading and execution. If before the
command FE the printer is switched OFF the information from the
form entered so far is lost and the memory space it has covered is set
free. If no saving of a form is started the command will be rejected.
Format: FE

Loading of a form
The command announces the information entered earlier as active.
From this point on the information in question will be executed auto-
matically at each command for printing. The closing of the activity of
the form comes when a new form is loaded or with the commands M
or N. Of course, the result will be the same when the form is deleted.
Format: FR”Name”
Name: The name of the form. A form with this name must
be loaded into the memory.
Example: FR”Test”

42 43
1 DATECS LP-1000 User’s Manual

5.5 Working with graphic files 5.6 Working with loadable fonts
Loading a new graphic Loading a font
Saves a new graphic file in the memory of the printer. The rules con- The command is used for loading additional fonts in the printer. The
cerning names are the same as with the forms. The command will be loadable fonts may contain from 1 to 256 symbols not necessarily
rejected if there is a graphic file of that name or the entered size of the arranged in a fixed order. You can create your own fonts using the
file is greater than the size of the free operational memory. The file syntax of the command described further on or you may use ready
must be in the PCX format, monochrome - in any other case it will not programs for the purpose - for example Soft Font Downloader Utility.
be loaded. It can be produced in different programs under Windows
- for example PhotoShop.
Format: ES”Name”p1p2p3a1b1c1D1a2b2c2D2 ... anbncnDn
Format: GM”Name”,n
Name: The name under which the graphic file will be Name: The name of the font - one Latin letter.
saved in the memory of the printer.
p1 One byte - the number of symbols in the font. Possible
n The length of the file (not more than 32768 bytes).
After the command the set quantity of bytes must value is 0 - 225, which corresponds to 1 - 256 symbols.
be sent to the printer. p2 One byte - rotation of the font. Only a values of 00h is
possible (not rotated).
Example: GM”Logo1",3530
p3 One byte - the height of the font in dots. From 1 to 255.
The saving of a graphic file under the name “LOGO1” will
begin (with a length of 3530 bytes). aj One byte - ASCII code of the j-th loaded symbol.
From 0 to 255.
Drawing out of a graphic file bj One byte - distance to the next symbol in dots. From
0 to 255.
The command starts the printing of a graphic file, stored in the buffer
of the printer under that name. cj One byte - width of the j-th loaded symbol in units
of 8 dots each. From 0 to 255.
Format: GGa, b, “Name”
D j Data on the j-th symbol. (p3*cjj) bytes arranged in the
a X coordinate of the upper left corner of the graphic
image (0 - 2047) order line by line from left to right where each byte
b Y coordinate of the upper left corner of the graphic corresponds to a dot, “1” are black dots.
image (0 - 4095)
Name: Name of the graphic file Deleting fonts
Example: GG20,150,”Logo1” The command deletes an existing loadable font or all fonts. The en-
gaged memory is freed.
Deleting graphic files
Format: EK”Name”
The command deletes an existing graphic file or all graphic files.
After deletion the memory is freed. Name of the font. String, which consists of only one letter,
Format: GK”Name” which must be found in the memory of the printer. If as ‘*’
Name: The name of the file (a file of that name must be is entered all loadable fonts will be deleted.
found in the memory).
Information on the loaded fonts
Information on loaded graphic files
A list of the loaded fonts is printed out.
Prints out a list of all loaded graphic files.
Format: GI Format: EI

44 45
1 DATECS LP-1000 User’s Manual

5.7 Clearing the memory 5.8 Print


Clearing the operational memory Printing a label
The command initiates the printing out of the contents of the printer’s
The command leads to the deletion of the whole information loaded
graphic buffer. After the completion of this action it is automatically
into the printer, including forms, graphics, and fonts. All adjustments
cleared and ready for generating a new label. After the end of the
to the printer, accessible via commands acquire their default values.
printing session the last label is pushed out of the printer in away so
Format: M that it is completely visible and ready for use.
Format: P[m,]n
m The number of identical labels which will be printed
De-activation of the current form and deletion of the graphic out. The entering of a value greater than 1 is an option
buffer when working with a form, which uses counters. After
printing a certain number of labels the counters
The command clears the memory where the image for printing is automatically change their values according to the
generated and places the printer in the mode “working without active rules set when they were defined and the new group of
forms”. The command may be used after an error when there are labels is printed with the new values.
suspicions that the graphic buffer has not been cleared or if we wish Possible value: 1 - 1000.
to generate an image directly via commands and without the use of n The number of absolutely identical labels for print.
forms. The sum quantity for this command will be m*n.
Possible value: 1 - 1000.
Format: N The command with only one parameter is used for printing a label
resulting from command, directly sent to printer. The active form is
ignored. The parameter indicates the number of identical labels de-
Setting the printer to its default settings manded.
Example: P2,3
The command sets the printer to given parameters: This command will print 6 labels of which the second 3
50mm/c printing speed, print density 8, label length 200 dots, initial will have new counter values.
offset by X and Y 0, hour format - M:H:S,
date format - DD-MN-Y2 and language - English.
Format: RESET Resuming interrupted printing
If the last printing command has been completed successfully the
command will activate no action on the part of the printer.
If, however, the last printing session has been interrupted you may
activate its continuation from the point of interruption in order to get
the required number of labels.
Format: PC

46 47
1 DATECS LP-1000 User’s Manual

5.9 Diagnostics and returning of data nnn The overall number of loaded graphics. 3 digits.
Gr1 mmm The name and the size of the first graphic image.
Printing out of diagnostic data ...
Grn mmm The name and the size of the n-th graphic image.
This command activates the printing of data on the status of the print- Each element of the above structure ends in the combination
ing head as well as the model of the printer, available free memory <CR><LF>.
the baud rate of the serial port and the values of the cur rent printer The second form of the command makes the printer return the con-
settings. tents of the graphic image under the given name. The image must
Format: U have been loaded in the memory in advance.
The data is sent in the following format:
Returning data on the engaged and free printer memory n1n2 Di where:
n1 Most significant byte of total data count.
The serial port transfers data in one line on: a,b,c,d where: n2 Least significant byte of total data count.
a Is the memory, engaged with forms, presented in bytes Di Image data. The total bytes count is n1*256+n2.
b Is the memory, engaged with graphics, presented in The format of the data is monochrome PCX.
bytes
c Is the memory engaged with fonts, presented in bytes Returning data on loaded fonts
d Is the free memory in bytes.
Format: UM Format: UE or EI”Name”
The first form of the command returns a list of the fonts, loaded in the
Returning data on loaded forms printer having the following structure:
nnn Overall number of the loaded fonts. 3 digits.
Format: UF or FI”NAME” Font1 mmm Name and size of the first font.
The first form of the command returns a list of the loaded ...
forms in the memory of the printer, which has the follow Font n mmm Name and size of the n-th font.
ing structure: Each element of the above structure ends in <CR><LF>.
nnn The number of the loaded forms. 3 digits. The second form of the command permits to call from the printer a
Form1 mmm The name and the size of first form. selected font with the given name. The font must be stored there in
... advance. The data is sent in the following format:
Formn mmm The name and the size of n-th form. n1 Most significant byte of the total number of bytes
Each element of the above structure ends in <CR><LF>. in font.
The second form of the command permits the printer to deliver the n2 Least significant byte of the total number of bytes - i.e,
content of the form under the entered name. The form must have (n1* 256 +n2)
been loaded there in advance. Data is sent line-by-line, lines being D Font data. The total bytes count is n1*256+n2. The
divided by the combination <CR><LF>. After the last line one byte format of the data is described further
is sent with the ASCII code 00h.

Returning data on loaded graphics 5.10. Direct printing of a text


Format: =Line
Format: UG or GI”NAME” Prints out a text directly, without savings in the graphic buffer. The
The first form of the command returns a list of the graphics, loaded in printing results are always of a size 12 x 20 (No.3). When printing
the printer. It has the following structure: sticker labels the margin between the labels is skipped.

48 49
1 DATECS LP-1000 User’s Manual

6. Working with the local keyboard EKP-30 Form:


A “D” is added at the beginning of the information entered previously
The 1200 bps baud rate is reserved for operating with the local keyboard. The and a new form is loaded with the respective name. Depending on
local keyboard may be used to select forms, saved in advance, for printing; to print the signal from the printer one can identify whether such a form exists
out a set number of labels; to change the value of the variables V0, V1 and V2 as or not.
well as the counters C0 and C1 plus the option to print a list of the loaded forms,
graphic images and fonts. Example: “1” + “2” + “3” + “Form”
The principle for operating the keyboard is as follows: the required information is will load the form “D123” - if it exists.
entered with the keys - the end is placed via one of the reserved keys, indicated
here below. Depending on this last entry, the printer interprets the information as the List:
name of a form, the value of a variable or the number of labels for printing. When
Depending on the digit entered previously, a list of forms, images or
entering the information a short audio signal is emitted - after the last key entry it is
fonts, loaded into the printer will be printed out:
rather longer, when receiving a command it is monotonous and irregular when
“1” - List of forms
establishing an error.
“2” - List of graphic images
“3” - List of fonts
V0 V1 V2 C0 If nothing has been entered a list of forms will be printed out while all
other values are errors and cause no reaction from the printer.
Esc Form List C1 Print:
Prints one or more labels from the active form. Possible options:
7 8 9 - Prior to pressing <Print> nothing is entered - prints 1 label.
A string of the type “m.n” has been entered. “m” number of “n” labels
are printed. Any of these parameters may be skipped and 1 is executed
4 5 6 + by default. If both are skipped (only “.” has been entered, finishing a
previous print will be executed.
1 2 3 Keys “0” to “9” “-”, “+” are used to enter these symbols.
Print
0 .

Description of the keys:


V0, V1, V2, C0, C1:
When pressing anyone of these keys the information entered is saved
in the printer as a value of the respective variable or counter.

Esc:
The entered information is canceled.

50 51
Notes

.................................................................................................

.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................

.................................................................................................

.................................................................................................

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy