home *** CD-ROM | disk | FTP | other *** search
- #
- # Plotcap source file
- #
- # plotter commands:
- #
- # cb -- command bias
- # cn -- center origin flag
- # dl -- coordinate system written using deltas flag
- # fl -- fill command envoke if set with string
- # in -- initialization instructions
- # mv -- pen move command
- # pc -- pen change command
- # pd -- pen down command
- # pe -- polygon fill end command
- # ps -- polygon fill start command
- # pu -- pen up command
- # rs -- plotter resolution (in millimeters)
- # rx -- coordinate radix
- # sn -- pen starting number
- # sp -- coordinate separator
- # s2 -- coordinate separator number 2, for coordinate pairs
- # st -- string terminator
- # sy -- driver type (see below)
- # tc -- for other capabilities see other definition (must be last command)
- # tm -- plotter termination instructions
- # vl -- pen velocity command
- # w1 -- first part of window instruction
- # w2 -- second part of window instruction
- #
- # Driver types are as follows:
- # 1 = hpgl 4 = rs-274 7 = mutoh
- # 2 = dmpl 5 = bgl 8 = hpgl2
- # 3 = calcomp 6 = gpgl 9 = LP7200
- #
- # HPGL lower left origin
- #
- 000|HPGL_LL|HPGL Lower Left Origin:\
- :cb#0:cn@:dl@:fl=:\
- :in=\E.Y\E.@;3\072\E.I20;;17\072\E.N;19\072;IN;IP;IW;LT;PU;PA0,0;SP1;:\
- :mv=PA:pc=SP%d:pd=PD;:pe=:ps=:pu=PU;:rs=0.025:rx#0:sn#1:sp=,:s2=,:\
- :st=;\r\n:sy#1:tm=PU;PA0,0;SP0;\E.Z\r\n:vl=VS:w1=IW:w2=:
- #
- # HPGL center origin
- #
- 001|HPGL_CEN|HPGL Center Origin:\
- :cn:tc=HPGL_LL:
- #
- # HPGL/2 Plotter
- #
- 002|HP2PL|HPGL/2 Plotter:\
- :cb#0:cn@:dl@:fl=:\
- :in=\E%-1BBPINLA1,4,2,4PS:\
- :mv=PE:pc=;SP%d;PE:pd=:pe=:ps=:pu=<:rs=0.025:rx#0:sn#1:sp=,:s2=,:\
- :st=\r\n:sy#8:tm=;PUPA0,0SP0PG;:vl=PA0,0SP1VS:w1=IW:w2=:
- #
- # HPGL/2 Printer
- #
- 003|HP2PR|HPGL/2 Printer:\
- :cb#0:cn@:dl@:fl=:\
- :in=\EE\E&l2A\E&l3O\E&l0E\E*p50Y\E*c0T\E*c5880Y\E%-1BBPINLA1,4,2,4PS:\
- :mv=PE:pc=;SP%d;PE:pd=:pe=:ps=:pu=<:rs=0.025:rx#0:sn#1:sp=,:s2=,:\
- :st=\r\n:sy#8:tm=;PUPA0,0SP0PG;\E%1A\EE:vl=PA0,0SP1VS:w1=IW:w2=:
- #
- # DMPL 1 mill
- #
- 010|DMPL_1M|DMPL 1 mill:\
- :cb#0:cn@:dl@:fl=:\
- :in=;\072 A EC1 U H L0 :mv=:pc=P%d,:pd=D :pe=:ps=:pu=U :\
- :rs=0.0254:rx#0:sn#1:sp=,:s2=,:st= \r\n:sy#2:tm=U 0,0 H P0, @ \r\n:vl=V:\
- :w1=W :w2=:
- #
- # DMPL 2.5 mills
- #
- 011|DMPL_2.5M|DMPL 2.5 mills:\
- :in=;\072 A EC2 U H L0 :rs=0.0635:tc=DMPL_1M:
- #
- # DMPL 4 mills
- #
- 012|DMPL_4M|DMPL 4 mills:\
- :in=;\072 A EC4 U H L0 :rs=0.1016:tc=DMPL_1M:
- #
- # DMPL 5 mills
- #
- 013|DMPL_5M|DMPL 5 mills:\
- :in=;\072 A EC5 U H L0 :rs=0.1270:tc=DMPL_1M:
-
- #
- # CALCOMP Pen plotter (PCI controller)
- #
- 020|CALCOMP|Calcomp/Pen:\
- :cb#32:cn@:dl:fl:\
- :in=\002\040\041\040\040\041\047\176\050\052\044\041\051\041\003 \002\040:\
- :mv=:pc=\044%c:pd=\042:pe=:ps=:pu=\043:rs=0.0125:rx#95:sn#1:sp=:s2=:\
- :st=:sy#3:tm=\057\003:vl=\053\040\045\053\040\052\053:\
- :w1=:w2=:
-
- #
- # CALCOMP electrostatic plotter
- #
- 021|CAL_ELEC|Calcomp Electrostatic:\
- :in=\002\040\041\040\040\041\047\176\050\052\044\041\051\041\053\040\046\003 \002\040:\
- :tm=\057\003\041\040\052\121:vl=:tc=CALCOMP:
-
- #
- # RS-274 code (gerber out)
- #
- 030|RS-274|RS-274 Gerber Out:\
- :cb#0:cn@:dl@:fl:\
- :in=*%FSLAX53Y53*SFA1.0B1.0*%G01G54D10G71:\
- :mv=X:pc=G54D1%d:pd=D01:pe=:ps=:pu=D02*:rs=0.001:rx#0:sn#1:sp=Y:s2=*X:\
- :st=*:sy#4:tm=M00M02*:vl=:w1=:w2=:
- #
- # Oce Graphics/Benson BGL 100u
- #
- 040|OCE_100|Oce Graphics/Benson BGL 100u:\
- :cb#0:cn@:dl@:fl=:\
- :in=\E_I\134 GW 20 1 0 18 LM 0 DE 2 1 MA 0 0 NP 0:\
- :mv=:pc=\r\nNP %d :pd=\r\nDA :pe=:ps=:pu=\r\nMA :rs=0.10:rx#0:sn#0:sp= :s2= :\
- :st= :sy#5:tm=\r\nCL 1 MA 0 0 GW 21 1 0 18\r\n:vl=:w1=\r\nPW :w2=:
- #
- # Oce Graphics/Benson BGL 50u
- #
- 041|OCE_50|Oce Graphics/Benson BGL 50u:\
- :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:\
- #
- # Oce Graphics/Benson BGL 25u
- #
- 042|OCE_25|Oce Graphics/Benson BGL 25u:\
- :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:\
- #
- # Oce Graphics/Benson BGL 12.5u
- #
- 043|OCE12.5|Oce Graphics/Benson BGL 12.5u:\
- :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:\
- #
- # Roland Plotter
- #
- 050|ROLAND|Roland:\
- :cb#0:cn@:dl@:fl=:\
- :in=\E.Y\E.@;3\072\E.I20;;17\072\E.N;19\072;IN;IP;IW;LT;PU;PA0,0;SP1;:\
- :mv=PA:pc=SP%d:pd=PD;:pe=:ps=:pu=PU;:rs=0.025:rx#0:sn#1:sp=,:s2=;\r\nPA:\
- :st=;\r\n:sy#1:tm=PU;PA0,0;SP0;\E.Z\r\n:vl=VS:w1=IW:w2=:
- #
- # American/Western Graphtec GPGL
- #
- 060|GPGL|American/Western Graphtec GPGL:\
- :cb#0:cn@:dl@:fl=:\
- :in=;\003L0\003J1\003H\003:\
- :mv=D:pc=J%d:pd=:pe=:ps=:pu=M:rs=0.1:rx#0:sn#1:sp=,:s2=\003D:\
- :st=\003:sy#6:tm=\003H\003J0\003\003:vl=!:w1=\\:w2=Z:
- #
- # IP-MUTOH
- #
- 070|IP-MUTOH|Mutoh IP-230:\
- :cb#0:cn@:dl@:fl=:\
- :in=IN;HP;MA0,0;PC1;\r\n:\
- :mv=:pc=PC%d:pd=DA:pe=:ps=:pu=MA:rs=0.025:rx#0:sn#1:sp=,:s2=;\r\nDA:\
- :st=;\r\n:sy#7:tm=HP;\r\n:vl=PV:w1=WL:w2=WR:
- #
- # Wide/Long Axis DMPL 1 mill
- #
- 014|WDLN_1M|Wide/Long Axis DMPL 1 mill:\
- :cb#0:cn@:dl@:fl=:\
- :in=;\072 A EC1 U H L0 :mv=:pc=P%d,:pd=D :pe=:ps=:pu=U :\
- :rs=0.0254:rx#0:sn#1:sp=,:s2=,:st= \r\n:sy#9:tm=U 0,0 H P0, @ \r\n:vl=V:\
- :w1=W :w2=:
- #
- # Wide/Long Axis DMPL 2.5 mills
- #
- 015|WDLN_2.5M|Wide/Long Axis DMPL 2.5 mills:\
- :in=;\072 A EC2 U H L0 :rs=0.0635:tc=WDLN_1M:
- #
- # Wide/Long Axis DMPL 4 mills
- #
- 016|WDLN_4M|Wide/Long Axis DMPL 4 mills:\
- :in=;\072 A EC4 U H L0 :rs=0.1016:tc=WDLN_1M:
- #
- # Wide/Long Axis DMPL 5 mills
- #
- 017|WDLN_5M|Wide/Long Axis DMPL 5 mills:\
- :in=;\072 A EC5 U H L0 :rs=0.1270:tc=WDLN_1M:
-