From: sur5r Date: Sun, 4 Nov 2007 01:44:26 +0000 (+0000) Subject: * prepend \0x11 to printer output for switching to lower/upper case mode instead of X-Git-Tag: rgb2rv6~29 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a39760c8da4f4dcb29636adcf6d30985ffc4d58f;p=c128-kasse * prepend \0x11 to printer output for switching to lower/upper case mode instead of upper case/graphics mode git-svn-id: https://shell.noname-ev.de/svn/kasse/c128@80 af93e077-1a23-4f1e-9cbe-9382a9d578f5 --- diff --git a/src/kasse.c b/src/kasse.c index a50a248..0d95aea 100644 --- a/src/kasse.c +++ b/src/kasse.c @@ -89,7 +89,7 @@ static void print_log(BYTE n, int einheiten, char *nickname) { exit(1); } - sprintf(print_buffer, "[%lu] %s - %s - %s - %d - an %s\r\n", + sprintf(print_buffer, "%c[%lu] %s - %s - %s - %d - an %s\r\n", 17, items_sold, time, status.status[n].item_name, price, einheiten, (*nickname != '\0' ? nickname : "Unbekannt")); RETRY:;