Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!floyd!harpo!seismo!hao!hplabs!sri-unix!cms@mit-pamela From: cms%mit-pamela@sri-unix.UUCP Newsgroups: net.micro.pc Subject: printing hex data Message-ID: <14843@sri-arpa.UUCP> Date: Tue, 20-Dec-83 11:18:58 EST Article-I.D.: sri-arpa.14843 Posted: Tue Dec 20 11:18:58 1983 Date-Received: Sat, 24-Dec-83 10:46:32 EST Lines: 16 From: Chris Schmandt You can send hex data to the printer as follows: (I assume that you want the actual bits sent, as opposed to printing "A" for bits "1010") >From basic: lprint chr$(hex_value); the ; prevents a chr$ converts an integer to equivalent character Alternatively, put the hex value in the DL register and use DOS function call 5. All DOS function calls are documented in an appendix to the DOS manual.