%!PS
% GONZO TABLEMAKER DEV FOURIER EQUATION GENERATOR V2.5
% ======================================================
% THIS VERSION SPECIFIC TO MSCAL108Q
% Copyright c 2001 by Don Lancaster & Synergetics, Box 809, Thatcher, AZ, 85552
% (928) 428-4073 Email: don@tinaja.com Website: http://www.tinaja.com
% Consulting services available http://www.tinaja.com/info01.html
% All commercial rights and all electronic media rights ~fully~ reserved.
% Linking usually welcome. Reposting expressly forbidden. Version 2.5
% This utility auto-generates JavaScript Magic Sinewave calculators as
% JavaScript .asp files. To use, view in wp or editor, modify as needed,
% and send to distiller. Upload generated .asp file to ISP for testing.
% Detailed assistance is available per http://www.tinaja.com/info01.asp
% The first portion of the calculator up to the table is easier handled with
% word or GoLive, so it is prepended as a read disk file. The final portion is
% handled by an existing include file.
% The generated program is intended for ISP distribution as a .asp file for use
% with Internet Exploder only. Setting Netscapeok and recompiling defeats the auto
% carrier detector and display, but prevents some Netscape version Javascript errors.
% Certain portions of the delta code still has to be hand coded. Search on "ZZZZZ"
% to reach these three code areas.
% IMPORTANT NOTE: Don Lancaster's file gonzo.ps is needed for this program.
% After obvious location mods, uncomment ONE of the following two lines:
(C:\\windows\\desktop\\gonzo\\gonzo.ps) run % use internal gonzo
% (A:\\gonzo.ps) run % use external gonzo
% NOTE THAT ALL PS FILENAME STRINGS !!!DEMAND!!! DOUBLE REVERSE SLASHES.
% GONZO20A Guru Gonzo PostScript power tools (Interim release)
% Includes gonzo justification and layout utilities.
% Copyright c 1990,1996,2001 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.
%%%%%%%%%%%%%%% FILE CONTROL %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/print {targ1 exch writestring} def % divert print from log file to new disk file
/netscapeok false def % leave off IE color cells? Not recommended.
/prefix (C:\\WINDOWS\\desktop\\Magsn 5\\forflush\\Q series\\) store % filename prefix
/sname1(genheader.asp) store % short name of first BMP input file
/sn1 prefix sname1 mergestr store
sn1 (r) file
/source1 exch store % create read file
netscapeok
{/tname1(mscal108N.asp) store} % short name of ms output
{/tname1(mscal108Q.asp) store} ifelse
/tn1 prefix tname1 mergestr store
tn1 (w+) file
/targ1 exch store % create read file
/strx 64000 string store
source1 strx readstring pop % transfer header
targ1 exch writestring
%%%%%%%%%%%%%%%% CONTROL VARIABLES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/pulsesperquadrant 27 store
/harmsneeded pulsesperquadrant dup 6 lt {pop 6} if 1 sub 4 mul store
% (\ \n) print
% (\
Pulse Positions \n) print (in Degrees | \n\n) print
blankhcell
(
Target Amplitude:
Target Power: |
\n) print blankhcell blankhcell endtablerow %% mixed orange-magenta ( |
\