Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!ucla-cs!zen!hoser.berkeley.edu!bryce From: bryce@hoser.berkeley.edu (Bryce Nesbitt) Newsgroups: comp.sys.amiga Subject: Re: Printer troubles Message-ID: <3827@zen.berkeley.edu> Date: Fri, 18-Sep-87 23:37:24 EDT Article-I.D.: zen.3827 Posted: Fri Sep 18 23:37:24 1987 Date-Received: Sun, 20-Sep-87 12:26:59 EDT References: <7200009@uiucdcsm> Sender: news@zen.berkeley.edu Organization: Flexible Pipes Unlimited Lines: 34 Summary: Problem description & what PRT: needs to prevent it. In article <7200009@uiucdcsm> schwager@uiucdcsm.cs.uiuc.edu writes: > >Here's an odd little problem I'm having: > [I send an "escape" character to PRT: via BASIC, but the escape > gets eaten!] > [I use my printer's specific sequence] > which is supposed to print the word "hello" double-width, but it > doesn't. The Amiga printer driver implements a standard set of commands. It's "double-width" command gets translated into whatever your printer's actual command is. It is best to use this, since your program will then work on all printers that have Amiga drivers and double-width capability. The commands are documented in the Amiga Enhancer Software manual (The V1.2 Kickstart upgrade). Page 22. Or Appendix D of the introduction to the Amiga 500. The code you need to send to use double-width is escape then "[6w" If you absolutly must send a direct command you will need to use the direct access PAR: or SER: devices. I thought that there was a way to convince the PRT: device to pass some direct characters through... seems that you can't do it. (without a program). It's not very clean to do the direct access. Perhaps a future PRT: will have some "last resort" command that will then let anything pass unmolested until a termination sequence. |\ /| . Ack! (NAK, ENQ, SYN) {o O} . (") bryce@hoser.berkeley.EDU -or- ucbvax!hoser!bryce U How can you go back if you have not yet gone forth?