SDK DocsIndex

Evolis SDK for Python — Documentation Index

Version: 9.3.0
Package: pip install Evolis-SDK

Files

FileContents
01-quickstart.mdInstallation, minimal examples, black-only print
02-connection.mdConnection class — full API reference
03-print-session.mdPrintSession class — images, settings, printing
04-print-black-example.mdComplete black-to-card-front examples (Primacy)
05-setting-keys.mdAll SettingKey values with types and allowed values
06-enums.mdAll enumerations (CardFace, RibbonType, ReturnCode, State, …)
07-mag-session.mdMagSession — magnetic stripe read/write
08-scan-session.mdScanSession — WiseCube scanner
09-service.mdService — EPS supervision service
10-evolis-class.mdEvolis — global library management, device discovery, logging
11-laminator.mdLaminator control via Connection

Quick Reference — Print Black to Card Front

import evolis
 
with evolis.Connection("Evolis Primacy") as co:
    state = co.get_state()
    if state.major == evolis.State.Major.READY:
        ps = evolis.PrintSession(co)
        # 1bpp monochrome BMP — uses the K (black resin) panel only
        ps.set_black(evolis.CardFace.FRONT, "/path/to/black_front_1bpp.bmp")
        rc = ps.print()
        print("Result:", rc)

Key Classes

ClassPurpose
evolis.ConnectionOpen/close printer, card movement, status, settings
evolis.PrintSessionConfigure and execute a print job
evolis.MagSessionRead/write magnetic stripe data
evolis.ScanSessionScan a card with the optional scanner module
evolis.ServiceManage the EPS supervision service
evolis.EvolisLibrary version, device list, logging configuration

Most Important Enums

EnumKey values
evolis.CardFaceFRONT, BACK
evolis.RibbonTypeYMCKO, KBLACK, KO, …
evolis.ReturnCodeOK, PRINT_NEEDACTION, PRINT_EMECHANICAL, …
evolis.State.MajorREADY, WARNING, ERROR, OFF
evolis.SettingKeyFBlackManagement, FOverlayManagement, Resolution, …