home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p069 / 2.img / CADPLT1.LIF / PLOTCAP < prev   
Encoding:
Text File  |  1992-03-26  |  5.5 KB  |  182 lines

  1. #
  2. #        Plotcap source file
  3. #
  4. #            plotter commands:
  5. #
  6. #     cb  --  command bias
  7. #     cn  --  center origin flag
  8. #     dl  --  coordinate system written using deltas flag
  9. #     fl  --  fill command envoke if set with string
  10. #     in  --  initialization instructions
  11. #     mv  --  pen move command
  12. #     pc  --  pen change command
  13. #     pd  --  pen down command
  14. #     pe  --  polygon fill end command
  15. #     ps  --  polygon fill start command
  16. #     pu  --  pen up command
  17. #     rs  --  plotter resolution (in millimeters)
  18. #     rx  --  coordinate radix
  19. #     sn  --  pen starting number
  20. #     sp  --  coordinate separator
  21. #     s2  --  coordinate separator number 2, for coordinate pairs
  22. #     st  --  string terminator
  23. #     sy  --  driver type (see below)
  24. #     tc  --  for other capabilities see other definition (must be last command)
  25. #     tm  --  plotter termination instructions
  26. #     vl  --  pen velocity command
  27. #     w1  --  first part of window instruction
  28. #     w2  --  second part of window instruction
  29. #
  30. #    Driver types are as follows:
  31. #        1 = hpgl           4 = rs-274             7 = mutoh
  32. #        2 = dmpl          5 = bgl            8 = hpgl2
  33. #        3 = calcomp        6 = gpgl        9 = LP7200
  34. #
  35. #    HPGL lower left origin
  36. #
  37. 000|HPGL_LL|HPGL Lower Left Origin:\
  38.     :cb#0:cn@:dl@:fl=:\
  39.     :in=\E.Y\E.@;3\072\E.I20;;17\072\E.N;19\072;IN;IP;IW;LT;PU;PA0,0;SP1;:\
  40.     :mv=PA:pc=SP%d:pd=PD;:pe=:ps=:pu=PU;:rs=0.025:rx#0:sn#1:sp=,:s2=,:\
  41.     :st=;\r\n:sy#1:tm=PU;PA0,0;SP0;\E.Z\r\n:vl=VS:w1=IW:w2=:
  42. #
  43. #    HPGL center origin
  44. #
  45. 001|HPGL_CEN|HPGL Center Origin:\
  46.     :cn:tc=HPGL_LL:
  47. #
  48. #    HPGL/2 Plotter
  49. #
  50. 002|HP2PL|HPGL/2 Plotter:\
  51.     :cb#0:cn@:dl@:fl=:\
  52.     :in=\E%-1BBPINLA1,4,2,4PS:\
  53.     :mv=PE:pc=;SP%d;PE:pd=:pe=:ps=:pu=<:rs=0.025:rx#0:sn#1:sp=,:s2=,:\
  54.     :st=\r\n:sy#8:tm=;PUPA0,0SP0PG;:vl=PA0,0SP1VS:w1=IW:w2=:
  55. #
  56. #    HPGL/2 Printer
  57. #
  58. 003|HP2PR|HPGL/2 Printer:\
  59.     :cb#0:cn@:dl@:fl=:\
  60.     :in=\EE\E&l2A\E&l3O\E&l0E\E*p50Y\E*c0T\E*c5880Y\E%-1BBPINLA1,4,2,4PS:\
  61.     :mv=PE:pc=;SP%d;PE:pd=:pe=:ps=:pu=<:rs=0.025:rx#0:sn#1:sp=,:s2=,:\
  62.     :st=\r\n:sy#8:tm=;PUPA0,0SP0PG;\E%1A\EE:vl=PA0,0SP1VS:w1=IW:w2=:
  63. #
  64. #    DMPL 1 mill
  65. #
  66. 010|DMPL_1M|DMPL 1 mill:\
  67.     :cb#0:cn@:dl@:fl=:\
  68.     :in=;\072 A EC1 U H L0 :mv=:pc=P%d,:pd=D :pe=:ps=:pu=U :\
  69.     :rs=0.0254:rx#0:sn#1:sp=,:s2=,:st= \r\n:sy#2:tm=U 0,0 H P0, @ \r\n:vl=V:\
  70.     :w1=W :w2=:
  71. #
  72. #    DMPL 2.5 mills
  73. #
  74. 011|DMPL_2.5M|DMPL 2.5 mills:\
  75.     :in=;\072 A EC2 U H L0 :rs=0.0635:tc=DMPL_1M:
  76. #
  77. #    DMPL 4 mills
  78. #
  79. 012|DMPL_4M|DMPL 4 mills:\
  80.     :in=;\072 A EC4 U H L0 :rs=0.1016:tc=DMPL_1M:
  81. #
  82. #    DMPL 5 mills
  83. #
  84. 013|DMPL_5M|DMPL 5 mills:\
  85.     :in=;\072 A EC5 U H L0 :rs=0.1270:tc=DMPL_1M:
  86.  
  87. #
  88. #    CALCOMP Pen plotter    (PCI controller)
  89. #
  90. 020|CALCOMP|Calcomp/Pen:\
  91.     :cb#32:cn@:dl:fl:\
  92.         :in=\002\040\041\040\040\041\047\176\050\052\044\041\051\041\003                    \002\040:\
  93.     :mv=:pc=\044%c:pd=\042:pe=:ps=:pu=\043:rs=0.0125:rx#95:sn#1:sp=:s2=:\
  94.     :st=:sy#3:tm=\057\003:vl=\053\040\045\053\040\052\053:\
  95.     :w1=:w2=:
  96.  
  97. #
  98. #    CALCOMP electrostatic plotter
  99. #
  100. 021|CAL_ELEC|Calcomp Electrostatic:\
  101.     :in=\002\040\041\040\040\041\047\176\050\052\044\041\051\041\053\040\046\003                    \002\040:\
  102.     :tm=\057\003\041\040\052\121:vl=:tc=CALCOMP:
  103.  
  104. #
  105. #    RS-274 code (gerber out)
  106. #
  107. 030|RS-274|RS-274 Gerber Out:\
  108.     :cb#0:cn@:dl@:fl:\
  109.     :in=*%FSLAX53Y53*SFA1.0B1.0*%G01G54D10G71:\
  110.     :mv=X:pc=G54D1%d:pd=D01:pe=:ps=:pu=D02*:rs=0.001:rx#0:sn#1:sp=Y:s2=*X:\
  111.     :st=*:sy#4:tm=M00M02*:vl=:w1=:w2=:
  112. #
  113. #    Oce Graphics/Benson BGL 100u
  114. #
  115. 040|OCE_100|Oce Graphics/Benson BGL 100u:\
  116.     :cb#0:cn@:dl@:fl=:\
  117.     :in=\E_I\134 GW 20 1 0 18 LM 0 DE 2 1 MA 0 0 NP 0:\
  118.     :mv=:pc=\r\nNP %d :pd=\r\nDA :pe=:ps=:pu=\r\nMA :rs=0.10:rx#0:sn#0:sp= :s2= :\
  119.     :st= :sy#5:tm=\r\nCL 1 MA 0 0 GW 21 1 0 18\r\n:vl=:w1=\r\nPW :w2=:
  120. #
  121. #    Oce Graphics/Benson BGL 50u
  122. #
  123. 041|OCE_50|Oce Graphics/Benson BGL 50u:\
  124.     :in=\E_I\134 GW 20 1 0 18 LM 0 DE 2 2 MA 0 0 NP 0:rs=0.050:tc=OCE_100:\
  125. #
  126. #    Oce Graphics/Benson BGL 25u
  127. #
  128. 042|OCE_25|Oce Graphics/Benson BGL 25u:\
  129.     :in=\E_I\134 GW 20 1 0 18 LM 0 DE 2 3 MA 0 0 NP 0:rs=0.025:tc=OCE_100:\
  130. #
  131. #    Oce Graphics/Benson BGL 12.5u
  132. #
  133. 043|OCE12.5|Oce Graphics/Benson BGL 12.5u:\
  134.     :in=\E_I\134 GW 20 1 0 18 LM 0 DE 2 4 MA 0 0 NP 0:rs=0.0125:tc=OCE_100:\
  135. #
  136. #    Roland Plotter
  137. #
  138. 050|ROLAND|Roland:\
  139.     :cb#0:cn@:dl@:fl=:\
  140.     :in=\E.Y\E.@;3\072\E.I20;;17\072\E.N;19\072;IN;IP;IW;LT;PU;PA0,0;SP1;:\
  141.     :mv=PA:pc=SP%d:pd=PD;:pe=:ps=:pu=PU;:rs=0.025:rx#0:sn#1:sp=,:s2=;\r\nPA:\
  142.     :st=;\r\n:sy#1:tm=PU;PA0,0;SP0;\E.Z\r\n:vl=VS:w1=IW:w2=:
  143. #
  144. #    American/Western Graphtec GPGL
  145. #
  146. 060|GPGL|American/Western Graphtec GPGL:\
  147.     :cb#0:cn@:dl@:fl=:\
  148.     :in=;\003L0\003J1\003H\003:\
  149.     :mv=D:pc=J%d:pd=:pe=:ps=:pu=M:rs=0.1:rx#0:sn#1:sp=,:s2=\003D:\
  150.     :st=\003:sy#6:tm=\003H\003J0\003\003:vl=!:w1=\\:w2=Z:
  151. #
  152. #    IP-MUTOH 
  153. #
  154. 070|IP-MUTOH|Mutoh IP-230:\
  155.     :cb#0:cn@:dl@:fl=:\
  156.     :in=IN;HP;MA0,0;PC1;\r\n:\
  157.     :mv=:pc=PC%d:pd=DA:pe=:ps=:pu=MA:rs=0.025:rx#0:sn#1:sp=,:s2=;\r\nDA:\
  158.     :st=;\r\n:sy#7:tm=HP;\r\n:vl=PV:w1=WL:w2=WR:
  159. #
  160. #    Wide/Long Axis DMPL 1 mill
  161. #
  162. 014|WDLN_1M|Wide/Long Axis DMPL 1 mill:\
  163.     :cb#0:cn@:dl@:fl=:\
  164.     :in=;\072 A EC1 U H L0 :mv=:pc=P%d,:pd=D :pe=:ps=:pu=U :\
  165.     :rs=0.0254:rx#0:sn#1:sp=,:s2=,:st= \r\n:sy#9:tm=U 0,0 H P0, @ \r\n:vl=V:\
  166.     :w1=W :w2=:
  167. #
  168. #    Wide/Long Axis DMPL 2.5 mills
  169. #
  170. 015|WDLN_2.5M|Wide/Long Axis DMPL 2.5 mills:\
  171.     :in=;\072 A EC2 U H L0 :rs=0.0635:tc=WDLN_1M:
  172. #
  173. #    Wide/Long Axis DMPL 4 mills
  174. #
  175. 016|WDLN_4M|Wide/Long Axis DMPL 4 mills:\
  176.     :in=;\072 A EC4 U H L0 :rs=0.1016:tc=WDLN_1M:
  177. #
  178. #    Wide/Long Axis DMPL 5 mills
  179. #
  180. 017|WDLN_5M|Wide/Long Axis DMPL 5 mills:\
  181.     :in=;\072 A EC5 U H L0 :rs=0.1270:tc=WDLN_1M:
  182.