Konica Minolta bizhub 28e bizhub 28e PaperCut IU Embedded Manual - Page 21

Standard Converters, Convertor, Description

Page 21 highlights

here. Note: Many card readers are configurable - the number format can be changed at the hardware level via utility or configuration tools. PaperCut's software-level converters are there to support card readers that don't offer this level of configuration, or where a global software-level conversion is a better choice. For example it may be quicker to do the conversion in PaperCut rather than manually reprogram 100+ readers! Like regex's, the convertors may be defined on either a global (all devices) or a per-device basis. To set globally:  Options -> Actions -> Config Editor  Search for "ext-device.card-no-converter"  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 Description hex2dec 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". dec2hex Convert a decimal encoded card number to hexadecimal format. This will convert "2490285352" to "946EBD28". ascii-enc 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". javascript: Advanced: Define a custom conversion function in JavaScript (see below) It is possible to chain or pipeline converters by delimiting with a pipe (|). For example, asciienc|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. 20 of 27 Copyright © 2019 KONICA MINOLTA BUSINESS SOLUTIONS U.S.A., INC. All Rights Reserved 06/2019

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28

20 of 27
here.
Note
: Many card readers are configurable - the number format can be changed at the
hardware level via utility or configuration tools.
PaperCut’s software-level converters are
there to support card readers that don’t offer this level of configuration, or where a global
software-level conversion is a better choice.
For example it may be quicker to do the
conversion in PaperCut rather than manually reprogram 100+ readers!
Like regex’s, the convertors may be defined on either a global (all devices) or a per-device
basis.
To set globally:
Options -> Actions -> Config Editor
Search for “ext-device.card-no-converter”
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
Description
hex2dec
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”.
dec2hex
Convert a decimal encoded card number to hexadecimal format. This
will convert “2490285352” to “946EBD28”.
ascii-enc
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”.
javascript:<path>
Advanced: Define a custom conversion function in JavaScript (see
below)
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.
Copyright © 201
9
KONICA MINOLTA BUSINESS SOLUTIONS U.S.A., INC. All Rights Reserved
06/2019