Until I refactor tabby_printer_send_page() to be nicer, this'll do
This commit is contained in:
parent
663b11e37d
commit
a2cb39f782
1 changed files with 0 additions and 14 deletions
14
bin/main.c
14
bin/main.c
|
@ -80,20 +80,6 @@ int main(int argc, char **argv) {
|
||||||
usleep(100000);
|
usleep(100000);
|
||||||
}
|
}
|
||||||
|
|
||||||
tabby_printer_job_start(fd, 1, 0x13, 0xe4, 0x40, &response);
|
|
||||||
|
|
||||||
printf("Started job, got status %02x%02x\n",
|
|
||||||
response.device, response.status);
|
|
||||||
|
|
||||||
while (response.status) {
|
|
||||||
tabby_printer_send_inquiry(fd, &response);
|
|
||||||
|
|
||||||
printf("Printing, status %02x%02x\n",
|
|
||||||
response.device, response.status);
|
|
||||||
|
|
||||||
sleep(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
tabby_link_close(fd);
|
tabby_link_close(fd);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue