Você está na página 1de 5

7/20/2015 Date or Time, Set

Date or Time, Set

Purpose
Sets the date or time for the real­time clock.

Supported Printers
All

Syntax
<SI>q[m1],m2

Parameters
m1

Determines whether m2 sets the date or the time:

m1 Description
0 m2 sets the date.
1 m2 sets the time.
 
m2

Numeric string setting the date or time. There is no default for m2. If m2 is missing from
the command or incorrectly formatted, the real­time clock in the printer is not changed.

To set the date, the format for m2 is YYMMDD:

Digits Description
YY Last two digits in the current year. Range: 00 to 99.
MM Current month. Range: 01 to 12.
DD Current day. Range: 01 to 31.
 

To set the time, the format for m2 is HHMMSS:

Digits Description
HH Hour. Range: 00 to 23.
MM Minute. Range: 00 to 59.
SS Second. Range: 00 to 59.

Notes
The default date is 800101 and the default time is 000000.

http://epsfiles.intermec.com/eps_files/eps_man/937­028­003/Content/Date_or_Time_Set.htm 1/2
7/20/2015 Date or Time, Set

If the Field Data, Define Source command is configure to use the date or time from the real
time clock, you can use the m1 parameter to change the date and time format.

IPL Command Reference Manual, P/N 937­028­003
© 2012–2014 Intermec by Honeywell. All rights reserved.
Send feedback about this manual to TechnicalCommunications@intermec.com.

http://epsfiles.intermec.com/eps_files/eps_man/937­028­003/Content/Date_or_Time_Set.htm 2/2
7/20/2015 Field Data, Define Source

Field Data, Define Source

Purpose
Defines a data source for the current field and the number of characters in the field.

Supported Printers
All

Syntax
dn[,m1][,m2]

Parameters
n

Defines the data source:

n Data Source
0 Data entered in Print mode
1 Data entered in Print mode
2 Data comes from field, m1
3 Fixed data
4 Date (from the real­time clock) when the label was imaged.
5 Time (from the real­time clock) when the label was imaged.

m1

Varies depending on value of n.

Range: 0 to 3550

If n = 0 or 1, m1 is the maximum number of characters you can enter in the field. For all
supported printers, the default value is 20 (bar code fields) or 30 (human­readable
fields).

If n = 4, m1 indicates how the date is formatted:

m1 Format for Date
0 YY/MM/DD (default)
1 YYYY/MM/DD
2 DD/MM/YY
3 DD/MM/YYYY

http://epsfiles.intermec.com/eps_files/eps_man/937­028­003/Content/Field_Data_Define_Source.htm 1/3
7/20/2015 Field Data, Define Source

If n = 5, m1 indicates how the time is formatted:

m1 Format for Time
0 HH:MM:SS, 24­hour clock (default)
1 HH:MM, 24­hour clock
2 HH:MM:SS, 12­hour clock
3 HH:MM, 12­hour clock
4 HH:MM:SS am/pm, 12­hour clock
5 HH:MM am/pm, 12­hour clock

 
m2

(Optional) Varies depending on value of n.

If n = 0 to 3, m2 is the positive integer numeric field offset.

Range: 0 to 9999

Default: 0

If n = 4, m2 is the data offset.

Range: ­3650 to 3650 (+/­ 10 years)

Default: 0

If n = 5, m2 is the data offset. Offsetting the time past midnight does not change the
date.

Range: ­86400 to 86400 (+/­ 1 day)

Default: 0

Notes
Fields using the date or time as data are imaged when the print command is executed.
Labels reprinted because of an error or fault condition will have the same time as the original
label.
Labels printed with the Batch Count, Set command will have the same time. To print a
batch of labels with differing time stamps, use the Quantity Count, Set command.
Data offset parameter of a slave of a date or time field is ignored.

Example

http://epsfiles.intermec.com/eps_files/eps_man/937­028­003/Content/Field_Data_Define_Source.htm 2/3
7/20/2015 Field Data, Define Source

These examples demonstrate the syntax for this command.
d0[,m1]
d1[,m1];

Enter optional data in Print mode. m1 is the maximum amount of data that you can enter
into this field. The default for m1 is 20 characters for bar code fields, 30 characters for
human­readable fields, and 64 characters for RFID fields.

For variable RFID fields, make sure to allow for field separator commands. Also, fields in
hex format need at least twice as many characters as defined in the RFID tap setup
command. For example, to write 4 hex bytes to a tag, you need to allow at least 8
characters in the variable data field.

d2,m1[,m2];

Copy data into this field from field m1. You must define the field before you can use it.
m2 is an optional positive integer numeric field offset that can range from 0 to 9999, with
0 as the default. You can only offset data delimited by numeric field separator <FS> or
alphanumeric field separator <GS>. A bar code field cannot copy data from a human­
readable field, but a human­readable field can copy data from a bar code field. You can
use up to 19 slave fields in each format,

d3,m1;

Fixed data m1 is stored as part of the format, and you use it every time you print the
current field. You cannot change entered data with print commands.

Many formats divide data into separate fields, and then rearrange these fields to fit the
RFID tag or composite bar codes. Use the <HT> character to divide the fields to enable
you to enter the entire source data with one command.

d4,0;

Sets the field data source to the date according to the real­time clock, and prints the date
as YYYY/MM/DD.

This example shows how to separate the fields with <HT>:

<STX>Q3;a3,1;d3,0<HT>4011661<HT>0030000001;<ETX>
<STX><ESC>J3,1<ETX>

IPL Command Reference Manual, P/N 937­028­003
© 2012–2014 Intermec by Honeywell. All rights reserved.
Send feedback about this manual to TechnicalCommunications@intermec.com.

http://epsfiles.intermec.com/eps_files/eps_man/937­028­003/Content/Field_Data_Define_Source.htm 3/3

Você também pode gostar