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