# # This is penshpib file for plotting MOSIS design rules on HP 7750A # plotter. (This is fancy plotter that can do cross hatch filling, etc. # # Pens should be loaded in plotter as follows # Slot # Pen Color # 1 red # 2 green # 3 blue # 4 black # 5 brown # 6 yellow (beige, actually) # 7 purple # 8 orange # # How this works. For each line, we have: # COLORNAME PENNUMBER [COLORSETUP [FILLCOMMMANDS]] # COLORNAME is obvious. PENNUMBER tells which pen to use. # COLORSETUP is a set of commands that is executed when the color is # selected. An "SP" command is automatically executed for you. Put # linetype commands and such here. # FILLCOMMANDS are executed if the path is fillable AND the plotter is # a 7750A plotter. These FILLCOMMANDS are output at the end of each # path of a given color. # # See end of file for some HPIB commands. # YELLOW 6 LT;SM;FT4,100,45 FP;EP # Cross-hatch fill for WELL PURPLE 5 LT;SM;FT4,60,45 FP;EP # MET2 GREEN 2 LT;SM; # ACTIVE BLACK 8 LT;SM; RED 1 LT;SM; # For POLY CYAN 3 LT;SM;FT4,100,30 FP;EP # Cross-hatch fill for SELECT WHITE 4 LT;SM; # text BLUE 3 LT;SM;FT4,50,45 # METal - semi solid fill YELLOW2 3 LT;SM;FT4,50,45 FP;EP #PURPLE2 8 LT;SM; # POLY2 for good plotter PURPLE2 1 LT1,.35;SM; # POLY2 for crappy plotter GREEN2 2 LT4,4;SM; RED2 4 LT;SM;FT1,0,0 FP;EP # CUTP and CUTA CYAN2 6 LT2,4;SM; WHITE2 4 LT;SM;FT1,0,0 FP;EP # VIA BLUE2 4 LT;SM; # # Some nice things to know: # Plotter units: 40 per mm (1000 per inch) # # LINE TYPE LT [pat number [,pat length] ; # pat number: none==solid line, 0==dots at endpoints, # 1==dotted, 2-3==dashed, 4-6==mixed # pat length: percentage of paper size # SYMBOL MODE SM [symbol char]; # If symbol char is present, draw that symbol at each endpoint. # FILL TYPE FT [type [,spacing [,angle]]] ; # type: none==same as 1, 1==solid bi-directional, # 2==solid uni-directional, 3==parallel lines, 4==cross-hatch, # 5-6==user defined. # spacing: in plotter units # angle: normal counter-clockwise junk # This command uses the line type as well. # PEN THICKNESS PT [pen thickness] ; # pen thickness: decimal number of millimetres--see pen # EDGE POLYGON EP; # Draw an edge on the current polygon # FILL POLYGON FP; # Fill the current polygon # # Make sure the commands you select will work on the plotter you are using. #