Misc CardPrintTool
April 13, 2023 at 2:40 AMCardPrintTool
Name
CardPrintTool.exe
Description
CardPrintTool.exe is a command-line tool that allows to print a few basic data (text only) onto a card, using an Evolis card printer.
Usage
Synopsis
CardPrintTool.exe ACTION [PARAMETERS] [[OPTIONS]]
Commands
If the ACTION
field is omitted the software will do all the steps: insert, print and eject. Otherwise you can use the following ACTION
commands.
Print a card
CardPrintTool.exe
print <input file>
--printer <printer name>
See the paragraph “File format” below for the content of the input file.
If the printer parameter is missing, the first Evolis printer is selected automatically.
Insert a card into position for contact encoding
CardPrintTool.exe
go-contact
--printer <printer name>
If the printer parameter is missing, the first Evolis printer is selected automatically.
Insert a card into position for contactless encoding
CardPrintTool.exe
go-contactless
--printer <printer name>
If the printer parameter is missing, the first Evolis printer is selected automatically.
Eject a card
CardPrintTool.exe
eject
--printer <printer name>
If the printer parameter is missing, the first Evolis printer is selected automatically.
File format
[
{
"format" :"ID-1",
"orientation" : "landscape|portrait", // landscape by default
"font-size": 12, // default is 50 dots
"lines": [
"SpringCard", // 1st line
"PROD", // 2nd line
"SPRINGCORE", // 3rd line
"#012345678" // 4th line
]
},
{
"format" :"ID-000",
"font-size": 8, // default is 22 dots
"lines": [
"PROD", // 1st line
"SPRINGCORE", // 2nd line
"#012345678" // 3rd line
]
}
]
The unit for the font size is the dot, 1mm = 11.8 dots so 1 dot ≈ 0.085mm (300 dpi)