Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!ubc-cs!van-bc! From: lphillips@lpami.wimsey.bc.ca (Larry Phillips) Newsgroups: comp.sys.amiga Subject: Re: STAR printer driver wanted Message-ID: <661@lpami.wimsey.bc.ca> Date: 24 Jul 89 17:52:59 GMT Lines: 41 To: van-bc!rnews In <587@prles2.UUCP>, nobody@prles2.UUCP (nobody) writes: >Thanks to those of you who sent me hints on the usage of the STAR >NL-10 printer. But, my problems are not solved yet. > >Most of you adviced me to try different Epson drivers. And indeed, >I can do graphic screen dumps with them and print standard files. > >But my problem is the usage of the printer escape codes: an example: >when I use the command LPRINT CHR$(27);"4" in AmigaBasic my printer >should be set up for italic characters as described in the 'Parallel >Interface Cartridge For NL-10'-manual. Now, the Epson drivers >do not translate these codes correctly for the STAR NL-10 so that >it does not react at all or unpredictably. That's exactly right. Your driver is doing exactly what it was designed to do, that is, to translate Amiga printer codes to the appropriate codes for your printer. The driver rightly rejects codes that are not AMiga codes. >So what I need is a driver that translates these codes correctly, >or a translated code table. What you really ned can be done two different ways, one right, and one wrong. 1. The wrong way is to use the PAR: device, which does not have a driver attached to it. This will allow you to drive any old funky printer in any way you want. The reason it's the wrong way is that your program will not work with a different printer, funky or not. 2. The right way. Use the driver, and use the AMiga printer codes. They will allow you to send the right codes to any printer that has a prroper driver fr it installed. -larry -- "So what the hell are we going to do with a Sun?" - Darlene Phillips - +-----------------------------------------------------------------------+ | // Larry Phillips | | \X/ lphillips@lpami.wimsey.bc.ca -or- uunet!van-bc!lpami!lphillips | | COMPUSERVE: 76703,4322 -or- 76703.4322@compuserve.com | +-----------------------------------------------------------------------+