SDK DocsService

Service — EPS Supervision

evolis.Service manages the Evolis Premium Suite (EPS) supervision service.
The service runs in the background and handles error pop-ups, printer events, and driver integration.

Methods (all static)

Service.select(model: Model, url: str = None) -> bool

Configure which service to use, based on the printer model.
Optionally override the service URL.

evolis.Service.select(evolis.Model.PRIMACY2)

Service.start() -> bool

Start the EPS service.

Service.restart() -> bool

Restart the EPS service (or start it if not running).

Service.stop() -> bool

Stop the EPS service.

Service.is_running() -> bool

Returns True if the EPS service is currently running.

Handling Events from a Connection

When the EPS service is supervising the printer, error events are surfaced through the connection:

event = co.get_event()
# Returns (event_name: str, actions: list[ServiceAction]) or None
 
if event:
    name, actions = event
    print("Event:", name, "Available actions:", actions)
 
    # Send a reply
    if evolis.ServiceAction.RETRY in actions:
        co.set_event(name, evolis.ServiceAction.RETRY)

Error Management Modes

ModeDescription
ErrorManagement.PRINTERPrinter handles errors autonomously
ErrorManagement.SOFTWAREYour code handles errors via get_event()
ErrorManagement.SUPERVISEDEPS service handles errors (shows pop-ups)
co.set_error_management(evolis.ErrorManagement.SOFTWARE)