Ricoh Aficio MP 5002 사용자 설명서 - 페이지 37

{카테고리_이름} Ricoh Aficio MP 5002에 대한 사용자 설명서을 온라인으로 검색하거나 PDF를 다운로드하세요. Ricoh Aficio MP 5002 41 페이지. Multifunction b&w
Ricoh Aficio MP 5002에 대해서도 마찬가지입니다: 빠른 시작 매뉴얼 (45 페이지), 브로셔 및 사양 (8 페이지), 빠른 시작 매뉴얼 (24 페이지)

Ricoh Aficio MP 5002 사용자 설명서
PaperCut – Ricoh Embedded Manual
Enter the name of the required converter (see table below) and click Update
To set at the device level:
Devices -> [select device] -> Advanced Config Editor
Search for "ext-device.card-no-converter"
Enter the name of the required converter (see table below) and click Update
Standard Converters
Convertor
hex2dec
dec2hex
ascii-enc
javascript:<path> Advanced: Define a custom conversion function in JavaScript (see
It is possible to chain or pipeline converters by delimiting with a pipe (|). For example,
ascii-enc|hex2dec will first unpack the encoded ASCII number then convert it to a
decimal.
Tip: Not sure which converter to use? Often trial and error is a good approach. After
presenting a card, the number will appear in an application logger message with conversions
applied (assuming the card is unknown to the system). Try different converters and inspect
the resulting numbers in the application log.
Using custom JavaScript
If the inbuilt converter functions are unable to meet the requirements, it is possible to define
your own function using JavaScript. This is an advanced exercise and it is expected that
any implementer be familiar with programming and JavaScript. To implement your own
converter:
1. Create a file text file [install-path]/server/custom/card.js
2. Define a single JavaScript function in this file called "convert" It should accept and
return a single string. Here is a trivial example:
function convert(cardNumber) {
return cardNumber.substring(3,10).toLowerCase();
}
3. Enter a converter in the form: javascript:custom/card.js
Copyright © 2012 PaperCut Software International Pty. Ltd., All Rights Reserved.
Revision: 19
Description
Convert a hexadecimal (base 16) encoded card number to
decimal format. Hexadecimal numbers usually contain 0-9 and A-
F. This will convert "946EBD28" to "2490285352".
Convert a decimal encoded card number to hexadecimal format.
This will convert "2490285352" to "946EBD28".
Unpack an ASCII encoded card number string. E.g. given the
number "3934364542443238", the ASCII code "39" is converted
to 9, "34" -> 4, "45" -> E, with the entire number resulting in
"946EBD28".
below)
2012-10-26
37 of 41