From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,16a456325c217acf X-Google-Attributes: gidf7344,public X-Google-Thread: f86d6,16a456325c217acf X-Google-Attributes: gidf86d6,public X-Google-Thread: 1164f8,16a456325c217acf X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-08-05 03:00:06 PST Xref: sparky vmsnet.sysmgt:235 comp.os.vms:13231 comp.sys.dec:4369 Path: sparky!uunet!stanford.edu!rutgers!uwm.edu!cs.utexas.edu!hellgate.utah.edu!fcom.cc.utah.edu!park.uvcc.edu!cc.uvcc.edu!coleve From: coleve@cc.uvcc.edu Newsgroups: vmsnet.sysmgt,comp.os.vms,comp.sys.dec Subject: Re: need help with LPS20 ansi selection stuff Message-ID: <1992Aug5.164958.1@cc.uvcc.edu> Date: 5 Aug 92 23:49:58 GMT References: <1992Aug3.162749.679@fps.mcw.edu> <1992Aug4.160421.12560@tron.bwi.wec.com> Sender: news@park.uvcc.edu Organization: Utah Valley Community College Nntp-Posting-Host: uvadm.uvcc.edu In article <1992Aug4.160421.12560@tron.bwi.wec.com>, eikenber@tron.bwi.wec.com (Daniel E. Eikenberry Jr.) writes: > > supposedly these are document in some printserver manual, but I have not > found them yet. The FM to R is DEC AA-JP25B-TK, "PostScript Translators Reference Manual" At least that's the version I have. It's not one of DEC's best, IMHO, but is a little better than guesswork. The translator seems to (?) run in the host computer. It converts the "other" formats into PostScript. It should take about the same escape sequences as a normal DECwriter -- except sometimes you don't get the same results. For example, on an LA120, etc. changeing the horizontal pitch to 16.5 automatically gives you a smaller font. On the Printserver it doesn't. Here's my guess at decoding... > 170 column landscape control chars ... > > [?27 J[4w[15m[?7l[1;180s > [?27 J -- PFS page format select landscape extended B private [4w -- DECSHORP set horizontal pitch to 16.5 cpi [15m -- SGR select graphic rendition (use Courier 6.7 point font) [?7l -- DECAWM set mode auto wrap off [1;180s -- DECSLRM set left margin to 1, right to 180 > 270 column landscape control chars > [27 J[4w[15m[?7l[1;270s [27 J -- PFS page format select (undocumented, should it be "?27"?) [4w -- DECSHORP set horizontal pitch to 16.5 cpi [15m -- SGR select graphic rendition (use Courier 6.7 point font) [?7l -- DECAWM set mode auto wrap off [1;270s -- DECSLRM set left margin to 1, right to 270 arguments for PFS: I will give the even numbers for portrait orientation, add 1 for landscape. "Normal" gives an ANSI standard 1/2 inch left and top margin and 5/6 bottom. "Ext" or Extended gives a minimum top and bottom margin. "private" adds a minimum left margin. 0 (same as ?20) default. 2 normal A4 4 normal North American letter 6 Extended A4 8 Extended legal ?20 Ext North American private ?22 Ext A4 private ?24 Ext legal private ?26 Ext B private For fudging character sizes, the GSM and GSS sequences look interesting. (I haven't tried them, mind.) GSM (Graphic Size Modification) sets the height and width: [Pn1;Pn2 B -- the space IS significant Pn1 is a decimal number for percent of GSS height Pn2 is a decimal number for percent of GSS width so it seems that [200;50 B will give a character twice as high and half as wide as the GSS setting. GSS (Graphic Size Selection) sets the height. (width is implicit) [Pn C -- the space is part of the syntax Pn is a decimal number for percent of "font height set by SSU sequence" (whatever that is.) Good luck. -- -- Vern Cole -- Systems Manager -- Utah Valley Community College --