Imprimante : bouton Couper papier (micro-job blanc déclenche le cutter K60)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -92,6 +92,12 @@ function _getOrientations() {
|
||||
return { ...existing, [fmt]: orient };
|
||||
}
|
||||
|
||||
async function couperPapier() {
|
||||
afficherStatut('Envoi commande coupe...', 'succes');
|
||||
const r = await apiPost('/api/imprimante/couper', {});
|
||||
afficherStatut(r.message, r.succes ? 'succes' : 'erreur');
|
||||
}
|
||||
|
||||
async function resetUsb() {
|
||||
afficherStatut('Réinitialisation USB...', 'succes');
|
||||
const r = await apiPost('/api/imprimante/reset-usb', {});
|
||||
|
||||
Reference in New Issue
Block a user