summaryrefslogtreecommitdiffstats
path: root/private/mvdm/softpc.new/base/inc/lq2500.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/mvdm/softpc.new/base/inc/lq2500.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/mvdm/softpc.new/base/inc/lq2500.h')
-rw-r--r--private/mvdm/softpc.new/base/inc/lq2500.h73
1 files changed, 73 insertions, 0 deletions
diff --git a/private/mvdm/softpc.new/base/inc/lq2500.h b/private/mvdm/softpc.new/base/inc/lq2500.h
new file mode 100644
index 000000000..902ce204e
--- /dev/null
+++ b/private/mvdm/softpc.new/base/inc/lq2500.h
@@ -0,0 +1,73 @@
+/*[
+ * Name: LQ2500.h
+ *
+ * Derived from: nowhere
+ *
+ * Author: Chris Paterson
+ *
+ * Created on: 11:44:05 25/7/1991
+ *
+ * Purpose: This file is the interface to the base part of an LQ-2500 printer
+ * emulator. It takes a text stream from the host_get_next_print_byte
+ * routine in host code and calls a set of host dependent routines
+ * that provide a generic interface to the host's printing facilities.
+ *
+ * SccsId: @(#)LQ2500.h 1.3 09/02/94
+ * (c) Copyright Insignia Solutions Ltd., 1991. All rights reserved.
+]*/
+
+
+/* constants */
+
+#define EPSON_STANDARD 0 /* character sets */
+#define EPSON_IBM 1
+#define USER_DEFINED 2
+
+#define USA 0
+#define FRANCE 1
+#define GERMANY 2
+#define UK 3
+#define DENMARK_1 4
+#define SWEDEN 5
+#define ITALY 6
+#define SPAIN_1 7
+#define JAPAN 8
+#define NORWAY 9
+#define DENMARK_2 10
+#define SPAIN_2 11
+#define LATIN_AMERICA 12
+#define MAX_COUNTRY 12
+
+#define FONT_NAME_SIZE 31 /* characters in a pstring */
+
+
+/* Types... */
+
+/* LQ2500-specific initial settings struct... */
+typedef struct LQconfig {
+ IU8 autoLF;
+ UTINY font; // not used
+ TINY pitch;
+ IU8 condensed;
+ USHORT pageLength; // in half-inch units
+ USHORT leftMargin; // in columns
+ USHORT rightMargin;
+ TINY cgTable;
+ TINY country;
+ /* These are used by the host bit of the LQ2500: */
+ SHORT monoSize;
+ SHORT propSize;
+ CHAR monoFont[FONT_NAME_SIZE+1]; // pascal strings
+ CHAR proportionalFont[FONT_NAME_SIZE+1];
+} LQconfig;
+
+
+/* Globals... */
+IMPORT LQconfig SelecType;
+
+
+/* Prototypes: */
+
+IMPORT VOID Emulate_LQ2500(VOID);
+IMPORT VOID Reset_LQ2500(VOID);
+