Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!cbmvax!carolyn From: carolyn@cbmvax.cbm.UUCP (Carolyn Scheppner) Newsgroups: net.micro.amiga Subject: Re: ESC sequences to turn on NLQ (near letter quality) printer mode Message-ID: <418@cbmvax.cbmvax.cbm.UUCP> Date: Mon, 16-Jun-86 15:51:45 EDT Article-I.D.: cbmvax.418 Posted: Mon Jun 16 15:51:45 1986 Date-Received: Wed, 18-Jun-86 04:06:22 EDT References: <533@mot.UUCP> Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner) Distribution: net Organization: Commodore Technology, West Chester, PA Lines: 41 In article <533@mot.UUCP> waycott@mot.UUCP (John Waycott) writes: > >I am trying to send an ESC sequence to set up letter qual mode >when I send the sequence specified in ROM man page 3-199 >that is [2"z it just prints the z and stays in draft mode. >What am I doing wrong? > If you are using AmigaBasic, I just posted an example that works fine on my printer (MPS-1000). It uses prt:. This example is similar. OPEN "prt:" FOR OUTPUT AS #4 esc$ = CHR$(27)+"[" den2$ = esc$+"2"+chr$(34)+"z" PRINT#4, den2$;"hello" 'Prints hello in NLQ CLOSE 4 I use prt: because LPT1: (used by LPRINT) eats initial sequences. If you are using C, then you are either doing something wrong or your printer doesn't support NLQ. Make sure you have the correct printer-specific driver selected in Preferences. It is the driver which converts the ISO sequences to printer-specific ones. You can test the sequences from CLI. Try typing the following. Everything typed between the first and last line will go to prt:. (Note: is the return key, is the escape key) copy * to prt: [2"zhello [1"zhello CTRL-\ (Note - Hold CTRL and type \) With my MPS-1000, this prints "hello" twice, first in NLQ then normally. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Carolyn Scheppner -- CBM >>Amiga Technical Support<< UUCP ...{allegra,caip,ihnp4,seismo}!cbmvax!carolyn PHONE 215-431-9180 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=