ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual
105
Chapter —Commands
TT – Define Time Format
Description
This command is used to define the time format when printing.
Syntax
TTp
1
[/p
2
/p
3
][+]
Parameters
p
1
–p
3
These parameters describe the format of the time display. At least one parameter
must be supplied. Each parameter can be any of the acceptable values listed
below:
h
Hours displayed as 2 digits, for example 12
m Minutes displayed as 2 digits, for example 15
s
Seconds displayed as 2 digits, for example 00
/
Represents an optional separator character, which can be any character
in the range between ASCII 32 dec. and ASCII 63 dec. The separator is
printed between the results of each of the supplied parameters.
+ Optionally selects 12-hour mode, where the time will be appended with
an “AM” or “PM” indicator. If there is no tr sign in command, 24-
hour mode will be selected.
Default:
h:m:s
Remarks
This command works only if the printer is fitted with an optional
real-time clock circuit (RTC).
Example
If the current time is 1:25:00 PM:
TTh:m:s
↵
:Prints as 13:25:00
TTh:m:s+
↵
:Prints as 01:25:00 PM
TTh,m
↵
:Prints as 13,25
TTh+
↵
:Prints as 01 PM
Содержание EasyCoder PD4
Страница 1: ...Programmer s Reference Manual ESim v5 12 for EasyCoder PD4 Bar Code Label Printer ...
Страница 22: ...16 ESim v5 12 for EasyCoder PD4 Programmer s Reference Manual Chapter 3 Setting Up the Printer ...
Страница 134: ...128 ESim v5 12 for EasyCoder PD4 Programmer s Reference Manual Chapter 7 Commands ...
Страница 138: ...132 ESim v5 12 for EasyCoder PD4 Programmer s Reference Manual Chapter 8 Fonts ...
Страница 154: ...148 ESim v5 12 for EasyCoder PD4 Programmer s Reference Manual Chapter 9 Code Pages and Character Sets ...