Sign In
Upload
Download
Table of Contents
Contents
Add to my manuals
Delete from my manuals
Share
URL of this page:
HTML Link:
Bookmark this page
Add
Manual will be automatically added to "My Manuals"
Print this page
×
Bookmark added
×
Added to my manuals
Manuals
Brands
CAB Manuals
Label Maker
PX
Programming manual
CAB PX Programming Manual
Hide thumbs
1
2
3
Table Of Contents
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
page
of
484
Go
/
484
Contents
Table of Contents
Bookmarks
Table of Contents
Copyright © Cab Produkttechnik Gmbh & Co KG
Table of Contents
Chapter 1: Introduction
Introduction
Nomenclature, Syntax of the Commands
Usage of this Manual
Print Positions
Overview
ESC Instructions
Immediate Commands
Label Format Commands
Special Content Fields
Simple Programming Lesson
Create Your First Label
Explanation of this Example
Chapter 2: Command Overview
Command Overview
ESC Commands
Immediate Commands
Label Format Commands
Label Format Commands
Special Content Fields
Time Functions
Date Functions
Date Functions (Continued)
Jalali Date Functions ( Arab Date )
Suriyakati Date Functions ( Official Date in Thailand )
Mathematical Functions
Field Calculations and Comparisons
Special Functions (Miscellaneous)
RFID Functions
Database Connector Commands
Chapter 3: ESC Commands
ESCESC Replaces ESC in Binary Data
ESC!ESC! Hard Reset
ESC* Activate All RS-485 Printers
ESC. Start and Stop Value for Binary Data
ESC: Start Description of Binary Data
ESC< Back Feed of the Material Behind the Photocell
ESC? Request for Free Memory
Esca Abc-Status
Escc - Cancel Printjob
Escend-Of-Data End Description of Binary Data
Escf Formfeed
Escg Print Start Command
Esci Send Value from the INF-Memory
Escj Request for the Latest Printed Job
ESCI Request of Synchronisation Info
Escp0 End Printer´s Pause Mode
Escp1 Set Printer into Pause Mode
Escs Printer Status Query
Esct Total Cancel
Escz Extended Status Request
CHAPTER 3 - Immediate Commands
Immediate Commands
ABC> - Start of the Abc Basic Compiler
ABC> - End of the Abc Basic Compiler
Encrypted Label
ENCRYPTED JOB> - Start of an ENCRYPTED Job
ENCRYPTED JOB> - End of an ENCRYPTED Job
Comment Line
A - ASCII Dump Mode
C - Direct Cut
E - Erase Data
F - Formfeed
J - Job-ID
L - Change Language ( Country )
M - Set Measuring Unit
P - Pause Printer
Q - Query Printer
R - Reset to Default Values
S - Set Date/Time
T - Run Printer Self-Test
Firmware Version
Synchronous Peripheral Signal Settings
Z - Print Slashed / Unslashed Zero
CHAPTER 4 - Label Format Commands
A - Amount of Labels
B - Barcode Definition
Barcode Overview List
Available Check Digits
Startpositions of Barcodes
Barcodes - Printing Direction
B - Barcode 2 of 5 Interleaved
B - Barcode 2 of 5 Interleaved
B - Barcode Add-On2
B - Barcode Add-On5
B - Barcode Aztec - Code
B - Barcode Codabar
B - Barcode Codablock F
B - Barcode Code 39
B - Barcode Code 39 FULL ASCII
B - Barcode Code 93
B - Barcode Code 128
B - Barcode Data Matrix
B - Barcode DBP - German Post Identcode
Jan-8
Jan-13
Ean 128 / Ucc 128 / Gs1-128
Nve / Sscc-18
B - Barcode FIM
B - Barcode HIBC (Health Industry Barcode)
B - Barcode ITF-14 * / SCC-14
B - Barcode Maxicode
B - Barcode Micro PDF 417
B - Barcode MSI (MSI Plessey)
Msi (Msi Plessey)
Pdf 417
B - Barcode Plessey
B - Barcode Postnet
B - Barcode PZN-Barcode
B - Barcode QR-Code
B - Barcode RSS-14
B - Barcode RSS-14 Composite (CC-A)
B - Barcode RSS-14 Composite (CC-B)
B - Barcode RSS-14 Truncated
B - Barcode RSS-14 Truncated Composite (CC-A)
B - Barcode RSS-14 Truncated Composite (CC-B)
B - Barcode RSS-14 Stacked
B - Barcode RSS-14 Stacked Composite (CC-A)
B - Barcode RSS-14 Stacked Composite (CC-B)
B - Barcode RSS-14 Stacked Omnidirectional
B - Barcode RSS-14 Stacked Omnidirectional Composite (CC-A)
B - Barcode RSS-14 Stacked Omnidirectional Composite (CC-B)
B - Barcode RSS Limited
B - Barcode RSS Limited Composite (CC-A)
B - Barcode RSS Limited Composite (CC-B)
B - Barcode RSS Expanded
B - Barcode RSS Expanded Composite (CC-A)
B - Barcode RSS Expanded Composite CC-B
B - Barcode RSS Expanded Stacked
B - Barcode RSS Expanded Stacked Half Line
B - Barcode RSS Expanded Stacked Composite (CC-A)
B - Barcode RSS Expanded Stacked Composite (CC-B)
B - Barcode UPC-A
B - Barcode UPC-E
B - Barcode UPC-E0
C - Cutter Parameters
D - Global Object Offset
E Dbf
E Log
E SQL - Define Files ( Extension SQL)
E RFID - Define Files (Extension RFID)
F - Font Number
F - Font Number
G - Graphic Field Definition
G - Graphic Definition - Circle
G - Graphic Definition - Line
G - Graphic Definition - Line
G - Graphic Definition - Rectangle
G - Graphic Definition - Option: Fill
G - Graphic Definition - Option Shade
G - Graphic Definition - Option: Outline
H - Heat, Speed, Method of Printing, Ribbon
I - Image Field Definition
J - Job Start
M - Memory Card Access
Memory Card Access with FTP Connection
M - Memory Card Access - Load File from Card
O - Set Print Options
O - Set Print Options
P - Set Peel-Off Mode
R - Replace Field Contents
S - Set Label Size
T - Text Field Definition
Synchronous Peripheral Signal Settings
Chapter 5: Special Content Fields
Time Functions
[H12
[H24
[H012
[H024
[Isotime
Prints the Time in ISO Standard Format
ISOTIME...] Prints the Time in ISO Standard Format
[MIN] Print Minutes (00-59)
[Sec
Time
Print Actual TIME
TIME ...] Print Actual TIME
[XM
Am/Pm Indicator
XM...] Am/Pm Indicator
Date Functions
Date
Print Actual DATE
DATE... ] Print Actual DATE
Day
Print Numeric DAY of the Month (1-31)
DAY... ] Print Numeric DAY of the Month (1-31)
[Day02
[Isodate
[Isoordinal
[Wday
Print Numeric Weekday(0-6)
WDAY... ] Print Numeric Weekday(0-6)
[Wday
[Wday2
[Wday3
[Isowday
Print Date Following the ISO Specs
ISOWDAY: ...] Print Date Following the ISO Specs
Week
Print Numeric WEEK (1-53)
[Week02
[Oweek
Print WEEK with Offset(1-53)
OWEEK... ] Print WEEK with Offset(1-53)
[Mon
Print 3-Character Month Name
Mon... ] Print 3-Character Month Name
Print Complete Month Name
Month
Print 2-Digit MONTH (1-12)
MONTH... ] Print 2-Digit MONTH (1-12)
Month
MONTH02... ] Print 02-Digit MONTH (01-12)
[Yy
[Yyyy
Jalali Date Functions
Suriyakati Date
[Jyear
[Jday
[Jday02
[Jmonth
[Jmonth02
[Jdofy
[Jmonth
Print Complete Jalali Month Name
Jmonth... ] Print Complete Jalali Month Name
[Jwday
Print Jalali-Week-DAY
[Syear
Mathematical Functions
[+:Op1,Op2
[-:Op1,Op2
[*:Op1,Op2
[/ :Op1,Op2] Division
[%: Op1,Op2] Modulo
[|:Op1,Op2] Logical or
[|:Op1,Op2] Logical or
[&:Op1,Op2] Logical and
[<: Op1,Op2] Comparision < Less than
[=: Op1,Op2] Comparision = Equal
[==: Text1,Text2] String Comparision == Equal
[>: Op1,Op2] Comparision > Greater than
[Mod10:X] Calculate the Modulo 10 Check Digit
[Mod36:X] Calculate the Modulo 36 Check Digit
[Mod43:X] Calculates the Modulo 43 Check Digit
Print Result in Price Format
[R:X] Rounding Method
Special Functions
LCD Prompt
[Abc:X] Insert ABC Value
[Bin:X{,Y
[Bin16B:X{,Y
[Bin16L:X{,Y
[Bin32B:X{,Y
[Bin32L:X{,Y
[Bitfield
C: ... ] Leading Zero Replacement
Set Number of Digits
[Dbf
Database File Access
DBF:... ] Database File Access
[Hex:X
I: ...] Invisible Fields
[JOBID] Print JOB ID
Justification
[Len:X] Text Length Detection
Lower
Converts to Lower Case Characters
[Ltrim
Trim Data Left
LTRIM:... ] Trim Data Left
[Name] Access a Field with a Name
[Name,M{,N}] Insert Substring
[Rtmp
Read Value from Serial (TMP) File
[Rtrim
Trim Data Right
Ruser
Read Value from (User) Memory
Script Style for Numeric Values
[Ser
[Sql:XX ] SQL Database Access
[Sqllog
[Trim
Trim Data
TRIM:... ] Trim Data
[U:X] Insert Unicode Characters
[Upper
[WINF] Mark a Line for Writing into the Info Buffer
[WLOG] Write LOG File
[WTMP] Write Value to Serial (TMP) File
Wuser
Write Value to USER Memory
RFID Functions
[Ltag
Lock RFID TAG Area
LTAG ... ] Lock RFID TAG Area
[Rtag
Read RFID TAG
RTAG ... ] Read RFID TAG
[Rtagbin
Read RFID TAG Binary
RTAGBIN ... ] Read RFID TAG Binary
[TAGID] Read TAG ID
[Wtag
Write RFID TAG
Advertisement
Quick Links
1
Label Format Commands
Download this manual
Product Marking
1
1
A+ series
Mach 4
PX Print Module
XD4
Programming Manual
J-Script and abc for cab printers
Edition 7.0
cab Produkttechnik GmbH & Co KG
1
Table of
Contents
Previous
Page
Next
Page
1
2
3
4
5
Advertisement
Table of Contents
Need help?
Do you have a question about the PX and is the answer not in the manual?
Ask a question
Questions and answers
Related Manuals for CAB PX
Label Maker CAB A2+ User Configuration Manual
(56 pages)
Label Maker CAB PX4 User Configuration Manual
(56 pages)
Label Maker CAB SQUIX Series Configuration Manual
(64 pages)
Label Maker CAB PX Q4 Configuration Manual
(64 pages)
Label Maker CAB Apollo 1 Service Manual
(100 pages)
Label Maker CAB XC Series Service Manual
Xc series label printer (37 pages)
Label Maker CAB A4+M Operator's Manual
Label printer (28 pages)
Label Maker CAB Eos Operator's Manual
Label printer (36 pages)
Label Maker CAB MACH4 Operator's Manual
Mach4 label printer (30 pages)
Label Maker CAB MACH4 Service Manual
Mach4 series barcode / label printer (24 pages)
Label Maker CAB a2+ Configuration Instructions
Barcode/label printer (68 pages)
Label Maker CAB A Series Service Manual
(34 pages)
Label Maker CAB EOS1 Configuration Manual
Eos series label printer (42 pages)
Label Maker CAB Gemini Operator's Manual
Thermal / thermal transfer windows label printer (40 pages)
Label Maker CAB XC Series Operator's Manual
Xc series label printer (30 pages)
Label Maker CAB SQUIX Configuration Manual
(64 pages)
Summarization of Contents
Chapter 1: Introduction
Introduction to the Programming Manual
General information about the manual's content and purpose.
Command Nomenclature and Syntax Rules
Explains the naming conventions and structure of printer commands.
How to Use This Manual Effectively
Guides on how to navigate and effectively utilize the manual's content and structure.
Understanding Print Positions and Orientation
Details the home position and zero point of a label for accurate printing.
Overview of Programming Instruction Types
Introduces the different categories of instructions used in the programming language.
Learn JScript with a Simple Programming Lesson
Provides a step-by-step tutorial for creating a first label program.
Chapter 2: Command Overview
JScript Printer Command Overview
Introduces the comprehensive lists of available JScript printer commands.
Overview of ESC Commands
Details commands starting with ESC, used for status queries and control functions.
Immediate Commands for Printer Adjustments
Covers commands with lowercase letters for printer adjustments and settings.
Label Format Commands for Label Design
Explains commands with uppercase letters used to describe the label's structure and objects.
Chapter 3: ESC Commands
Chapter 4: Label Format Commands
Chapter 5: Special Content fields
Time Functions for Date/Time Recall
Recalls time from the printer's internal clock, allowing time stamp modifications.
Date Functions for Date Recall and Calculation
Recalls date from the printer's internal clock, allowing date stamp modifications.
Jalali Date Calculations
Provides date calculations based on the Jalali calendar used in Arab countries.
Suriyakati Date Calculations
Provides date calculations based on the Suriyakati calendar used in Thailand.
Mathematical Functions for Calculations
Offers powerful functions for calculations and comparisons of different field values.
Table of Contents
Print
Rename the bookmark
Delete bookmark?
Delete from my manuals?
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL
Need help?
Do you have a question about the PX and is the answer not in the manual?
Questions and answers