Microsoft KB Archive/84332

{|
 * width="100%"|

Word: HP 7440A HPGL Format Codes Recognized by Word

 * }

Q84332

-

The information in this article applies to:


 * Microsoft Word for MS-DOS, versions 5.0, 5.5, 6.0

-

SUMMARY
In order for an HPGL graphic to print correctly from within Microsoft Word for MS-DOS version 5.0 or 5.5, the graphic must be generated by printing to a file in HP 7440A or ColorPro plotter format. Below is a summary of the HPGL formatting instructions that are recognized from within Microsoft Word.

HPGL Instruction                    Definition --

CA  set                              Designate alternate character set CP  spaces, line                     Character plot (decimal) CS  set                              Designate character set DC  send dots                        Digitize clear DF                                   Set default values DI  run,rise                         Set absolute label direction (decimal) DP                                   Digitize Point DR  run,rise                         Set relative label direction (decimal) DT  label terminator                 Define label terminator (ASCII character) EP                                   Edge polygon IM  e(,s(,p))                        Set e-,s-, and p-masks IN                                   Initialize plotter IP   P1x,P1y,(,P2x,P2y)              Input P1 and P2 (integer) IW  X1, X2, Y1, Y2                   Input window (integer) LB  c...c                            Label ASCII string LT  pattern number (,pattern length) Set line type (integer) and pattern length (decimal) NR                                   Not ready (View state) OC                                   Output commanded position and pen status (integer return) OD                                   Output digitized point and pen status (integer return) OE                                   Output error (integer return) OF                                   Output factors (integer return) OH                                   Output hard-clip limits (integer return) OI                                   Output identification (ASCII character return) OO                                   Output options (integer return) OP                                   Output P1 and P2 (integer return) OS                                   Output Status (integer return) OW                                   Output window (integer return) PA   X,Y,(,X,Y(,...))                Plot absolute to X,Y (integer if not scaled or decimal if scaled) PD   (X,Y(,...))                     Pen down (integer) PR   (X,Y,(,X,Y(,...))               Plot relative from current pen (integer if not scaled or decimal if scaled) PU    (X,Y(,...))                     Pen up (integer if not scaled or decimal if scaled) RA    X,Y                             Fill rectangle absolute (integer if not scaled or decimal if scaled) RO   n                               Rotate coordinate system (integer) SA                                    Select alternate character set SC    Xmin,Xmax,Ymin,Ymax             User-unit scaling (integer) SI     width,height                   Set absolute character size (decimal) SL    tan0                            Set character slant from vertical (decimal) SM   c                                Specify character for symbol mode plotting (ASCII character) SP    pen number                      Select pen (integer) SR    width,height                    Select relative character size (decimal) SS                                    Select standard character set TL    tp(,tn)                         Set tick length (decimal) VS    pen velocity                    Set velocity (decimal) XT                                    Draw X-axis tick YT                                    Draw Y-axis tick Reference(s):

&quot;Interfacing and Programming Manual for HP 7550A,&quot; Appendix C

Additional query words: 5.00 5.50

Keywords : kbgraphic kbprint

Issue type :

Technology :