Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!labrea!su-russell!kasper From: kasper@su-russell.ARPA (Kasper Osterbye) Newsgroups: comp.sys.amiga Subject: Re: Re: Printer troubles Message-ID: <353@su-russell.ARPA> Date: Fri, 18-Sep-87 17:00:57 EDT Article-I.D.: su-russe.353 Posted: Fri Sep 18 17:00:57 1987 Date-Received: Sun, 20-Sep-87 04:13:10 EDT References: <7200009@uiucdcsm> <4580@videovax.Tek.COM> Reply-To: kasper@su-russell.UUCP (Kasper Osterbye) Organization: Stanford University, CSLI Lines: 37 In article <4580@videovax.Tek.COM> stever@videovax.Tek.COM (Steven E. Rice, P.E.) writes: >In article <7200009@uiucdcsm>, Mike Schwager( schwager@uiucdcsm.cs.uiuc.edu) >writes: > >> 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: >> [Rest deleted cause the mailer asked to do so, Kasper] >"lprint" does swallow escapes! To avoid this, do > > OPEN "PAR:" FOR OUTPUT AS #1 > . . . > PRINT #1,CHR$(27)+"W"+CHR$(1)+"hello" > >(If your printer is on the serial port, open that instead of PAR:.) > >This is a bit of a kludge, but it will work. . . > > Steve Rice Sorry for deleting, but otherwise this would grow to much. I had the same problem as Mike. And a huried to my amiga when I came home after reading Steve's note. And it sure worked, I was able to get italics and proportional spacing and god knows what. BUT I was not able to get by danish or any other ALT-selected charaters through anymore. Apparently the PRT: device is smart, (it is I checked the output to the printer in hexcode like Mike did, the ALT-selected characters were expanded into strings as long as nine bytes long). So do Steve, or any boddy else know how to send escapes to the PRT: device? kasper. ARPA kasper@russell.stanapo). Ce