fcea992e1e
The reachability-only clone driver carried its first unit's vendor name, which read as misleading in the setup UI once other clones (ICS/Xprinter XP-K200L, verified 2026-07-06: no /prn_stat.htm) used it. It was always the generic ESC/POS driver — now named so: - printer-cashino.ts → printer-generic.ts; GenericEscposPrinter; id "escpos", label "Generic ESC/POS 80mm printer (Cashino, ICS/Xprinter…)". - Migration 0023 rewrites stored devices.driver_id rows. - The registry keeps a PERMANENT cashino→escpos alias so restored pre-rename backups still resolve instead of "unknown driver". Prose mentions of the Cashino as physical hardware stay — it's a real, verified-fit printer; only the driver identity stopped being vendor-named. Claude-Session: https://claude.ai/code/session_01Xcm6ikLgGoCxxHrxtjkk5V
7 lines
493 B
SQL
7 lines
493 B
SQL
-- Driver rename (2026-07-06): "cashino" → "escpos". The driver was always the GENERIC
|
|
-- ESC/POS printer driver (reachability-only clones); it carried the first unit's vendor
|
|
-- name, which read as misleading in the setup UI once other clones (ICS/Xprinter
|
|
-- XP-K200L) used it. Rewrite stored device rows; the registry also keeps a permanent
|
|
-- cashino→escpos alias so restored pre-rename backups still resolve.
|
|
UPDATE `devices` SET `driver_id` = 'escpos' WHERE `driver_id` = 'cashino';
|