TSC TTP-244Pro條碼打印機(jī)如何添加流動(dòng)時(shí)間(小時(shí)/分鐘/秒鐘),無(wú)論打多少?gòu)?,時(shí)間都會(huì)隨著電腦時(shí)間走動(dòng)。
解答:
既然你是想要隨著電腦時(shí)間來(lái)走動(dòng),那說(shuō)明你肯定是通過(guò)電腦來(lái)連接打印機(jī)進(jìn)行打印的。
TSC TTP-244隨機(jī)附送的電腦編輯軟件是Bartender,該軟件可以非常容易的實(shí)現(xiàn)你的要個(gè)功能要求。
Bartender中有一項(xiàng)數(shù)據(jù)源類(lèi)型是“時(shí)鐘”,把數(shù)據(jù)源設(shè)置為時(shí)鐘時(shí),“時(shí)鐘”源會(huì)在打印文檔時(shí)讀取操作系統(tǒng)的日期和時(shí)間,Bartender提供了非常豐富的時(shí)鐘格式,并且還支持自定義的時(shí)鐘格式。
注意到問(wèn)題中還提到一個(gè)“無(wú)論打多少?gòu)垼瑫r(shí)間都會(huì)隨著電腦時(shí)間走動(dòng)”的問(wèn)題,如果是要每一張的時(shí)間都發(fā)生變化的話(huà),那么還需要你設(shè)置個(gè)變量以達(dá)到多次讀取時(shí)間的目的。
自定義日期格式說(shuō)明符如下:(顯示會(huì)根據(jù)所在區(qū)域有所不同)
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 |
|
|
自定義時(shí)間格式說(shuō)明符如下:(顯示會(huì)根據(jù)所在區(qū)域有所不同)
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 |
|
|
管理員
該內(nèi)容暫無(wú)評(píng)論