On this page & docs navigation
On this page
Version baselineCommand allowlist differencesField & behaviour differencesThree-step self-checkWhen it matches the installerFAQGetting started
OverviewQuickstartMulti-language integrationVersions & capabilitiesAPI reference
Delivery channelsREST endpointsCommands & parametersPrint parameters & defaultsCommand referenceVersion & download APIMulti-language SDKWebSocket /wsAO remote channelAgent integrationScenarios & practice
ExamplesBest practicesFeature demosRelated pages
Solutionscloud servicePricingOpen source & licenceBack
← Back to homepage Download the client →Version baseline
Three different "versions" need to be told apart here, and they often do not match. These docs were last revised on 2026-11-25.
Source version
1.01.023 (the client source's current version). This page and the developer documentation describe the full capabilities of this implementation.
Published release version
The authority is GET /api/v1/releases/latest , shown live at the top of the page. At the time of revision it was v1.01.023 (primary source GitHub).
The version on your machine
GET /health or GET /api/status → version field is the only thing that decides what you can use.
The official docs always follow the source: new capabilities are never hidden to accommodate old installers, and equally, source capabilities are never described as "supported by every version". The gap between the two is closed with the two tables and the three-step self-check below.
Command allowlist differences
The published list in the table below comes from the v1.01.023 tag's default allowlist in the settings store (73 commands: the core 70 have been unchanged since v1.01.012; v1.01.017 added TriggerSilentUpdate, v1.01.018 added GetPrinterProfiles, and v1.01.019 added GetCentralPrinters); the legacy v1.01.000 has only 23. Your machine's real list is defined solely by GET /api/commands as the only source of truth.
| Scope | Commands |
|---|---|
| Shipped in v1.01.02373 commands | AutoPrintPrintPdfPrintFilePrintBarcodePrintToPdfPrintToXpsPrintEscPosTemplatePrintQueuePrintGetQueueRetryJobCancelJobClearQueueGetPrinterListGetPrinterDetailCheckPrinterDriverSetDefaultPrinterPrintTestPageGetPdfDriverConfigSetPdfPrintDriverConfigMatchPrinterSetPrinterPreferenceGetPrinterPreferencesScanDiskCleanDiskCleanAppTempGetDiskInfoGetSettingsSaveSettingsGetStatusGetMachineFingerprintCheckUpdateApplyUpdateTriggerSilentUpdateScanLanPrintersPrintToIpListPrintSlugsAddPrinterSlugRemovePrinterSlugListPrintEventsArchivePrintEventsSchedulePrintListSchedulePlansRemoveSchedulePlanPrintBatchRecallJobRecommendPlanListHeldJobsReleaseJobGetQuotaSetQuotaGetCostReportGetPrintReportListPoliciesSetPolicyRemovePolicyGetArchiveCleanArchiveListDriverPackagesInstallPrinterDriverGetTonerLevelsPreviewJobListInboxFilesPrintInboxFileListNotificationsTestNotificationAuthenticateUserListIdentityProvidersSyncCentralGetCentralStatusListCentralClientsGetPrinterProfilesGetCentralPrinters |
| v1.01.000 legacy23 commands | PrintPdfPrintFileTemplatePrintQueuePrintGetQueueRetryJobCancelJobClearQueueGetPrinterListGetPrinterDetailSetDefaultPrinterPrintTestPageGetPdfDriverConfigSetPdfPrintDriverConfigScanDiskCleanDiskGetDiskInfoGetSettingsSaveSettingsGetStatusGetMachineFingerprintCheckUpdateApplyUpdate |
Capabilities missing from the legacy version: AutoPrint, PrintBarcode, PrintToPdf, PrintToXps, PrintEscPos, CheckPrinterDriver, CleanAppTemp (all added in v1.01.004), plus MatchPrinter / SetPrinterPreference / GetPrinterPreferences (added in v1.01.004). On machines with v1.01.000 installed, calling these commands returns "command not in allowlist"; upgrade to v1.01.004 or later.
Field & behaviour differences
Capability is not just about command names - it is also about fields and response structures. Every row in the table below comes with a self-check method you can run on your own machine, no guesswork required.
| Capability | Status | Local self-check method |
|---|---|---|
Automatic detection when cmd is omitted (AutoPrint) | Available from v1.01.004 | The list returned by GET /api/commands includes AutoPrint |
Common print parameters: duplex / color / collate / margin / bin / dpi / pageOrder | Available from v1.01.004 | Submit a request with duplex and watch what comes out of the printer; older versions ignore unrecognised fields |
| Network files are identified by "file-name extension → file-byte signature → response content type" | Available from v1.01.004 | Test with a download address that has no extension but recognisable content, and see whether you get a clear result or a clear error |
A single target field, accepted by every command | Available from v1.01.004 | Submit a request with target to /api/command and it no longer returns "missing field" |
A clear 400 when base64 content cannot be identified and filename is missing | Available from v1.01.004 | Submit base64 with no file signature and see whether you get a clear error instead of silent handling |
data.engine returns the file category (pdf / image / office / …) | Available from v1.01.004 | Print once, then read whether data.engine is a category identifier |
CheckPrinterDriver: read-only printer and driver self-check | Available from v1.01.004 | Whether GET /api/commands includes that command name |
| Tray icon with three-level fallback + delayed display | Available from v1.01.004 | The icon appears in the tray after startup (no longer invisible because of a Shell registration timing bug) |
| Automatic update checks: one delayed check at startup, then background checks at the interval set in Settings; new versions are announced in the tray only | Shipped in v1.01.005 | Tick "check for new versions automatically" in Settings; when offline no background check runs, and checks resume automatically once the connection is back |
| Print queue and log lists refresh on a timer without flickering | Shipped in v1.01.006 | The list is not rebuilt when queue contents are unchanged; when they change, the selected row and scroll position are kept, and the log area is not rewritten end to end |
Read-only LAN printer discovery (ScanLanPrinters): network printers already installed on this machine + SSDP/WSD + mDNS/IPP/IPPS/raw | Shipped in v1.01.007 | GET /api/printers/scan?methods=installed,ssdp,mdns returns a discovered array; it only sends discovery packets and installs no drivers |
Active probing of chosen subnets (subnets): TCP handshakes on 9100/631/515, no print data sent, off by default | Shipped in v1.01.007 | GET /api/printers/scan?methods=active&subnets=192.168.1.0/24; leave subnets empty and no probing happens |
Direct printing to network printers: the printer target accepts host:port, so bare-IP devices found by scanning can be printed to as well | Shipped in v1.01.008 | When the printer field of PrintFile/AutoPrint is a host:port, the file is first rendered to PDF: :631 uses IPP Print-Job and :9100 uses RAW direct send, with no dependence on Windows drivers |
Smart direct printing to network printers (PrintToIp): give it just an IP and a file, and it identifies the protocol automatically with no driver installed | Shipped in v1.01.009 | POST /api/print-to-ip {ip, target}; the channel is chosen automatically by cache / 631→9100 fallback, identification results are cached per IP (data directory/netprint-cache.json), and on 9100 "connected" counts as "reachable" |
| Printer aliases (slug): hide complex targets like host:port behind a friendly name, with one smart dispatch point for printing | Shipped in v1.01.009 | POST /api/print-slugs {slug, target, mode} to add, remove and query; afterwards just pass the alias as printer and it is resolved internally into either network direct send or a local driver; purely local configuration - no system changes, no driver installs |
| Print auditing: a local SQLite log, searchable by host / time / success or failure, archived periodically (reconciliation for large logistics centres) | Shipped in v1.01.009 | Every network direct send is logged automatically (data directory/litchio.db); query with GET /api/print-events?host=&ok= and archive with POST /api/print-events/archive {keepDays}; only locally initiated jobs are recorded, and nothing is sent out |
| Idempotent de-duplication + batches/waves + scheduled tasks + recall + smart off-peak recommendations (v1.01.010) | Shipped in v1.01.010 | QueuePrint takes an idempotencyKey to prevent duplicate output and duplicate billing, groupId+groupOrder to order a batch, and dueAt to print only when due; POST /api/schedule schedules tasks (persisted locally and queued automatically when due), /api/batch handles batches and waves, /api/recall recalls and withdraws jobs (logged for audit), and /api/recommend gives off-peak recommendations based on the last 14 days of real audit logs |
| Print management suite: secure printing / quotas & costs / policies / reports / archiving / watermarks / drivers / toner levels / preview / scan intake / mobile printing (v1.01.011) | Shipped in v1.01.011 | The pin parameter holds jobs at /api/jobs/held, and /api/release releases them with PIN (PBKDF2) authentication; /api/quota sets monthly page and colour quotas, and successful prints are costed automatically by costPerPageBW/Color; /api/policy forces duplex / mono / no-colour by user, printer or time of day; /api/report aggregates across dimensions; original files are archived to data/archive with replay on failure; plus image watermarks, silent deployment of local INF drivers, SNMP toner polling, PNG previews, automatic queueing of scanned files from data/inbox, and phone upload printing via /webprint |
| Truthfulness fixes + productisation + architecture-level work: page counts carried through / API authentication / notifications / admin panel / LDAP / central sync / headless on three platforms (v1.01.012) | Shipped in v1.01.012 | Page counts are now parsed precisely from PDFs, images and text, and carried through the audit log's pages column, quota pre-checks and billing (page range × copies, instead of treating copies as pages); once apiToken is configured, REST and WS require X-Api-Token, and a non-local listen address without a token refuses to start; /api/notifications supports Webhook, DingTalk, WeCom and email; the admin panel covers quotas, policies, reports, toner levels and secure-print release; /api/auth/login authenticates against LDAP/AD and binds userId; /api/central/* provides incremental multi-machine reporting and central aggregation; and a standalone headless subproject ships self-contained builds for three platforms - win-x64 / linux-x64 / osx-arm64 (Unix uses lp/lpr) |
| Fix release: root-causes the old version holding the port so the printer list could not be fetched + the portable build no longer bundles the relay server (v1.01.013) | Shipped in v1.01.013 | The single-instance lock name now carries the version number, so when an old version holds port 19861 the new version can take over and prompt you to end the old process (instead of silently falling back to the old version); GetPrinterList falls back from empty GDI+ enumeration to WMI Win32_Printer and returns a source marker; and the release script no longer bundles a server component that was accidentally included, shrinking the portable build from 131MB to 89MB and staying under the 100MB single-attachment limit. |
| Update source moves to GitHub + an end-to-end gate for releases (v1.01.014) | Shipped in v1.01.014 | The auto-update manifest's primary source now goes through the GitHub API (/releases/latest for latest.json), with the mirror demoted to backup; the client's updateManifestUrl defaults to GitHub, with the mirror as fallback. The release process gains an end-to-end gate (it starts the portable build's main program, exercises the core REST endpoints and verifies the Result.code and GetPrinterList.source contracts, with FAIL blocking the release), and releases can be triggered automatically by pushing a tag via GitHub Actions. Large files (installer + historical packages) go to GitHub Releases, resolving the attachment quota problem for good. |
Silent updates when idle: new versions download and install automatically while the machine is idle, with no pop-ups (TriggerSilentUpdate triggers it manually) | Shipped in v1.01.017 | Turn on "silent updates when idle" in Settings and set the idle minutes; or call TriggerSilentUpdate to run one immediately, returning this update's result |
Intent-based printing: printer can be omitted, and the engine picks a printer automatically from profiles built by scheduled LAN scans (online + capability match, lowest load first) | Shipped in v1.01.018 | Submit AutoPrint without printer and data.reverseRoute.selected comes back with the printer the engine chose and why; GetPrinterProfiles reads the profile store; when the specified printer is offline or its capabilities do not match, another printer is chosen automatically and flagged fallback |
| Existing users get their printer list back: when the listen address is not local but no token is configured, it automatically drops back to loopback listen instead of refusing to start | Shipped in v1.01.020 | After upgrading an old configuration (listen address other than 127.0.0.1 and no apiToken), /api/printers returns normally and web in /health is true |
| Print failover: when the preferred printer fails (connection refused / timeout / offline / paper jam / out of paper / driver error), the next candidate is tried automatically | Shipped in v1.01.022 | The response carries data.reverseRoute.attempts[] with each printer's attempt result, and a failover marker for whether a switch happened; errors where switching printers is pointless - render failure / download failure / file not found - are returned directly; set PrintFailoverEnabled=false to turn it off, and PrintFailoverMaxAttempts caps how many printers are tried |
| Connection-target tiers: the settings page distinguishes "SaaS cloud collaboration (value-added service)" from "private deployment (enterprise edition)" based on the relay address, and lets you fill in a separate console API address | Shipped in v1.01.023 | 「主动在线打印(AO)」区新增连接场景提示与「管理台 API」项:私有部署填自己的 /api/admin-single 根地址(审计日志 / 设备分组 / 份数管控),SaaS 增值场景留空;配置存于 config/appsettings.json 的 centralApiUrl,旧配置缺失时默认空串 |
| Fix a crash on startup: the printer page splitter's minimum sizes exceeded the available width at construction time, so the process exited immediately after launch | Shipped in v1.01.023 | 表现为 Web 服务刚启动即消失、界面闪退;GET /health 随后连接被拒。根因是 SplitContainer 初始宽度不足时设置 Panel2MinSize 触发内部校验失败,现改为拿到实际尺寸后再设置 |
Three-step self-check
Spend a minute on these three before integrating, and you will never mistake source capabilities for published ones.
# 1) Which version do I have installed?
curl http://127.0.0.1:19861/health
# → the version field is this machine's client version
# 2) Which commands can this version actually call?
curl http://127.0.0.1:19861/api/commands
# → the data array is this version's real allowlist; trust it
# 3) Which version is the latest published release?
curl https://www.litchio.com/api/v1/releases/latest
# → release.version / release.artifacts / updateAvailable /api/commands is the command whitelist the client generates dynamically for the current version — more accurate than any doc. If a command name is absent, that version does not support it and the client returns 403. The installer is a self-contained single file, so no extra runtime needs to be pre-installed.
When it matches the installer
The current source version 1.01.023 has shipped with the installer (v1.01.023, primary source GitHub), so the docs and the installer match.
If the source gains new features later, they will ship as a new Release; the "latest published version" on this page is reflected by /api/v1/releases/latest in real time, with no need to rebuild the site. Users on older versions should treat the three-step self-check above as authoritative. The installer is a self-contained single file, so no extra runtime needs to be pre-installed.
FAQ
I am on v1.01.000 - can I use target?
No. v1.01.000 uses path / label / url / file for the target and has no target, nor AutoPrint, PrintBarcode, PrintToPdf, PrintToXps, PrintEscPos, CheckPrinterDriver or CleanAppTemp. Upgrade to v1.01.004 or later to use these capabilities, and treat the allowlist from GET /api/commands on your own machine as the only source of truth.
Why aren't the docs split into different URLs by version?
Two lines are published today: v1.01.000 (23 commands) and v1.01.004 onward (33 commands in v1.01.006, 34 from v1.01.007). Slicing by version would generate large amounts of duplicated content, so this page covers it with "published baseline + legacy differences + local self-check": the docs name the source version they describe, and every capability comes with a method you can verify on your own machine. When more released versions coexist long-term, the docs will be split by version.
When will the docs match the installer?
v1.01.023 has shipped, and the current source capabilities now match the published installer (73 commands: the core 70 unchanged since v1.01.012, plus TriggerSilentUpdate from v1.01.017, GetPrinterProfiles from v1.01.018 and GetCentralPrinters from v1.01.019). If the source gains new features later, they will ship as a new Release and this page will update its version numbers in step. Until then, treat the actual responses from /api/commands and /health as authoritative.
How do I tell it is time to upgrade?
Call GET /api/update/check on the client, or call the official GET /api/v1/releases/latest from your business system (optionally with current=your current version; it returns updateAvailable). For downloads and verification, use the endpoints described in the Version & download API documentation.
Does the client need to install printer drivers?
No. The desktop client is 64-bit Windows, and drivers are installed by administrators through the printer vendor's official channels; the client never downloads or installs any driver automatically. CheckPrinterDriver is only a read-only self-check command that returns this machine's printers, driver names and availability, and it is callable only in v1.01.003 and later.