The first step is to separate the printer from the BASIC (part of a general strategy to divide the problem into smaller pieces). So change your code below to output to a text file. Then look at it to see if you're getting into it what you think should be there. A hex editor is good for this.
Then try sending that file directly to the printer, not using UniVerse. Then focus on where the problem seems to be. Of course if the only test printer is half a world away, that can be tough. We have considerable experience in working with international characters in a variety of environments. Our Print Wizard product can read and translate PCL-5 code, including emulating some of HP's Chinese cartridges. However, I don't recognize either the symbol set (18N) or the typeface (17006). What company supplied the DIMM? Is there documentation online for it? What kind of printer? Another solution may be to use Print Wizard and standard Chinese Windows fonts. We can help with that. Contact me off-list if you'd like. On Tue, 23 Feb 2010, Brenda Price wrote: > We are trying to get a printer over in Hong Kong that has recently had a > DIMM chip installed with Andale Traditional Chinese font on it to print > in Chinese. We cannot get the printer to recognize the font change. > Anyone deal with double byte languages? > > Here is what we last tried. Only thing happened is the existing font > changed size. Just doing some simple tests. > > > EQU ESC TO CHAR(27) > EXECUTE 'SETPTR 0,132,59,0,0,1,AT HONGKONGWH2,RAW,FORMAT.MAP > BIG5+MARKS,COPIES 1,BRIEF' > CHI.SEQ = ESC:"(18N":ESC:"(s1p12.0h8.5v0s0b17006T" > PRINT ESC:'E' > PRINT CHI.SEQ:MSG<2> > > Brenda L Price > UniVerse Programmer > Rapid Response Team > Market America, Inc. > Greensboro, NC > > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > Regards, ....Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: r...@anzio.com company e-mail: r...@anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users