%! % Name of file: Tech Musings 151 exergy, humidity, and bounce %%%%%%%%%%%% IGNORE THIS FOR THIS FILE % VERY IMPORTANT FILE SPECIFIC NOTE: The file pix148-3.jpg is % required to run this program. Place their correct locations here using double % reverse slashes when one is intended... % /pixfilename1 (C:\\Medocs\\Muse\\Muse 147\\pix147-1.jpg)def /pixfilename3 (C:\\Medocs\\Muse\\Muse 148\\pix148-3.jpg)def %%%%%%%%%%%%% % IMPORTANT NOTE: The file gonzo.ps is required to run % this program. Uncomment ONE of the following two lines: (C:\\windows\\desktop\\gonzo\\gonzo.ps) run % use internal gonzo % (A:\\gonzo.ps) run % use external gonzo % GONZO20A Guru Gonzo PostScript power tools (Interim release) % Includes gonzo justification and layout utilities. % Copyright c 1990,1996 by Don Lancaster and Synergetics, Box 809, % Thatcher Arizona, 5552 (928) 428-4073 don@tinaja.com support % via http://www.tinaja.com All commercial rights and all electronic % media rights **FULLY** reserved. Reposting is expressly forbidden. % statusdict begin % statusdict /setduplexmode known {true setduplexmode} if end % systemdict /setstrokeadjust known {true setstrokeadjust} if /mastergray {0.92} def % sets overall light grade shade %%%%%%%%%%%%%%%%% % Here's some needed routines not yet in GUTILITY.PTL or GONZO13A.PTL %............... % roundbox draws a box path with rounded corners and locks you to the % lower lefthand box corner using this format ... % -xpos- -ypos- -yheight- -cornerrad- roundbox /roundbox {gsave /rad exch def /bt exch def /br exch def /bb exch def /bl exch def bl bb translate rad mark br 2 div 0 0 0 0 bt br bt br 0 br 2 div 0] roundpath} def % vrule gives a fixed vertical rule, inputting xpos ystart yend linewidth /vrule {gsave newpath setlinewidth 2 index 4 2 roll moveto exch lineto 0 setgray stroke grestore} def % hrule gives a fixed horizontal rule, inputting ypos xstart xend linewidth /hrule {gsave newpath setlinewidth 1 index 4 2 roll moveto lineto 0 setgray stroke grestore} def % mergestr is a tool useful for page numbers; evenutally it will go % into the nuisance dictionary /mergestr {2 copy length exch length add string dup dup 4 3 roll 4 index length exch putinterval 3 1 roll exch 0 exch putinterval} def % this is a repeat of the GONZO13B callout width proc ... gonzo begin /endtheline {/curwide txtwide roomleft sub def justx cvx exec oktoprint {printline} if} bind def /cw {save /snapc1 exch def /oktoadvance false def /oktoprint false def /linestring linestring2 def /justx (justL) def 3 1 roll /ypos exch def /xpos exch def stringgonzo curwide snapc1 restore} def end %%%%% Module to insert eight pdf menu options .... % Place after |x but before last showpage % work out an HTML like PDF response /button { makeurlx % make box shaped url gsave blue % settint xpos ypos 0.9 sub translate 0.1 dup scale 0 0 mt 28 pu 28 pr 28 pd closepath 0.85 setgray fill 0 0 mt 0 28 pu 4 -4 rlineto 20 pd 20 pr 4 -4 rlineto closepath 0.6 setgray fill 0 28 mt 28 pr 28 pd -4 4 rlineto 20 pu 20 pl closepath 0.75 setgray fill 8 8 mt 12 pu 13 -6 rlineto closepath 0.33 setgray fill grestore xpos ypos mt } def %%%%%%%%%%% links menu directory %%%%%%%%%%%% % This code locks pdfmark commands out of a PostScript printer. /pdfmark where {pop}{userdict /pdfmark /cleartomark load put} ifelse % /surl "start url" marks the beginning of a text sequence to be urled. % It also paints the text blue... /surl {mark /blue cvx 0.33 /setgray cvx % change text to blue /currentpoint cvx % remember box start /urly /exch cvx /store cvx /urlx /exch cvx /store cvx ] cvx % complete deferred command printlist exch 3 index exch put % stuff into gonzo printlist exch 1 add exch % increment gonzo list count } def % /eurl "end url" unmarks the end of a text sequence and sets up % the pdfmark needed to define the Acrobat web link. /eurl {mark % start deferred proc exch % position url string /black cvx 0 /setgray cvx % turn blue marker off /makeurl cvx % defer call of url builder ] cvx % complete deferred proc printlist exch 3 index exch % stuff into gonzo printlist put exch 1 add exch % increment gonzo list count } def % /makeurl generates the pdfmark, receiving a {(urlstring) makeurl}. % Note that it is not called until formatted printlist time... /urlover 0.2 def % fraction of hot area over bounds /makeurl { /cururlname exch store % save the url string mark % start pdfmark currentfont /ScaleMatrix get 3 get /fsize exch store % guess height /Rect [ urlx fsize urlover mul sub % set box left x urly fsize urlover mul sub % set box left y currentpoint exch fsize urlover mul add exch fsize add ] /Border [ 0 0 0] % [0 0 0 ] = none; [0 0 2] = debug /Color [ .7 0 0 ] /Action <> /Subtype /Link /ANN % annotation type pdfmark % call pdf operators } def % /makeurlx generates the box specific pdfmark, receiving % a {(urlstring) makeurl}. % Note that it is not called until formatted printlist time... /makeurlx { /cururlnamex exch store % save the url string mark % start pdfmark /Rect [ xpos % set box left x ypos 0.9 sub % set box left y xpos 2.8 add % box right x ypos 0.9 sub 2.8 add % box right y ] /Border [ 0 0 0] % [0 0 0 ] = none; [0 0 2] = debug /Color [ .7 0 0 ] /Action <> /Subtype /Link /ANN % annotation type pdfmark % call pdf operators } def % text link specific data /ebay01 {(http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?ViewListedItems&userid=abeja) eurl} def /syncat01 {(http://www.tinaja.com/glib/syncat01.pdf) eurl} def /ismm01 {(http://www.tinaja.com/ismm01.asp) eurl} def /amlink01 {(http://www.tinaja.com/amlink01.asp) eurl} def /tinaja01 {(http://www.tinaja.com/tinaja01.asp) eurl} def /info01 {(http://www.tinaja.com/info01.asp) eurl} def /barg01 {(http://www.tinaja.com/barg01.asp) eurl} def /advt01 {(http://www.tinaja.com/advt01.asp) eurl} def /maildon {(mailto:don@.tinaja.com) eurl} def % button link specific data /ebay01x {(http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?ViewListedItems&userid=abeja) button} def /syncat01x {(http://www.tinaja.com/glib/syncat01.pdf) button} def /ismm01x {(http://www.tinaja.com/ismm01.asp) button} def /amlink01x {(http://www.tinaja.com/amlink01.asp) button} def /tinaja01x {(http://www.tinaja.com/tinaja01.asp) button} def /info01x {(http://www.tinaja.com/info01.asp) button} def /barg01x {(http://www.tinaja.com/barg01.asp) button} def /advt01x {(http://www.tinaja.com/advt01.asp) button} def /maildonx {(mailto:don@.tinaja.com) button} def % %%%%%%%%%%%%%%%% end links directory %%%%%%%%%%%%%%%%%%%%%%%%%%%% /menu8 {gsave translate save /dosnap exch def /ybot -9999 def /ylimit -9999 def font3 font0 0 0 10 setgrid % 50 50 showgrid /cstretch 0.015 def /sstretch 0.015 def /font0 /Revue 1.2 gonzofont /font1 /StoneSans-Bold 1.3 gonzofont /font3 /Helvetica-Bold 3 gonzofont /kern 0.1 def 0 0 50 22.5 1 roundbox % clip gsave aqua 0.33 setgray fill % gsave % 0 27 mt 3 pu 50 pr 3 pd closepath 0.33 setgray fill % grestore % 0.33 setgray stroke white font3 /cstretch 0.1 def 25 20.5 (|0PLEASE |j|jCLICK |j|jHERE |j|jTO\274 ) cc /cstretch 0.015 def 0.5 2.2 49 17.3 0.8 roundbox 0.75 setgray fill % /yinc 3.5 def black font1 2.3 13.5 (|/ebay01x |1 View our |/surl ebay auctions|/ebay01 ) cl 2.3 10 (|/ismm01x |1 Start your |/surl tech venture|/ismm01 ) cl 2.3 6.5 (|/advt01x |1 Sponsor a display |/surl banner|/advt01 ) cl 2.3 3 (|/info01x |1 Find |/surl research|/info01 solutions) cl 25 13.5 (|/maildonx |1 Send Don Lancaster |/surl email|/maildon ) cl 25 10 (|/barg01x |1 Pick up surplus |/surl bargains|/barg01 ) cl 25 6.5 (|/tinaja01x |1 Find out what a |/surl tinaja|/tinaja01 is) cl 25 3 (|/amlink01x |1 View recommended |/surl books|/amlink01 ) cl grestore dosnap restore} def % 57 348 menu8 %%%%%%%%%%%% end pdfmenu8 %%%%%%%%%%%% gonzo begin % This is the core keystone code routine. It works by taking an average % of the first two and last two string lengths to determine the keystone % slope, increment, and starting width. It then checks the length of % each line and extends the starting width as needed so everything fits. /keyproc {/kadj exch def /msg exch def /yy1 exch def /xx1 exch def mark {msg (\n) search {exch pop exch /msg exch def dup length 0 le {pop} if}{dup length 0 le {pop} if exit} ifelse} loop ] /karray exch def 0 0 karray 0 get cw 0 0 karray 1 get cw add 2 div dup 0 0 karray dup length 1 sub get cw 0 0 karray dup length 2 sub get cw add 2 div sub neg karray length 1 sub div dup /kinc exch def 2 div sub /kstart exch def /txtwide 10000 def 0 0 1 karray length 1 sub {/kpn exch def 0 0 karray kpn get cw kstart kinc kpn mul add sub 2 copy lt {exch} if pop} for kstart add 1.01 mul dup /kstart exch def /txtwide exch def /justifylastline true def 0 1 karray length 1 sub { /posn exch def yy1 xx1 kstart kadj exch posn karray exch get cf /txtwide txtwide kinc add def /xx1 xx1 kinc kadj def /yy1 yy1 yinc sub def} for} def % these are the three keystone routines. Use xpos ypos true (msg strings) % cck, etc. true for keystone; false for ordinary justify. /cck {save /keysnap exch def exch {{2 div sub} keyproc} {cc} ifelse keysnap restore} def % callout centered keystone /clk {save /keysnap exch def exch {{pop} keyproc} {cl} ifelse keysnap restore} def % callout left keystone /crk {save /keysnap exch def exch {{sub} keyproc} {cr} ifelse keysnap restore} def % callout right keystone end % close gonzo dictionary %%%%%% doembeddedproc executes |/name installdoembeddedproc links it /doembeddedproc {mark 50 {stringmode {getstringchar}{currentfile read} ifelse not {exit} if dup dup dup 32 eq exch 13 eq or exch 10 eq or {pop exit} if} repeat counttomark dup string /pstr1 exch def 1 sub -1 0 {pstr1 3 1 roll exch put} for pstr1 exch pop cvx exec} def /installdoembeddedproc {gonzo begin commands (/) 0 get {doembeddedproc} put end} def installdoembeddedproc %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% your gonzo code goes here. The usual way of starting it is with %% gonzo begin %% ps.util.1 begin %% printerror %% nuisance begin %% Additional use details appear in the POSTSCRIPT BEGINNER STUFF %% package from SYNERGETICS. %%%%%%%%%%%%%%%%%% COLORIZER MOD %%%%%%%%%%%%% %%%%%%%%%%%%%%%% % COLORIZING BLACK AND WHITE POSTSCRIPT MODULE % ===================================== /tintmat [ {dup 0.11 ge {0.11 sub 0.89 div dup 1 setrgbcolor} % 0 blue {0.11 div 0 exch 0 exch setrgbcolor} ifelse} {dup 0.3 ge {0.3 sub 0.7 div 1 exch dup setrgbcolor} % 1 red {0.3 div 0 0 setrgbcolor} ifelse} {dup 0.59 ge {0.59 sub 0.41 div dup 1 exch setrgbcolor} % 2 green {0.59 div 0 exch 0 setrgbcolor} ifelse} {dup 0.7 ge {0.7 sub 0.3 div 1 1 setrgbcolor} % 3 turquoise {0.7 div 0 exch dup setrgbcolor} ifelse} {dup 0.41 ge {0.41 sub 0.59 div 1 exch 1 setrgbcolor} % 4 magenta {0.41 div dup 0 exch setrgbcolor} ifelse} {dup 0.89 ge {0.89 sub 0.11 div 1 exch 1 exch setrgbcolor} % 5 yellow {0.89 div dup 0 setrgbcolor} ifelse} {dup 0.842 ge {dup .7 mul .59 sub .11 div 1 exch setrgbcolor} % 6 lime {0.89 div dup 1.1233 div exch 1.1233 mul 0 setrgbcolor} ifelse} {dup 0.731 ge {1 exch dup .41 mul .30 sub .11 div setrgbcolor} % 7 beige {0.856 div dup 1.155 mul exch 1.55 div 0 setrgbcolor} ifelse} ] def /tint 7 def /setgray {tintmat tint get cvx exec} bind def %%%%%%%%%%%%%%% %%%%%%%%%%%%%% COMPACT VERSION OF COLORIZER II %%%%%%%%%%%%%%%%%%%%%% /settint {dup /currenttint exch store 5.999 mul dup floor cvi /&cbar exch store dup floor sub /&cwt exch store [ {/setgray [ /dup cvx 0.3 &cwt 0.59 mul add /ge cvx [1 /exch cvx &cwt 0.59 mul 0.30 add /sub cvx 1 &cwt sub 0.59 mul 0.11 add /div cvx /dup cvx 1 &cwt sub /mul cvx &cwt /add cvx /exch cvx ] cvx [ &cwt 0.59 mul 0.3 add /div cvx /dup cvx &cwt /mul cvx 0] cvx /ifelse cvx /setrgbcolor cvx] cvx /def cvx} {/setgray [/dup cvx 0.59 1 &cwt sub 0.3 mul add /ge cvx [1 &cwt sub 0.3 mul 0.59 add /sub cvx &cwt 0.3 mul 0.11 add /div cvx /dup cvx &cwt /mul cvx 1 &cwt sub /add cvx /exch cvx 1 /exch cvx] cvx [1 &cwt sub 0.3 mul 0.59 add /div cvx /dup cvx 1 &cwt sub /mul cvx /exch cvx 0] cvx /ifelse cvx /setrgbcolor cvx] cvx /def cvx} {/setgray [/dup cvx 0.59 &cwt 0.11 mul add /ge cvx [&cwt 0.11 mul 0.59 add /sub cvx 1 &cwt sub 0.11 mul 0.30 add /div cvx /dup cvx 1 &cwt sub /mul cvx &cwt /add cvx 1 /exch cvx] cvx [0 /exch cvx &cwt 0.11 mul 0.59 add /div cvx /dup cvx &cwt /mul cvx] cvx /ifelse cvx /setrgbcolor cvx] cvx /def cvx} {/setgray [/dup cvx 0.59 1 &cwt sub mul 0.11 add /ge cvx [1 &cwt sub 0.59 mul 0.11 add /sub cvx &cwt 0.59 mul 0.30 add /div cvx /dup cvx &cwt /mul cvx 1 &cwt sub /add cvx 1] cvx [0 /exch cvx 1 &cwt sub 0.59 mul 0.11 add /div cvx /dup cvx 1 &cwt sub /mul cvx /exch cvx] cvx /ifelse cvx /setrgbcolor cvx] cvx /def cvx} {/setgray [/dup cvx 0.11 &cwt 0.30 mul add /ge cvx[&cwt 0.30 mul 0.11 add /sub cvx 1 &cwt sub 0.30 mul 0.59 add /div cvx /dup cvx 1 &cwt sub /mul cvx &cwt /add cvx /exch cvx 1] cvx [ &cwt 0.30 mul 0.11 add /div cvx /dup cvx &cwt /mul cvx /exch cvx 0 /exch cvx ] cvx /ifelse cvx /setrgbcolor cvx ] cvx /def cvx} {/setgray [ /dup cvx 0.30 1 &cwt sub 0.11 mul add /ge cvx[ 1 /exch cvx 1 &cwt sub 0.11 mul 0.30 add /sub cvx &cwt 0.11 mul 0.59 add /div cvx /dup cvx &cwt /mul cvx 1 &cwt sub /add cvx ] cvx [ 1 &cwt sub 0.11 mul 0.30 add /div cvx /dup cvx 1 &cwt sub /mul cvx 0 /exch cvx] cvx /ifelse cvx /setrgbcolor cvx ] cvx /def cvx} ] &cbar get exec exec} bind def /beige {0.10 settint} def % examples of convenience operators /aqua {0.52 settint} def /blue {0.67 settint} def /lime {0.44 settint} def /red {0 settint} def /green {0.33 settint} def %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % aqua % normal for blat %! % X E % Z % MUSE.116.Y gonzo begin ps.util.1 begin printerror nuisance begin longjob statusdict begin % statusdict /setduplexmode known {true setduplexmode} if end systemdict /setstrokeadjust known {true setstrokeadjust} if /mastergray {0.96} def % sets overall light grade shade %%%%%%%%%%%%%%%%% % Here's some needed routines not yet in GUTILITY.PTL or GONZO13A.PTL %............... % roundbox draws a box path with rounded corners and locks you to the % lower lefthand box corner using this format ... % -xpos- -ypos- -yheight- -cornerrad- roundbox /roundbox {gsave /rad exch def /bt exch def /br exch def /bb exch def /bl exch def bl bb translate rad mark br 2 div 0 0 0 0 bt br bt br 0 br 2 div 0] roundpath} def % vrule gives a fixed vertical rule, inputting xpos ystart yend linewidth /vrule {gsave newpath setlinewidth 2 index 4 2 roll moveto exch lineto 0 setgray stroke grestore} def % hrule gives a fixed horizontal rule, inputting ypos xstart xend linewidth /hrule {gsave newpath setlinewidth 1 index 4 2 roll moveto lineto 0 setgray stroke grestore} def % mergestr is a tool useful for page numbers; evenutally it will go % into the nuisance dictionary /mergestr {2 copy length exch length add string dup dup 4 3 roll 4 index length exch putinterval 3 1 roll exch 0 exch putinterval} def % this is a repeat of the GONZO13B callout width proc ... gonzo begin /endtheline {/curwide txtwide roomleft sub def justx cvx exec oktoprint {printline} if} bind def /cw {save /snapc1 exch def /oktoadvance false def /oktoprint false def /linestring linestring2 def /justx (justL) def 3 1 roll /ypos exch def /xpos exch def stringgonzo curwide snapc1 restore} def end gonzo begin % This is the core keystone code routine. It works by taking an average % of the first two and last two string lengths to determine the keystone % slope, increment, and starting width. It then checks the length of % each line and extends the starting width as needed so everything fits. /keyproc {/kadj exch def /msg exch def /yy1 exch def /xx1 exch def mark {msg (\n) search {exch pop exch /msg exch def dup length 0 le {pop} if}{dup length 0 le {pop} if exit} ifelse} loop ] /karray exch def 0 0 karray 0 get cw 0 0 karray 1 get cw add 2 div dup 0 0 karray dup length 1 sub get cw 0 0 karray dup length 2 sub get cw add 2 div sub neg karray length 1 sub div dup /kinc exch def 2 div sub /kstart exch def /txtwide 10000 def 0 0 1 karray length 1 sub {/kpn exch def 0 0 karray kpn get cw kstart kinc kpn mul add sub 2 copy lt {exch} if pop} for kstart add 1.01 mul dup /kstart exch def /txtwide exch def /justifylastline true def 0 1 karray length 1 sub { /posn exch def yy1 xx1 kstart kadj exch posn karray exch get cf /txtwide txtwide kinc add def /xx1 xx1 kinc kadj def /yy1 yy1 yinc sub def} for} def % these are the three keystone routines. Use xpos ypos true (msg strings) % cck, etc. true for keystone; false for ordinary justify. /cck {save /keysnap exch def exch {{2 div sub} keyproc} {cc} ifelse keysnap restore} def % callout centered keystone /clk {save /keysnap exch def exch {{pop} keyproc} {cl} ifelse keysnap restore} def % callout left keystone /crk {save /keysnap exch def exch {{sub} keyproc} {cr} ifelse keysnap restore} def % callout right keystone end % close gonzo dictionary %%%%%% doembeddedproc executes |/name installdoembeddedproc links it /doembeddedproc {mark 50 {stringmode {getstringchar}{currentfile read} ifelse not {exit} if dup dup dup 32 eq exch 13 eq or exch 10 eq or {pop exit} if} repeat counttomark dup string /pstr1 exch def 1 sub -1 0 {pstr1 3 1 roll exch put} for pstr1 exch pop cvx exec} def /installdoembeddedproc {gonzo begin commands (/) 0 get {doembeddedproc} put end} def installdoembeddedproc %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % HACK III TEMPLATE % This default gonzo page making template is a useful starting point for % creating your own custom templates. It allows multiple page documents % with full picture insertions and total text control. % Note that any template MUST have an internal proc named templatestartup % and that your template MUST NOT call gonzofont before run time. 300 dict /muse3 exch def muse3 begin %&&&&&& /templatefonts { % Remember: all fonts MUST defer till run time! %% /font0 /Times-Bold [54 0 0 54.1 0 -32] gonzofont /font1 /Times-Roman [9.75 0 0 9.75 0 0] gonzofont /font2 /Times-Italic [9.75 0 0 9.75 0 0] gonzofont /font3 /Times-Bold [9.75 0 0 9.77 0 -6] gonzofont /font4 /Times-Roman [9 0 0 9 0 0] gonzofont /font5 /Times-Italic [9 0 0 9 0 0] gonzofont /font6 /Times-Bold [9 0 0 9 0 0] gonzofont /font7 /Helvetica [9 0 0 9 0 0] gonzofont /font8 /Helvetica [8 0 0 8 0 0] gonzofont /font9 /Helvetica-Bold [9 0 0 9.1 0 4] gonzofont /font- /ZapfDingbats [9 0 0 9 0 0] gonzofont /font= /Symbol [9 0 0 9.1 0 0] gonzofont /font0 /StoneSans-Bold [45 0 0 40.1 0 -23] gonzofont % temp "I" /font1 /StoneSerif 8.38 gonzofont /font2 /StoneSerif [ 7.95 0 1.10 8.38 0 0 ] gonzofont /font3 /StoneSans-Bold [9.25 0 0 9.25 0 -8] gonzofont % old /font4 /StoneSerif 8.15 gonzofont /font5 /StoneSerif [ 8.12 0 1.1 8.12 0 0 ] gonzofont /font6 /StoneSerif-Bold [7.5 0 1.1 7.5 0 0] gonzofont % try bolder italics } def % normallisting is used by the GURU figures for long text ... /normallisting { /txtwide bw 10 sub def /ybot -99999 def /font0 /Helvetica-Bold 12 gonzofont /font1 /Helvetica 8.5 gonzofont /font2 /Helvetica-Oblique 8.5 gonzofont /font3 /Helvetica-Bold 8.5 gonzofont /font4 /Courier 8.5 gonzofont /ypos bt 20 sub def /xpos bl 20 add def /yinc 10 def /pmnorm 60 def /amacro {(Lhy) stringmacro} def /bmacro {(1py) stringmacro} def /cmacro {(3z) stringmacro} def} def % denselisting is used by GURU figures for tighter text /denselisting{/bc br bl sub 2 div bl add def /txtwide bw 10 sub def /ybot -99999 def /font0 /Helvetica-Bold 10 gonzofont /font1 /Helvetica 7 gonzofont /font2 /Helvetica-Oblique 7 gonzofont /font3 /Helvetica-Bold 7 gonzofont /font4 /Courier 7 gonzofont /ypos bt 10 sub def /xpos bl 6 add def /yinc 8 def /amacro {(hy) stringmacro} def /emacro {/yparendadj yinc 2 div def} def} def % values used by gonzo justify ... /cstretch 0.1 def % minimum character kerning /sstretch -0.2 def % minimum space kerning /dropcount 4 def % number of lines drop cap drops /lastlinestretch 0.06 def % open last paragraph line slightly /pm 10 def % use paragraph indents /yinc 10.5 def % line spacing /ypara 0 def % extra interparagraph spacing /pagenum 1 def % These macros handle an initial drop cap and low center subheads ... /amacro {(zyL0) stringmacro /ypos ypos ypara add def} def % start drop cap /bmacro {(iFy1) stringmacro /ypos ypos ypara add def} def % finish drop cap /cmacro {staytint1 (znyC3) stringmacro /ypos ypos ypara 2 mul add def} def % centered title /dmacro {black (pF1) stringmacro /ypos ypos ypara 2 mul add def} def % normal text after centered title % reference values for internal doc control that become calculated % array values. Note that it is best to work in fixed yinc heights % to prevent alignment problems under figures. Note that it is nearly % always best to AVOID FIXED VALUES IN DOCMATRIX. /txw 155 def % width of normal text columns /cmb 60 def % column bottom position /cmt cmb 60 yinc mul add def % page is 60 normal text lines high /cml 60 def % first column left margin /cms 170 def % spacing of normal columns /cm# 3 def % number of normal columns /cm1 cml def % c1 starts at left margin /cm2 cml cms add def % c2 in middle /cm3 cml cms 2 mul add def % c3 to right /cmw cms txw sub def % white space between columns /hdw cms 2 mul txw add def % normal header/footer width /hdc cm1 hdw 2 div add def % normal header/footer center /hdr cm1 hdw add def % normal header/footer right /hdl cm1 def % normal header left /fdp 14 def % amount of footer drop below cml /bh1 yinc 6 mul def % 8 vlines reserved for title & blurb /stdfigrad 0.1 def % radius of standard figure box /1colwide txw def % width of single column figure /2colwide txw cms add def % width of double column figure /3colwide txw cms 2 mul add def % width of triple column figure /f1h yinc 17.5 mul def % height of figure one /f2h yinc 17.5 mul def % height of figure two /f3h yinc 17.5 mul def % height of figure three /f4h yinc 50 mul def % height of figure four /f5h yinc 31 mul def % height of figure five /f6h yinc 35 mul def % height of figure six /s1h yinc 21 mul def % height of custom sidebar /s2h yinc 28 mul def % height of n/n sidebar /s3h yinc 29 mul def % height of third aux sidebar /a1h yinc 66 mul def % height of synergetics ad /h1h yinc 14 mul def % height of optional help box /tfa {yinc 1.5 mul add} def % upper figure position adjust % warning: second true must stay that way; must use blank namek /fig1 {cm1 cmb 1 sub 3colwide f1h true % 2 sub adjust for gray top true /f1name /figure1 stdmusefig} def % link /fig2 {cm1 cmt f2h sub yinc add 3 add 2colwide f2h true true /f2name /figure2 stdmusefig} def % link /fig3 {cm1 cmb 1 sub 2colwide f3h true % note no box if false true /f3name /figure3 stdmusefig} def % link /fig4 {cm2 cmt f4h sub yinc add 3 add 2colwide f4h true true /f4name /figure4 stdmusefig} def % link /fig5 {cm1 cmt f5h sub yinc add 3 add 2colwide f5h true true /f5name /figure5 stdmusefig} def % link /fig6 {cm2 cmb 3 sub yinc add 4 add 2colwide f6h true true /f5name /figure6 stdmusefig} def % link /ad1 {cm3 cmb 1colwide f5h false true /ad1name /ad1copy stdmusefig} def % link /side1 {cm1 cmb -4 sub % special 2colwide s1h true true /s1name /sidebar1 grayfig2} def % link /side3 {cm1 cmt s3h sub yinc add 3colwide s3h true true /s3name /sidebar3 grayfig2} def % link % /side1 {cm1 cmt s1h sub yinc add % special for url % 2colwide s1h true true /s1name /sidebar1 grayfig2} def % link /side2 {cm1 cmt s2h sub yinc add 2colwide s2h true true /s2name /sidebar2 grayfig2} def % link /help {cm2 % cmt 16 yinc mul sub cmb 4 sub 1colwide h1h true false /helpname /hackhelp graymusefig} def % this is a "standard" figure border for HACK3. It has rounded edges, % a bottom single line title, and links to the actual figure art... /narrowfig 0 def % narrowing option /stdmusefig { /jsave justx 4 get def save /stdsnap exch def grayfig {0 3 translate} if % shift /colcheck {} def /figproc exch def cvx /figname exch def /showtitle exch def /showborder exch def /figheight exch def narrowfig sub /figwidth exch def -10 add translate /linestring linestring2 def /pmrun 0 def /txtwide figwidth 2 sub def /font1 /Helvetica 9 gonzofont /yinc 10 def /oktoprint false def /oktoadvance true def /xpos 0 def /ypos 0 def figname stringgonzo /titadjust ypos neg def /oktoprint true def /bw figwidth def /bt figheight def /bl 0 def /bb 0 def /bc figwidth 2 div def /xpos 20 def /ypos bt 20 sub def showtitle {0 narrowfig 2 div add titadjust figname cf} if showtitle not {/titadjust 0 def} if % no suppression if no title showborder {1 narrowfig 2 div add titadjust 12 add figwidth 2 sub figheight titadjust sub 10 sub stdfigrad roundbox 0.5 setlinewidth grayfig {gsave % LaserWriterG {0.90}{0.95}ifelse setgray grayshade setgray fill grestore [2.5 0 1.5 1] superstroke } {stroke} ifelse} if /linestring linestring2 def % needed to run interference /cstretch 0.01 def /sstretch 0.01 def /pmrun 0 def /colcheck {} def 3 1 roll translate dup scale % adjust figure position mark figproc cvx exec cleartomark stdsnap restore justx 4 jsave put } def % temporary stdmusefig with clip for pix and no outline /stdmusefigwc { /jsave justx 4 get def save /stdsnap exch def grayfig {0 3 translate} if % shift /colcheck {} def /figproc exch def cvx /figname exch def /showtitle exch def /showborder exch def /figheight exch def narrowfig sub /figwidth exch def exch narrowfig 2 div add exch -10 add translate /linestring linestring2 def /pmrun 0 def /txtwide figwidth 2 sub def /font1 /Helvetica 9 gonzofont /yinc 10 def /oktoprint false def /oktoadvance true def /xpos 0 def /ypos 0 def figname stringgonzo /titadjust ypos neg def /oktoprint true def /bw figwidth def /bt figheight def /bl 0 def /bb 0 def /bc figwidth 2 div def /xpos 20 def /ypos bt 20 sub def showtitle {0 narrowfig 2 div add titadjust figname cf} if showtitle not {/titadjust 0 def} if % no suppression if no title showborder {1 titadjust 12 add figwidth 2 sub figheight titadjust sub 10 sub stdfigrad roundbox 0.5 setlinewidth gsave % tempclip % temp delete any outline or fill % {{ grayfig {gsave % LaserWriterG {0.90}{0.95}ifelse setgray grayshade setgray fill grestore [2.5 0 1.5 1] superstroke } {white stroke black} ifelse} if % temp white % }} pop /linestring linestring2 def % needed to run interference /cstretch 0.01 def /sstretch 0.01 def /pmrun 0 def /colcheck {} def grestore clip % temp for photos 3 1 roll translate dup scale % adjust figure position mark figproc cvx exec cleartomark stdsnap restore justx 4 jsave put } def /grayfig false def % show stdmusefig with gray background default /graymusefig {/grayfig true def stdmusefig /grayfig false def} def %%%% % has a title box /grayfig2rad 0.01 def /showboxgrays true def /grayfig2 { /jsave justx 4 get def save /stdsnap exch def /colcheck {} def /figproc exch def cvx /figname exch def /showtitle exch def /showborder exch def /figheight exch def /figwidth exch def exch narrowfig 2 div add exch % set left position translate /figwidth figwidth narrowfig sub store showborder {1 2 figwidth 2 sub %%% narrowfig 2 div add figheight 5 sub grayfig2rad roundbox 0.4 figheight 28 sub moveto figwidth 1.8 sub 0 rlineto gsave showboxgrays {mastergray setgray}{1 setgray} ifelse fill grestore gsave newpath 0 figheight 5 sub moveto figwidth 1.8 sub 0 rlineto 0 -23 rlineto figwidth 1.8 sub neg 0 rlineto closepath grayshade dup 1 ne {0.15 sub pop 0.33} if setgray fill grestore [2 0 1 1] superstroke } if /font7 /Helvetica-Bold 9 0.7 add gonzofont showtitle {black white % 0.25 setgray figwidth 2 div figheight 20 sub 0.5 sub font7 figname cc black} if /bw figwidth def /bt figheight def /bl 0 def /bb 0 def /bc figwidth 2 div def /xpos 20 def /ypos bt 20 sub def /cstretch 0 def /sstretch 0 def /lastlinestretch 0 def /pmrun 0 def /ypara 0 def /linestring linestring2 def 3 1 roll translate dup dup /csf exch def scale mark figproc cvx exec cleartomark stdsnap restore justx 4 jsave put } def %%% % Here is the master document control matrix. It is manual in this example % Note that the result of internal calcs are ORDINARY NUMBERS. Note also % that you make room for figures by adding or subtracting only where and % as needed. /docmatrix [ [ { } {/narrowfig 0 store } ] % initial document files [ [{titleblock} % xpos ypos scale name {rightfooter} {/narrowfig 93 store 0 0 0.9 fig1} ] % page one figures and control [ cm1 cmt bh1 sub cmb f1h add {txw}] % column1 xpos ypos ylimit txtwide [ cm2 cmt bh1 sub cmb f1h add {txw} ] % column2 [ cm3 cmt bh1 sub cmb f1h add {txw} ] % column3 ] [ [{leftfooter} {leftheader} {/narrowfig 72 store} {0 0 0.9 fig2} % {/narrowfig 72 store} {0 0 0.9 fig3} % {/narrowfig 0 store} % {0 0 0.9 fig4} % {0 -6 1 help} % temp help box ] % page two figures and control [ cm1 cmt f2h sub cmb f3h add {txw}] % column1 xpos ypos ylimit txtwide [ cm2 cmt f2h sub cmb f3h add {txw}] % column2 xpos ypos ylimit txtwide [ cm3 cmt cmb {txw} ] % column3 xpos ypos ylimit txtwide ] [ [ {rightfooter} {rightheader} % {/narrowfig 0 store} % {0 0 0.9 fig3} {/narrowfig 0 store} { 0 0 0.9 fig4} % {0 -6 1 help} % temp help box {/narrowfig 0 store} % {0 0 0.9 fig5} ] % page three figures and control [ cm1 cmt cmb {txw}] % column1 ship [ cm2 cmt f4h sub cmb {txw}] % commented for full figure 4 [ cm3 cmt f4h sub cmb {txw} ] % ] [ [{leftfooter} {leftheader} % { 0 0 0.9 fig4} {/namestretch 4 def} {/narrowfig 0 store} {15 0 0.85 side1} {/narrowfig 0 store} {0 0 0.9 fig5} {/narrowfig 0 store} % {15 0 0.85 side3} % {0 -6 1 help} % temp help box ] % page four figures and control %[ cm1 cmt s1h sub cmb {txw}] % special yinc no caption % [ cm1 cmt s1h sub cmb {txw}] % % [ cm2 cmt s1h sub cmb h1h add {txw}] % [ cm2 cmt s1h sub cmb h1h add {txw}] [ cm1 cmt f5h sub cmb s1h add yinc add {txw}] % special [ cm2 cmt f5h sub cmb s1h add yinc add {txw} ] [ cm3 cmt cmb {txw}] % for three wide ] [ [{rightfooter} {rightheader} % {0 0 1 ad1} % was -33 positioning bug {/namestretch 1.8 def} {15 0 0.85 side2} % {0 0 0.9 fig5} {/narrowfig 0 store} {0 -6 1 help} % temp help box ] % [ cm1 cmt cmb txw] % page five figures and control [ cm1 cmt s2h sub cmb {txw}] % column1 xpos ypos ylimit txtwide [ cm2 cmt s2h sub cmb h1h add {txw}] % column2 xpos ypos ylimit txtwide [ cm3 cmt cmb {txw}] % column3 xpos ypos ylimit txtwide ad was here ] /adj {yinc 23 mul add} def % preferred is 23 [ [{leftfooter} {leftheader} ] % page six figures and control [ cm1 cmt cmb adj txw] % column1 xpos ypos ylimit txtwide [ cm2 cmt cmb adj txw] [ cm3 cmt cmb txw] ] /adj {0 yinc mul add } def [ [{rightfooter} {rightheader} ] % page seven figures and control [ cm1 cmt cmb adj txw] % column1 xpos ypos ylimit txtwide [ cm2 cmt cmb adj txw] [ cm3 cmt cmb adj txw] ] % change [ {quit} ] to [ {exitproc} ] [[{}] [cm1 cmt cmb txw]] % possible blank page ? [[{}] [cm2 cmt cmb txw]] % possible blank page ? [[{}] [cm3 cmt cmb txw]] % possible blank page ? % leave [ {quit} ] at end of page setup file [ {exitproc} ] % final document wrapup % NOTE: will not execute with short copy! ] def /nextpage { showpage adjustpage /pagenum pagenum 1 add def docpage numpages lt { /docpage docpage 1 add def docmatrix docpage get /curpage exch def curpage length 1 sub /numpgcol exch def curpage 0 get {cvx exec} forall /curcol 1 def nextcol} {docmatrix curpage 1 add get {cvx exec} forall } ifelse } def % modified nextcol allows pages without text and deferred xpos calcs. /nextcol { numpgcol 0 gt { curpage curcol get aload pop exec /txtwide exch def exec /ylimit exch def exec /ypos exch def exec /xpos exch def /curcol curcol 1 add def}{ nextpage} ifelse} def /colcheck { ypos ylimit 1 sub le { curcol numpgcol gt {nextpage} {nextcol} ifelse} if } def /templatestartup { templatefonts font1 /gonzojust true def /rslashok true def docmatrix length /numpages exch def /docpage 1 def docmatrix 0 get {cvx exec} forall % do initial document files docmatrix docpage get /curpage exch def curpage length 1 sub /numpgcol exch def curpage 0 get {cvx exec} forall % do initial page files /curcol 1 def nextcol } def % titleblock, headers and footers /titleblock {save /blurbsnap exch def /colcheck {} def /cstretch 0.2 def sstretch 1 def cml cmt bh1 sub 15 add translate /blurbboxwide 180 def /blurbboxhigh 80 def 1 setlinecap bestgray 3 23 mt hdw 15 sub blurbboxwide sub 3 sub 23 lineto hdw 3 sub 23 moveto -10 0 rlineto [6 0.3 4.5 .85] superstroke % changed to brown hdw blurbboxwide sub 15 sub 0 blurbboxwide blurbboxhigh 5 roundbox gsave grayshade setgray fill grestore % temp expt [4 0.3 2.5 .85] superstroke 0.85 setgray 4.5 setlinewidth -5 23 mt 3 r blurbboxwide 1 add 23 mt 3 r stroke grestore 0.3 setgray /font0 /Palatino-Bold 30 gonzofont /font1 /Palatino-Bold 10 gonzofont 0.2 setgray /font2 /Palatino-Bold 12 gonzofont font2 4 62 7 add author cl font0 3 34 4 add titlename cl font2 4 7 titledate cl 0.15 setgray /yinc 12 def hdw font1 105 sub 60 dokeystone titleblurb cck blurbsnap restore} def /leftheader {save /blurbsnap exch def /colcheck {} def cml cmt 16 add translate gsave mastergray setgray 0 8 mt 16 setlinewidth hdw r grestore % color fill? 0 0 hdw 1.2 hrule 0 16 hdw 0.5 hrule /cstretch 0.2 def /sstretch 1 def /font2 /Palatino-Bold 11 gonzofont 0 4.5 leftheading cl blurbsnap restore} def /rightheader {save /blurbsnap exch def /colcheck {} def cml cmt 16 add translate gsave mastergray setgray 0 8 mt 16 setlinewidth hdw r grestore % color fill? 0 0 hdw 1.2 hrule 0 16 hdw 0.5 hrule /cstretch 0.2 def /sstretch 1 def /font2 /Palatino-Bold 11 gonzofont hdw 4.5 rightheading cr blurbsnap restore} def /leftfooter { save /blurbsnap exch def /colcheck {} def cml cmb 13 sub translate /txtwide 1000 store /font3 /Helvetica 4.5 gonzofont font3 hdw -6 (Copyright c 2001 by Don Lancaster and Synergetics (928) 428-4073 www.tinaja.com \ All commercial rights and all electronic media rights fully reserved. Reposting expressly forbidden.) cr 0 0 hdw 0.8 hrule gsave 25 0 translate -18 -7 36 14 2 roundbox gsave mastergray setgray fill grestore 0.5 setlinewidth stroke /font2 /Palatino-Bold 11 gonzofont /cstretch 0.4 def 16 2 add 0.2 setgray 3.5 columnum ( ) cvs (.) mergestr colpagenum ( ) cvs mergestr cc blurbsnap restore /colpagenum colpagenum 1 add def } def % adjusted for 100 - was -16 -7 32 14 /rightfooter {save /blurbsnap exch def /colcheck {} def cml cmb 13 sub translate /txtwide 1000 store /font3 /Helvetica 4.5 gonzofont font3 0 -6 (Copyright c 2001 by Don Lancaster and Synergetics (928) 428-4073 www.tinaja.com \ All commercial rights and all electronic media rights fully reserved. Reposting expressly forbidden.) cl 0 0 hdw 0.8 hrule gsave hdw 25 sub 0 translate -18 -7 36 14 2 roundbox gsave mastergray setgray fill grestore 0.5 setlinewidth stroke /cstretch 0.4 def /font2 /Palatino-Bold 11 gonzofont 16 2 add 3.5 0.2 setgray columnum ( ) cvs (.) mergestr colpagenum ( ) cvs mergestr cc blurbsnap restore /colpagenum colpagenum 1 add def} def end % guru3 template %% TEMP BYPASSES %%% /adjustpage {} def %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % INCLUDED FILES AND PROCS /dokeystone false def /titleblurb (RS wireless data format Exergy and energy quality JavaScript's bouncy buttons Using Chebycheff polynomials Fluxgate & magnetometry books ) def /author (Don Lancaster's) def /titlename (T|k|kech M|k|kusings) def /titledate (July, 2001 |j) def /leftheading ( Tech Musings) def /rightheading titledate def /columnum 151 def /colpagenum 1 def %%%%%%%%%%%%% COMMON HEADER %%%%%%%%%%%%%%%%% % graybox utilities /grayfill {gsave bl bb translate /doublestroke true def 0 0 moveto 0 bh lineto bw bh lineto bw 0 lineto closepath mastergray setgray fill grestore} def /whitebox {gsave /wh exch def /ww exch def translate 0 0 mt 0 wh rlineto ww 0 rlineto 0 wh neg rlineto closepath gsave white fill grestore line1 stroke} def % keeps state! /doublestroke true def %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % /grayshade 0.92 def /grayshade1 {grayshade} def /setgray1 { dup grayshade 1 eq { 0.5 gt {pop 1}{pop 0} ifelse } {pop} ifelse setgray } def /usecolor true def % special for figure /grayfig1 0.92 def % experimental box clipper to improve photos /clipinset 4 def % use -0.7 to repel boarders /cwidth {figwidth 2 sub} def /cheight { figheight titadjust sub 10 sub} def /clipthebox { 0 0 mt cheight 0.9 div dup pu cwidth 0.9 div pr pd closepath closepath clip gsave aqua 0.7 setgray1 fill grestore % tempcheck } def /figure1 { % name of textfile: muse fig f151-1 rs format % ............................ % figure 1 % save /snap1 exch def %%%%%%%%%%%%%%%%%%% 0 -26 translate % position on box electronics begin bestgray 0 0 10 setgrid % 48 35 showgrid /cstretch 0.02 def /sstretch 0.0 def /kern 0.1 def /yinc 1.0 def /red {0 settint} def /blue {0.67 settint} def /purple {0.75 settint} def /font0 /Helvetica-Bold [1.2 0 0 1 0 -0.2] gonzofont /font0 /helvetica-bold [1 0 0 0.8 0 0 ] gonzofont /font1 /Helvetica 0.75 gonzofont /font4 /Helvetica 0.6 gonzofont /font3 /Helvetica-Bold 0.75 gonzofont /font2 /Helvetica-Oblique 0.75 gonzofont /font5 /Helvetica-Bold 1.1 gonzofont /font6 /Helvetica [2 0 0 1.4 0 0] gonzofont /font7 /Helvetica-Oblique 0.75 gonzofont /font8 /Symbol 0.75 gonzofont /font9 /Helvetica [.6 0 0 .6 -.15 .4] gonzofont /font- /Helvetica-Bold [0.4 0 0 0.55 0 0] gonzofont /kern 0.15 def /tabs [16.5] def /txtwide 29 def font1 /tabs [17.5] def font1 /yinc 0.9 def line1 bestgray black /oneburst {gsave translate 0 -1.6 translate 0 0 mt 3.2 pu 16 pr 3.2 pd closepath gsave aqua 0.85 setgray fill grestore gsave 0.65 setgray newpath 4.6 0 mt 3.2 pu 6.8 pr 3.2 pd closepath fill grestore line3 0.6 dup dup setrgbcolor stroke font1 black 2.3 2.3 (32 bits\nof sync\nzeros) cc 16 4.6 2 div sub 2.3 (32 bits\nof CRC\nchecksum) cc 8 2.3 (128 bits\nof zero\ninterleaved data) cc line2 0.6 dup dup setrgbcolor 4.6 0 mt 3.2 u 11.4 0 mt 3.2 u grestore } def 0.75 settint 0.75 setgray line3 3 10 mt 38 r 5 10 oneburst 23 10 oneburst black font1 /yinc 1.2 def 21.5 6.8 (Dual data burst lasts approximately |3400|1 milliseconds. Sent |33|1 seconds after reset then every |341|1 seconds.) cc 21.5 17.2 (The transmit frequency is |3433.92|1 MegaHertz. The self-clocking bit interval is |3915|1 microseonds. |h A logic zero has a transition only at the bit interval start. A logic one has transitions at start and middle of bit interval.) cc end ypos snap1 restore /ypos exch def } def %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% /figure2imagehold { % name of textfile: muse fig 143.2 thermoelectrics of materials % ............................ % figure 2 % save /snap2 exch def %%%%%%%%%%%%%%%%%%% 8 15 translate % position on box electronics begin /DeviceRGB setcolorspace % pick color model 3 -6 translate % set page position 579 407 scale % magnify unit square 0.5 dup scale % /infilename (C:\\windows\\desktop\\barro\\barro.jpg)def % filename % /pixfilename2 (C:\\Medocs\\Muse\\Muse 142\\pix143-2.jpg)def /infilename pixfilename2 def % note DOUBLE SLASHES in PS String! /infile infilename (r) file def % establish input read file /Data {infile /DCTDecode filter} def % define a data source << % start image dicationary /ImageType 1 % always one /Width 579 % JPEG width in pixels /Height 407 % JPEG height in pixels /ImageMatrix [579 0 0 -407 0 407 ] % see comments below /DataSource Data % proc to get filtered JPEG /BitsPerComponent 8 % color resolution /Decode [0 1 0 1 0 1] % per red book 4.10 >> image % call the image operator end ypos snap2 restore /ypos exch def } def %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% /figure2 { % name of textfile: muse fig f151-2 rs binary data % ............................ save /snap2 exch def %%%%%%%%%%%%%%%%%%% 17 8 translate % position on box electronics begin bestgray 0 0 10 setgrid % 33 35 showgrid /cstretch 0.02 def /sstretch 0.0 def /kern 0.1 def /yinc 1.0 def /red {0 settint} def /blue {0.67 settint} def /purple {0.75 settint} def /font0 /Helvetica-Bold [1.2 0 0 1 0 -0.2] gonzofont /font0 /helvetica-bold [1 0 0 0.8 0 0 ] gonzofont /font1 /Helvetica 0.75 gonzofont /font4 /Helvetica 0.6 gonzofont /font3 /Helvetica-Bold 0.75 gonzofont /font2 /Helvetica-Oblique 0.75 gonzofont /font5 /Helvetica-Bold 1.1 gonzofont /font6 /Helvetica [2 0 0 1.4 0 0] gonzofont /font7 /Helvetica-Oblique 0.75 gonzofont /font8 /Symbol 0.75 gonzofont /font9 /Helvetica [.6 0 0 .6 -.15 .4] gonzofont /font- /Helvetica-Bold [0.4 0 0 0.55 0 0] gonzofont /kern 0.15 def /tabs [16.5] def /txtwide 29 def font1 /tabs [17.5] def font1 /yinc 0.9 def line1 bestgray black /cstretch 0.8 def /sstretch 0.8 def aqua 0.8 setgray -1 0 mt 14 pu 26.5 pr 14 pd closepath fill aqua 0.52 setgray [{1.20 1 mt 12 pu 1 pr 12 pd closepath fill} 2.4 2] xrpt [{1.15 6.8 add 1 mt 12 pu 1 pr 12 pd closepath fill} 2.4 2] xrpt [{1.15 13.5 add 1 mt 12 pu 1 pr 12 pd closepath fill} 2.4 2] xrpt [{1.15 20.2 add 1 mt 12 pu 1 pr 12 pd closepath fill} 2.4 2] xrpt font3 black 0.3 13 ( 0000 0000 0000 0000 0000 0000 0000 0000 |h 0101 0101 0001 0000 0101 0100 0101 0100 0000 0000 0000 0101 0100 0100 0101 0100 0100 0001 0101 0001 0001 0001 0001 0100 0000 0000 0000 0001 0101 0100 0000 0001 |h 0100 0100 0100 0101 0101 0100 0100 0100 ) cl /cstretch 0.02 def /sstretch 0.0 def font1 4 14.7 ((|jData for 26.6 degrees C; 28% RH; Channel 3|j)) cl end ypos snap2 restore /ypos exch def } def %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% /figure3 { % name of textfile: muse fig f151-3 rs words % ............................ % figure 1 % save /snap3 exch def %%%%%%%%%%%%%%%%%%% -21 2 translate % position on box 1.1 dup scale electronics begin bestgray 0 0 10 setgrid % 33 35 showgrid /cstretch 0.02 def /sstretch 0.0 def /kern 0.1 def /yinc 1.0 def /red {0 settint} def /blue {0.67 settint} def /purple {0.75 settint} def /font0 /Helvetica-Bold [1.2 0 0 1 0 -0.2] gonzofont /font0 /helvetica-bold [1 0 0 0.8 0 0 ] gonzofont /font1 /Helvetica 0.75 gonzofont /font4 /Helvetica 0.6 gonzofont /font3 /Helvetica-Bold 0.75 gonzofont /font2 /Helvetica-Oblique 0.75 gonzofont /font5 /Helvetica-Bold 1.1 gonzofont /font6 /Helvetica [2 0 0 1.4 0 0] gonzofont /font7 /Helvetica-Oblique 0.75 gonzofont /font8 /Symbol 0.75 gonzofont /font9 /Helvetica [.6 0 0 .6 -.15 .4] gonzofont /font- /Helvetica-Bold [0.4 0 0 0.55 0 0] gonzofont /kern 0.15 def /tabs [16.5] def /txtwide 29 def font1 /tabs [17.5] def font1 /yinc 0.9 def line1 bestgray black aqua 0.8 setgray 0.6 0.6 0.6 setrgbcolor 15 5 sub 1 mt 12 pu 10 pr 12 pd closepath gsave aqua 0.7 setgray fill grestore line3 stroke newpath 0 settint 0.75 setgray 10 8.5 mt 1.5 pu 5 pr 1.5 pd closepath fill 0.11 settint 0.85 setgray 15 8.5 mt 1.5 pu 5 pr 1.5 pd closepath fill 0.33 settint 0.85 setgray 10 4 mt 4.5 pu 10 pr 4.5 pd closepath fill 0.75 settint 0.85 setgray 10 1 mt 3 pu 10 pr 3 pd closepath fill newpath 0.6 0.6 0.6 setrgbcolor line2 10 4 mt 10 r 10 8.5 mt 10 r 15 8.5 mt 1.5 u 10 10 mt 10 r line1 10 2.5 mt 10 r 10 5.5 mt 10 r 10 7 mt 10 r 10 11.5 mt 10 r /yinc 1.5 def font3 black 15 13.55 ( unit identification high unit identification low battery channel temperature data high temperature data mid temperature data low humidity data high humidity data low ) cc font4 8.3 13.6 ( $00 $02 $04 $06 $08 $0A $0C $0E ) cl 0.6 0.6 0.6 setrgbcolor 15 5 sub 1 mt 12 pu 10 pr 12 pd closepath line3 stroke end ypos snap3 restore /ypos exch def } def %%%%%% % name of textfile: muse fig 150.4 acos asin % ............................ % figure 4 % /figure4 { save /snap4 exch def % name of textfile: muse fig f151-4 cheby stuff % ............................ 15 -6 translate % position on box electronics begin bestgray 0 0 10 setgrid % 33 60 showgrid /cstretch 0.02 def /sstretch 0.0 def /kern 0.1 def /yinc 1.0 def /red {0 settint} def /blue {0.67 settint} def /purple {0.75 settint} def /font0 /Helvetica-Bold [1.2 0 0 1 0 -0.2] gonzofont /font0 /helvetica-bold [1 0 0 0.8 0 0 ] gonzofont /font1 /Helvetica 0.75 gonzofont /font4 /Helvetica 0.6 gonzofont /font3 /Helvetica-Bold 0.75 gonzofont /font2 /Helvetica-Oblique 0.75 gonzofont /font5 /Helvetica-Bold 1.1 gonzofont /font6 /Helvetica [2 0 0 1.4 0 0] gonzofont /font7 /Helvetica-BoldOblique 0.75 gonzofont /font8 /Symbol 0.75 gonzofont /font9 /Helvetica [.6 0 0 .6 -.15 .4] gonzofont /font- /Helvetica-Bold [0.4 0 0 0.55 0 0] gonzofont /kern 0.15 def /tabs [16.5] def /txtwide 29 def font1 /tabs [17.5] def font1 /yinc 0.9 def line1 bestgray black /showgridx {gsave 0.65 dup dup setrgbcolor line1 [{0 0 mt 20 r} 1 21 ] yrpt [{0 0 mt 20 u} 1 21 ] xrpt line2 10 0 mt 20 u 0 10 mt 20 r line3 0 0 mt 20 pr 20 pu 20 pl closepath stroke grestore} def /chebfig {gsave translate 20 20 showgridx gsave 0 10 translate % 1 % x % 2x2 - 1 % 4x3 - 3x % 8x4 - 8x2 - 1 % 16 x5 - 20x3 +5x /funct0 {{ pop 1}} def /funct1 {{}} def /funct2 {{dup mul 2 mul 1 sub}} def /funct3 {{dup dup dup mul mul 4 mul exch 3 mul sub}} def /funct4 {{dup dup mul dup mul 8 mul exch dup mul 8 mul sub 1 add}} def /funct5 {{dup dup dup dup mul dup mul mul 16 mul exch dup dup mul mul 20 mul sub exch 5 mul add}} def % 32x6 - 48x4 + 18x2 -1 /funct6 {{dup dup dup dup mul mul dup mul 32 mul exch dup mul dup mul 48 mul sub exch dup mul 18 mul add 1 sub}} def /plotit {/funct exch store 0 -1 funct 10 mul moveto -1 0.01 1 { /x exch store x 1 add 10 mul x funct 10 mul lineto }for line2 stroke } def % 0 settint 0.5 setgray % funct0 % plotit 1 0 0 setrgbcolor funct1 plotit 1 1 0 setrgbcolor funct2 plotit 0 1 0 setrgbcolor funct3 plotit 0 1 1 setrgbcolor funct4 plotit 0 0 1 setrgbcolor funct5 plotit 1 0 1 setrgbcolor funct6 plotit grestore % get off tenshift newpath line3 0.6 dup dup setrgbcolor black % temp 1 setlinecap 1 setlinejoin 0 0 mt 20 u 20 r 20 d 20 l line2 10 0 mt 20 u 0 10 mt 20 r font3 black 0 -1.3 (-1) cc 10 -1.3 (0) cc 20 -1.3 (+1) cc -1.1 0 0.3 sub (-1) cc -1.1 10 0.3 sub (0) cc -1.1 20 0.3 sub (+1) cc 0.8 setlinewidth 0 setlinecap 0 settint 0.5 setgray 25 18 mt 2.5 r 0.16 settint 0.5 setgray 25 16 mt 2.5 r black font6 % 23 18 (T(1)) cc % 23 16 (T(2)) cc % 23 14 (T(3)) cc font3 /font6 /Helvetica-Bold 0.6 gonzofont font6 1 setlinecap 1 setlinewidth 1 0.5 0.5 setrgbcolor 17.6 18.2 mt 0.8 0 rlineto stroke black 18 18 (T(1)) cc 1 1 0 setrgbcolor 13.6 3.2 mt 0.8 0 rlineto stroke black 14 3 (T(2)) cc 0.5 1 0.5 setrgbcolor 6.7 17.8 mt 0.8 0 rlineto stroke black 7.1 17.6 (T(3)) cc 0 1 1 setrgbcolor 5.3 8.2 mt 0.8 0 rlineto stroke black 5.7 8 (T(4)) cc 0.7 0.7 1 setrgbcolor 10.6 14.7 mt 0.8 0 rlineto stroke black 11 14.5 (T(5)) cc 1 0.5 1 setrgbcolor 12 8.6 mt 0.8 0 rlineto stroke black 12.4 8.4 (T(6)) cc grestore} def 7 29 chebfig /font9 /Helvetica [.55 0 0 .55 0.04 .4] gonzofont % superscript? /font: /Helvetica [7 0 0 7 0 -2] gonzofont % subscript? /font= /Symbol 0.9 gonzofont /tabs [5] def font1 beige 0.75 setgray 1.2 setlinewidth 3 54.8 mt 10 r aqua 0.75 setgray 3 53.9 mt 1 pu 12 pr 1 pd closepath fill 7 9.2 mt 15.6 pu 20 pr 15.6 pd closepath fill 8 5.5 mt 1.2 pu 18 pr 1.2 pd closepath fill 12 1.95 mt 1.2 pu 10 pr 1.2 pd closepath fill black 3 55 ( |3CHEBYCHEF POLYNOMINALS|1 are a group of math functions closely related \ to the trig multi-angle identities. Their many important uses include least \ squares curve fitting, |/surl |7Active Filters|1|/active1 , and synthesizing \ efficient |/surl |7Digital Sinewaves|1|/magsn01 . |h Here is what some of them look like\274 And here are a few of them in real life\274 |h |t|3T|1(0) = 1 |h |t|3T|1(1) = |2x|1 |h |t|3T|1(2) = 2|2x|92|1 - 1 |h |t|3T|1(3) = 4|2x|93|1 - 3|2x|1 |h |t|3T|1(4) = 8|2x|94|1 - 8|2x|1|92|1 + 1 |h |t|3T|1(5) = 16|2x|95|1 - 20|2x|1|93|1 + 5|2x|1 |h |t|3T|1(6) = 32|2x|96|1 - 48|2x|1|94|1 + 18|2x|1|92|1 -1 |h |t|3T|1(7) = 64|2x|97|1 - 112|2x|1|95|1 + 56|2x|1|93|1 - 7|2x|1 |h |t|3T|1(8) = 128|2x|98|1 - 256|2x|1|96|1 + 160|2x|94|1 - 32|2x|1|92|1 + 1 |h |t|3T|1(9) = 256|2x|99|1 - 576|2x|1|97|1 + 432|2x|95|1 - 120|2x|1|93|1 + 9|2x|1 |h |t|3T|1(10) = 512|2x|k|910|1 - 1280|2x|1|98|1 + 1120|2x|96|1 - 400|2x|1|94|1 + 50|2x|1|92|1 -1 |h All terms beyond T(1) can be found by using\274 (next term) = 2|2x|1|j(current term) - (previous term) Most often, you let |2x|1 = cos|j(|=q|1) for trig multi angles\274 |3T|1(n)|jcos(|=q|1) = cos|j(n|=q|1) ) cl end ypos snap4 restore /ypos exch def } def %%%%%%%%%%%%%%%%%%%%% % name of textfile: muse fig 150.4 acos asin % ............................ % figure 4 % /figure5 { save /snap4 exch def %%%%%%%%%%%%%%%%%%% 0 0 translate % position on box electronics begin bestgray aqua 1 0.97 dup scale 0 0 10 setgrid % 50 50 showgrid /cstretch 0.02 def /sstretch 0.0 def /kern 0.1 def /yinc 1.0 def /font0 /Helvetica-Bold [1.2 0 0 1 0 -0.2] gonzofont /font1 /Helvetica 0.75 gonzofont /font4 /Helvetica 0.6 gonzofont /font3 /Helvetica-Bold 0.75 gonzofont /font2 /Helvetica-Oblique 0.75 gonzofont /font5 /Helvetica-Bold 1.1 gonzofont /font6 /Helvetica [2 0 0 1.4 0 0] gonzofont /font7 /Helvetica-Oblique 0.75 gonzofont /font8 /Symbol 0.75 gonzofont /font9 /Helvetica [.6 0 0 .6 -.15 .4] gonzofont /kern 0.15 def /tabs [20] def /txtwide 32.5 def font1 /tabs [11] def font1 /yinc 0.9 def 2.5 32.8 (|/aqua |/staytint1 |3% JAVASCRIPT BOUNCY BUTTONS % =================================== |h % Copyright c 2001 by Don Lancaster & Synergetics, Box 809, Thatcher, AZ, 85552 % (928) 428-4073 Email: |/surl don@tinaja.com|/maildon |/tinton1a Website: |/surl http://www.tinaja.com|/tinaja % Consulting services available per |/surl http://www.tinaja.com/info01.html|/info01 |h % All commercial rights and all electronic media rights fully reserved. % Linking welcome. Reposting expressly forbidden. Version 1.2 |h % These JavaScript code fragments show you how to get a button or other web % page to change its appearance when a mouse curses over it. |h % First, create images of the pressed and unpressed buttons, and make them % website available. Such as these |/surl |3BARRO|1|/barro \ |/tinton1a |3and |/surl |3BARROX|1|/barrox |/tinton1a |3examples. |h % Second, add this JavaScript module near the beginning of your HTML or % ASP code\274 |/beige |/staytint1 |/aqua |/staytint1 % Third, code your button positions as follows\274 |/beige |/staytint1 |/aqua |/staytint1 % This code assumes the button is the only element in a HTML table cell. % Note that each and every button ~MUST~ have a unique NAME |h % More examples in |3|/surl BOUNCY.PDF|1|/bouncy . |/tinton1a Some \ |/surl |3JavaScript Books|/amlink01 |/tinton1a % are found |3|/surl here|/amlink01 |/tinton1a \ . |3|/surl |/tinton1a For InfoPack|1|/info01 |/tinton1a consulting: |/surl |3don@tinaja.com|/maildon ) cl end ypos snap4 restore /ypos exch def } def { /figure1 {} def % temp hunt for duplicate variables /figure2 {} def /figure3 {} def /figure4 {} def /figure5 {} def } pop %%%%%% %%%%%%%%%%%%%%%%%%% /namestretch 0 def /sidebar1 { 8 -3 translate 1 dup scale % adjust to fit /title( )def /font0 /Helvetica [10 0 0 8.5 0 0] gonzofont /font1 /Helvetica [9 0 0 9 0 0] gonzofont /font2 /Helvetica-Bold [9 0 0 9 0 0 ] gonzofont /txtwide 156 def /yinc 11 def % RSNUMBER /Zmacro {gsave /Helvetica-Narrow-Bold findfont [7.5 0 0 7.5 0 0] makefont setfont xpos ypos moveto charstretch 0(CIRCLE ) ashow charstretch 0 RSnumber( ) cvs ashow ( ON FREE INFORMATION CARD) show /RSnumber RSnumber 1 add def /ypos ypos yinc 0.7 mul sub def grestore} def /Ymacro {/ypos ypos yinc 0.7 mul sub def} def % temporary stretch /Zmacro {(h) stringmacro /ypos ypos namestretch sub def } def /ypos0 bt 3 sub def /yinc 17 def /xpos bl def /xpos0 xpos def /pm 0 def /sstretch 0.1 def /cstretch 0.2 def /ypos bt 20 sub def /ypos 400 def /txtwide bw def /colcheck {} def /ytopoflist bt 50 sub csf div def xpos txtwide 2 div add 0 add ytopoflist 18 add % Set name below!!!! ( ) cc % for gray2 /ypos ytopoflist def /columnspacing 158 def /yinc 10 def /xpos0 bl 35 add def /xpos xpos0 def /amacro {/yhold ypos def /ypos ytopoflist def /xpos xpos columnspacing add def /ypos ypos yinc add def} def % temporary for 4 wide /columnspacing 132 def % xpos 18 sub ypos % (|L|2AMX|1 % 11995 Forestgate Dr % Dallas TX 75243 % (800) 222-0193 % |Z {{xpos 18 sub ypos (|L|2Abbeon Cal|1 123 Gray Ave Santa Barbara CA 93101 (805) 966-0810 |Z |2Veeder Root|1 125 Powder Forest Dr Simsbury CT 06070 (860) 651-2700 |Z ) cl }} pop % temp for url list {{ /font3 /Helvetica-BoldOblique 9.5 gonzofont font3 /yinc 13 1 sub def /yposhh ypos def /amacro {/xpos xpos 284 add store /ypos yposhh 50 add store} def /bmacro {/yinc yinc 2.12 add store} def % 0.9 dup scale % TEMP COMPRESS xpos -26 add ypos % 50 add (|3Battery Reference Book|1 |1( Thomas Crompton ) |3Battery Technology Handbook|1 |1( H.A. Kiehne ) |3Electric Hybrid Vehicles ... BatteryTechnology |1( SAE ) |3Electric Vehicle Battery Systems |1( Sandeep Dhameja ) |3Electrochemical Cell Design |1( Ralph White ) |3Electrochemical Power Sources |1( M. Barak ) |3Electrochemical Supercapacitors |1( B. E. Conway ) |3Electrochemistry of Novel Materials |1( Jacek Lipkowski ) |3Fuel Cell Systems |1( Leo Blomen ) |3Handbook of Batteries |1( David Linden ) |3Handbook of Battery Materials |1( Jurgen Besenhard ) |3Hydrogen & Metal Hydride Batteries |1( P. D. Bennett ) |3Lithium-Ion Batteries |1( Masataka Wakihara ) |3Lithium Polymer Batteries |1( J. Broadhead ) |3Modern Batteries: Intro to Electrochemical... |1( C. Vincent ) |3New Materials for Batteries and Fuel Cells |1( D. Doughty ) |3Practical Photovoltaics |1( Richard J. Komp ) |3RVer's Guide to Solar Battery Charging |1( Noel Kirkby ) |1For more book details, see |/surl |3www.tinaja.com/amlink01.html|/amlink01 ) cl }} pop %lockout %% special for combined list /cstretch 0.02 10 mul def /sstretch 0.0 10 mul def /kern 0.1 10 mul def /yinc 1.1 10 mul def /font0 /Helvetica-Bold [1.2 0 0 1 0 -0.2] gonzofont /font1 /Helvetica 0.75 10 mul gonzofont /font4 /Helvetica 0.7 10 mul gonzofont /font3 /Helvetica-Bold 0.75 10 mul gonzofont /font2 /Helvetica-Oblique 0.75 10 mul gonzofont /font5 /Helvetica-Bold 0.85 10 mul gonzofont /font6 /Helvetica [2 0 0 1.4 0 0] gonzofont /font7 /Helvetica-Oblique 0.75 gonzofont /font8 /Symbol 0.75 gonzofont font1 /yinc 0.9 10 mul def /kern 0.1 10 mul def %%%%%%%%%%%%%% /emacro {/yhold ypos def} def /fmacro {/ypos yhold def /xpos xpos 13.5 10 mul add def} def /cmacro {/xpos xpos 13.5 10 mul sub def} def /tabs [4 10 mul -2 10 mul] def /txtwide 33 10 mul def % 3.5 56.5 % {{ % bypass /cmacro {/yposhhh ypos def} def /dmacro {/ypos yposhhh def /xpos xpos 120 add store} def /switchfonts { /font0 /Helvetica [10 0 0 8.5 0 0] gonzofont /font1 /Helvetica [9 0 0 9 0 0] gonzofont /font2 /Helvetica-BoldOblique [9 0 0 9 0 0 ] gonzofont } def /shiftin {24 0 translate} def % position first column nn xpos -40 add ypos 13.8 add /font1 /Helvetica [10 0 0 10 0 0] gonzofont % larger for short list /font3 /Helvetica-BoldOblique [10 0 0 10 0 0 ] gonzofont /font4 /Helvetica [8.5 0 0 8.5 0 0] gonzofont % larger for short list /font5 /Helvetica [8.5 0 0 8.5 0 0] gonzofont % larger for short list ( |h |1J.A. Jacobs, |3|/surl Geomagnetic Micropulsations|1|/book2 |h |1W.F. Stuart, |3|/surl Geomagnetic Observatory and Survey Practice|1|/book3 |h |1D. Orr, |3|/surl Geomagnetic Pulsations|1|/book4 |h |1P. Savage, |3|/surl Giant Magnetoresistance : Technology & \274|1|/book5 |h |1Ed Ramsden, |3|/surl Hall Effect Sensors : Theory and Application|1|/book6 |h |1Wallace H. Campbell, |3|/surl Introduction to Geomagnetic Fields|1|/book7 |h |1David Jiles, |3|/surl Introduction to Magnetism and Magnetic Materials|1|/book8 |h |1R. A. Lange, |3|/surl The Magnetic Field of the Earth's Lithosphere|1|/book9 |h |1U. Hartmann, |3|/surl Magnetic Multilayers & Giant Magneto\274|1|/book10 |h |1Pavel Ripka, |3|/surl Magnetic Sensors and Magnetometers|1|/book11 |h |1Wallace Campbell, |3|/surl Magnetism : A Guided Tour|1|/book1 |h |1R. O'Handley, |3|/surl Modern Magnetic Materials|1|/book12 |h |1John R. Jensen, |3|/surl Remote Sensing of the Environment|1|/book13 |4For more book details, \ see |/surl |3www.tinaja.com/amlink01.html|/amlink01 )cl % }} % end bypass } def % /sidebar1 {} def % temp lockout %%%% /sidebar2 { 8 -3 translate 1 dup scale % adjust to fit /title ( ) def /font0 /Helvetica [10 0 0 8.5 0 0] gonzofont /font1 /Helvetica [9 0 0 9 0 0] gonzofont /font2 /Helvetica-Bold [9 0 0 9 0 0 ] gonzofont /txtwide 156 def /yinc 11 def /Ymacro {/ypos ypos yinc 0.7 mul sub def} def /Zmacro {(h) stringmacro} def /ypos0 bt 3 sub def /yinc 17 def /xpos bl def /xpos0 xpos def /pm 0 def /sstretch 0.1 def /cstretch 0.2 def /ypos bt 20 sub def /txtwide bw def /colcheck {} def /ytopoflist bt 50 sub csf div def xpos txtwide 2 div add 0 add ytopoflist 18 add % (|2|CNAMES AND NUMBERS) cc ( ) cc % for new graybox /ypos ytopoflist def /columnspacing 158 def /yinc 10 def /xpos0 bl 35 add def /xpos xpos0 def /amacro {/yhold ypos def /ypos ytopoflist def /xpos xpos columnspacing add def /ypos ypos yinc add def} def /downtwo {/ypos ypos 2 sub def} def % temporary stretch /Zmacro {(h) stringmacro /ypos ypos namestretch sub def } def % temporary for 4 wide % /columnspacing 140 def % /xpos xpos 15 sub def xpos ypos (|L|2Abbeon Cal, Inc.|1 123 Gray Avenue Santa Barbara, CA 93101 (800) 922-0977 |/surl |2www.abbeon1.com|/abbeon |Z |2Delvies Plastics|1 133 West Haven Ave. Salt Lake City, Utah 84165 (800) 533-5843 |/surl |2www.delviesplastics.com|/delvies |Z |2Industrial Arts Supply Co|1 5724 W 36th Street Minneapolis MN 55416 (888) 919-0899 |/surl |2www.iasco-tesco.com|/iasco |Z |2PNI Precision Navigation|1 5464 Skylane Blvd., Suite A Santa Rosa, CA 95403 (707) 566-2260 |/surl |2www.pnicorp.com|/precision |Z |2Radio World|1 PO Box 1214 Falls Church, Virginia, 22041 (703) 998-7600 |/surl |2www.rwonline.com|/radioworld |Z |a |2Small Parts|1 13980 N.W. 58th Court Miami Lakes, FL 33014-0650 (800) 220-4242 |/surl |2www.smallparts.com|/small |Z |2Stuart Energy Systems |1 5101 Orbitor Drive Mississauga, Ont L4W 4V1 (905) 282-7700 |/surl |2www.stuartenergy.com|/stuart |Z |2Synergetics|1 Box 809 Thatcher AZ 85552 (928) 428-4073 |/surl |2www.tinaja.com|/tinaja |Z |2Twenty First Century Books|1 PO Box 2001 Breckenridge CO 80424 (970) 453-9293 |/surl |2www.tfcbooks.com|/tfcb |Z |2Unites States Plastic|1 1390 Neubrecht Rd. Lima, Ohio 45801-3196 (800) 809-4217 |/surl |2www.usplastic.com|/usplastics |Z ) cl } def /sidebar3 { 8 -3 translate 1 dup scale % adjust to fit /title ( ) def /font0 /Helvetica [10 0 0 8.5 0 0] gonzofont /font1 /Helvetica [9 0 0 9 0 0] gonzofont /font2 /Helvetica-Bold [9 0 0 9 0 0 ] gonzofont /txtwide 156 def /yinc 11 def /Ymacro {/ypos ypos yinc 0.7 mul sub def} def /Zmacro {(h) stringmacro} def /ypos0 bt 3 sub def /yinc 17 def /xpos bl def /xpos0 xpos def /pm 0 def /sstretch 0.1 def /cstretch 0.2 def /ypos bt 20 sub def /txtwide bw def /colcheck {} def /ytopoflist bt 50 sub csf div def xpos txtwide 2 div add 0 add ytopoflist 18 add % (|2|SOME RFID RESOURCES) cc ( ) cc % for new graybox /ypos ytopoflist def /columnspacing 158 def /yinc 10 def /xpos0 bl 35 add def /xpos xpos0 def /amacro {/yhold ypos def /ypos ytopoflist def /xpos xpos columnspacing add def /ypos ypos yinc add def} def /downtwo {/ypos ypos 2 sub def} def % temporary stretch /Zmacro {(h) stringmacro /ypos ypos namestretch sub def } def % temporary for 4 wide /columnspacing 140 def /xpos xpos 15 sub 12 sub def xpos ypos (|L|2A.I.M.|1 634 Alpha Drive Pittsburgh PA 15238 (412) 963-8588 |/surl |2www.aimglobal.org|1|/aim |Z |2Brady|1 PO Box 2999 Milwaukee WI 53201 (800) 368-3374 |/surl |2www.bradyrfid.com|1|/brady |Z |2Checkpoint Systems|1 101 Wolf Drive Thorofare, NJ 08086 (800) 257 5540 |/surl |2checkpointsystems.com|1|/checkpoint |Z |2Destron Fearing|1 490 Villaume Avenue South St Paul MN 55075 (651)455-1621 |/surl |2www.destron-fearing.com|1|/destron |Z |2Gemplus|1 3 Lagoon Dr Ste 300 Redwood City CA 94065 (650) 654-2900 |/surl |2www.gemplus.com|1|/gemplus |Z |a |2Holtek Holmate|1 48531 Warm Spring Blvd, Suite 413, Fremont, CA 94539 (510)252-9880 |/surl |2www.holmate.com|1|/holmate |Z |2ID Micro|1 1019 Pacific Ave 13th Fl Tacoma WA 98402 877.395.1479 |/surl |2www.idmicro.com|1|/idmicro |Z |2Indala|1 5201 Topllview Drive Rolling Meadows, IL 60080 (410)-712-6480 |/surl |2motorola.com/smartcard|1|/indala |Z |2Intersoft|1 205 Research Park Dr Tullahoma TN 37388 (931)454-2305 |/surl |2www.intersoft-us.com|/intersoft |Z |2Intermec|1 6001 36th Avenue West Everett, WA 98203-9280 (425) 348-2600 |/surl |2home.intermec.com|/intermec |Z |a |2Korteks|1 2227 Johns View Way San Diego CA 91977 (619) 303-5700 |/surl |2www.korteks.com|1|/korteks |Z |2Microchip Technology|1 2355 W Chandler Blvd Chandler AZ 85224 (480) 786-7200 |/surl |2www.microchip.com|1|/microchip |Z |2Micron Duratracker|1 625 Stratford, Ste 1000 Meridian ID 83642 (800)642-7678 |/surl |2www.micron.com|1|/micron |Z |2Minec|1 PO Box 7278 SE-187 14 Taby Sweden 46-8-630 92 92 |/surl |2www.minec.com|/minec |Z |2RFID Inc|1 3538 Peoria St #505 Aurora CO 80010 (303) 366-1234 |/surl |2www.rfidinc.com|1|/rfidinc |Z |a |2Synergetics|1 Box 809 Thatcher AZ 85552 (520) 428-4073 |/surl |2www.tinaja.com|1|/tinaja |Z |2Tagmaster|1 Electrum 410 SE-164 40 Kista Sweeden 46-8-6321950 |/surl |2www.tagmaster.com|1|/tagmaster |Z |2Telsor|1 PO Box 4423 Englewood CO 80155 303 622 8877 |/surl |2www.telsor.com|1|/telsor |Z |2Trovan|1 Electronic Identification (804) 565-1288 |/surl |2rfidnews.com|1|/rfidnews |/surl |2www.trovan.com|1|/trovan |Z |2Y-Tex|1 PO Box 1450 Cody WY 82414 (307)587-5516 |/surl |2http://www.y-tex.com|1|/ytex |Z ) cl } def % temphelp /hackhelp { % nt: hack.help % .. /sstretch 0 def /cstretch 0.1 def /font0 /Helvetica-Bold [8.5 0 0 8 0 0] gonzofont /font1 /Helvetica [8.5 0 0 8 0 0] gonzofont /font2 /Helvetica-Bold [8.5 0 0 8 0 0 ] gonzofont /font7 /Helvetica-Oblique [8.5 0 0 8 0 0] gonzofont /yinc 9.5 def /font2 {font1} def bc bt 15 sub (|0NEED HELP?) cc bl 14 add bt 30 sub (|1Phone or email all your US |2Tech Musings|1 questions to: |h Don Lancaster |2Synergetics|1 Box 809 Thatcher, AZ, 85552 (928) 428-4073 |h US email:|j |7don@tinaja.com|1 Web page:|j|j |7www.tinaja.com|1 ) cl } def %%% /f1name (Fig. 1 \261 DATA FORMAT for the Radio Shack wireless humidity and temperature remotes.)def /f2name (Fig. 2 \261 ZEROS ARE INTERLEAVED with the "real" data to ease collision detection.)def /f3name (Fig. 3 \261 ONCE STRIPPED of framing zeros, the actual weather \ data consists of sixteen four bit bytes. I've arranged them here as 8-bit words.)def /f4name (Fig. 4 \261 SOME DETAILS of first kind Chebycheff Polynominals.) def /f5name (Fig. 5 \261 JAVASCRIPT CODE to generate bouncy buttons.) def /ad1name ( ) def % dummy /s1name (FLUXGATE |j&|j MAGNETOMETRY BOOKS)def /s2name (NAMES AND NUMBERS) def /s3name (SOME RFID RESOURCES) def /helpname (TEMPCHECK) def /Zmacro {/ypos ypos 1 add def 0 setlinewidth xpos ypos moveto txtwide 0 rlineto stroke /ypos ypos -2 add def} def % hair rule /reprogray {bestgray} def bestgray black /header {} def /setstrokeadjust where {pop /setstrokeadjust true def} if muse3 begin /cstretch 0.2 def /sstretch -0.3 def /showthegrid false def /LaserWriterG false def /boxdraw {bl bb bw bh brad roundbox blw setlinewidth stroke grestore } def /br {bl bw add} def /bb 0 def % picojust patch18 gonzo begin /swallow {/lopspaces lopspaces 1 add def printlist plistlength 1 sub get dup 1 get dup 2 ge {1 sub} if 1 exch put} bind def end /rdiode {gsave 180 rotate diode grestore} def % patch /grayshade 0.899 def % for compatibility /showcolors false def % temp for figure one cieF % BBBBBB % name of textfile: muse.149a broadband transformers etc % .... % X E % Z %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This is needed to improve post picojustufication... gonzo begin /swallow {/lopspaces lopspaces 1 add def printlist plistlength 1 sub get dup 1 get dup 2 ge {1 sub} if 1 exch put} bind def end /wanttousepicojustify true def % this globally turns picojust on or off %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% wanttousepicojustify false 40 array dictstack {/^picoset known or} forall not and { % FILL JUSTIFICATION IMPROVER version 6.3 June 3, 1994. c 1994 by % Don Lancaster & Synergetics (602) 428-4073. [support on GEnie PSRT] % Personal use premitted; All commercial & media rights fully reserved. % Install this where it will redefine all print time uses of % the -awidthshow- operator. Use picojust true or false to control. /picoflag true def % selective availability switch /picofract 0.35 def % percentage of excess space to be internalized /picothresh 0.03 def % percentage increment per font change /^picoset true def % job multiple def lockout /picojust {/picoflag exch store} def % use for local turn on or off /awidthshow {1 index 4 index 6 index add add 32 eq not picoflag not or {//awidthshow}{/^msg exch store pop /^cst exch store pop pop /^sst exch store /^cct ^msg length store /^rwd ^msg stringwidth pop store /^sct 0 ^msg {( ) search {pop pop exch 1 add exch}{pop exit} ifelse} loop store /^jwd ^cct ^cst mul ^sct ^sst mul add store /^saj ^jwd dup ^rwd add dup 0 eq {pop 0.0001} if div picothresh div floor picothresh mul picofract 1.33 mul mul 1 add store gsave ^saj 1 scale /^rft 1 ^saj 1 sub ^rwd mul ^jwd dup 0 eq {pop 0.0001} if div sub ^saj div store ^sst ^rft mul 0 32 ^cst ^rft mul 0 ^msg //awidthshow 1 ^saj div 1 scale grestore ^jwd ^rwd add 0 rmoveto} ifelse} bind def } if %%%%%%%%%%%%% SYNERGETICS AD %%%%%%%%%%%%%%%%%% %! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% /ad1copy { save /adsave exch store green staytint % IMPORTANT: Comment or remove the next line to get the ad up to EN page size! % Do this **ONLY** if you are extracting the ad for EN layout! % 1.03 1.09 scale xpos 23 sub ypos 283 sub 31 add 3 add (ad processing at ) == 2 copy == pop pop 0 0 % temp translate 0.95 0.915 scale %%%% This code puts in the reader service number %%%% /showreaderservicenumber true def % now a catalog /readerservicenumber 146 def /squashad true def /showadgrays true def squashad {1 0.80 scale} if /height 693 114 add 60 add def % stretched twice /width1 165 def /bc width1 2 div def % huh /sidethk 4 def /botheight 54 def /topheight 33 def /outrad 10 def /inrad 5 def /pm 0 def /pmnorm 0 def %%%%%%%%%%%%%% KEYSTONE STUFF %%%%%%%%%%%%%%%%%%%%%%% % this is a repeat of the GONZO13B callout width proc ... gonzo begin /endtheline {/curwide txtwide roomleft sub def justx cvx exec oktoprint {printline} if} bind def /cw {save /snapc1 exch def /oktoadvance false def /oktoprint false def /linestring linestring2 def /justx (justL) def 3 1 roll /ypos exch def /xpos exch def stringgonzo curwide snapc1 restore} def end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This is a subtle correction to the gonzo fill justify that makes % txtwide slightly more precise ... gonzo begin /reallyjustF {swallowandhang roomleft cstretch add numchars 1 sub numspaces spacecharratio mul add dup 0 eq {pop 0.001} if div dup cstretch add /cfix exch def spacecharratio mul sstretch add /sfix exch def /xfix 0 def /yfix 0 def} bind def % unconditional justF end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % KEYSTONE STUFF STARTS HERE gonzo begin % This is the core keystone code routine. It works by taking an average % of the first two and last two string lengths to determine the keystone % slope, increment, and starting width. It then checks the length of % each line and extends the starting width as needed so everything fits. /keyproc {/kadj exch def /msg2 exch def /yy1 exch def /xx1 exch def mark {msg2 (\n) search {exch pop exch /msg2 exch def dup length 0 le {pop} if}{dup length 0 le {pop} if exit} ifelse} loop ] /karray exch def 0 0 karray 0 get cw 0 0 karray 1 get cw add 2 div dup 0 0 karray dup length 1 sub get cw 0 0 karray dup length 2 sub get cw add 2 div sub neg karray length 1 sub div dup /kinc exch def 2 div sub /kstart exch def /txtwide 10000 def 0 0 1 karray length 1 sub {/kpn exch def 0 0 karray kpn get cw kstart kinc kpn mul add sub 2 copy lt {exch} if pop} for kstart add 1.01 mul dup /kstart exch def /txtwide exch def /justifylastline true def 0 1 karray length 1 sub { /posn exch def yy1 xx1 kstart kadj exch posn karray exch get cf /txtwide txtwide kinc add def /xx1 xx1 kinc kadj def /yy1 yy1 yinc sub def} for} def % these are the three keystone routines. Use xpos ypos true (msg strings) % cck, etc. true for keystone; false for ordinary justify. /cck {save /keysnap exch def exch {{2 div sub} keyproc} {cc} ifelse keysnap restore} def % callout centered keystone /clk {save /keysnap exch def exch {{pop} keyproc} {cl} ifelse keysnap restore} def % callout left keystone /crk {save /keysnap exch def exch {{sub} keyproc} {cr} ifelse keysnap restore} def % callout right keystone end % close gonzo dictionary %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % outside box 0 0 width1 height 5 roundbox showadgrays {0.3}{0} ifelse setgray1 % for brown border fill % inside box sidethk botheight width1 sidethk 2 mul sub height topheight sub botheight sub inrad roundbox showadgrays {0.96 setgray}{white} ifelse fill black % shade for web /cstretch 0.7 def /sstretch 1.2 def /font1 /Revue 10 gonzofont /font3 /Revue 9 gonzofont /font4 /Revue [9 0 0 9.05 0 1] gonzofont /font9 /Helvetica-Bold 6.5 gonzofont /font2 /Revue 14 gonzofont font1 % adjust center /bc bc sidethk 2 div add def % top lettering white bc bt 22 add (|1new from) cc bc bt 6 add (|2DON LANCASTER) cc bc -17 (|2SYNERGETICS) cc /yinc 10 def bc -28 (|3B|1ox |3809-EN|1 |1Thatcher, |3AZ 85552 |4(|3520|4)|3 428-4073|1) cc /cstretch 0.1 def /sstretch 0.1 def /font5 /Helvetica-Narrow 8 gonzofont /font6 /Helvetica-Narrow-Bold 10 gonzofont /font7 /Helvetica 6 gonzofont /font8 /Helvetica-Narrow-Bold 8 gonzofont /font: /Helvetica-Bold [5 0 0 4.95 0 6] gonzofont % uneven for distillery /font- /Helvetica-Narrow-Oblique 8 gonzofont black 3 3 (|7FREE US VOICE HELPLINE) cl br 3 sub 3 (|7VISA|j/|jMC) cr /xpos 4 def /txtwide br 8 sub def /yinc 8.5 def /ypos bt 15.5 sub def /amacro {/ypos ypos 2 add def} def /cmacro {/ypos ypos 1 add def} def /kern 0.5 def /bw width1 sidethk 2 mul sub def % obtuse code avoids the arcto bug /bmacro { gsave showadgrays {0.3}{0} ifelse setgray % for brown border 0 ypos translate 0 0 mt 5 [-0.5 30 -0.5 3 bw 1 add 3 bw 1 add 30 ] roundpath 0 -31 rlineto bw 1 add neg 0 rlineto closepath fill newpath 0 0 mt 5 [-0.5 -30 -0.5 -3 bw 1 add -3 bw 1 add -30 ] roundpath 0 31 rlineto bw 1 add neg 0 rlineto closepath fill grestore } def /Umacro {ypos} def xpos ypos (|C|6A|kCTIVE|j|j FILTER|j|j COOKBOOK |h|a |C|6RESEARCH|j|j INFOPACKS |h|F|a |5Don's instant use other oneash-and-carry flat rate consulting. Ask any reasonable technical \ question to get a detailed analysis and report. See |/tinton www.tinaja.com/info01|/info01 \ for specifics. \ |8$79.00|5 |b |a |h |F|5The sixteenth|k (!|j)|k printing of Don's bible on analog op-amp lowpass, bandpass, and highpass active filters. De-mystified instant designs. |8 $28.50|1 |b |a |h |C|6CMOS|j|j AND|j|j TTL|j|j COOKBOOKS |h|a |F|5Millions of copies in print worldwide. |8THE|5 two books for digital integrated circuit fundamentals. About as hands-on as you can get. |8$28.50 |5each.|1 |b |a |h |C|6INCREDIBLE|j|j SECRET |h|c MONEY|j|j MACHINE|j|j II |5|h|F|a Updated 2nd edition of Don's classic on setting up your own technical or craft venture. |8$18.50|1 |b |a |h |C|6LANCASTER|j|j CLASSICS|j|j LIBRARY |5|h|a|F Don's best early stuff at a bargain price. Includes the CMOS Cookbook, The TTL Cookbook, Active Filter Cookbook, PostScript video, Case Against Patents, Incredible Secret Money Machine II, and \ Hardware \ Hacker II reprints. |8$119.50|1 |b |a |h |C|6L|kOTS|j|j OF|j|j OTHER|j|j GOODIES |5|h|a) stringgonzo %%%%%%%%%%%%%%%%%%%%%%%% % (A) WIDTH CALCULATIONS 2.20.91 % A new curwide variable lets you calculate the gonzo string % width independent of printing it. Handy for menu justify, etc.. % Use has to be bracketed with /oktoprint false def /oktoadvance % false def --- stuff --- and then true. Works with any justify mode. % make this change to main code so lengths can be extracted. Note that % roomleft gets flushed at line end. gonzo begin /endtheline {/curwide txtwide roomleft sub def justx cvx exec oktoprint {printline} if} bind def % calloutwidth calculates only the width of the string, returning it % to the top of the stack. For consistency with other callouts, use % 0 0 (string) cw. This INCLUDES all stretching and font changes! /cw {save /snapc1 exch def /oktoadvance false def /oktoprint false def /linestring linestring2 def /justx (justL) def 3 1 roll /ypos exch def /xpos exch def stringgonzo curwide snapc1 restore} def end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % (B) MENU JUSTIFY 2.20.91 % The cm routine takes a leading string and a trailing string seperated % by a delimiter and places a row of CONSTANT WIDTH, PRECISELY SPACED, % VERTICALLY ALIGNED and WHOLE dots (or whatever) between the two. It % is based on putting down the dots first and ERASING only whole dots % that are not wanted. /menudots (. ) def /menufont {font5} def /mdoteht 3 def /menudelim ( ) def /cropleadingspaces true def % drawmdots draws a line of menu dots, using plain old show /drawmdots { gsave menufont xxm yym moveto txtwide menudots stringwidth pop dup /mdot1 exch def div floor cvi {menudots show} repeat grestore } def % spchomp takes a string and conditionally removes all leading spaces, % returning the truncated string /spchomp {cropleadingspaces {dup 0 exch {32 eq {1 add}{exit} ifelse } forall} if exch dup length 2 index sub 3 -1 roll exch getinterval} def % mlineproc takes the mline string and processes it into a leading string, % the dot row, and a trailing string. Unused dots are erased with logic % to insure whole dots only. Null strings are ignored. /mlineproc {mline length 0 gt {drawmdots mline menudelim search {/lmstr exch def pop spchomp /rmstr exch def } if gsave showadgrays {0.96}{1}ifelse setgray % for web color xxm yym moveto mdoteht setlinewidth 0 0 lmstr cw mdot1 div ceiling mdot1 mul 0 rlineto stroke xxm txtwide mdot1 div floor mdot1 mul add yym moveto 0 0 rmstr cw mdot1 div ceiling mdot1 mul neg 0 rlineto stroke grestore xxm yym lmstr cl xxm txtwide add yym rmstr cr /yym yym yinc sub def} if} def % mj menujustify accepts tabbed string pairs and converts them into % dotted menu listings.. /cm {gsave /msg exch def /yym exch def /xxm exch def { msg (\n) search {/mline exch def pop /msg exch def mlineproc} {/mline exch def mlineproc exit } ifelse} loop grestore} def %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % /txtwide 170 def % textwidth /txtwide txtwide 8 sub def /yinc 8 def xpos 4 add ypos 0 sub (Ask the Guru I or II or III $24.50 Hardware Hacker II, III or IV $24.50 Tech Musings V or VI $24.50 Micro Cookbook I $19.50 PostScript Beginner Stuff $29.50 PostScript Show and Tell $29.50 Intro to PostScript Video $29.50 PostScript Reference II $34.50 PostScript Tutorial/Cookbook $22.50 PostScript by Example $32.50 Understanding PS Programming $29.50 PostScript: A Visual Approach $22.50 PostScript Program Design $24.50 Thinking in PostScript $22.50 LaserWriter Reference $19.50 Type 1 Font Format $16.50 Acrobat Reference $24.50 Whole works (all PostScript) $380.00 Technical Insider Secrets |9|kFREE|j|j|j|5 ) cm /txtwide txtwide 8 add def xpos ypos (|F |h|c|c|c |b |a |h |C|6BOOK-ON-DEMAND|j|j PUB|j|j KIT |h|F|a |5Ongoing details on Book-on-demand publishing, a new method of producing books only when and as ordered. Reprints, sources, samples. |8$39.50|5 |b |a |h |C|6THE|j|j C|kASE|j|j A|kGAINST|j|j P|kA|kTENTS |h|F|a |5For most individuals, patents are virtually certain to end up as a net loss of sanity, energy, time, and money. \ This reprint set shows you Don's tested and proven real-world alternatives. |828.50|5 |b |a |h |C|6BLATANT|j|j OPPORTUNIST|j|j I |h|F|a |5The reprints from all Don's Midnight Engineering columns. Includes a broad range of real world, proven coverage on small scale technical startup ventures. Stuff you can use right now. \ |8$24.50|5 |b |a |h |C|6RESOURCE|j|j BIN|j|j I |h|F|a |5A complete collection of all Don's Nuts & Volts columns to date, including a new index and his master names and numbers list. |8$24.50|5 |b |a |h |C|6FREE|j|j SAMPLES |h|F|a |5Check Don's Guru's Lair at |-http://www.tinaja.com|5 for interactive catalogs and online samples \ of Don's unique products. Searchable reprints and reference resouces, too. Tech help, hot links to cool sites, consultants. |jemail:|j|- don@tinaja.com|1 ) stringgonzo showreaderservicenumber { /sstretch 0.25 def /cstretch 0.20 def /font1 /Helvetica-Bold [6 0 0 8 0 0 ] gonzofont bc 0 sub botheight neg 10 sub 2 sub %(Write in ) readerservicenumber ( ) cvs mergestr %( on Reader Service Card.) mergestr cc (FREE catalog: http://www.tinaja.com) cc } if adsave restore } def %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% /figure5xx { % name of textfile: muse.fig.106.5 induction heating schematic % ............................ % figure or text starts here ////////////////////////////////////// save /snap5xx exch def %%%%%%%%%%%%%%%%%%% electronics begin end ypos snap5xx restore /ypos exch def } def %%%%% MUSE PATCHES %%%%% % Version 8.0 Jan 11, 1997 % Insert just before "Name of textfile" on "Z" page. muse3 begin %%%%%%%%%%%%%%%% New colorizer patches %%%%%%%%%%%%%%%%%% /boxgrays 0.899 def /grayshade boxgrays def /mastergray boxgrays def /staytint {0.33 setgray} def /staytint1 {0.25 setgray} def /showadgrays true def /Zmacro {staytint /ypos ypos 2 add def 72 300 div setlinewidth xpos ypos moveto txtwide 0 rlineto stroke /ypos ypos -2 add def tintoff} def % hair rule /amacro {(zy0) stringmacro /ypos ypos ypara add def 0.33 setgray } def % start drop cap /bmacro {(iFy1) stringmacro /ypos ypos ypara add def black} def % finish drop cap % Gonzo character colorizer /blueon {mark /blue cvx 0.33 /setgray cvx] cvx printlist exch 3 index exch put exch 1 add exch} def /blueoff {mark /beige cvx 0 /setgray cvx] cvx printlist exch 3 index exch put exch 1 add exch} def /tinton {mark 0.33 /setgray cvx] cvx printlist exch 3 index exch put exch 1 add exch} def /tinton1 {mark 0.25 /setgray cvx] cvx printlist exch 3 index exch put exch 1 add exch} def /tinton1a {mark /aqua cvx % try for aqua after url??? 0.25 /setgray cvx] cvx printlist exch 3 index exch put exch 1 add exch} def /tintoff {mark 0 /setgray cvx] cvx printlist exch 3 index exch put exch 1 add exch} def %%%%%%%%%%%%%% COMPACT VERSION OF COLORIZER II %%%%%%%%%%%%%%%%%%%%%% /settint {dup /currenttint exch store 5.999 mul dup floor cvi /&cbar exch store dup floor sub /&cwt exch store [ {/setgray [ /dup cvx 0.3 &cwt 0.59 mul add /ge cvx [1 /exch cvx &cwt 0.59 mul 0.30 add /sub cvx 1 &cwt sub 0.59 mul 0.11 add /div cvx /dup cvx 1 &cwt sub /mul cvx &cwt /add cvx /exch cvx ] cvx [ &cwt 0.59 mul 0.3 add /div cvx /dup cvx &cwt /mul cvx 0] cvx /ifelse cvx /setrgbcolor cvx] cvx /def cvx} {/setgray [/dup cvx 0.59 1 &cwt sub 0.3 mul add /ge cvx [1 &cwt sub 0.3 mul 0.59 add /sub cvx &cwt 0.3 mul 0.11 add /div cvx /dup cvx &cwt /mul cvx 1 &cwt sub /add cvx /exch cvx 1 /exch cvx] cvx [1 &cwt sub 0.3 mul 0.59 add /div cvx /dup cvx 1 &cwt sub /mul cvx /exch cvx 0] cvx /ifelse cvx /setrgbcolor cvx] cvx /def cvx} {/setgray [/dup cvx 0.59 &cwt 0.11 mul add /ge cvx [&cwt 0.11 mul 0.59 add /sub cvx 1 &cwt sub 0.11 mul 0.30 add /div cvx /dup cvx 1 &cwt sub /mul cvx &cwt /add cvx 1 /exch cvx] cvx [0 /exch cvx &cwt 0.11 mul 0.59 add /div cvx /dup cvx &cwt /mul cvx] cvx /ifelse cvx /setrgbcolor cvx] cvx /def cvx} {/setgray [/dup cvx 0.59 1 &cwt sub mul 0.11 add /ge cvx [1 &cwt sub 0.59 mul 0.11 add /sub cvx &cwt 0.59 mul 0.30 add /div cvx /dup cvx &cwt /mul cvx 1 &cwt sub /add cvx 1] cvx [0 /exch cvx 1 &cwt sub 0.59 mul 0.11 add /div cvx /dup cvx 1 &cwt sub /mul cvx /exch cvx] cvx /ifelse cvx /setrgbcolor cvx] cvx /def cvx} {/setgray [/dup cvx 0.11 &cwt 0.30 mul add /ge cvx[&cwt 0.30 mul 0.11 add /sub cvx 1 &cwt sub 0.30 mul 0.59 add /div cvx /dup cvx 1 &cwt sub /mul cvx &cwt /add cvx /exch cvx 1] cvx [ &cwt 0.30 mul 0.11 add /div cvx /dup cvx &cwt /mul cvx /exch cvx 0 /exch cvx ] cvx /ifelse cvx /setrgbcolor cvx ] cvx /def cvx} {/setgray [ /dup cvx 0.30 1 &cwt sub 0.11 mul add /ge cvx[ 1 /exch cvx 1 &cwt sub 0.11 mul 0.30 add /sub cvx &cwt 0.11 mul 0.59 add /div cvx /dup cvx &cwt /mul cvx 1 &cwt sub /add cvx ] cvx [ 1 &cwt sub 0.11 mul 0.30 add /div cvx /dup cvx 1 &cwt sub /mul cvx 0 /exch cvx] cvx /ifelse cvx /setrgbcolor cvx ] cvx /def cvx} ] &cbar get exec exec} bind def /beige {0.10 settint} def % examples of convenience operators /aqua {0.52 settint} def /blue {0.67 settint} def /lime {0.44 settint} def %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% beige %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % //// REVISED PROC ///// electronics begin % dipdraw - draws a dip integrated circuit. (old code to be improved) % Enter with currentpoint set to pin 1 and scale % set so that 1.0 = distance between pins. Then % do a numpins-(name)-(hipins)-(lopins) dipdraw % Pin callouts preceeded by / will be complemented. % main dipdraw entry: /dipdraw { save /dipsnap exch def /hipins exch def /lopins exch def /chipname exch def /numpins exch def mark 0 0 0 0 0 0 0 0 0 0 0 0 % temp patch /howlong {numpins 2 div cvi 1 add} def /howhigh {4 numpins 36 ge {1 add} if} def /stub {howhigh 1.4 sub 2 div} def % internal service subs start here: /pinproc {numpins 2 div cvi{newpath 0 cpos 0.37 0 360 arc gsave 1 setgray fill grestore 0.067 setlinewidth stroke pin# 5 string cvs dup stringwidth pop 2 div neg cpos 0.2 sub moveto show 1 0 translate /pin# pin# dir add def} repeat } def /stretchprint { dup stringwidth pop 2 div neg exch length 1 sub stretch mul 2 div sub 0 moveto callout (/) anchorsearch true eq {currentpoint exch stretch add exch moveto pop dup /callout exch def stringwidth pop callout length 1 sub stretch mul add /barwide exch def 0.033 setlinewidth gsave currentpoint 0.55 add moveto barwide 0 rlineto stroke grestore} if stretch 0 callout ashow pop} def /pincallouts{0 vpos translate {workstring ( ) search true eq {/callout exch def pop /workstring exch def callout stretchprint 1 0 translate}{dup /callout exch def stretchprint exit } ifelse}loop} def % actual dipdraw process starts here: % ........ the outline: gsave 1 setlinecap 1 setlinejoin currentpoint translate newpath -1 howhigh 2 div 0.7 -90 90 arc 0 stub rlineto howlong 0 rlineto 0 howhigh neg rlineto howlong neg 0 rlineto closepath gsave grayshade setgray fill grestore grayshade dup 1 ne {0.33}{0} ifelse setgray 0.36 setlinewidth stroke newpath -.55 .45 0.15 0 360 arc fill black % ........ pin circles and numbers: /Helvetica-Bold findfont [0.4 0 0 0.55 0 0] makefont setfont gsave /pin# 1 def /dir 1 def /cpos 0 def pinproc grestore gsave /pin# numpins def /dir -1 def /cpos howhigh def pinproc grestore % pin callouts: /Helvetica findfont [0.35 0 0 0.6 0 0] makefont setfont /stretch 0.033 def gsave /workstring hipins def /vpos 0.6 def pincallouts grestore gsave /workstring lopins def /vpos howhigh 1.05 sub def pincallouts grestore % device number: grayshade 1 ne {0.33}{0} ifelse setgray /Helvetica-Bold findfont [1.4 0 0 1 0 0] makefont setfont /stretch 0.05 def gsave numpins 2 div 1 sub 2 div howhigh 2 div 0.33 sub translate chipname dup /callout exch def stretchprint grestore black % end cleanup: grestore grestore cleartomark dipsnap restore} def end % get out of electronics? % titleblock, headers and footers /titleblock {save /blurbsnap exch def /colcheck {} def /cstretch 0.2 def sstretch 1 def cml cmt bh1 sub 15 add translate /blurbboxwide 180 def /blurbboxhigh 80 def 1 setlinecap bestgray 3 23 mt hdw 15 sub blurbboxwide sub 3 sub 23 lineto hdw 3 sub 23 moveto -10 0 rlineto [6 0.33 4.5 .85] superstroke hdw blurbboxwide sub 15 sub 0 blurbboxwide blurbboxhigh 5 roundbox gsave grayshade setgray fill grestore % temp expt [4 0.33 2.5 .85] superstroke 0.85 setgray 4.5 setlinewidth -5 23 mt 3 r blurbboxwide 1 add 23 mt 3 r stroke grestore 0.33 setgray /font0 /Palatino-Bold 30 gonzofont /font1 /Palatino-Bold 10 gonzofont /font2 /Palatino-Bold 12 gonzofont font2 4 62 7 add author cl 0.33 setgray font0 3 34 4 add titlename cl font2 4 7 titledate cl 0.20 setgray /yinc 12 def hdw font1 105 sub 60 dokeystone titleblurb cck blurbsnap restore} def /hrule1 {gsave newpath setlinewidth 1 index 4 2 roll moveto lineto stroke grestore} def /leftheader {save /blurbsnap exch def /colcheck {} def cml cmt 16 add translate 0.25 setgray gsave mastergray setgray 0 8 mt 16 setlinewidth hdw r grestore % color fill? 0 0 hdw 1.2 hrule1 0 16 hdw 0.5 hrule1 /cstretch 0.2 def /sstretch 1 def /font2 /Palatino-Bold 11 gonzofont 8 4.5 leftheading cl blurbsnap restore} def /rightheader {save /blurbsnap exch def /colcheck {} def cml cmt 16 add translate 0.25 setgray gsave mastergray setgray 0 8 mt 16 setlinewidth hdw r grestore % color fill? 0 0 hdw 1.2 hrule1 0 16 hdw 0.5 hrule1 /cstretch 0.2 def /sstretch 1 def /font2 /Palatino-Bold 11 gonzofont hdw 8 sub 4.5 rightheading cr blurbsnap restore} def /hrule1 {gsave newpath setlinewidth 1 index 4 2 roll moveto lineto stroke grestore} def /leftfooter { save /blurbsnap exch def /colcheck {} def 0.25 setgray cml cmb 13 sub translate /txtwide 1000 store /font3 /Helvetica 4.5 gonzofont font3 hdw -6 (Copyright c 2001 by Don Lancaster and Synergetics (928) 428-4073 www.tinaja.com \ All commercial rights and all electronic media rights fully reserved. \ Reposting is expressly forbidden.) cr 0 0 hdw 0.8 hrule1 gsave 25 0 translate -18 -7 36 14 2 roundbox gsave mastergray setgray fill grestore 0.5 setlinewidth stroke /font2 /Palatino-Bold 11 gonzofont /cstretch 0.4 def 16 2 add 3.5 columnum ( ) cvs (.) mergestr colpagenum ( ) cvs mergestr cc blurbsnap restore /colpagenum colpagenum 1 add def } def % adjusted for 100 - was -16 -7 32 14 /rightfooter {save /blurbsnap exch def /colcheck {} def cml cmb 13 sub translate /txtwide 1000 store /font3 /Helvetica 4.5 gonzofont font3 0.25 setgray 0 -6 (Copyright c 2001 by Don Lancaster and Synergetics (928) 428-4073 www.tinaja.com \ All commercial rights and all electronic media rights fully reserved. \ Reposting is expressly forbidden.) cl 0 0 hdw 0.8 hrule1 gsave hdw 25 sub 0 translate -18 -7 36 14 2 roundbox gsave mastergray setgray fill grestore 0.5 setlinewidth stroke /cstretch 0.4 def /font2 /Palatino-Bold 11 gonzofont 16 2 add 3.5 columnum ( ) cvs (.) mergestr colpagenum ( ) cvs mergestr cc blurbsnap restore /colpagenum colpagenum 1 add def} def /hackhelp { % nt: hack.help % .. /sstretch 0 def /cstretch 0.1 def /font0 /Helvetica-Bold [8.5 0 0 8 0 0] gonzofont /font1 /Helvetica [8.5 0 0 8 0 0] gonzofont /font2 /Helvetica-Bold [8.5 0 0 8 0 0 ] gonzofont /font7 /Helvetica-Oblique [8.5 0 0 8 0 0] gonzofont /yinc 9.5 def /font2 {font1} def 0 grayshade 1 ne {pop 0.25} if setgray bc bt 15 sub (|0NEED HELP?) cc bl 14 add bt 30 sub (|1Phone or email all your US |2Tech Musings|1 questions to: |h Don Lancaster |2Synergetics|1 Box 809-EN Thatcher, AZ, 85552 (928) 428-4073 |h US email:|j |7|/surl don@tinaja.com|1|/maildon Web page:|j|j |7|/surl www.tinaja.com|1|/tinaja ) cl } def /ad1 {cm3 cmb 1colwide f5h false true /ad1name /ad1copy stdmusefig} def % link /ad1name ( ) def /h1h yinc 14 mul def % height of optional help box end % muse3 template %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% /showreaderservicenumber false def /showadgrays true def /ad1copy { save /adsave exch store 0 8 translate % adjusts position on page was -127 % IMPORTANT: Comment or remove the next line to get the ad up to EN page size! % Do this **ONLY** if you are extracting the ad for EN layout! % 1.03 1.09 scale green staytint xpos 23 sub ypos 283 sub 22 add (ad processing at ) == 2 copy == == pop pop 0 0 % temp translate % this one? 0.95 0.915 scale %%%% This code puts in the reader service number %%%% /readerservicenumber 146 def /squashad true def squashad {1 0.80 scale} if /height 693 114 add 60 add def % stretched twice /width1 165 def /sidethk 4 def /botheight 54 def /topheight 33 def /outrad 10 def /inrad 5 def /pm 0 def /pmnorm 0 def %%%%%%%%%%%%%% KEYSTONE STUFF %%%%%%%%%%%%%%%%%%%%%%% % this is a repeat of the GONZO13B callout width proc ... gonzo begin /endtheline {/curwide txtwide roomleft sub def justx cvx exec oktoprint {printline} if} bind def /cw {save /snapc1 exch def /oktoadvance false def /oktoprint false def /linestring linestring2 def /justx (justL) def 3 1 roll /ypos exch def /xpos exch def stringgonzo curwide snapc1 restore} def end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This is a subtle correction to the gonzo fill justify that makes % txtwide slightly more precise ... gonzo begin /reallyjustF {swallowandhang roomleft cstretch add numchars 1 sub numspaces spacecharratio mul add dup 0 eq {pop 0.001} if div dup cstretch add /cfix exch def spacecharratio mul sstretch add /sfix exch def /xfix 0 def /yfix 0 def} bind def % unconditional justF end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % KEYSTONE STUFF STARTS HERE gonzo begin % This is the core keystone code routine. It works by taking an average % of the first two and last two string lengths to determine the keystone % slope, increment, and starting width. It then checks the length of % each line and extends the starting width as needed so everything fits. /keyproc {/kadj exch def /msg2 exch def /yy1 exch def /xx1 exch def mark {msg2 (\n) search {exch pop exch /msg2 exch def dup length 0 le {pop} if}{dup length 0 le {pop} if exit} ifelse} loop ] /karray exch def 0 0 karray 0 get cw 0 0 karray 1 get cw add 2 div dup 0 0 karray dup length 1 sub get cw 0 0 karray dup length 2 sub get cw add 2 div sub neg karray length 1 sub div dup /kinc exch def 2 div sub /kstart exch def /txtwide 10000 def 0 0 1 karray length 1 sub {/kpn exch def 0 0 karray kpn get cw kstart kinc kpn mul add sub 2 copy lt {exch} if pop} for kstart add 1.01 mul dup /kstart exch def /txtwide exch def /justifylastline true def 0 1 karray length 1 sub { /posn exch def yy1 xx1 kstart kadj exch posn karray exch get cf /txtwide txtwide kinc add def /xx1 xx1 kinc kadj def /yy1 yy1 yinc sub def} for} def % these are the three keystone routines. Use xpos ypos true (msg strings) % cck, etc. true for keystone; false for ordinary justify. /cck {save /keysnap exch def exch {{2 div sub} keyproc} {cc} ifelse keysnap restore} def % callout centered keystone /clk {save /keysnap exch def exch {{pop} keyproc} {cl} ifelse keysnap restore} def % callout left keystone /crk {save /keysnap exch def exch {{sub} keyproc} {cr} ifelse keysnap restore} def % callout right keystone end % close gonzo dictionary %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % outside box 0 0 width1 height 5 roundbox showadgrays {0.3}{0} ifelse setgray % for brown border fill % inside box sidethk botheight width1 sidethk 2 mul sub height topheight sub botheight sub inrad roundbox showadgrays {grayshade setgray}{white} ifelse fill black % shade for web /cstretch 0.7 def /sstretch 1.2 def /font1 /Revue 10 gonzofont /font3 /Revue 9 gonzofont /font4 /Revue [9 0 0 9.05 0 1] gonzofont /font9 /Helvetica-Bold 6.5 gonzofont /font2 /Revue 14 gonzofont font1 % adjust center /bc bc sidethk 2 div add def % top lettering white bc bt 22 add (|1new from) cc bc bt 6 add (|2DON LANCASTER) cc bc -17 (|2SYNERGETICS) cc /yinc 10 def bc -28 (|3B|1ox |3809-EN|1 |1Thatcher, |3AZ 85552 |4(|3520|4)|3 428-4073|1) cc /cstretch 0.1 def /sstretch 0.1 def /font5 /Helvetica-Narrow 8 gonzofont /font6 /Helvetica-Narrow-Bold 10 gonzofont /font7 /Helvetica 6 gonzofont /font8 /Helvetica-Narrow-Bold 8 gonzofont /font: /Helvetica-Bold [5 0 0 4.95 0 6] gonzofont % uneven for distillery /font- /Helvetica-Narrow-Oblique 8 gonzofont black 3 3 (|7FREE US VOICE HELPLINE) cl br 3 sub 3 (|7VISA|j/|jMC) cr /xpos 4 def /txtwide br 8 sub def /yinc 8.5 def /ypos bt 15.5 sub def /amacro {/ypos ypos 2 add def} def /cmacro {/ypos ypos 1 add def} def /kern 0.5 def /bw width1 sidethk 2 mul sub def % obtuse code avoids the arcto bug /bmacro { gsave showadgrays {0.3}{0} ifelse setgray % for brown border -0.45 ypos translate 0 0 mt 5 [-0.5 30 -0.5 3 bw 1 add 3 bw 1 add 30 ] roundpath 0 -31 rlineto bw 1 add neg 0 rlineto closepath fill newpath 0 0 mt 5 [-0.5 -30 -0.5 -3 bw 1 add -3 bw 1 add -30 ] roundpath 0 31 rlineto bw 1 add neg 0 rlineto closepath fill grestore } def /Umacro {ypos} def xpos ypos (|/tinton1 |C|6A|kCTIVE|j|j FILTER|j|j COOKBOOK |h|a |F|5The sixteenth|k (!|j)|k printing of Don's bible on analog op-amp lowpass, bandpass, and highpass active filters. De-mystified instant designs. |8 $28.50|1 |b |a |h |/tinton1 |C|6RESEARCH|j|j INFOPACKS |h|F|a |5Don's instant cash-and-carry flat rate consulting service. Ask any reasonable technical \ question for a detailed analysis and complete report. See |/surl www.tinaja.com|j/|jinfo01|/info01g \ for specifics. \ |8$79.00|5 |b |a |h |C|/tinton1 |6CMOS|j|j AND|j|j TTL|j|j COOKBOOKS |h|a |F|5Millions of copies in print worldwide. |8THE|5 two books for digital integrated circuit fundamentals. About as hands-on as you can get. |8$28.50 |5each.|1 |b |a |h |/tinton1 |C|6INCREDIBLE|j|j SECRET |h|c |/tinton1 MONEY|j|j MACHINE|j|j II |5|h|F|a Updated 2nd edition of Don's classic on setting up your own technical or craft venture. |8$18.50|1 |b |a |h |/tinton1 |C|6LANCASTER|j|j CLASSICS|j|j LIBRARY |5|h|a|F Don's best early stuff at a bargain price. Includes the CMOS Cookbook, The TTL Cookbook, Active Filter Cookbook, PostScript video, Case Against Patents, Incredible Secret Money Machine II, and \ Hardware \ Hacker II reprints. |8$119.50|1 |b |a |h |/tinton1 |C|6L|kOTS|j|j OF|j|j OTHER|j|j GOODIES |5|h|a) stringgonzo %%%%%%%%%%%%%%%%%%%%%%%% % (A) WIDTH CALCULATIONS 2.20.91 % A new curwide variable lets you calculate the gonzo string % width independent of printing it. Handy for menu justify, etc.. % Use has to be bracketed with /oktoprint false def /oktoadvance % false def --- stuff --- and then true. Works with any justify mode. % make this change to main code so lengths can be extracted. Note that % roomleft gets flushed at line end. gonzo begin /endtheline {/curwide txtwide roomleft sub def justx cvx exec oktoprint {printline} if} bind def % calloutwidth calculates only the width of the string, returning it % to the top of the stack. For consistency with other callouts, use % 0 0 (string) cw. This INCLUDES all stretching and font changes! /cw {save /snapc1 exch def /oktoadvance false def /oktoprint false def /linestring linestring2 def /justx (justL) def 3 1 roll /ypos exch def /xpos exch def stringgonzo curwide snapc1 restore} def end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % (B) MENU JUSTIFY 2.20.91 % The cm routine takes a leading string and a trailing string seperated % by a delimiter and places a row of CONSTANT WIDTH, PRECISELY SPACED, % VERTICALLY ALIGNED and WHOLE dots (or whatever) between the two. It % is based on putting down the dots first and ERASING only whole dots % that are not wanted. /menudots (. ) def /menufont {font5} def /mdoteht 3 def /menudelim ( ) def /cropleadingspaces true def % drawmdots draws a line of menu dots, using plain old show /drawmdots { gsave menufont xxm yym moveto txtwide menudots stringwidth pop dup /mdot1 exch def div floor cvi {menudots show} repeat grestore } def % spchomp takes a string and conditionally removes all leading spaces, % returning the truncated string /spchomp {cropleadingspaces {dup 0 exch {32 eq {1 add}{exit} ifelse } forall} if exch dup length 2 index sub 3 -1 roll exch getinterval} def % mlineproc takes the mline string and processes it into a leading string, % the dot row, and a trailing string. Unused dots are erased with logic % to insure whole dots only. Null strings are ignored. /mlineproc {mline length 0 gt {drawmdots mline menudelim search {/lmstr exch def pop spchomp /rmstr exch def } if gsave showadgrays {grayshade}{1}ifelse setgray % for web color xxm yym moveto mdoteht setlinewidth 0 0 lmstr cw mdot1 div ceiling mdot1 mul 0 rlineto stroke xxm txtwide mdot1 div floor mdot1 mul add yym moveto 0 0 rmstr cw mdot1 div ceiling mdot1 mul neg 0 rlineto stroke grestore xxm yym lmstr cl xxm txtwide add yym rmstr cr /yym yym yinc sub def} if} def % mj menujustify accepts tabbed string pairs and converts them into % dotted menu listings.. /cm {gsave /msg exch def /yym exch def /xxm exch def { msg (\n) search {/mline exch def pop /msg exch def mlineproc} {/mline exch def mlineproc exit } ifelse} loop grestore} def %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % /txtwide 170 def % textwidth /txtwide txtwide 8 sub def /yinc 8 def xpos 4 add ypos 0 sub (Tech Musings V or VI $24.50 Ask the Guru I or II or III $24.50 Hardware Hacker II, III or IV $24.50 Micro Cookbook I $19.50 PostScript Beginner Stuff $29.50 PostScript Show and Tell $29.50 PostScript Video & secrets $29.50 PostScript Reference II $34.50 PostScript Tutorial/Cookbook $22.50 PostScript by Example $32.50 Understanding PS Programming $29.50 PostScript: A Visual Approach $22.50 PostScript Program Design $24.50 Thinking in PostScript $22.50 LaserWriter Reference $19.50 Type 1 Font Format $16.50 Acrobat Reference $24.50 Whole works (all PostScript) $380.00 Technical Insider Secrets |9|kFREE|j|j|j|5 ) cm /txtwide txtwide 8 add def xpos ypos (|F |h|c|c|c |b |a |h |/tinton1 |C|6BOOK-ON-DEMAND|j|j PUB|j|j KIT |h|F|a |5Ongoing details on Book-on-demand publishing, a new method \ of producing books only when and as ordered. Reprints, \ sources, samples. |8$39.50|5 |b |a |h |/tinton1 |C|6THE|j|j C|kASE|j|j A|kGAINST|j|j P|kA|kTENTS |h|F|a |5For most individuals, patents are virtually certain to result in a net loss of sanity, energy, time, and money. \ This reprint set shows you Don's tested and proven real-world alternatives. |828.50|5 |b |a |h |/tinton1 |C|6BLATANT|j|j OPPORTUNIST|j|j I |h|F|a |5The reprints from all Don's Midnight Engineering columns. Includes a broad range of real world, proven coverage on small scale technical startup ventures. Stuff you can use right now. |8$24.50|5 |b |a |h |/tinton1 |C|6RESOURCE|j|j BIN|j|j I |h|F|a |5A complete collection of all Don's Nuts & Volts columns to date, including a new index and his master names and numbers list. |8$24.50|5 |b |a |h |/tinton1 |C|6FREE|j|j SAMPLES |h|F|a |5Check Don's Guru's Lair at |-|/surl http://www.tinaja.com|5|/tinaja for interactive \ catalogs and online samples \ of Don's unique products. Searchable reprints and reference resouces, too. Tech help, hot links to cool sites, consultants. |jemail:|j|- |/surl don@tinaja.com|1|/maildon ) stringgonzo showreaderservicenumber { /sstretch 0.25 def /cstretch 0.20 def /font1 /Helvetica-Bold [6 0 0 8 0 0 ]gonzofont bc 0 sub botheight neg 10 sub 2 sub % (Write in ) readerservicenumber ( ) cvs mergestr % ( on Reader Service Card.) mergestr cc (FREE catalog: http://www.tinaja.com (do NOT provide RS number!!) ) cc } if adsave restore } def %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%% ADDITIONAL ELECTRONICS PATCHES %%%% electronics begin /npn {gsave newpath exch 0.2 sub exch translate -.1 0 1.2 0 360 arc gsave grayshade dup 1 ne {0.15 sub} if setgray fill grestore line2 stroke -0.2 0 translate line3 -.3 -.7 moveto 1.4 u line1 -.3 0 mt 1.3 l -.2 .4 mt 0.6 0.4 rlineto 1.2 u newpath -.2 -0.4 mt 0.6 -0.4 rlineto 1.2 d newpath 0.4 -0.75 mt -.2 .3 rlineto -.2 -.3 rlineto closepath fill grestore} def /npnl {gsave translate -1 1 scale 0 0 npn grestore} def /pnp {gsave newpath exch 0.2 sub exch translate -.1 0 1.2 0 360 arc gsave grayshade dup 1 ne {0.15 sub} if setgray fill grestore line2 stroke -0.2 0 translate line3 -.3 -.7 moveto 1.4 u line1 -.3 0 mt 1.3 l -.2 .4 mt 0.6 0.4 rlineto 1.2 u newpath -.2 -0.4 mt 0.6 -0.4 rlineto 1.2 d newpath -.2 .4 mt .3 .4 rlineto .1 -.3 rlineto closepath fill grestore} def /pnpl {gsave translate -1 1 scale 0 0 pnp grestore} def /circ3 {gsave currentpoint newpath 0.8 0 360 arc gsave grayshade dup 1 ne {0.15 sub} if pop 1 % try white setgray fill grestore black line1 stroke grestore} def % end % electronics % %%%ZZZZ%%%%%%%%%%%%%% URL PATCHES %%%%%%%%%%%%%%%%%%%%%%%%%%%% % patch definitions... % dictionary method << %% these are urls only... /ebay {(http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?ViewListedItems&userid=abeja) eurl} def /delvies (http://www.delviesplastics.com) /iasco (http://www.iasco-tesco.com) /abbeon (http://www.abbeon1.com) /usplastics (http://www.usplastic.com) /small (http://www.smallparts.com) /gibbs (http://www.compusmart.ab.ca/plambeck/che/p102/p02051.htm) /exergy (http://www.ecen.com/eee9/ecoterme.htm) /stuart (http://www.stuartenergy.com) /radioshack (http://www.radioshack.com) /manchester (http://www.its.bldrdoc.gov/fs-1037/dir-011/_1616.htm) /reedsol (http://www.4i2i.com/reed_solomon_codes.htm) /radioworld (http://www.rwonline.com) /precision (http://www.precisionnav.com) /active1 (http://www.amazon.com/obidos/ISBN%3D075062986X/donlancastersgurA/002-2002949-8012011) /h2news (news://sci.energy.hydrogen) /barro (http://www.tinaja.com/barro.jpg) /barrox (http://www.tinaja.com/barrox.jpg) %|1Klaus Finkenzeller, |/surl |3RFID Handbook|1|/book1 %|1R. Geers, |/surl |3Electronic tracking of animals|1|/book2 %|1Joanne Lerose, |3|/surl Guide to Understanding and using RFID|1|/book3 %|1Dominick Paret, |3|/surl RFID and Contactless Smart Cards|1|/book4 /book1 (http://www.amazon.com/exec/obidos/ISBN=0121581640/donlancastersgurA/) /book2 (http://www.amazon.com/exec/obidos/ISBN=038704986X/donlancastersgurA/) /book3 (http://www.amazon.com/exec/obidos/ISBN=902771908X/donlancastersgurA/) /book4 (http://www.amazon.com/exec/obidos/ISBN=0080265081/donlancastersgurA/) /book5 (http://www.amazon.com/exec/obidos/ISBN=0471414166/donlancastersgurA/) /book6 (http://www.amazon.com/exec/obidos/ISBN=0929870581/donlancastersgurA/) /book7 (http://www.amazon.com/exec/obidos/ISBN=0521571936/donlancastersgurA/) /book8 (http://www.amazon.com/exec/obidos/ISBN=0412798603/donlancastersgurA/) /book9 (http://www.amazon.com/exec/obidos/ISBN=0521473330/donlancastersgurA/) /book10 (http://www.amazon.com/exec/obidos/ISBN=3540655689/donlancastersgurA/) /book11 (http://www.amazon.com/exec/obidos/ISBN=1580530575/donlancastersgurA/) /book12 (http://www.amazon.com/exec/obidos/ISBN=0471155667/donlancastersgurA/) /book13 (http://www.amazon.com/exec/obidos/ISBN=0134897331/donlancastersgurA/) /pdfbut (http://www.searchpdf.adobe.com) /hotbot (http://www.hotbot.com) /google (http://www.google.com) /intro (http://www.ednmag.com/ednmag/reg/2000/08172000/17hiw.htm) /bogus (http://people.qualcomm.com/karn/papers/vmsk/index.html) /vmsk (http://www.vmsk.org) /castleen (http://www.castleen.com) /gydebook (http://hazmat.dot.gov/gydebook.htm) /publist (http://www.publish.com) /oxbridge (http://www.mediafinder.com) /science (http://www.sciencemag.org) /aim (http://www.aimglobal.org) /brady (http://www.bradyrfid.com) /checkpoint (http://www.checkpointsystems.com) /destron (http://www.destron-fearing.com) /gemplus (www.gemplus.com) /holtek (http://www.holmate.com) /holmate (http://www.holmate.com) /idmicro (http://www.idmicro.com) /indala (http://www.motorola.com/smartcard) /intersoft (http://www.intersoft-us.com) /intermec (http://home.intermec.com) /korteks (http://www.korteks.com) /micron (http://www.micron.com) /minec (http://www.minec.com) /rfidinc (http://www.rfidinc.com) /tagmaster (http://www.tagmaster.com) /telsor (http://www.telsor.com) /rfidnews (http://rfidnews.com) /trovan (http://www.trovan.com) /ytex (http://www.y-tex.com) /ng1 (news:///sci.techniques.testing.nondestructive) /ng01 (news:///sci.sci.electronics.design) /ng02 (news:///3alt.ham-radio.vhf-uhf) /adobe (http://www.adobe.com) /edn (http://www.ednmag.com) /nettest (http://www.gnnettest.com) /kindt (http://www.kindt-collins.com) /super (http://www.supercircuits.com) /supertex (http://www.supertex.com) /ti (http://www.ti.com) /tfcb (http://www.tfcbooks.com) /holtek (http://www.holtek.com) /rprox (http://www.rwprox.com/WWW.html) /rfidnews (http://www.rfidnews.com) /touch (http://www.repair.org) /bytes (http://www.adobe.com/support/downloads/5c16.htm) /amidon (http://www.bytemark.com/amidon) /ieee (http://www.ieee.org) /minicircuits (http://www.minicircuits.com) /mws (http://www.mwswire.com) /trlx (http://.prime net.com/~ctrask/trlxfmr.html) /adobepi (http://www.adobe.com/adobe/svg) /w3org (http://www.w3.org) /drhtml (http://www2.imagiware.com/RxHTML) /data (http://www.chrc.uiuc.edu/~dburke/databookshelf.html) /arnold (http://www.arnoldeng.com) /fairrite (http://www.fair-rite.com) /infineon (http://www.infineon.com) /kawat (http://www.elitemagnetics.com) /mmg (http://www.mmgna.com) /tdk (http://www.component.tdk.com) /chips (http://www.chipcenter.com) /allied (http://wwwwww.allied.avnet.com) /batmag (http://www.infowebcom.com/battery) /desnews (http://www.designnews.com) /digikey (http://www.digikey.com) /edn (http://www.ednmag.com) /eetimes (http://www.cmp.com) /ecn (http://www.cahners.com) /eldesign (http://www.penton.com) /elproducts (http://electronicproducts.com) /grainger (http://www.grainger.com) /machdesign (http://www.machinedesign.com) /mcmaster (http://www.mcmaster.com) /m&c(http://www.mac-med.com) /mouser (http://www.mouser.com) /newark (http://www.newark.com) /partsx (http://www.partsexpress.com) /pcim (http://www.pcim.com) /rfdesign (http://www.intertec.com) /sensors (http://www.sensormag.com) /adhesive (http://www.adhesivesmag.com) /scisurp (http://www.sciplus.com) /belljar (http://www.tiac.net/users/shansen/belljar) /burr (http://www.burr-brown.com) /candh (http://aaaim.com/CandH/index.htm) /carroll (http://www.carrolltouch.com) /ccell (http://www.circuitcellar.com) /ecg (http://www.ecgproducts.com) /fair (http://www.fairradio.com) /fuelcell (http://www.elsevier.com) /hittite (http://www.hittite.com) /interlink (http://www.interlinkelec.com) /jameco (http://www.jameco.com) /marlin (http://www.mpja.com) /luke (http://lukesys@nrc.com) /microchip (http://www.microchip.com) /nature (http://www.nature.com) /science (http://www.sciencemag.com) /nte (http://www.nteinc.com) /rochester (http://www.rocelec.com) /seiko (http://www.seiko-usa-ecd.com) /sunset (http://www.sunsetsilicon.com) /smallparts (http://www.smallparts.com) /stm (http://www.st.com) /think3 (http://www.think3.com) /expedite (http://www.expediters.com) /webconx (http://.webconx.com/fuelcell.htm) /ndt (http://www.ndt.org) >> {mark exch /eurl cvx ] cvx def} forall /uniscan {(http://www.uniscan.co.uk/pr02.htm) eurl} def /bath {(http://www.bath.ac.uk/~chsacf/solartron/electro/html/int.htm) eurl} def /intermarket {(http://www.intermarket.net/~don/dschlamp.html) eurl} def /tno {(http://www.tno.nl/instit/kribc/ca-den_helder/caeis.html) eurl} def /isea {(http://www.rwth-aachen.de/isea/Ww/texte/abstract/ka_vrla.html) eurl} def /minerva {(http://minerva.acc.virginia.edu/~cese/taylor/eisshort.html) eurl} def /questlink {(http://www.questlink.com) eurl} def /mailnasa {(mailto:corrosion@ksc.nasa.gov) eurl} def /homepower {(http://www.homepower.com) eurl} def /transtronics {(http://www.transtronics.com) eurl} def /maildon {(mailto:don@tinaja.com) eurl } def /tinaja {(http://www.tinaja.com) eurl } def /consult {(http://www.tinaja.com/consul01.html) eurl} def /netscape {(http://www.netscape.com) eurl } def /adobe {(http://www.adobe.com) eurl } def /aerp {(http://www.aa.washington.edu/AERP/CRYOCAR/CryoCar.htm) eurl } def /jdisk {(http://www2.hawaii.edu/suremath/jdisk1.html) eurl } def /billb {(http://www.eskimo.com/~billb/freenrg/n-mach.html) eurl } def /cool {(http://www.mtsc.unt.edu/CooLN2Car.html) eurl} def /hack73 {(http://www.tinaja.com/glib/hack73.pdf) eurl} def /hacklib {(http://www.tinaja.com/hack01.html) eurl} def /magic {(http://www.tinaja.com/magsin01.html) eurl} def /fourier {(http://www.tinaja.com/psutils/fourier.ps) eurl} def /zeroharm {(http://www.tinaja.com/psutils/zeroharm.ps) eurl} def /sincat210 {(http://www.tinaja.com/sn210cat.ps) eurl} def % power method... /setglib {mark (http://www.tinaja.com/glib/) 2 index 20 string cvs mergestr (.pdf) mergestr /eurl cvx ] cvx def} def /sethtml {mark (http://www.tinaja.com/) 2 index 20 string cvs mergestr (.asp) mergestr /eurl cvx ] cvx def} def /setweb {mark (http://www.) 2 index 20 string cvs mergestr (.com) mergestr /eurl cvx ] cvx def} def /magicsin {/msinprop} def /parallax {/parallaxinc} def [ /when2pat /msinprop /magicsin /nuts08 /gramtram /muse112 /muse113 /hack64 /hack86 /ratholes /hack52 /postflut /emergop4 /resbn67 /stepsynt /resbn50 /resbn73 /elesimp /dontsick /muse117 /bannyear /muse104 /trimode /hack64 /emergop3 /syncat01 /muse90 /muse142 /muse147 /muse148 /muse138 /bannyear /bashpseu /hack82 /bustpat /resbn66 /bouncy ] {setglib} forall [ /magsn01 /patnt01 /ismm01 /ismm01 /libry01 /resbn01 /blat01 /advt01 /barg01 /amlink01 /muse01 /bod01 /scweb01 /tinaja01 /synlib01 /info01 /picup01 /webwb01 /golly01 /santa01 /synlib01 /acrob01 /consul01 /h2gas01 /post01 /eeweb01 /hack01 /weblib01 /pseudo01 /info01 /beewb01 ] {sethtml} forall [ /parallaxinc /lindsay /bh /amazon /hotbot /discoverypark /keelynet /homepower /epri /rmi /mgfx /newtek /maxim-ic /tinaja /digital.altavista ] {setweb} forall /papers {(http://cfarx1.harvard.edu/rx_lab) eurl} def /mmt {(http://maisel.as.arizona.edu:8080) eurl} def /nrao {(http://info.aoc.nrao.edu) eurl} def /eskimo {(http://www.eskimo.com/~billb) eurl} def /lindsay {(http://www.keynet.net/~lindsay) eurl } def /adams {(http://www.adams1.com/pub/russadam) eurl} def /aha {(http://www.ahasoft.com/complink.htm) eurl} def /wavelet {(http://www.waveloe.org/wavelet/links.html) eurl} def /drms {(http://www.drms.dla.mil) eurl} def /billb {(http://www.eskimo.com/~billb) eurl} def /info01g {(http://www.tinaja.com/info01.html) eurlg} def %%%%%% % This code locks pdfmark commands out of a PostScript printer. /pdfmark where {pop}{userdict /pdfmark /cleartomark load put} ifelse % /surl "start url" marks the beginning of a text sequence to be urled. % It also paints the text blue... /surl {mark /blue cvx 0.33 /setgray cvx % change text to blue /currentpoint cvx % remember box start /urly /exch cvx /store cvx /urlx /exch cvx /store cvx ] cvx % complete deferred command printlist exch 3 index exch put % stuff into gonzo printlist exch 1 add exch % increment gonzo list count } def % /eurl "end url" unmarks the end of a text sequence and sets up % the pdfmark needed to define the Acrobat web link. /eurl {mark % start deferred proc exch % position url string /beige cvx 0 /setgray cvx % turn blue marker off /makeurl cvx % defer call of url builder ] cvx % complete deferred proc printlist exch 3 index exch % stuff into gonzo printlist put exch 1 add exch % increment gonzo list count } def /eurlg {mark % special green for ad % start deferred proc exch % position url string /green cvx 0 /setgray cvx % turn blue marker off /makeurl cvx % defer call of url builder ] cvx % complete deferred proc printlist exch 3 index exch % stuff into gonzo printlist put exch 1 add exch % increment gonzo list count } def % /makeurl generates the pdfmark, receiving a {(urlstring) makeurl}. % Note that it is not called until formatted printlist time... /urlover 0.2 def % fraction of hot area over bounds /makeurl { /cururlname exch store % save the url string mark % start pdfmark currentfont /ScaleMatrix get 3 get /fsize exch store % guess height /Rect [ urlx fsize urlover mul sub % set box left x urly fsize urlover mul sub % set box left y currentpoint exch fsize urlover mul add exch fsize add ] /Border [ 0 0 0] % [0 0 0 ] = none; [0 0 2] = debug /Color [ .7 0 0 ] /Action <> /Subtype /Link /ANN % annotation type pdfmark % call pdf operators } def %%%%%%% END MUSE PATCHES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% muse3 starttemplate /sstretch -0 def % try even looser /kern 0.5 def /dropindent 40 def % adjust for width of drop cap /sstretch 0 def % looser still /font0 /Times-Bold [52 0 0 54.1 0 -32] gonzofont % normal /font0 /Times-Bold [60 0 0 54.1 0 -32] gonzofont % wider e /font: /Times-Roman [6.5 0 0 6.5 0.5 3.5 ] gonzofont % squared /font9 /Times-Roman [6 0 0 6.0 0.5 4] gonzofont % squared subscript %/font9 /Symbol 9 gonzofont % delta /kern 0.5 def % Command Summary: % |0 - small caps font |1 - normal text font |2 - italic text font % |3 - bold text font |4 - caps text font |6 - header font % |F - fill justify |L - left justify |z - zero indent % |p - normal indent |y - negative linefeed |8 - header font % |g - start gonzo |x - stop gonzo |a - start drop cap % |b - main body text |c - start sub header |d - end sub header % |o - complement char /sstretch 0 def % /font9 /Symbol [9 0 0 0 0 0] gonzofont % delta /kern 0.5 def /font; /Times-Roman [7 0 0 7.01 0 3] gonzofont % square root symbol and gonzo box autoposition linker /topstrlist {mark 3 1 roll {/roomleft exch roomleft exch sub def printlist exch 3 index exch put exch 1 add exch} /exec cvx ] cvx def} def /boxit{ gsave line1 currentpoint translate -1 -3 mt 10.5 pu 50.5 pr 10.5 pd closepath line1 stroke grestore} 0 topstrlist /sqrtsymbol {gsave currentpoint translate line1 3 3 moveto 2 -5 rlineto 4 12 rlineto 32 0 rlineto stroke grestore} 0 topstrlist % TEXT STARTS HERE /tabs [60] def /hhhxx {/ypos ypos 5 add store} def % wierd patch % tracking insets /integralinset {save /mat2snap exch store /cmb -9999 store % lock out column advance /ylimit -9999 store gsave xpos 10 add ypos translate /font6 /Times-Roman [8.5 0 0 8.5 0 4] gonzofont /font7 /Times-Italic [8 0 0 8 0 4] gonzofont /font8 /Times-Roman [6 0 0 6 0 6] gonzofont /font9 /Symbol [22 0 3 22 0 -7] gonzofont 38 0 (|9\362 |k|k|k|k|k|k|2e|j|j|6a|7x|j|82|2dx) cl grestore mat2snap restore % /ypos ypos yinc 7 mul sub def % make room } def %%%%%%% /font9 /Helvetica [7 0 0 7 1 4] gonzofont % superscript? /font: /Helvetica [7 0 0 7 0 -2] gonzofont % subscript? /setsymbolnow {/font= /Symbol 9 gonzofont} def startgonzo |a B |b ecause of conservation of energy, a room \ that has a match in it has exactly the same energy \ both before and after the match gets struck. So, why would \ most people value their unlit match higher than their slightly \ warmer room? The answer lies in\274|p|/setsymbolnow |c Understanding|j Exergy |d There's a thermodynamic property known as \ |/tinton1 |6exergy|1|/tintoff that might give you \ a measure of the |/tinton1 |6quality|1|/tintoff of energy. The bottom \ line is that some kilowatt hours of energy are worth \ a lot more than certain others. This |/surl |6Thermodynamic Economics|1|/exergy and other websites tell us that exergy \ has a precise definition. With liquid fuels, exergy \ is related to a property called \ the |/surl |6Gibbs Free Energy|1|/gibbs . But real-world economics can give you a somewhat looser definition of exergy. \ Just by asking "how much is this stuff worth?" Ferinstance, electricity is just about the highest exergy stuff \ there is, as you can so conveniently move it or efficiently convert it \ into any other form of energy. Electricity often has a \ retail exergy value near ten cents per kilowatt hour. Heat (especially at low temperature differentials) is much lower in exergy \ due to its gross inconconvenience and its inefficiency in conversion to other forms. \ As we saw way back in |/surl |6HACK64.PDF|1|/hack64 , there is \ a severe and an \ unavoidable |/tinton1 |6Carnot Efficiency|1|/tintoff limit to what you can do with heat. Because of this, the kilowatt hours in gasoline have a \ retail exergy value around three cents per kilowatt hour. (You can easily get this figure by dividing an average price per liter by the |49000|1 watt hours per liter \ you'll normally find in gasoline. Note there are |43.78|1 liters \ in a US gallon.) Thus, a kilowatt hour of gasoline is usually worth less than |/tinton1 |6one third|1|/tintoff of a \ kilowatt hour of on-grid electricity. Interestingly enough, you might (with great difficulty) raise or (easily) lower exergy using \ open systems. For instance, one system in which you'll pour \ one gallon of gasoline in the top and get four out the \ bottom is called "being an oil company". Or a system where \ you input one kilowatt hour of electrity and \ output two is called "being an electric utility". Uh, neither of these are "perpetual motion machines" because they \ can interact with other entities and can accept other energy inputs. In your final accounting, a lot of energy |2always|1 \ gets degraded in exergy in the process of upgrading a little. |c Exergy |jand|j Electrolysis |d Exergy has serious consequences for hydrogen energy electrolysis. The value of a stored kilowatt hour of hydrogen energy \ is not very well established today. Why? Well, first because of extremely limited use. But \ mostly because the storage \ and low density and infrastructure \ problems have yet to get solved. But we know for an absolute \ fact that it is nowhere as high as that three cents per kwh of gasoline. \ Since hydrogen has not yet in any way challenged gasoline. So, something around |40.8|1 cents per kilowatt hour would \ seem a ballpark estimate for your value of hydrogen energy today. \ Which means that use of electrolysis for any bulk hydrogen energy would end up \ converting (at a hard-to-achieve 50% true efficiency) |/tinton1 |6two|1|/tintoff kilowatt hours of electricity \ that are worth ten cents per kilowatt hour into |/tinton1 |6one|1|/tintoff kilowatt hour of \ hydrogen energy worth |40.8|1 cents\274 |h|4|L|/red |/staytint1 Electrolysis for bulk hydrogen energy is pretty much the same as converting ~two~ |4US|1 dollars into ~one~ Mexican Peso! |h|1|F|/beige |/black Now, there are lots of perfect legit uses for large scale electrolysis. \ Such as for cooling generators, making fat pretty but deadly, filling up \ research balloons, for precision low energy welding, refining petrochemicals, or generating lab gas. Nearly all of these \ successful uses do |4(A)|1 generate hydrogen |/tinton1 |6on demand|1|/tintoff for immediate use, and |4(B)|1 generate \ hydrogen whose immediate use value |/tinton1 |6greatly exceeds|1|/tintoff its stored energy. A leading supplier of commercial electrolizers is |/surl |6Stuart Energy|1|/stuart But use of electrolysis to produce hydrogen for bulk energy makes \ no economic or thermodynamic sense at all. At least not for me. Which is why virtually all \ bulk hydrogen for energy apps is generated by the reformation of \ methane. But the methane really has to want to reform. Instead\274 |h|L|/red |/staytint1 Any terrestrial system of making hydrogen for bulk energy apps ~MUST~ very studiously avoid ~EVER~ using grid electricity! |h|F|/beige |/black Again, because of that staggering loss of exergy if you \ go "downhill" from the electrical kilowatt hours to hydrogen kilowatt hours. Any electrolysis for bulk energy or transportation apps is a really, really dumb thing to do. More on exergy in our |/surl |6Hydrogen|/h2gas01 |/surl Energy|1|/h2gas01 library page. Also be sure to visit |/surl |6sci.energy.hydrogen|1|/h2news . |c RS |jWireless|j Weather Data|j Format |d A recent |/surl |6InfoPack|1|/info01 customer asked me to find the data formats for those |/surl |6Radio Shack|1|/radioshack weather transmitters. Such as their model |463-1026|1 used for temperature only or |463-1030|1 for both temperature and humidity. Hacking this format opens up all sorts of useful possibilities. Such as custom \ computer access to \ your data for recording. Or substituting other external sensors. Such as my |/surl |6Isopod|1|/emergop3 home energy current sensor. Or for anything else you want to remotely sense, record, or display. Scoping out the nonobvious data format is tricky, since it flies on by in brief bursts once every |440|1 seconds. The first |4DUH!|1 you'll find out is that the unit also transmits three seconds after any forced reset. Using the "latent persistence" of a newer analog oscilloscope (such as a Tek |42246|1) and a |2totally|1 dark room can give you a few frustrating early hints of just what this code is up to. Although any digital oscilloscope could be used to actually capture the data, I instead went way on back and made a data recorder out of an |2Apple IIe|1 by going into the game paddle port. Sampling the digital input to their transmitter module using a |4470|1 Ohm resistor. Which eased arranging and interpreting the data. The preliminary viewing capture algorithm I used was\274 |h|L|4|/staytint1 |4 16x sample {approximately |416|4 kHz} the data for |4400|4 milliseconds after you locate the first negative to positive transition. |h Write an |4ASCII|4 "X" for each high or a "." for each low state. Carefully adjust the exact timing to reduce "sample creep". View the memory. |h|F|1|/black My |46502|1 sourcecode is available on request. Don't scroll the display! Their overall scheme is shown in figure one. A burst of coded pulses is transmitted at a frequency of |4433.92|1 MHz, under |4FCC|1 part |415.231|1 regs. We did look at these way on back in my |/surl |6HACK82|1|/hack82 . The \ modulation scheme is called |4PAM|1, as in |/tinton1 |6Pulse Amplitude |/tinton1 Modulation|1|/tintoff . \ Which is nothing but a fancy term for plain old |4A1|1 or "gated |4CW"|1 modulation. There are two |4196|1 bit bursts of data sent out, separated by a brief quiet time. Giving a total transmit time of roughly |4400|1 milliseconds. There is no "baud rate". Instead, a \ self-clocking code running at a base rate just over one kHz gets used. That has a bit interval near |4915|1 |=m|1sec. A logic zero has a transition only at the |/tinton1 |6start|1|/tintoff of your bit interval. A logic one has a transition both at the |/tinton1 |6beginning|1|/tintoff and the |/tinton1 |6middle|1|/tintoff of every bit interval. Note that there could be |/tinton1 |6two|1|/tintoff possible logic one waveforms or |/tinton1 |6two|1|/tintoff possible logic zero shapes. This is one example of what is known as a |/surl |6Differential Manchester|1|/manchester code. As figure one shows us, each burst lasts |4192|1 bit intervals and \ is grouped into a |432|1 bit header, |4128|1 bits of data, and their final |432|1 bit error correcting checksum. Now for the tricky part: Half of the data bits are real and half are forced zeros! So, |/tinton1 |6each valid \ data |/tinton1 bit gets separated from its neighbor |/tinton1 by a digital logic zero!|1|/tintoff This provides \ for sensing collisions caused by any other remote units. Figure two shows us how the "real" data gets framed by all the collision zeros. Figure three \ shows you the meaning of the "real" data |2after|1 it has been stripped of framing \ zeros. Their data could be grouped into sixteen four bit words. The first four words are a |416|1 bit device i.d. that the receiving display can use to verify which sensor \ just transmitted. Next is their "battery low" detector word, and is all zeros when \ the battery is still useful. The next word identifies the channel number, and is |41100|1 for channel |4"1"|1, |40110|1 for |4"2"|1 and |40011|1 for channel |4"3"|1. Six words of |424|1 bits follow with the temperature data. This is a 24-bit binary number \ that has been scaled proportionally to temperature. Only the "raw" sensor data is transmitted; \ there is no conversion to Farenheit or Centigrade. Nor any formatting into \ |4BCD|1 (binary coded decimal) digits. This straight binary code increases as \ temperature goes up. All data words are the usual |4MSB|1 first. The next four words are |416|1 bits of humidity data, once again provided in a straight binary format. \ Note that a lot of excess resolution is available here, because only fourteen bits \ or so are needed for the temp display and a mere seven bits for humidity. Part of \ the extra resolution might be used for linearity correction. The key point is that \ the available resolution seems well beyond what is really needed. Opening up all sorts of new hacking \ opportunities. The |4CRC|1 checksum consists of |432|1 bits that are added to the original |4128|1 \ These allow correction of most reception errors. Which is \ probably using a |/surl |6Reed-Solomon|1|/reedsol code. The transmitted (and as received) data is easily intercepted beyond the small superregenative receiver inside your main unit. Here is one possible "figure eight" detection algorithm to \ get you from what is received to the actual (but still zero bracketed) ones and zeros\274 |h|4|L|/staytint1 For |4192|4 iterations of this "figure eight" code\274 |h Seek a pos to neg transition. Delay |40.617|4 milliseconds. Verify state. If state is positive, write a 0 to the display device and seek next pos to neg transition. If state is negative, write a 1 to the display device and seek next neg to pos transition. |h Seek a neg to pos transition. Delay |40.617|4 milliseconds. Verify state. If state is negative, write a 0 to the display device and seek next neg to pos transition. If state is positive, write a 1 to the display device and seek next pos to neg transition. |h|1|F|/black To prevent lost data or dropouts, |6|/tinton1 do not let the display device scroll!|1|/tintoff Or do anything else that takes \ more than a few tens of microseconds of housekeeping. Highly detailed service manuals including full schematics are offered by |/surl |6Radio \ Shack|1|/radioshack on these, but \ certain stores seem to have trouble admitting they exist. Let me know what you can come up with in the way of new or unusual apps for these \ unique remote data transmitters. |c Chebycheff Polynomonals |d Don't panic. These do end up a lot simpler than they may seem at \ first. |/tinton1 |6Chebycheff Polynomials|1|/tintoff are just \ a group of unique math functions that offer a few rather useful properties. \ They are especially handy at building sharp cutoff analog filtering, at doing least \ squares data fitting, or creating ultra efficient |/surl |6Magic Sinewaves|1|/magsn01 . A curious Cheby property is that if it is good for \ something, it is often \ the |/tinton1 |6best possible|1|/tintoff solution you can have. Ferinstance, you cannot build a \ filter with a steeper cutoff slope than Cheby if your filter has got passband ripple and \ all stopband zeros are at infinity. And it is extremely likely that you can not \ synthesize a digital sinewave that gives you more low harmonics zeroed out for any given \ number of switching events than by using Chebycheff. Driving the Cheby to the Leby. A |/tinton1 |6polynominal|1|/tintoff is just some power expression. Such as\274 |h|L|/staytint1 |6T|1|j(5) = 16|2x|95|1 - 20|2x|1|93|1 + 5|2x|1 |h|F|/black This particular example is said to be of order five, since the fifth power is the \ highest involved. \ Not all lower powers have to be nonzero, as in the "missing" second and fourth here. Polynominals can often be found that have useful properties for certain tasks. A |/tinton1 |6Butterworth|1|/tintoff Polynominal is the flattest one you could possibly build. Or a |/tinton1 |6Bessel|1|/tintoff polynominal is the one that can give you the smoothest possible time delay. Cheby polynomials are intimately related to the cosine trig function and its \ harmonics. A cosine wave is like a sine wave except it starts out at max amplitude \ at zero degrees. The |2third harmonic|1 cosine wave does the same thing, except is spins \ around three times as fast. A fifth should go around five times as fast, and so on. \ More harmonics in |/surl |6MUSE90.PDF|1|/muse90 . Instead of \ directly working with a third harmonic, you often will go to the |/tinton1 |6identities|1|/tintoff \ section of nearly any trig book to find out that\274 |h|/setsymbolnow |/staytint1 |1cos(3|=q|1) = 4|j|jcos(|=q|1)|93|1 - 3|j|jcos(|=q|1) |h|/black Similar (but uglier) polynomials do exist for all higher harmonics. Now, it does turn out that certain first kind |/tinton1 |6Cheby polynominals are primarily |/tinton1 just a list of all \ of your available |/tinton1 multi-angle cosine trig identities!|1|/tintoff Once you let |2y|1 = cos(|=q|1). Or, as you'll find out by digging deep \ enough into a fat enough math handbook\274 |h|L|/staytint1 |6T|k|k|:n|1|j|j|jcos(|=q|1) = cos|j(n|=q|1) |h|F|/black Figure four shows us what these Cheby polynomials do look like and how simple it is to generate them. It turns out that |/tinton1 |6T|4|j|j(0)|1 = 1|/tintoff and |/tinton1 |6T|4|j|j(1)|1 = |2x|1|/tintoff . From there you use this \ stunningly simple rule\274 |h|4|L|/staytint1 (next term) = 2|2x|1|j(current term) - |k|k(previous term) |h|F|/black \274 to generate as many of these values of figure four as you need. Cheby can be used to simplify the notation. Or ease your calculations. Or to show how something \ works. Or prove that something is optimum. Many math packages give you \ the ability to directly work with these unique math tools. Some Cheby tutorial material can be found in my |/surl |6STEPSYNT.PDF|1|/stepsynt More detailed examples are located on my |6|/surl Magic Sinewaves|1|/magsn01 Library Page. More on active filters is in my |/surl |6Active Filter|/amlink01 |/surl Cookbook|1|/amlink01 |c JavaScript bouncy buttons |d I have been looking at JavaScript lately and have newly uploaded some \ |/surl |6JavaScript Books|1|/amlink01 to our website. JavaScript complements \ PostScript in several ways as it is interactive and has more accurate math. One of the first things most folks want to do with JavaScript is get their buttons \ dynamically moving on their web pages as they mouse around. A simple example appears in figure five. A more detailed tutorial appears as |/surl |6BOUNCY.PDF|1|/bouncy |c Fluxgates and Magnetometry |d Its been a while since we looked at this topic, so I have just uploaded a group \ of recommended |/surl |6Fluxgate and|/amlink01 |/surl Magnetometry|1|/amlink01 books up to my |/surl |6Book|/amlink01 |/surl Access|1|/amlink01 page. A summary is nearby. Basically, the problem of building accurate compasses was solved a few years back by |/surl |/surl |6Precision Navigation|1|/precision as we saw back in |/surl |6MUSE104.PDF|1|/muse104 . Their variable permability cores are simpler than fluxgates and do offer more than comparable performance. And are quite a bit \ more sensitive than Hall Effect devices and far more stable than magnetoresistors. Two other resources include the classic |2Recent Advances in Fluxgate \ Magnetometery|1 from |4IEE|1 Transactions on Magnetics |4MAG8.1 1972.|1 Plus a \ newer |2A Review of Magnetic Sensors|1 from the Proceedings of the |4IEEE|1, \ |478-6 1990, p.973.|1 |c New Tech Lit |d The |4CFA|1 Crossfield antenna fiasco we looked at back in |/surl |6MUSE138.PDF|1|/muse138 apparently refuses to die. As does its |4CTHA|1 companion \ See ongoing issues of |/surl |6Radio World|1|/radioworld (especially \ issue June |420, 2001|1)) to follow the neverending saga of \ what to me sure appears \ like badly misguided researchers who are still chasing completely bogus goals. Their latest excuse for not testing is \ mad cow disease! Permits aside, |/tinton1 |6if|1|/tintoff this was for real, somebody somewhere surely would have \ run a brief late night and lower power test in a remote area and word would have \ surely gotten out. I may be going way out on a limb here, but I predict that Maxwell will emerge unscathed. I also predict that their test results will be ambiguous, allowing this absurdity to continue to the next level. More in |/surl |6BASHPSEU.PDF|1|/bashpseu and on our |/surl |6Pseudoscience Library|1|/pseudo01 page. Tesla titles and the new |2Feedline|1 newsletter are \ newly available from |/surl |6Twenty First Century Books|1|/tfcb . Our own \ Tesla Book recommendations appear on our |/surl |6Book Access|1|/amlink01 web page. One summary on plastics suppliers appeared back in |/surl |6RESBN50.PDF|1|/resbn50 . Two "must have" industrial arts suppliers \ catalogs from |/surl |6Delvies|1|/delvies and |/surl |6Iasco|1|/iasco . Plus \ |/surl |6United States Plastics|1|/usplastics , |/surl |6Abbeon-Cal|1|/abbeon , and, of course, |/surl |6Small Parts|1|/small . Check these out. A reminder that many outstanding |/surl |6Surplus Bargains|1|/barg01 can be found |/surl |6here|1|/barg01 , and are offered on |/surl |6eBay|1|/ebay as well. For all the fundamentals of digital integrated circuits, be \ sure to study copies of my |2TTL Cookbok|1 and |2CMOS \ Cookbook|1. You can find both these \ at |/surl |6www.tinaja.com/amlink01.asp|1|/amlink01 And a final reminder about our cash-and-carry \ |1InfoPack|1 consulting at \ |/surl |6www.tinaja.com/info01.asp|1|/info01 . Let's hear from you. There are lots of new opportunities here.|/tinton1 |-F|1 |x 57 348 % 282 sub menu8 showpage ( bumped to make room for bogus Tesla titles and the new |2Feedline|1 newsletter are \ newly available from |/surl |2Twenty First Century Books|1|/tfcb .) ( future shuffling algorithm, error, and banner rotation example energy fundamentals wh/l wh/kg net versus gross exergy ) pop ( As usual, most mentioned items can be found in our \ clickthroughs, |2Names & Numbers|1 or |2Wideband Transformer \ Resources|1 sidebars. Check here before \ you email |/surl |2don@tinaja.com|1|/maildon or you use our no-charge \ |4US|1 technical helpline shown in the nearby box. Let's hear from you. ) pop