Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!ub!acsu.buffalo.edu From: cloos@acsu.buffalo.edu (James H. Cloos) Newsgroups: comp.sys.handhelds Subject: Re: MES review print option prob Message-ID: <71974@eerie.acsu.Buffalo.EDU> Date: 19 Apr 91 21:45:35 GMT References: <14357@ccncsu.ColoState.EDU> Sender: news@acsu.Buffalo.EDU Organization: State University of New York @ Buffalo Lines: 46 Nntp-Posting-Host: lictor.acsu.buffalo.edu Jay, If you have a version B printer, this should work correctly. It can print every character the 48 can display. One thing you may want to check, though, is to conform the 48 is not in OLDPRT mode, and that the printer is not in roman8 mode. There is an escape sequence for switching the visine between the ISO Latin-1 and Roman8 character sets, but I have only a red eye and my copy of Donnely isn't here, so I can't tell you what it is; I do assume, though, that cycling power on the printer will ensure that it is in iso mode. As for the 48, if the second element in the PRTPAR variable is an empty string, you are OK; if it is not empty, the 48 will do something like the following to convert the internal (iso latin-1) character set to any given ascii extension: (given a 1 element string, and written in userlang) NUM DUP IF 127 < THEN CHR ELSE PRTPAR 2 GET SWAP CHR POS 127 + CHR END So, eg, rho, which is character 151 in iso-latin-1, maps to 178 in roman8 (ie, using the string that OLDPRT puts into PRTPAR). A quich ckeck shows that the iso-latin-1 encoding of a superscripted 2 is (you guessed it) 178. Your solution, therefore, is to run this little program, which I call ISOPRT : %%HP:T(3)A(R)F(.); \<< PATH HOME 'PRTPAR' DUP RCL 2 {""} REPL SWAP STO EVAL \>> ('ISOPRT' BYTES gives: #8499h and 67.5.) If you are curious, this can be extended to printout some of the appropriate characters from IBM and Epson compatable printers, assuming that the epson printers, at least, have a mode where nearly all 256 possible characters print something, hopefully unique. I lost the manual to my printer, but if someone could send me a list of a), how to get into such a mode and b) the encoding vector for that mode, I could put together the appropriate strings. The above encoding vector would be best understood by me if it is in PostScript syntax. or at least using the PostScript names for the glyphs. -JimC -- James H. Cloos, Jr. Phone: +1 716 673-1250 cloos@ACSU.Buffalo.EDU Snail: PersonalZipCode: 14048-0772, USA cloos@ub.UUCP Quote: <>