TSC TTP-244Pro条码打印机如何添加流动时间(小时/分钟/秒钟),无论打多少张,时间都会随着电脑时间走动。
解答:
既然你是想要随着电脑时间来走动,那说明你肯定是通过电脑来连接打印机进行打印的。
TSC TTP-244随机附送的电脑编辑软件是Bartender,该软件可以非常容易的实现你的要个功能要求。
Bartender中有一项数据源类型是“时钟”,把数据源设置为时钟时,“时钟”源会在打印文档时读取操作系统的日期和时间,Bartender提供了非常丰富的时钟格式,并且还支持自定义的时钟格式。
注意到问题中还提到一个“无论打多少张,时间都会随着电脑时间走动”的问题,如果是要每一张的时间都发生变化的话,那么还需要你设置个变量以达到多次读取时间的目的。
自定义日期格式说明符如下:(显示会根据所在区域有所不同)
d2 |
|
|
The day of the month, from 01 through 31 | ddd | Fri |
The full name of the day of the week | M | 1 |
The month, from 01 through 12 | MMM | Jan |
The full name of the month | y | 4 |
The year, from 00 to 99 | yyy | 2004 |
The year, as a four-digit number | yyyyy | 02004 |
The last digit of the year, from 0 to 9 | YY | 04 |
The last three digits of the year, from 000 to 999 | j | 2 |
Julian date, from 001 to 366 | g | A.D. |
Short date pattern | @D | Friday, January 02, 2004 |
Full date and time pattern, with short time | @F | Friday, January 02, 2004 12:00:00 AM |
General date and time pattern, with short time | @G | 1/2/2004 12:00:00 AM |
Month and day pattern | @y | January, 2004 |
RFC1123 pattern |
|
|
自定义时间格式说明符如下:(显示会根据所在区域有所不同)
h6 |
|
|
The hour, using a 12-hour clock from 01 to 12 | H | 18 |
The hour, using a 24-hour clock from 00 to 23 | m | 54 |
The minute, from 00 to 59 | s | 3 |
The second, from 00 to 59 | f |
|
Hundredths of a second | fff |
|
Ten thousanths of a second | fffff |
|
Millionths of a second; the microsecond | fffffff |
|
Tenths of a second, with no trailing zeros | FF |
|
Thousanths of a second, with no trailing zeros; the millisecond | FFFF |
|
Hundred thousanths of a second, with no trailing zeros | FFFFFF |
|
Ten millionths of a second, with no trailing zeros | t | P |
The AM/PM designator | @t | 6:54 PM |
Long time pattern |
|
|
管理员
该内容暂无评论