Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!iuvax!pur-ee!uiucdcs!uiucdcsm!schwager From: schwager@uiucdcsm.UUCP Newsgroups: comp.sys.amiga Subject: Printer troubles Message-ID: <7200009@uiucdcsm> Date: Wed, 16-Sep-87 12:48:00 EDT Article-I.D.: uiucdcsm.7200009 Posted: Wed Sep 16 12:48:00 1987 Date-Received: Sat, 19-Sep-87 07:15:20 EDT Lines: 25 Nf-ID: #N:uiucdcsm:7200009:000:1015 Nf-From: uiucdcsm.cs.uiuc.edu!schwager Sep 16 11:48:00 1987 Here's an odd little problem I'm having: I can't seem to get the ASCII "escape" character to my printer. From BASIC, I do a: lprint chr$(27)+"W"+chr$(1)+"hello" which is supposed to print the word "hello" double-width, but it doesn't. "hello" is simply printed in normal pica. I've tried other escape codes also, to no avail. I can power my printer up in Hex mode. Then the ASCII representation of every char sent to the printer is supposed to print. Instead of getting: 1B 57 01 68 65 6C 6C 6F like I'm supposed to, I get: 01 68 65 6C 6C 6F In other words, the escape char and the "W" evaporate. Any ideas? "Sure," you say, "don't use BASIC." Well, I don't usually, but I'm trying to enter a utility from a magazine, and I'd like for the program to be able to set the width and other parameters on the printer. So, constructive ideas, anyone? Many thanks.... -mike schwager -- {ihnp4,convex,pur-ee}!uiucdcs!schwager schwager%uiuc@csnet-relay.arpa University of Illinois, Dept. of Computer Science