aboutsummaryrefslogtreecommitdiffstats
path: root/src/rastertoql570.h
diff options
context:
space:
mode:
authorClemens Fries <github-raster@xenoworld.de>2015-07-18 23:33:23 +0200
committerClemens Fries <github-raster@xenoworld.de>2015-07-18 23:33:23 +0200
commit18838e644f1149db333c5ee441e025ba4b89283f (patch)
treed80afecb41ae8f3e6a7a3882b22b0ded9de5026f /src/rastertoql570.h
parent033512bf1bd8fee437d3fa9dafbcf916bd7cb814 (diff)
Moved code and documentation from landfill to tidy repository.
Diffstat (limited to 'src/rastertoql570.h')
-rw-r--r--src/rastertoql570.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/rastertoql570.h b/src/rastertoql570.h
new file mode 100644
index 0000000..7e1fe2d
--- /dev/null
+++ b/src/rastertoql570.h
@@ -0,0 +1,32 @@
+/* rastertoql570.c: a CUPS driver for the QL-570 label printer
+ *
+ * Copyright (C) 2015 Clemens Fries <github-raster@xenoworld.de>
+ *
+ * This file is part of rastertoql570.
+ *
+ * rastertoql570 is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * rastertoql570 is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with rastertoql570. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef _RASTERTOQL570_H
+#define _RASTERTOQL570_H
+
+bool backchannel_read_status(ql_status*);
+bool init(ql_status*, FILE*);
+bool request_status(ql_status*, FILE*);
+void wait_for_page_end();
+bool handle_status(ql_status*);
+void print_blank_lines(uint32_t count, size_t buffer_size, FILE *device);
+void handle_page(cups_raster_t*, cups_page_header2_t, ql_status, unsigned int, FILE*);
+
+#endif