Zeka LP Programming Manual

Summary of LP

  • Page 1

    User’s manual 1 zeka lp contents: 1. About printer........................................................................................................................................................... 3 1.1. Basic information about printer...........................................................

  • Page 2

    User’s manual 2 zeka lp 7.5.3. Delete graphic file ................................................................................................................................................ 36 7.5.4. List of saved graphic files .....................................................................

  • Page 3

    User’s manual 3 zeka lp 1. About printer 1.1. Basic information about printer zeka lp is a printer intended for printing of graphic images and small sized labels on label and thermal paper. It is perfect assistant when printing one- type information, well shaped and with variables and counters. In t...

  • Page 4

    User’s manual 4 zeka lp 1.2. Delivery set printer 1 pcs. Ac adapter 1 pcs. Label paper roll 1 pcs. This user manual 1 pcs. Driver for ms windows™ 2000/xp 1 pcs. To guarantee correct work of label printer zeka lp, it must be installed on stable and flat surfaces, like desk, table, raft, bar, etc. It ...

  • Page 5

    User’s manual 5 zeka lp 2. Common appearance and components of zeka lp 2.1. Common appearance and basic parameters of zeka lp 1. Handle to open printer lid; 2. Printer cover; 3. Outlet with knife for paper cut; 4. Light indicator for printer condition; 5. Button for paper feed; 6. Button for error c...

  • Page 6

    User’s manual 6 zeka lp 2.2. Control panel • description of light indication: • label paper mode: red light, when next label can’t be found. New roll of paper must be loaded and positioned by pressing the left button. • thermal paper mode: red light, when paper ends and/or printer cover is opened. •...

  • Page 7

    User’s manual 7 zeka lp 2.4. Paper loading and replacement zeka lp controls availability of paper roll, and if paper roll is missing the printer blocks. To continue the work following steps must be accomplished: open the printer cover using the handle; to load new label roll it is necessary to remov...

  • Page 8

    User’s manual 8 zeka lp 2.5. Configuration keys jp1, jp2 – set-up communication speed jp1 – off jp2 – off 9600 bps (default) jp1 – on jp2 – off 19200 bps jp1 – off jp2 – on 57600 bps jp1 – on jp2 – on 115200 bps jp4 – compatibility modes off – compatible with other manufacturers (default) Оn – Еpl2 ...

  • Page 9

    User’s manual 9 zeka lp 3. Safety requirements • do not install the printer near sources of water and do not allow contacts with water or other liquids. • do not install the printer on unstable surfaces to avoid its overturning. • do not install the printer near sources of heat. • do not install the...

  • Page 10

    User’s manual 10 zeka lp 4. Zeka lp managment the label printer management is carried through commands via serial or usb interface. Four data transfer baud rates, determinable by switches or interface command, are supported. The possible rates are 9600, 19200, 57600 and 115200 bps. The printer uses ...

  • Page 11

    User’s manual 11 zeka lp one of the possible ways to prepare label consists in following stages: • in case of work in dos, by command mode is determined the operation mode via the pc serial interface in accordance to the printer settings. Example: mode comn: baud=m parity=n data=8 stop=1 where: n is...

  • Page 12

    User’s manual 12 zeka lp • choose type, position, size and direction of the barcodes, if any. Also modification operators can be used when necessary. • if necessary, by commands (x, le, lo, lw) draw lines and frames. • to end the form, add command (fe). • after sending the ready command text line to...

  • Page 13

    User’s manual 13 zeka lp 5. Command list by categories 5.1. Set printer operational mode select/reject printing of text • @ serial port connection parameters • y set print density d select code table i set page length q set page width q set parameters value s set starting point r set date and time •...

  • Page 14

    User’s manual 14 zeka lp 5.3. Generate graphic image generate text a draw barcode b draw 2d barcode (pdf417) b draw rectangle in xor mode le draw black color rectangle lo draw white color rectangle lw draw line ls draw frame x draw loaded pcx file gg 5.4. Operate with forms (command files) start new...

  • Page 15

    User’s manual 15 zeka lp set default operation parameters reset full printer initialization • ^default 5.8. Print print label • p resume interrupted printing • pc immediate text print • = print current form pa 5.9. Date and time return present date and time • ti set date and time • ts set date forma...

  • Page 16

    User’s manual 16 zeka lp 6. Commands - alphabetic list description pg. Command select/reject printing of text 18 • @ printer initialization (reset) 45 • ^@ full printer initialization 45 • ^default immediate text print 41 • = set values to counters and variables 24 • ? Generate text 25 a draw barcod...

  • Page 17

    User’s manual 17 zeka lp set default operation parameters 39 reset return present date and time 51 • ti set date and time 20 • ts set date format 20 td set time format 21 tt print diagnostics information 42 • u list of saved fonts 43 • ue list of saved forms 42 • uf list of saved graphics 43 • ug in...

  • Page 18

    User’s manual 18 zeka lp 7. Detailed command description 7.1. Setting printer operation mode 7.1.1. Set print density adjust the print density according to information and paper characteristics. Format: dn n values varies from 0 to 15, as 15 responds to maximum density. Higher printing density can c...

  • Page 19

    User’s manual 19 zeka lp when printing on label paper, determination of the space between labels is done automatically by the paper sensor. Only one form is printed on single label. In cases when set size of printing area is larger than the label size the remaining information is not printed. When t...

  • Page 20

    User’s manual 20 zeka lp 7.1.6. Set print direction determine image printing direction. Format: zТ or zb zt the image is normal. Zb the image is rotated with 180 degrees. 7.1.7. Set date and time set the printer real time clock. Format: tsm,d,y,h,m,s m month (1..12). D day (1..31, check for date pro...

  • Page 21

    User’s manual 21 zeka lp 7.1.9. Set time format the command sets the way that the current time string will be generated. Format: axbyc the time fields are presented with capital letters. A, b and c can get following values that can be used only once: • h: current hour. • m: current minute. • s: curr...

  • Page 22

    User’s manual 22 zeka lp 7.2. Operation with counters and variables 7.2.1. Define counter the printer has the opportunity to define up to 8 counters. These are special integer variables, which value is changed automatically after printing with preliminary defined step. The value setting is done with...

  • Page 23

    User’s manual 23 zeka lp define counter with number 0, length 6 characters, right aligned with zeroes, with increment step +1. 7.2.2. Define text variable the printer has the ability to define maximum 48 variables. The value setting is done with the '?' command. It is used independently or in combin...

  • Page 24

    User’s manual 24 zeka lp 7.2.3. Set values to counters and variables after entering of that command, the printer asks for initialization values of defined in the current form counters and variables in order determined by their numbers. Before each entering, the printer sends the prompt text for each...

  • Page 25

    User’s manual 25 zeka lp 7.3. Graphic image formation 7.3.1. Generate text this command is used to put text information in the image. Format: aa,b,c,d,e,f,g,h a start co-ordinate along x in the upper left corner: 0..2047 b start co-ordinate along y in the upper left corner: 0..2047 c text orientatio...

  • Page 26

    User’s manual 26 zeka lp 7.3.2. Draw barcode the command is used to put in barcode in the image. Format: ba,b,c,d,e,f,g,h[i],j a starting co-ordinate along x of upper left barcode corner: 0..2047. B starting co-ordinate along y of upper left barcode corner: 0..2047. C barcode orientation: 0=0°, 1=90...

  • Page 27

    User’s manual 27 zeka lp f set thickness of wide dot stripe. Allowed values 2..10, where the value should be greater than the upper parameter. For some barcode standards this values is ignored. G barcode height in dots. Allowed values 24..1000. H duplicate the information in text form: n – no, b – y...

  • Page 28

    User’s manual 28 zeka lp number coded words (data) ecl ecl code words 1 – 31 1 4 32 – 63 2 8 64 – 127 3 16 128 – 255 4 32 256 – 928 5 64 p7 (c) data compression method. C0 automatically (default). C1 binary (byte compaction). P8 (f) barcode positioning. F0 co-ordinates p1 and p2 are used. F1 the bar...

  • Page 29

    User’s manual 29 zeka lp 7.3.4. Draw rectangle three commands are suited for this. Lo draws unconditionally with black, le inverts the dots that are under the line (xor mode), and lw draws unconditionally with white. Format: loa,b,c,d or lea,b,c,d or lwa,b,c,d a starting x co-ordinate: 0..2047 b sta...

  • Page 30

    User’s manual 30 zeka lp 5 dots..

  • Page 31

    User’s manual 31 zeka lp 7.3.6. Immediate printing of graphical information the command allows direct drawing of graphic in the graphic buffer of the printer, which is not loaded into printer memory. Format: gwa,b,c,d,e a x co-ordinate of the upper left corner: 0..2047. B y co-ordinate of the upper ...

  • Page 32

    User’s manual 32 zeka lp the character that follows the modifier character. This modifier could be used for removing of leading zeroes or spaces. Provokes cutting off the sting of ending characters that are same as the character that follows the modifier character. Rn removes the characters standing...

  • Page 33

    User’s manual 33 zeka lp 7.4. Operation with forms 7.4.1. Start form with this command begins the saving of new form in the operational memory of the printer. Every command sent to printer between this command and the command fe will be saved in this form. If there is already form with this name, it...

  • Page 34

    User’s manual 34 zeka lp example: fr”test” 7.4.4. Delete form this command deletes an existing form or all forms. The used memory is freed. Format: fk”name” name: form name. Form with that name must exist. If for name is used”*”, all forms will be deleted. 7.4.5. Form information the command prints ...

  • Page 35

    User’s manual 35 zeka lp 7.5. Operation with graphic files 7.5.1. Save new graphic file this command saves new graphic file in the printer memory. The name rules are same as form name rules. The command will be rejected if there is graphic file with the same name or the stated file size is bigger th...

  • Page 36

    User’s manual 36 zeka lp 7.5.3. Delete graphic file by this command one or all graphic files are deleted. The memory is freed. Format: gk”name” name: filename. File with such name must exist. If for name is used ”*” all files will be deleted. 7.5.4. List of saved graphic files prints list of saved g...

  • Page 37

    User’s manual 37 zeka lp 7.6. Operation with user fonts 7.6.1. Load user font the command is used to load user font in the printer. User fonts can consist from 1 to 256 characters, not necessary in order. Can be created manually, by the described bellow command syntax, or using user softer like soft...

  • Page 38

    User’s manual 38 zeka lp format: ei.

  • Page 39

    User’s manual 39 zeka lp 7.7. Clear memory 7.7.1. Clear ram the command erases all information, loaded in the printer, including forms, graphics and fonts. All available through commands settings get their default values. Format: m 7.7.2. Delete current form and clear buffer the command clears the m...

  • Page 40

    User’s manual 40 zeka lp 7.8. Printing 7.8.1. Label printing the command prints the graphic buffer. When printed, the buffer is cleared automatically and is ready to generate new label. When working with sticky labels, after printing the last label, the paper is fed enough to unstick the label. Form...

  • Page 41

    User’s manual 41 zeka lp 7.8.3. Immediate text printing the command prints text immediate without storing it in the graphic buffer. The font is always 12x20 (number 3). В режим печат върху отлепващи се етикети се пропуска областта между етикетите. Format: =text.

  • Page 42

    User’s manual 42 zeka lp 7.9. Diagnostics information 7.9.1. Prints diagnostics information format: u prints test results about print head status and data for the printer model, free memory, baud rate and current printer settings. 7.9.2. Information about used memory format: um provokes sending thro...

  • Page 43

    User’s manual 43 zeka lp the second command extracts from printer form with the stated name. The data is sent in lines separated with . After the last sent line, the printer sends one byte with ascii code 00h. 7.9.4. Saved graphics information format: ug or gi”name” the first command returns list of...

  • Page 44

    User’s manual 44 zeka lp font n name of n-th font. Every list member ends with . The second command extracts the contents of certain font. The data is sent in following format: n 1 n 2 p 1 p 2 p 3 a 1 b 1 c 1 …a n b n c n where: n 1 high part of total bytes in the font. N 2 high part of total bytes ...

  • Page 45

    User’s manual 45 zeka lp after receiving this command the printer will set the new communication speed. To communicate correctly, the serial port settings of the host and the printer must be the same. Default settings are: 9600 bps, no parity , 8-bit data, 1 stop bit. Example: y19,o,7,1 sets 19200 b...

  • Page 46

    User’s manual 46 zeka lp 7.9.10. Return information about variables and counters format: vi returns list of the active variables in the following format: for variables: va,b,cd,e,f a variable number b maximum length c alignment d complimentary character е prompt f value every variable ends with . Fo...

  • Page 47

    User’s manual 47 zeka lp 7.9.12. Active form print the command can be used only in form (command file) and provokes printing of the graphic buffer right after ending of command “?”. I.E. The form prints itself right after collecting all necessary data. When working with sticky labels, after printing...

  • Page 48

    User’s manual 48 zeka lp fr"patest" ? This is a test 3 1 10 7.9.13. Diagnostic mode format: dump this command sets the printer in dump diagnostic mode. In this mode all data received through the serial port are not interpreted, but printed directly in ascii and hex format 8 bytes per line. The mode ...

  • Page 49

    User’s manual 49 zeka lp 7.9.16. Enable data receiving format: gs ‘=’’1’’l’ (no lf at the end) gs = enables receiving of data. 7.9.17. Beep format: 07h emits beep tone. 7.9.18. Delete graphic data format: 18h deletes all collected graphic data from the graphic buffer. 7.9.19. Send byte with value fo...

  • Page 50

    User’s manual 50 zeka lp 7.9.21. Set parameters value format: sa,b,c,d а baud rate allowed values: 115 - 115200 baud 56 - 56700 baud 19 - 19200 baud 96 - 9600 baud 0 - no change. B flow control allowed values: h - hardware s - xon/xoff (software) 0 - no change c compatibility allowed values: z - epl...

  • Page 51

    User’s manual 51 zeka lp 7.9.22. Return the present date and time format: ti the printer sends the present date and time in following format: mm-dd-yy hh:ss 7.9.23. Set device logical number format: gs ‘s’ n gs = forbids data receiving until gs ‘=’’1’’l’ is received. 7.9.24. Forbid data receiving to...

  • Page 52

    User’s manual 52 zeka lp 7.10. Operation with bluetooth the commands that start with gs b are used to control the bluetooth module. This module is option and is possible this device doesn’t have one or doesn’t support it. 7.10.1. Turn on / off the bluetooth module (option) format: gs b 0h [1dh] + [6...

  • Page 53

    User’s manual 53 zeka lp notes:____________________________________________________________________________________ ____________________________________________________________________________________________ ___________________________________________________________________________________________...

  • Page 54

    User’s manual 54 zeka lp notes:____________________________________________________________________________________ ____________________________________________________________________________________________ ___________________________________________________________________________________________...