home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 14 / 14.iso / s / s005 / 52.ddi / AMIENV.SM$ / AMIENV.SMM
Encoding:
INI File  |  1993-11-10  |  105.8 KB  |  6,897 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     
  5. [charset]
  6.     82
  7.     ANSI (Windows, IBM CP 1252)
  8. [PanoseFontTable]
  9.     6
  10.     5
  11.     Helvetica
  12.     2818
  13.     1029
  14.     514
  15.     514
  16.     1026
  17.     Arial
  18.     2818
  19.     1030
  20.     514
  21.     514
  22.     1026
  23.     Courier
  24.     1794
  25.     2310
  26.     514
  27.     517
  28.     1028
  29.     Arial MT
  30.     2818
  31.     1030
  32.     514
  33.     514
  34.     1026
  35.     Helv
  36.     2818
  37.     1029
  38.     514
  39.     770
  40.     1026
  41.     Times New Roman
  42.     514
  43.     774
  44.     1029
  45.     517
  46.     1027
  47. [revisions]
  48.     0
  49. [recfile]
  50.     
  51.     *
  52.     1
  53.     1
  54.     3
  55.     8
  56.     0
  57.     0
  58. [lang]
  59.     1
  60. [desc]
  61.     
  62.     
  63.     
  64.     
  65.     
  66.     752969839
  67.     85
  68.     751160524
  69.     544
  70.     1
  71.     0
  72.     0
  73.     0
  74.     0
  75.     
  76.     
  77.     
  78.     
  79.     
  80.     
  81.     1
  82. [prn]
  83.     QMS-PS 810
  84. [port]
  85.     LPT3.OS2
  86. [fopts]
  87.     0
  88.     1
  89.     0
  90.     0
  91. [lnopts]
  92.     2
  93.     Body Text
  94.     1
  95. [docopts]
  96.     5
  97.     2
  98. [GramStyle]
  99.     
  100. [tag]
  101.     Outline3
  102.     1
  103.     [fnt]
  104.         Helv
  105.         200
  106.         0
  107.         49152
  108.     [algn]
  109.         1
  110.         1
  111.         216
  112.         0
  113.         0
  114.     [spc]
  115.         33
  116.         0
  117.         1
  118.         0
  119.         0
  120.         1
  121.         100
  122.     [brk]
  123.         4
  124.     [line]
  125.         8
  126.         0
  127.         1
  128.         0
  129.         0
  130.         1
  131.         1
  132.         144
  133.         144
  134.         1
  135.     [spec]
  136.         0
  137.         3
  138.         
  139.         0
  140.         1
  141.         1
  142.         0
  143.         0
  144.         0
  145.         0
  146.     [nfmt]
  147.         272
  148.         1
  149.         3
  150.         .
  151.         ,
  152.         $
  153.     Outline3
  154.     0
  155.     0
  156. [tag]
  157.     Function
  158.     1
  159.     [fnt]
  160.         Arial MT
  161.         240
  162.         0
  163.         49153
  164.     [algn]
  165.         1
  166.         1
  167.         0
  168.         360
  169.         360
  170.     [spc]
  171.         17
  172.         0
  173.         1
  174.         144
  175.         144
  176.         1
  177.         100
  178.     [brk]
  179.         4
  180.     [line]
  181.         8
  182.         0
  183.         1
  184.         0
  185.         0
  186.         2
  187.         2
  188.         144
  189.         144
  190.         1
  191.     [spec]
  192.         0
  193.         2
  194.         
  195.         0
  196.         1
  197.         1
  198.         0
  199.         0
  200.         0
  201.         0
  202.     [nfmt]
  203.         272
  204.         1
  205.         2
  206.         .
  207.         ,
  208.         $
  209.     Function
  210.     0
  211.     0
  212. [tag]
  213.     Comments
  214.     1
  215.     [fnt]
  216.         Times New Roman
  217.         200
  218.         255
  219.         49152
  220.     [algn]
  221.         1
  222.         1
  223.         216
  224.         0
  225.         0
  226.     [spc]
  227.         33
  228.         0
  229.         1
  230.         0
  231.         0
  232.         1
  233.         100
  234.     [brk]
  235.         4
  236.     [line]
  237.         8
  238.         0
  239.         1
  240.         0
  241.         0
  242.         1
  243.         1
  244.         144
  245.         144
  246.         1
  247.     [spec]
  248.         0
  249.         0
  250.         
  251.         0
  252.         1
  253.         1
  254.         0
  255.         16
  256.         0
  257.         0
  258.     [nfmt]
  259.         272
  260.         1
  261.         3
  262.         .
  263.         ,
  264.         $
  265.     Comments
  266.     0
  267.     0
  268. [tag]
  269.     Defines
  270.     1
  271.     [fnt]
  272.         Times New Roman
  273.         200
  274.         16711680
  275.         49152
  276.     [algn]
  277.         1
  278.         1
  279.         216
  280.         0
  281.         0
  282.     [spc]
  283.         33
  284.         0
  285.         1
  286.         0
  287.         0
  288.         1
  289.         100
  290.     [brk]
  291.         4
  292.     [line]
  293.         8
  294.         0
  295.         1
  296.         0
  297.         0
  298.         1
  299.         1
  300.         144
  301.         144
  302.         1
  303.     [spec]
  304.         0
  305.         0
  306.         
  307.         0
  308.         1
  309.         1
  310.         0
  311.         16
  312.         0
  313.         0
  314.     [nfmt]
  315.         272
  316.         1
  317.         3
  318.         .
  319.         ,
  320.         $
  321.     Defines
  322.     0
  323.     0
  324. [tag]
  325.     Outline 2
  326.     1
  327.     [fnt]
  328.         Times New Roman
  329.         200
  330.         0
  331.         49152
  332.     [algn]
  333.         1
  334.         1
  335.         360
  336.         0
  337.         0
  338.     [spc]
  339.         17
  340.         0
  341.         1
  342.         0
  343.         72
  344.         1
  345.         100
  346.     [brk]
  347.         4
  348.     [line]
  349.         8
  350.         0
  351.         1
  352.         0
  353.         0
  354.         2
  355.         2
  356.         144
  357.         144
  358.         1
  359.     [spec]
  360.         0
  361.         3
  362.         
  363.         0
  364.         1
  365.         1
  366.         0
  367.         0
  368.         0
  369.         0
  370.     [nfmt]
  371.         272
  372.         1
  373.         2
  374.         .
  375.         ,
  376.         $
  377.     Outline A
  378.     0
  379.     0
  380. [tag]
  381.     Outline 3
  382.     1
  383.     [fnt]
  384.         Times New Roman
  385.         200
  386.         0
  387.         49152
  388.     [algn]
  389.         1
  390.         1
  391.         720
  392.         0
  393.         0
  394.     [spc]
  395.         17
  396.         0
  397.         1
  398.         0
  399.         72
  400.         1
  401.         100
  402.     [brk]
  403.         4
  404.     [line]
  405.         8
  406.         0
  407.         1
  408.         0
  409.         0
  410.         2
  411.         2
  412.         144
  413.         144
  414.         1
  415.     [spec]
  416.         0
  417.         4
  418.         
  419.         0
  420.         1
  421.         1
  422.         0
  423.         0
  424.         0
  425.         0
  426.     [nfmt]
  427.         272
  428.         1
  429.         2
  430.         .
  431.         ,
  432.         $
  433.     Outline 1
  434.     0
  435.     0
  436. [tag]
  437.     Outline 4
  438.     1
  439.     [fnt]
  440.         Times New Roman
  441.         200
  442.         0
  443.         49152
  444.     [algn]
  445.         1
  446.         1
  447.         1080
  448.         0
  449.         0
  450.     [spc]
  451.         17
  452.         0
  453.         1
  454.         0
  455.         72
  456.         1
  457.         100
  458.     [brk]
  459.         4
  460.     [line]
  461.         8
  462.         0
  463.         1
  464.         0
  465.         0
  466.         2
  467.         2
  468.         144
  469.         144
  470.         1
  471.     [spec]
  472.         0
  473.         5
  474.         
  475.         0
  476.         1
  477.         1
  478.         0
  479.         0
  480.         0
  481.         0
  482.     [nfmt]
  483.         272
  484.         1
  485.         2
  486.         .
  487.         ,
  488.         $
  489.     Outline a
  490.     0
  491.     0
  492. [tag]
  493.     Outline 5
  494.     1
  495.     [fnt]
  496.         Times New Roman
  497.         200
  498.         0
  499.         49152
  500.     [algn]
  501.         1
  502.         1
  503.         1440
  504.         0
  505.         0
  506.     [spc]
  507.         17
  508.         0
  509.         1
  510.         0
  511.         72
  512.         1
  513.         100
  514.     [brk]
  515.         4
  516.     [line]
  517.         8
  518.         0
  519.         1
  520.         0
  521.         0
  522.         2
  523.         2
  524.         144
  525.         144
  526.         1
  527.     [spec]
  528.         0
  529.         6
  530.         
  531.         0
  532.         1
  533.         1
  534.         0
  535.         0
  536.         0
  537.         0
  538.     [nfmt]
  539.         272
  540.         1
  541.         2
  542.         .
  543.         ,
  544.         $
  545.     Outline i
  546.     0
  547.     0
  548. [tag]
  549.     Outline 6
  550.     1
  551.     [fnt]
  552.         Times New Roman
  553.         200
  554.         0
  555.         49152
  556.     [algn]
  557.         1
  558.         1
  559.         1800
  560.         0
  561.         0
  562.     [spc]
  563.         17
  564.         0
  565.         1
  566.         0
  567.         72
  568.         1
  569.         100
  570.     [brk]
  571.         4
  572.     [line]
  573.         8
  574.         0
  575.         1
  576.         0
  577.         0
  578.         2
  579.         2
  580.         144
  581.         144
  582.         1
  583.     [spec]
  584.         0
  585.         7
  586.         
  587.         0
  588.         1
  589.         1
  590.         0
  591.         0
  592.         0
  593.         0
  594.     [nfmt]
  595.         272
  596.         1
  597.         2
  598.         .
  599.         ,
  600.         $
  601.     Outline i
  602.     0
  603.     0
  604. [tag]
  605.     Body Single
  606.     3
  607.     [fnt]
  608.         Times New Roman
  609.         240
  610.         0
  611.         49152
  612.     [algn]
  613.         1
  614.         1
  615.         0
  616.         0
  617.         0
  618.     [spc]
  619.         33
  620.         0
  621.         1
  622.         0
  623.         0
  624.         1
  625.         100
  626.     [brk]
  627.         4
  628.     [line]
  629.         8
  630.         0
  631.         1
  632.         0
  633.         0
  634.         1
  635.         1
  636.         144
  637.         144
  638.         1
  639.     [spec]
  640.         0
  641.         0
  642.         
  643.         0
  644.         1
  645.         1
  646.         0
  647.         0
  648.         0
  649.         0
  650.     [nfmt]
  651.         280
  652.         1
  653.         2
  654.         .
  655.         ,
  656.         $
  657.     Body Single
  658.     0
  659.     0
  660. [tag]
  661.     Define
  662.     12
  663.     [fnt]
  664.         Courier
  665.         200
  666.         16711680
  667.         32768
  668.     [algn]
  669.         1
  670.         1
  671.         216
  672.         0
  673.         0
  674.     [spc]
  675.         33
  676.         0
  677.         1
  678.         0
  679.         0
  680.         1
  681.         100
  682.     [brk]
  683.         4
  684.     [line]
  685.         8
  686.         0
  687.         1
  688.         0
  689.         0
  690.         1
  691.         1
  692.         144
  693.         144
  694.         1
  695.     [spec]
  696.         0
  697.         0
  698.         
  699.         0
  700.         1
  701.         1
  702.         0
  703.         16
  704.         0
  705.         0
  706.     [nfmt]
  707.         272
  708.         1
  709.         3
  710.         .
  711.         ,
  712.         $
  713.     Define
  714.     0
  715.     0
  716. [tag]
  717.     Header
  718.     9
  719.     [fnt]
  720.         Times New Roman
  721.         240
  722.         0
  723.         49152
  724.     [algn]
  725.         1
  726.         1
  727.         0
  728.         0
  729.         0
  730.     [spc]
  731.         33
  732.         0
  733.         1
  734.         0
  735.         0
  736.         1
  737.         100
  738.     [brk]
  739.         4
  740.     [line]
  741.         8
  742.         0
  743.         1
  744.         0
  745.         0
  746.         1
  747.         1
  748.         144
  749.         144
  750.         1
  751.     [spec]
  752.         0
  753.         0
  754.         
  755.         0
  756.         1
  757.         1
  758.         0
  759.         0
  760.         0
  761.         0
  762.     [nfmt]
  763.         280
  764.         1
  765.         2
  766.         .
  767.         ,
  768.         $
  769.     Header
  770.     0
  771.     0
  772. [tag]
  773.     Footer
  774.     11
  775.     [fnt]
  776.         Times New Roman
  777.         240
  778.         0
  779.         49152
  780.     [algn]
  781.         1
  782.         1
  783.         0
  784.         0
  785.         0
  786.     [spc]
  787.         33
  788.         0
  789.         1
  790.         0
  791.         0
  792.         1
  793.         100
  794.     [brk]
  795.         4
  796.     [line]
  797.         8
  798.         0
  799.         1
  800.         0
  801.         0
  802.         1
  803.         1
  804.         144
  805.         144
  806.         1
  807.     [spec]
  808.         0
  809.         0
  810.         
  811.         0
  812.         1
  813.         1
  814.         0
  815.         0
  816.         0
  817.         0
  818.     [nfmt]
  819.         280
  820.         1
  821.         2
  822.         .
  823.         ,
  824.         $
  825.     Footer
  826.     0
  827.     0
  828. [tag]
  829.     Outline8
  830.     1
  831.     [fnt]
  832.         Times New Roman
  833.         200
  834.         0
  835.         49152
  836.     [algn]
  837.         1
  838.         1
  839.         2520
  840.         360
  841.         360
  842.     [spc]
  843.         17
  844.         0
  845.         1
  846.         0
  847.         72
  848.         1
  849.         100
  850.     [brk]
  851.         4
  852.     [line]
  853.         8
  854.         0
  855.         1
  856.         0
  857.         0
  858.         2
  859.         2
  860.         144
  861.         144
  862.         1
  863.     [spec]
  864.         0
  865.         9
  866.         
  867.         0
  868.         1
  869.         1
  870.         0
  871.         0
  872.         0
  873.         0
  874.     [nfmt]
  875.         272
  876.         1
  877.         2
  878.         .
  879.         ,
  880.         $
  881.     Outline8
  882.     0
  883.     0
  884. [tag]
  885.     Title
  886.     8
  887.     [fnt]
  888.         Arial
  889.         360
  890.         0
  891.         49153
  892.     [algn]
  893.         4
  894.         1
  895.         0
  896.         0
  897.         0
  898.     [spc]
  899.         33
  900.         0
  901.         1
  902.         144
  903.         72
  904.         1
  905.         100
  906.     [brk]
  907.         16
  908.     [line]
  909.         8
  910.         0
  911.         1
  912.         0
  913.         0
  914.         1
  915.         1
  916.         144
  917.         144
  918.         1
  919.     [spec]
  920.         0
  921.         1
  922.         
  923.         0
  924.         1
  925.         1
  926.         0
  927.         0
  928.         0
  929.         0
  930.     [nfmt]
  931.         272
  932.         1
  933.         2
  934.         .
  935.         ,
  936.         $
  937.     Title
  938.     0
  939.     0
  940. [tag]
  941.     Outline9
  942.     1
  943.     [fnt]
  944.         Times New Roman
  945.         200
  946.         0
  947.         49152
  948.     [algn]
  949.         1
  950.         1
  951.         2880
  952.         360
  953.         360
  954.     [spc]
  955.         17
  956.         0
  957.         1
  958.         0
  959.         72
  960.         1
  961.         100
  962.     [brk]
  963.         4
  964.     [line]
  965.         8
  966.         0
  967.         1
  968.         0
  969.         0
  970.         2
  971.         2
  972.         144
  973.         144
  974.         1
  975.     [spec]
  976.         0
  977.         0
  978.         
  979.         0
  980.         1
  981.         1
  982.         0
  983.         0
  984.         0
  985.         0
  986.     [nfmt]
  987.         272
  988.         1
  989.         2
  990.         .
  991.         ,
  992.         $
  993.     Outline9
  994.     0
  995.     0
  996. [tag]
  997.     Outline 1
  998.     1
  999.     [fnt]
  1000.         Arial
  1001.         280
  1002.         0
  1003.         49153
  1004.     [algn]
  1005.         1
  1006.         1
  1007.         0
  1008.         360
  1009.         360
  1010.     [spc]
  1011.         17
  1012.         0
  1013.         1
  1014.         144
  1015.         144
  1016.         1
  1017.         100
  1018.     [brk]
  1019.         4
  1020.     [line]
  1021.         8
  1022.         0
  1023.         1
  1024.         0
  1025.         0
  1026.         2
  1027.         2
  1028.         144
  1029.         144
  1030.         1
  1031.     [spec]
  1032.         0
  1033.         0
  1034.         
  1035.         0
  1036.         1
  1037.         1
  1038.         0
  1039.         0
  1040.         0
  1041.         0
  1042.     [nfmt]
  1043.         272
  1044.         1
  1045.         2
  1046.         .
  1047.         ,
  1048.         $
  1049.     Outline I
  1050.     0
  1051.     0
  1052. [tag]
  1053.     Bullet
  1054.     4
  1055.     [fnt]
  1056.         Times New Roman
  1057.         240
  1058.         0
  1059.         49152
  1060.     [algn]
  1061.         1
  1062.         1
  1063.         0
  1064.         288
  1065.         288
  1066.     [spc]
  1067.         33
  1068.         0
  1069.         1
  1070.         0
  1071.         0
  1072.         1
  1073.         100
  1074.     [brk]
  1075.         4
  1076.     [line]
  1077.         8
  1078.         0
  1079.         1
  1080.         0
  1081.         0
  1082.         1
  1083.         1
  1084.         144
  1085.         144
  1086.         1
  1087.     [spec]
  1088.         0
  1089.         0
  1090.         <*0>
  1091.         0
  1092.         1
  1093.         1
  1094.         0
  1095.         0
  1096.         0
  1097.         0
  1098.     [nfmt]
  1099.         272
  1100.         1
  1101.         2
  1102.         .
  1103.         ,
  1104.         $
  1105.     Bullet
  1106.     0
  1107.     0
  1108. [tag]
  1109.     Bullet 1
  1110.     5
  1111.     [fnt]
  1112.         Times New Roman
  1113.         240
  1114.         0
  1115.         49152
  1116.     [algn]
  1117.         1
  1118.         1
  1119.         288
  1120.         288
  1121.         288
  1122.     [spc]
  1123.         33
  1124.         0
  1125.         1
  1126.         0
  1127.         0
  1128.         1
  1129.         100
  1130.     [brk]
  1131.         4
  1132.     [line]
  1133.         8
  1134.         0
  1135.         1
  1136.         0
  1137.         0
  1138.         1
  1139.         1
  1140.         144
  1141.         144
  1142.         1
  1143.     [spec]
  1144.         0
  1145.         0
  1146.         <*5>
  1147.         0
  1148.         1
  1149.         1
  1150.         0
  1151.         0
  1152.         0
  1153.         0
  1154.     [nfmt]
  1155.         280
  1156.         1
  1157.         2
  1158.         .
  1159.         ,
  1160.         $
  1161.     Bullet 1
  1162.     0
  1163.     0
  1164. [tag]
  1165.     Number List
  1166.     6
  1167.     [fnt]
  1168.         Times New Roman
  1169.         240
  1170.         0
  1171.         49152
  1172.     [algn]
  1173.         1
  1174.         1
  1175.         360
  1176.         360
  1177.         360
  1178.     [spc]
  1179.         33
  1180.         0
  1181.         1
  1182.         0
  1183.         0
  1184.         1
  1185.         100
  1186.     [brk]
  1187.         4
  1188.     [line]
  1189.         8
  1190.         0
  1191.         1
  1192.         0
  1193.         0
  1194.         1
  1195.         1
  1196.         144
  1197.         144
  1198.         1
  1199.     [spec]
  1200.         0
  1201.         0
  1202.         <*:>.
  1203.         0
  1204.         1
  1205.         1
  1206.         0
  1207.         16
  1208.         0
  1209.         0
  1210.     [nfmt]
  1211.         272
  1212.         1
  1213.         2
  1214.         .
  1215.         ,
  1216.         $
  1217.     Number List
  1218.     0
  1219.     0
  1220. [tag]
  1221.     Subhead
  1222.     7
  1223.     [fnt]
  1224.         Times New Roman
  1225.         240
  1226.         0
  1227.         49155
  1228.     [algn]
  1229.         1
  1230.         1
  1231.         0
  1232.         0
  1233.         0
  1234.     [spc]
  1235.         33
  1236.         0
  1237.         1
  1238.         72
  1239.         72
  1240.         1
  1241.         100
  1242.     [brk]
  1243.         4
  1244.     [line]
  1245.         8
  1246.         0
  1247.         1
  1248.         0
  1249.         0
  1250.         1
  1251.         1
  1252.         144
  1253.         144
  1254.         1
  1255.     [spec]
  1256.         0
  1257.         2
  1258.         
  1259.         0
  1260.         1
  1261.         1
  1262.         0
  1263.         0
  1264.         0
  1265.         0
  1266.     [nfmt]
  1267.         272
  1268.         1
  1269.         2
  1270.         .
  1271.         ,
  1272.         $
  1273.     Subhead
  1274.     0
  1275.     0
  1276. [tag]
  1277.     Outline7
  1278.     1
  1279.     [fnt]
  1280.         Times New Roman
  1281.         200
  1282.         0
  1283.         49152
  1284.     [algn]
  1285.         1
  1286.         1
  1287.         2160
  1288.         360
  1289.         360
  1290.     [spc]
  1291.         17
  1292.         0
  1293.         1
  1294.         0
  1295.         72
  1296.         1
  1297.         100
  1298.     [brk]
  1299.         4
  1300.     [line]
  1301.         8
  1302.         0
  1303.         1
  1304.         0
  1305.         0
  1306.         2
  1307.         2
  1308.         144
  1309.         144
  1310.         1
  1311.     [spec]
  1312.         0
  1313.         8
  1314.         
  1315.         0
  1316.         1
  1317.         1
  1318.         0
  1319.         0
  1320.         0
  1321.         0
  1322.     [nfmt]
  1323.         272
  1324.         1
  1325.         2
  1326.         .
  1327.         ,
  1328.         $
  1329.     Outline7
  1330.     0
  1331.     0
  1332. [tag]
  1333.     Modules
  1334.     1
  1335.     [fnt]
  1336.         Arial MT
  1337.         240
  1338.         8388863
  1339.         49153
  1340.     [algn]
  1341.         1
  1342.         1
  1343.         0
  1344.         360
  1345.         360
  1346.     [spc]
  1347.         17
  1348.         0
  1349.         1
  1350.         144
  1351.         144
  1352.         1
  1353.         100
  1354.     [brk]
  1355.         4
  1356.     [line]
  1357.         8
  1358.         0
  1359.         1
  1360.         0
  1361.         0
  1362.         2
  1363.         2
  1364.         144
  1365.         144
  1366.         1
  1367.     [spec]
  1368.         0
  1369.         1
  1370.         
  1371.         0
  1372.         1
  1373.         1
  1374.         0
  1375.         0
  1376.         0
  1377.         0
  1378.     [nfmt]
  1379.         272
  1380.         1
  1381.         2
  1382.         .
  1383.         ,
  1384.         $
  1385.     Modules
  1386.     0
  1387.     0
  1388. [tag]
  1389.     Body Text
  1390.     2
  1391.     [fnt]
  1392.         Times New Roman
  1393.         240
  1394.         0
  1395.         49152
  1396.     [algn]
  1397.         1
  1398.         1
  1399.         0
  1400.         0
  1401.         0
  1402.     [spc]
  1403.         33
  1404.         0
  1405.         1
  1406.         0
  1407.         0
  1408.         1
  1409.         100
  1410.     [brk]
  1411.         4
  1412.     [line]
  1413.         8
  1414.         0
  1415.         1
  1416.         0
  1417.         0
  1418.         1
  1419.         1
  1420.         144
  1421.         144
  1422.         1
  1423.     [spec]
  1424.         0
  1425.         0
  1426.         
  1427.         0
  1428.         1
  1429.         1
  1430.         0
  1431.         0
  1432.         0
  1433.         0
  1434.     [nfmt]
  1435.         280
  1436.         1
  1437.         2
  1438.         .
  1439.         ,
  1440.         $
  1441.     Body Text
  1442.     0
  1443.     0
  1444. [lay]
  1445.     Standard
  1446.     513
  1447.     [rght]
  1448.         15840
  1449.         12240
  1450.         1
  1451.         1440
  1452.         1440
  1453.         1
  1454.         1440
  1455.         1440
  1456.         0
  1457.         1
  1458.         0
  1459.         1
  1460.         0
  1461.         2
  1462.         1
  1463.         1440
  1464.         10800
  1465.         12
  1466.         1
  1467.         720
  1468.         1
  1469.         1440
  1470.         1
  1471.         2160
  1472.         1
  1473.         2880
  1474.         1
  1475.         3600
  1476.         1
  1477.         4320
  1478.         1
  1479.         5040
  1480.         1
  1481.         5760
  1482.         1
  1483.         6480
  1484.         1
  1485.         7200
  1486.         1
  1487.         7920
  1488.         1
  1489.         8640
  1490.     [frght]
  1491.     [lyfrm]
  1492.         0
  1493.         13184
  1494.         0
  1495.         14400
  1496.         12240
  1497.         15840
  1498.         0
  1499.         1
  1500.         1
  1501.         0 0 0 0 0 0 0
  1502.         0
  1503.         16777215
  1504.         0
  1505.     [frmlay]
  1506.         15840
  1507.         12240
  1508.         1
  1509.         1440
  1510.         792
  1511.         1
  1512.         14472
  1513.         1440
  1514.         0
  1515.         1
  1516.         0
  1517.         0
  1518.         0
  1519.         0
  1520.         1
  1521.         1440
  1522.         10800
  1523.         2
  1524.         2
  1525.         4680
  1526.         3
  1527.         9360
  1528.     [txt]
  1529. <:s>
  1530.  
  1531. >
  1532.     [hrght]
  1533.     [lyfrm]
  1534.         0
  1535.         11136
  1536.         0
  1537.         0
  1538.         12240
  1539.         1440
  1540.         0
  1541.         1
  1542.         1
  1543.         0 0 0 0 0 0 0
  1544.         0
  1545.         16777215
  1546.         0
  1547.     [frmlay]
  1548.         1440
  1549.         12240
  1550.         1
  1551.         1440
  1552.         72
  1553.         1
  1554.         792
  1555.         1440
  1556.         0
  1557.         1
  1558.         0
  1559.         0
  1560.         0
  1561.         0
  1562.         1
  1563.         1440
  1564.         10800
  1565.         2
  1566.         2
  1567.         4680
  1568.         3
  1569.         9360
  1570.     [txt]
  1571. <:s>
  1572.  
  1573. >
  1574. [elay]
  1575. [lay]
  1576.     1
  1577.     513
  1578.     [rght]
  1579.         15840
  1580.         12240
  1581.         1
  1582.         1440
  1583.         1440
  1584.         1
  1585.         1440
  1586.         1440
  1587.         0
  1588.         0
  1589.         0
  1590.         0
  1591.         0
  1592.         1
  1593.         1
  1594.         1440
  1595.         10800
  1596.         0
  1597.     [hrght]
  1598.     [lyfrm]
  1599.         0
  1600.         11136
  1601.         0
  1602.         0
  1603.         12240
  1604.         1440
  1605.         0
  1606.         1
  1607.         1
  1608.         0 0 0 0 0 0 0
  1609.         0
  1610.         16777215
  1611.         0
  1612.     [frmlay]
  1613.         1440
  1614.         12240
  1615.         1
  1616.         1440
  1617.         72
  1618.         1
  1619.         648
  1620.         1440
  1621.         0
  1622.         0
  1623.         16777215
  1624.         0
  1625.         0
  1626.         0
  1627.         1
  1628.         1440
  1629.         10800
  1630.         1
  1631.         3
  1632.         9195
  1633.     [txt]
  1634. <:s><:#P30670848,P943718>Envelope Function for OS/2
  1635.  
  1636. <:s><:#P30670848,P943718><:I0,0,0,0>Last revision <:ra>    Howard Shevitz
  1637.  
  1638. >
  1639.     [frght]
  1640.     [lyfrm]
  1641.         0
  1642.         13184
  1643.         0
  1644.         14400
  1645.         12240
  1646.         15840
  1647.         0
  1648.         1
  1649.         1
  1650.         0 0 0 0 0 0 0
  1651.         0
  1652.         16777215
  1653.         0
  1654.     [frmlay]
  1655.         15840
  1656.         12240
  1657.         1
  1658.         1440
  1659.         648
  1660.         1
  1661.         14472
  1662.         1440
  1663.         0
  1664.         0
  1665.         16777215
  1666.         0
  1667.         0
  1668.         0
  1669.         1
  1670.         1440
  1671.         10800
  1672.         0
  1673.     [txt]
  1674. <:s><:#P30670848,P943718><:R1,1,2,4546,>    -<:P11,0,>-
  1675.  
  1676. >
  1677. [elay]
  1678. [l1]
  1679.     1
  1680. [edoc]
  1681. @Defines@<:s><:#P30670848,P802161>declare WriteDefs(%1, %2, %3, %4, %5, %6, %7)
  1682.  
  1683. @Defines@<:s><:#P30670848,P802161>declare CustomSize(%1)
  1684.  
  1685. @Defines@<:s><:#P30670848,P802161>declare ModEnvPage(%1, %2, %3, %4)
  1686.  
  1687. @Defines@<:s><:#P30670848,P802161>declare AutoShade()
  1688.  
  1689. @Defines@<:s><:#P30670848,P802161>declare InsertAddress(%1, %2)
  1690.  
  1691. @Defines@<:s><:#P30670848,P802161>declare GetAddrs(%1)
  1692.  
  1693. @Defines@<:s><:#P30670848,P802161>declare ReturnPlace(%1)
  1694.  
  1695. @Defines@<:s><:#P30670848,P802161>declare SavePlace()
  1696.  
  1697. @Defines@<:s><:#P30670848,P802161>declare PrintSet(%1)
  1698.  
  1699. @Defines@<:s><:#P30670848,P802161>declare NewPrintDef(%1)
  1700.  
  1701. @Defines@<:s><:#P30670848,P802161>declare NewPrintDefSet(%1, %2)
  1702.  
  1703. @Defines@<:s><:#P30670848,P802161>declare SetDefaults()
  1704.  
  1705. @Defines@<:s><:#P30670848,P802161>declare TwipsToUnits(%1)
  1706.  
  1707. @Defines@<:s><:#P30670848,P802161>declare ConvertToTwips(%1)
  1708.  
  1709. @Defines@<:s><:#P30670848,P802161>declare ConvertToUnits(%1)
  1710.  
  1711. @Defines@<:s><:#P30670848,P802161>declare GetUnits(%1)
  1712.  
  1713. @Defines@<:s><:#P30670848,P802161>declare FillEnvelopeSizesBox(%1, %2)
  1714.  
  1715. @Defines@<:s><:#P30670848,P802161>
  1716.  
  1717. @Defines@<:s><:#P30670848,P802161>
  1718.  
  1719. @Defines@<:s><:#P30670848,P802161>
  1720.  
  1721. @Defines@<:s><:#P30670848,P802161><:X3,0;include "amixlat2.sam!amienv"><:f200,2Times New Roman,0,0,255>'Amienv Defines
  1722.  
  1723. <:s><+@><:I0,216,216,0><:S+65535><:R><:f200,2Times New Roman,0,0,255>define MAC_DIR "GetAmiDirectory$()"
  1724.  
  1725. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define NULL ""
  1726.  
  1727. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define INI_FILE "amipro2.ini"
  1728.  
  1729. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define INI_SETUP "amienv.ini"
  1730.  
  1731. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define INI_ADDRESS_FILE "amipro2.ini"
  1732.  
  1733. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define INI_SETUP_PRINT "PrinterNames"
  1734.  
  1735. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define DIALOG_BOX "{MacPath}amienv.dlg"
  1736.  
  1737. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define INI_SETUP_ENV "EnvelopeSizes"
  1738.  
  1739. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define INI_ENV_DEFAULTS "EnvDefaults"
  1740.  
  1741. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define INI_ADDRESS "AdrsBook"
  1742.  
  1743. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define ENV_STYLE "{StylePath}~amienv.sty"
  1744.  
  1745. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define MAXLINES 5
  1746.  
  1747. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define CUST_ENV_SIZE_PARM 0.44
  1748.  
  1749. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define ENV_SIZE_DEF <:f,,0,0,255>"Size 10 (9 1/2 x 4 1/8 in)"
  1750.  
  1751. <:s>
  1752.  
  1753. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,255,0,0>'Messages
  1754.  
  1755. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define ADJERROR "The number entered must"
  1756.  
  1757. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define ADJERROR2 "be between 0.00 and "
  1758.  
  1759. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define REPLACE_RETURN "Title already exists, do you want to replace it?"
  1760.  
  1761. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define DELETE_RETURN "Are you sure that you want to delete this return address?"
  1762.  
  1763. <:s><+@><:I0,216,216,0><:S+65535><:f200,2Times New Roman,0,0,255>define NO_ENV_SIZE_SETTINGS "No settings for envelope size - Exiting function!"<:X~3,0;include "amixlat2.sam!amienv">
  1764.  
  1765. @Defines@<:s><:#P30670848,P802161>
  1766.  
  1767. @Defines@<:s><:#P30670848,P802161>
  1768.  
  1769. @Defines@<:s><:#P30670848,P802161>
  1770.  
  1771. @Defines@<:s><:#P30670848,P802161>
  1772.  
  1773. @Modules@<:s><:#P30670848,P1918894>'Main
  1774.  
  1775. @Function@<:s><:#P30670848,P1918894>Function Main()
  1776.  
  1777. @Outline 2@<:s><:#P30670848,P1038090>'SingleStep(1)
  1778.  
  1779. @Outline 2@<:s><:#P30670848,P1038090>AllocGlobalVar("ini_section", 1)
  1780.  
  1781. @Outline 2@<:s><:#P30670848,P1038090>AllocGlobalVar("macpath", 1)
  1782.  
  1783. @Outline 2@<:s><:#P30670848,P1038090>AllocGlobalVar("ChangePrinter", 1)
  1784.  
  1785. @Outline 2@<:s><:#P30670848,P1038090>AllocGlobalVar("HasRunEnvSize", 1)
  1786.  
  1787. @Outline 2@<:s><:#P30670848,P1038090>AllocGlobalVar("NoPrinterSect", 1)
  1788.  
  1789. @Outline 2@<:s><:#P30670848,P1038090>SetGlobalVar("macpath", GetAmiDirectory$())
  1790.  
  1791. @Outline 2@<:s><:#P30670848,P1038090>ONCANCEL Endit
  1792.  
  1793. @Outline 2@<:s><:#P30670848,P1038090>Hourglass(1)
  1794.  
  1795. @Outline 2@<:s><:#P30670848,P1038090>StylePath = GetStylePath$()
  1796.  
  1797. @Outline 2@<:s><:#P30670848,P1038090>macpath = GetGlobalVar$("macpath")
  1798.  
  1799. @Outline 2@<:s><:#P30670848,P1038090>rmac = GetRunningMacroFile$()
  1800.  
  1801. @Outline 2@<:s><:#P30670848,P1038090>LastMode = GetMode()
  1802.  
  1803. @Outline 2@<:s><:#P30670848,P1038090>Printer = GetProfileString$(INI_ENV_DEFAULTS, "Printer", INI_FILE)
  1804.  
  1805. @Outline 2@<:s><:#P30670848,P1038090>PrintRetDef = GetProfileString$(INI_ENV_DEFAULTS, "PrintRetDef", INI_FILE)
  1806.  
  1807. @Outline 2@<:s><:#P30670848,P1038090>If PrintRetDef = NULL
  1808.  
  1809. @Outline 3@<:s><:#P30670848,P1038090>SetDefaults()
  1810.  
  1811. @Outline 3@<:s><:#P30670848,P1038090>PrintRetDef = GetProfileString$(INI_ENV_DEFAULTS, "PrintRetDef", INI_FILE)
  1812.  
  1813. @Outline 2@<:s><:#P30670848,P1038090>Endif
  1814.  
  1815. @Outline 2@<:s><:#P30670848,P1038090>EnvFeed = GetProfileString$(Printer, "EnvFeed", INI_FILE) 'Flag to see if INI section exists.
  1816.  
  1817. @Outline 2@<:s><:#P30670848,P1038090>SetGlobalVar("ini_section", INI_ENV_DEFAULTS)
  1818.  
  1819. @Outline 2@<:s><:#P30670848,P1038090>ini_section = GetGlobalVar$("ini_section")
  1820.  
  1821. @Outline 2@<:s><:#P30670848,P1038090>If EnvFeed  << 0  ' If there is not section, use defaults. Set a flag for "No Section"
  1822.  
  1823. @Outline 3@<:s><:#P30670848,P1038090>SetGlobalVar("NoPrinterSect", 1)
  1824.  
  1825. @Outline 3@<:s><:#P30670848,P1038090>PrinterName = NewPrintDef(PrinterName)
  1826.  
  1827. @Outline 3@<:s><:#P30670848,P1038090>EnvFeed = GetProfileString$(ini_section, "EnvFeed", INI_FILE)
  1828.  
  1829. @Outline 3@<:s><:#P30670848,P1038090>NoPrinterSect = GetGlobalVar$("NoPrinterSect")
  1830.  
  1831. @Outline 2@<:s><:#P30670848,P1038090>Else  ' If section exists, use this.
  1832.  
  1833. @Outline 3@<:s><:#P30670848,P1038090>SetGlobalVar("ini_section", Printer)
  1834.  
  1835. @Outline 2@<:s><:#P30670848,P1038090>Endif
  1836.  
  1837. @Outline 2@<:s><:#P30670848,P1038090>Units = GetUnits(Units)
  1838.  
  1839. @Outline 2@<:s><:#P30670848,P1038090>ShadedText = CurShade$()
  1840.  
  1841. @Outline 2@<:s><:#P30670848,P1038090>NoText = ShadedText
  1842.  
  1843. @Outline 2@<:s><:#P30670848,P1038090>.push()
  1844.  
  1845. @Outline 2@<:s><:#P30670848,P1038090>If ShadedText <<<;> NULL
  1846.  
  1847. @Outline 3@<:s><:#P30670848,P1038090>Copy()
  1848.  
  1849. @Outline 2@<:s><:#P30670848,P1038090>Else
  1850.  
  1851. @Outline 3@<:s><:#P30670848,P1038090>IsAutoShade = AutoShade()
  1852.  
  1853. @Outline 2@<:s><:#P30670848,P1038090>Endif
  1854.  
  1855. @Outline 2@<:s><:#P30670848,P1038090>FillEdit(20, PrintRetDef)
  1856.  
  1857. @Outline 2@<:s><:#P30670848,P1038090>FillEdit(21, EnvFeed)
  1858.  
  1859. @Outline 2@<:s><:#P30670848,P1038090>FillEdit(1006, Units)
  1860.  
  1861. @Outline 2@<:s><:#P30670848,P1038090>SetDlgCallBack(0, "FillPrinterBox")
  1862.  
  1863. @Outline 2@<:s><:#P30670848,P1038090>SetDlgCallBack(0, "FillEnvelopeSizesBox")
  1864.  
  1865. @Outline 2@<:s><:#P30670848,P1038090>SetDlgCallBack(0, "FillRetTitleBox")
  1866.  
  1867. @Outline 2@<:s><:#P30670848,P1038090>SetDlgCallBack(0, "FillRetAddBox")
  1868.  
  1869. @Outline 2@<:s><:#P30670848,P1038090>SetDlgCallBack(25, "AddAddress")
  1870.  
  1871. @Outline 2@<:s><:#P30670848,P1038090>SetDlgCallBack(26, "DeleteRetName")
  1872.  
  1873. @Outline 2@<:s><:#P30670848,P1038090>SetDlgCallBack(27, "EnvSettings")
  1874.  
  1875. @Outline 2@<:s><:#P30670848,P1038090>SetDlgCallBack(8003, "SetCustomEnvSize")
  1876.  
  1877. @Outline 2@<:s><:#P30670848,P1038090>SetDlgCallBack(8004, "SetCustomEnvSize")
  1878.  
  1879. @Outline 2@<:s><:#P30670848,P1038090>SetDlgCallBack(9500, "SetPrinter")
  1880.  
  1881. @Outline 2@<:s><:#P30670848,P1038090>SetDlgCallBack(9501, "FillEnvelopeSizesBox")
  1882.  
  1883. @Outline 2@<:s><:#P30670848,P1038090>SetDlgCallBack(9502, "FillRetAddBox")
  1884.  
  1885. @Outline 2@<:s><:#P30670848,P1038090>DlgSetHelpNumber(237)
  1886.  
  1887. @Outline 2@<:s><:#P30670848,P1038090>Hourglass(0)
  1888.  
  1889. @Outline 2@<:s><:#P30670848,P1038090>Box = DialogBox(DIALOG_BOX, "Printenv")
  1890.  
  1891. @Outline 2@<:s><:#P30670848,P1038090>Switch Box
  1892.  
  1893. @Outline 3@<:s><:#P30670848,P1038090>Case -1
  1894.  
  1895. @Outline 3@<:s><:#P30670848,P1038090>Message("Could not find dialog box - Exiting macro!")
  1896.  
  1897. @Outline 2@<:s><:#P30670848,P1038090>Case 0
  1898.  
  1899. @Outline 3@<:s><:#P30670848,P1038090>Goto Endit ' User canceled
  1900.  
  1901. @Outline 2@<:s><:#P30670848,P1038090>Case 1
  1902.  
  1903. @Outline 3@<:s><:#P30670848,P1038090>RetAddress = GetDialogField$(8002)
  1904.  
  1905. @Outline 3@<:s><:#P30670848,P1038090>LastName = GetDialogField$(9502)
  1906.  
  1907. @Outline 3@<:s><:#P30670848,P1038090>LastPrinter = GetDialogField$(9500)
  1908.  
  1909. @Outline 3@<:s><:#P30670848,P1038090>LastEnvSize = GetDialogField$(9501)
  1910.  
  1911. @Outline 3@<:s><:#P30670848,P1038090>PrintRet = GetDialogField$(20)
  1912.  
  1913. @Outline 3@<:s><:#P30670848,P1038090>CustomWidth = GetDialogField$(8004)
  1914.  
  1915. @Outline 3@<:s><:#P30670848,P1038090>CustomHeight = GetDialogField$(8003)
  1916.  
  1917. @Outline 3@<:s><:#P30670848,P1038090>EnvFeed = GetDialogField$(21)
  1918.  
  1919. @Outline 3@<:s><:#P30670848,P1038090>PrinterName = GetDialogField$(9500)
  1920.  
  1921. @Outline 3@<:s><:#P30670848,P1038090>GetEnvSize = GetDialogfield$(9501)
  1922.  
  1923. @Outline 3@<:s><:#P30670848,P1038090>EnvSize = strfield$(GetEnvSize, 1, "~")
  1924.  
  1925. @Outline 3@<:s><:#P30670848,P1038090>If IsAutoShade <<<;> 0 and NoText = NULL ' If there is no selected text, get it from user.
  1926.  
  1927. @Outline 4@<:s><:#P30670848,P1038090>defstr AddrsText
  1928.  
  1929. @Outline 4@<:s><:#P30670848,P1038090>AddrsText = NULL
  1930.  
  1931. @Outline 4@<:s><:#P30670848,P1038090>GetAddrs(&AddrsText)
  1932.  
  1933. @Outline 4@<:s><:#P30670848,P1038090>If AddrsText = NULL
  1934.  
  1935. @Outline 5@<:s><:#P30670848,P1038090>Goto Endit
  1936.  
  1937. @Outline 4@<:s><:#P30670848,P1038090>Endif
  1938.  
  1939. @Outline 3@<:s><:#P30670848,P1038090>Endif
  1940.  
  1941. @Outline 3@<:s><:#P30670848,P1038090>New(ENV_STYLE, 1, 0)
  1942.  
  1943. @Outline 3@<:s><:#P30670848,P1038090>
  1944.  
  1945. @Outline 3@<:s><:#P30670848,P1038090>CustomWidth = ConvertToTwips(CustomWidth)
  1946.  
  1947. @Outline 3@<:s><:#P30670848,P1038090>CustomHeight = ConvertToTwips(CustomHeight)
  1948.  
  1949. @Outline 3@<:s><:#P30670848,P1038090>If EnvSize = "Custom envelope"
  1950.  
  1951. @Outline 4@<:s><:#P30670848,P1038090>CustWidth = CustomSize(CustomWidth) ' Use function to convert to margin sizes
  1952.  
  1953. @Outline 4@<:s><:#P30670848,P1038090>CustHeight = CustomSize(CustomHeight)
  1954.  
  1955. @Outline 4@<:s><:#P30670848,P1038090>IsSettings = ModEnvPage(EnvSize, EnvFeed, CustWidth, CustHeight)
  1956.  
  1957. @Outline 4@<:s><:#P30670848,P1038090>If  IsSettings = -1
  1958.  
  1959. @Outline 5@<:s><:#P30670848,P1038090>AnswerMsgBox(7)
  1960.  
  1961. @Outline 5@<:s><:#P30670848,P1038090>FileClose()
  1962.  
  1963. @Outline 5@<:s><:#P30670848,P1038090>Goto Endit
  1964.  
  1965. @Outline 4@<:s><:#P30670848,P1038090>Endif
  1966.  
  1967. @Outline 4@<:s><:#P30670848,P1038090>
  1968.  
  1969. @Outline 3@<:s><:#P30670848,P1038090>Else
  1970.  
  1971. @Outline 4@<:s><:#P30670848,P1038090>IsSettings = ModEnvPage(EnvSize, EnvFeed, 0, 0)
  1972.  
  1973. @Outline 4@<:s><:#P30670848,P1038090>If  IsSettings = -1
  1974.  
  1975. @Outline 5@<:s><:#P30670848,P1038090>AnswerMsgBox(7)
  1976.  
  1977. @Outline 5@<:s><:#P30670848,P1038090>FileClose()
  1978.  
  1979. @Outline 5@<:s><:#P30670848,P1038090>Goto Endit
  1980.  
  1981. @Outline 4@<:s><:#P30670848,P1038090>Endif
  1982.  
  1983. @Outline 3@<:s><:#P30670848,P1038090>Endif
  1984.  
  1985. @Outline 3@<:s><:#P30670848,P1038090>If PrintRet = 1
  1986.  
  1987. @Outline 4@<:s><:#P30670848,P1038090>MarkBookMark("Return", 4002)
  1988.  
  1989. @Outline 4@<:s><:#P30670848,P1038090>Type ("{RetAddress}")
  1990.  
  1991. @Outline 3@<:s><:#P30670848,P1038090>Endif
  1992.  
  1993. @Outline 3@<:s><:#P30670848,P1038090>MarkBookMark("Recipient", 4002)
  1994.  
  1995. @Outline 3@<:s><:#P30670848,P1038090>If NoText <<<;> NULL or IsAutoShade <<<;> 1
  1996.  
  1997. @Outline 4@<:s><:#P30670848,P1038090>Paste()
  1998.  
  1999. @Outline 4@<:s><:#P30670848,P1038090>Type("<[>CtrlShiftHome]") ' Remove the text attributes.
  2000.  
  2001. @Outline 4@<:s><:#P30670848,P1038090>SetStyle("Body Text")
  2002.  
  2003. @Outline 4@<:s><:#P30670848,P1038090>NormalText()
  2004.  
  2005. @Outline 4@<:s><:#P30670848,P1038090>Type("<[>Esc]")
  2006.  
  2007. @Outline 3@<:s><:#P30670848,P1038090>Else
  2008.  
  2009. @Outline 4@<:s><:#P30670848,P1038090>Type("{AddrsText}")
  2010.  
  2011. @Outline 3@<:s><:#P30670848,P1038090>Endif
  2012.  
  2013. @Outline 3@<:s><:#P30670848,P1038090>PrintSet(PrinterName)
  2014.  
  2015. @Outline 3@<:s><:#P30670848,P1038090>'UserControl("Pause")
  2016.  
  2017. @Outline 3@<:s><:#P30670848,P1038090>FilePrint(1, 1, 9999, 1537)
  2018.  
  2019. @Outline 3@<:s><:#P30670848,P1038090>AnswerMsgBox(7)
  2020.  
  2021. @Outline 3@<:s><:#P30670848,P1038090>FileClose()
  2022.  
  2023. @Outline 3@<:s><:#P30670848,P1038090>If NoPrinterSect = 1
  2024.  
  2025. @Outline 4@<:s><:#P30670848,P1038090>SetGlobalVar("ini_section", LastPrinter)
  2026.  
  2027. @Outline 3@<:s><:#P30670848,P1038090>Endif
  2028.  
  2029. @Outline 3@<:s><:#P30670848,P1038090>WriteDefs(LastName, PrinterName, LastEnvSize, PrintRet, EnvFeed, CustomWidth, CustomHeight )
  2030.  
  2031. @Outline 3@<:s><:#P30670848,P1038090>Goto Endit
  2032.  
  2033. @Outline 2@<:s><:#P30670848,P1038090>EndSwitch
  2034.  
  2035. @Outline 2@<:s><:#P30670848,P1038090>Endit:
  2036.  
  2037. @Outline 2@<:s><:#P30670848,P1038090>FreeGlobalVar("macpath")
  2038.  
  2039. @Outline 2@<:s><:#P30670848,P1038090>FreeGlobalVar("ini_section")
  2040.  
  2041. @Outline 2@<:s><:#P30670848,P1038090>FreeGlobalVar("NoPrinterSect")
  2042.  
  2043. @Outline 2@<:s><:#P30670848,P1038090>FreeGlobalVar("HasRunEnvSize")
  2044.  
  2045. @Outline 2@<:s><:#P30670848,P1038090>FreeGlobalVar("EnvSizes")
  2046.  
  2047. @Outline 2@<:s><:#P30670848,P1038090>FreeGlobalVar("ChangePrinter")
  2048.  
  2049. @Outline 2@<:s><:#P30670848,P1038090>.pop()
  2050.  
  2051. @Function@<:s><:#P30670848,P1918894>End Function
  2052.  
  2053. @Function@<:s><:#P30670848,P1918894>
  2054.  
  2055. @Modules@<:s><:#P30670848,P1918894>'Initiate Dialog Boxes
  2056.  
  2057. @Function@<:s><:#P30670848,P1918894>Function FillRetAddBox(hdlg, id,) 'Fill the return address edit box
  2058.  
  2059. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  2060.  
  2061. @Outline 2@<:s><:#P30670848,P1038090>NumNames = GetProfileString$(INI_ADDRESS, "NumNames", INI_FILE)
  2062.  
  2063. @Outline 2@<:s><:#P30670848,P1038090>GetName = GetDlgItemText(hdlg, 9502)
  2064.  
  2065. @Outline 2@<:s><:#P30670848,P1038090>For i = 1 to NumNames
  2066.  
  2067. @Outline 3@<:s><:#P30670848,P1038090>RetNameAdd = GetProfileString$(INI_ADDRESS, "Name{I}", INI_FILE)
  2068.  
  2069. @Outline 3@<:s><:#P30670848,P1038090>RetNameComp = strfield$(RetNameAdd, 1, "~")
  2070.  
  2071. @Outline 3@<:s><:#P30670848,P1038090>If RetNameComp = GetName
  2072.  
  2073. @Outline 4@<:s><:#P30670848,P1038090>dim Line(MAXLINES)
  2074.  
  2075. @Outline 4@<:s><:#P30670848,P1038090>crlf = strcat$(CHR$ (13), CHR$ (10))
  2076.  
  2077. @Outline 4@<:s><:#P30670848,P1038090>For i = 1 to MAXLINES
  2078.  
  2079. @Outline 5@<:s><:#P30670848,P1038090>Line(i) = strfield$(RetNameAdd, i, "~")
  2080.  
  2081. @Outline 5@<:s><:#P30670848,P1038090>If i = 1
  2082.  
  2083. @Outline 6@<:s><:#P30670848,P1038090>TextToBox = Line(i) 
  2084.  
  2085. @Outline 5@<:s><:#P30670848,P1038090>Elseif Line(i) != -1
  2086.  
  2087. @Outline 6@<:s><:#P30670848,P1038090>TextToBox = strcat$(TextToBox, crlf, Line(i))
  2088.  
  2089. @Outline 5@<:s><:#P30670848,P1038090>Else
  2090.  
  2091. @Outline 6@<:s><:#P30670848,P1038090>Goto Endit
  2092.  
  2093. @Outline 5@<:s><:#P30670848,P1038090>Endif
  2094.  
  2095. @Outline 4@<:s><:#P30670848,P1038090>Next
  2096.  
  2097. @Outline 3@<:s><:#P30670848,P1038090>Endif
  2098.  
  2099. @Outline 2@<:s><:#P30670848,P1038090>Next
  2100.  
  2101. @Outline 2@<:s><:#P30670848,P1038090>Endit:
  2102.  
  2103. @Outline 2@<:s><:#P30670848,P1038090>SetDlgItemText(hdlg, 8002, TextToBox)
  2104.  
  2105. @Function@<:s><:#P30670848,P1918894>End Function
  2106.  
  2107. @Function@<:s><:#P30670848,P1918894>
  2108.  
  2109. @Function@<:s><:#P30670848,P1918894>Function FillRetTitleBox(hDlg, Id) 'Fill the return address name box
  2110.  
  2111. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  2112.  
  2113. @Outline 2@<:s><:#P30670848,P1038090>Index = 0
  2114.  
  2115. @Outline 2@<:s><:#P30670848,P1038090>NumNames = GetProfileString$(INI_ADDRESS, "NumNames", INI_ADDRESS_FILE)
  2116.  
  2117. @Outline 2@<:s><:#P30670848,P1038090>GetDef = GetProfileString$(INI_ENV_DEFAULTS, "RetName", INI_ADDRESS_FILE) 
  2118.  
  2119. @Outline 2@<:s><:#P30670848,P1038090>dim RetAddName(NumNames)
  2120.  
  2121. @Outline 2@<:s><:#P30670848,P1038090>For i = 1 to NumNames
  2122.  
  2123. @Outline 3@<:s><:#P30670848,P1038090>RetAddName(i) = GetProfileString$(INI_ADDRESS, "Name{i}", INI_ADDRESS_FILE)
  2124.  
  2125. @Outline 2@<:s><:#P30670848,P1038090>Next
  2126.  
  2127. @Outline 2@<:s><:#P30670848,P1038090>ArraySort(&RetAddName) ' Sort the names.
  2128.  
  2129. @Outline 2@<:s><:#P30670848,P1038090>For i = 1 to NumNames
  2130.  
  2131. @Outline 3@<:s><:#P30670848,P1038090>RetName = RetAddName(i)
  2132.  
  2133. @Outline 3@<:s><:#P30670848,P1038090>RetName = strfield$(RetName, 1, "~")
  2134.  
  2135. @Outline 3@<:s><:#P30670848,P1038090>If RetName <<<;> NULL
  2136.  
  2137. @Outline 4@<:s><:#P30670848,P1038090>SetDlgItemText(hDlg, 9502, RetName)
  2138.  
  2139. @Comments@<:s><:#P30670848,P802161>
  2140.  
  2141. @Comments@<:s><:#P30670848,P802161>'Finds the last used return name and sets the index ===
  2142.  
  2143. @Outline 4@<:s><:#P30670848,P1038090>If GetDef = RetName
  2144.  
  2145. @Outline 5@<:s><:#P30670848,P1038090>RetNameIndex = Index 
  2146.  
  2147. @Outline 4@<:s><:#P30670848,P1038090>Endif
  2148.  
  2149. @Outline 4@<:s><:#P30670848,P1038090>Index = Index + 1
  2150.  
  2151. @Outline 4@<:s><:#P30670848,P1038090>
  2152.  
  2153. @Outline 3@<:s><:#P30670848,P1038090>Endif
  2154.  
  2155. @Outline 2@<:s><:#P30670848,P1038090>Next
  2156.  
  2157. @Outline 2@<:s><:#P30670848,P1038090>If RetNameIndex = NULL
  2158.  
  2159. @Outline 3@<:s><:#P30670848,P1038090>RetNameIndex = 0
  2160.  
  2161. @Outline 2@<:s><:#P30670848,P1038090>Endif
  2162.  
  2163. @Outline 2@<:s><:#P30670848,P1038090>DlgSetListBoxIndex(hDlg, 9502, RetNameIndex)
  2164.  
  2165. @Function@<:s><:#P30670848,P1918894>End Function
  2166.  
  2167. <:s><:#P30670848,P943718>
  2168.  
  2169. @Function@<:s><:#P30670848,P1918894>
  2170.  
  2171. @Function@<:s><:#P30670848,P1918894>Function FillPrinterBox(hDlg, id) ' Fill the printer name box.
  2172.  
  2173. @Outline 2@<:s><:#P30670848,P1038090>'singlestep(1)
  2174.  
  2175. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  2176.  
  2177. @Outline 2@<:s><:#P30670848,P1038090>Index = 0
  2178.  
  2179. @Outline 2@<:s><:#P30670848,P1038090>ini_section = INI_ENV_DEFAULTS
  2180.  
  2181. @Outline 2@<:s><:#P30670848,P1038090>GetDef = GetProfileString$(ini_section, "Printer", INI_FILE) 
  2182.  
  2183. @Outline 2@<:s><:#P30670848,P1038090>
  2184.  
  2185. @Outline 2@<:s><:#P30670848,P1038090>if (.Document.Printer.Stack())
  2186.  
  2187. @Outline 3@<:s><:#P30670848,P1038090>dim prts(100)
  2188.  
  2189. @Outline 3@<:s><:#P30670848,P1038090>dim streams(100)
  2190.  
  2191. @Outline 3@<:s><:#P30670848,P1038090>pcnt = .Enumerate(Printer, 0, &prts)
  2192.  
  2193. @Outline 3@<:s><:#P30670848,P1038090>if (pcnt <;> 0)
  2194.  
  2195. @Outline 4@<:s><:#P30670848,P1038090>for i = 1 to pcnt
  2196.  
  2197. @Outline 5@<:s><:#P30670848,P1038090>p = prts(i)
  2198.  
  2199. @Outline 6@<:s><:#P30670848,P1038090>if (.Object(p).Stack())
  2200.  
  2201. @Outline7@<:s><:#P30670848,P1038090>scnt = .Enumerate(Stream, 0, &streams)
  2202.  
  2203. @Outline7@<:s><:#P30670848,P1038090>if (scnt <;> 0)
  2204.  
  2205. @Outline8@<:s><:#P30670848,P1038090>for j = 1 to scnt
  2206.  
  2207. @Outline8@<:s><:#P30670848,P1038090>Str = streams(j)
  2208.  
  2209. @Outline8@<:s><:#P30670848,P1038090>SetDlgItemText(hDlg, 9500, Str)
  2210.  
  2211. @Comments@<:s><:#P30670848,P802161>'Get last printer index #
  2212.  
  2213. @Outline8@<:s><:#P30670848,P1038090>If GetDef = Str
  2214.  
  2215. @Outline8@<:s><:#P30670848,P1038090>PrinterIndex = Index
  2216.  
  2217. @Outline8@<:s><:#P30670848,P1038090>Endif
  2218.  
  2219. @Outline8@<:s><:#P30670848,P1038090>Index = Index + 1
  2220.  
  2221. @Outline8@<:s><:#P30670848,P1038090>next
  2222.  
  2223. @Outline7@<:s><:#P30670848,P1038090>endif
  2224.  
  2225. @Outline7@<:s><:#P30670848,P1038090>UnStack(1)
  2226.  
  2227. @Outline 6@<:s><:#P30670848,P1038090>endif
  2228.  
  2229. @Outline 5@<:s><:#P30670848,P1038090>next
  2230.  
  2231. @Outline 4@<:s><:#P30670848,P1038090>endif
  2232.  
  2233. @Outline 3@<:s><:#P30670848,P1038090>UnStack(2)
  2234.  
  2235. @Outline 3@<:s><:#P30670848,P1038090>endif
  2236.  
  2237. @Outline 2@<:s><:#P30670848,P1038090>If PrinterIndex = NULL
  2238.  
  2239. @Outline 3@<:s><:#P30670848,P1038090>PrinterIndex = 0
  2240.  
  2241. @Outline 2@<:s><:#P30670848,P1038090>Endif
  2242.  
  2243. @Outline 2@<:s><:#P30670848,P1038090>DlgSetListBoxIndex(hDlg, 9500, PrinterIndex)
  2244.  
  2245. @Outline 2@<:s><:#P30670848,P1038090>PrinterName = GetDlgItemText(hDlg, 9500)
  2246.  
  2247. @Outline 2@<:s><:#P30670848,P1038090>NoPrinterSect = GetGlobalVar$("NoPrinterSect")
  2248.  
  2249. @Outline 2@<:s><:#P30670848,P1038090>If NoPrinterSect = 1
  2250.  
  2251. @Outline 3@<:s><:#P30670848,P1038090>NewPrintDef(PrinterName)
  2252.  
  2253. @Outline 3@<:s><:#P30670848,P1038090>SetGlobalVar("NoPrinterSect", 0)
  2254.  
  2255. @Outline 3@<:s><:#P30670848,P1038090>SetGlobalVar("ini_section", PrinterName)
  2256.  
  2257. @Outline 2@<:s><:#P30670848,P1038090>Endif
  2258.  
  2259. @Function@<:s><:#P30670848,P1918894>End Function
  2260.  
  2261. @Function@<:s><:#P30670848,P1918894>
  2262.  
  2263. @Function@<:s><:#P30670848,P1918894>Function FillEnvelopeSizesBox(hDlg, Id) ' Fill the envelope sizes box.
  2264.  
  2265. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  2266.  
  2267. @Outline 2@<:s><:#P30670848,P1038090>MacPath = GetGlobalVar$("macpath")
  2268.  
  2269. @Outline 2@<:s><:#P30670848,P1038090>NumSizes = GetProfileString$(INI_SETUP_ENV, "NumSizes", INI_SETUP)
  2270.  
  2271. @Outline 2@<:s><:#P30670848,P1038090>AllocGlobalVar("EnvSizes", NumSizes)
  2272.  
  2273. @Outline 2@<:s><:#P30670848,P1038090>ini_section = GetGlobalVar$("ini_section")
  2274.  
  2275. @Outline 2@<:s><:#P30670848,P1038090>Index = 0
  2276.  
  2277. @Outline 2@<:s><:#P30670848,P1038090>Dim EnvSizes(NumSizes)
  2278.  
  2279. @Outline 2@<:s><:#P30670848,P1038090>HasRun = GetGlobalVar$("HasRunEnvSize")
  2280.  
  2281. @Outline 2@<:s><:#P30670848,P1038090>If HasRun <<= 0
  2282.  
  2283. @Outline 3@<:s><:#P30670848,P1038090>GetDef = GetProfileString$(ini_section, "EnvSize", INI_FILE) 
  2284.  
  2285. @Outline 3@<:s><:#P30670848,P1038090>If GetDef = NULL
  2286.  
  2287. @Outline 4@<:s><:#P30670848,P1038090>GetDef = GetProfileString$(INI_ENV_DEFAULTS, "EnvSize", INI_FILE)
  2288.  
  2289. @Outline 3@<:s><:#P30670848,P1038090>Endif 
  2290.  
  2291. @Outline 3@<:s><:#P30670848,P1038090>For i = 1 to NumSizes
  2292.  
  2293. @Outline 4@<:s><:#P30670848,P1038090>SetSize = GetProfileString$(INI_SETUP_ENV, "Size{i}", INI_SETUP)
  2294.  
  2295. @Outline 4@<:s><:#P30670848,P1038090>SetGlobalArray("EnvSizes", i, SetSize)
  2296.  
  2297. @Outline 3@<:s><:#P30670848,P1038090>Next
  2298.  
  2299. @Outline 3@<:s><:#P30670848,P1038090>SetGlobalVar("HasRunEnvSize", NumSizes)
  2300.  
  2301. @Outline 2@<:s><:#P30670848,P1038090>Elseif GetGlobalVar$("ChangePrinter") = 1
  2302.  
  2303. @Outline 3@<:s><:#P30670848,P1038090>GetDef = GetProfileString$(ini_section, "EnvSize", INI_FILE)
  2304.  
  2305. @Outline 3@<:s><:#P30670848,P1038090>If GetDef = NULL
  2306.  
  2307. @Outline 4@<:s><:#P30670848,P1038090>ini_section = INI_ENV_DEFAULTS
  2308.  
  2309. @Outline 4@<:s><:#P30670848,P1038090> GetDef = GetProfileString$(ini_section, "EnvSize", INI_FILE)
  2310.  
  2311. @Outline 3@<:s><:#P30670848,P1038090>Endif
  2312.  
  2313. @Outline 3@<:s><:#P30670848,P1038090>SetGlobalVar("ChangePrinter", 0)
  2314.  
  2315. @Outline 2@<:s><:#P30670848,P1038090>Else
  2316.  
  2317. @Outline 3@<:s><:#P30670848,P1038090>GetDef = GetDlgItemText(hDlg, 9501)
  2318.  
  2319. @Outline 2@<:s><:#P30670848,P1038090>Endif
  2320.  
  2321. @Outline 2@<:s><:#P30670848,P1038090>'DlgClearControl(hDlg, 9501)
  2322.  
  2323. @Outline 2@<:s><:#P30670848,P1038090>For i = 1 to NumSizes
  2324.  
  2325. @Outline 3@<:s><:#P30670848,P1038090>EnvSize = GetGlobalArray$("EnvSizes", i)
  2326.  
  2327. @Outline 3@<:s><:#P30670848,P1038090>EnvSizeName = strfield$(EnvSize, 1, "~")
  2328.  
  2329. @Outline 3@<:s><:#P30670848,P1038090>If EnvSizeName <<<;> NULL
  2330.  
  2331. @Outline 4@<:s><:#P30670848,P1038090>If HasRun <<=0
  2332.  
  2333. @Outline 5@<:s><:#P30670848,P1038090>SetDlgItemText(hDlg, 9501, EnvSizeName)
  2334.  
  2335. @Outline 4@<:s><:#P30670848,P1038090>Endif
  2336.  
  2337. @Comments@<:s><:#P30670848,P802161>'Get last envelope size
  2338.  
  2339. @Outline 4@<:s><:#P30670848,P1038090>If GetDef = EnvSizeName
  2340.  
  2341. @Outline 5@<:s><:#P30670848,P1038090>EnvSizeIndex = Index
  2342.  
  2343. @Outline 4@<:s><:#P30670848,P1038090>Endif
  2344.  
  2345. @Outline 4@<:s><:#P30670848,P1038090>Index = Index + 1
  2346.  
  2347. @Outline 3@<:s><:#P30670848,P1038090>Endif
  2348.  
  2349. @Outline 2@<:s><:#P30670848,P1038090>Next
  2350.  
  2351. @Outline 2@<:s><:#P30670848,P1038090>If GetDef = "Custom envelope"
  2352.  
  2353. @Outline 3@<:s><:#P30670848,P1038090>EnvWidth = ConvertToUnits(GetProfileString(ini_section, "CustomWidth", INI_FILE))
  2354.  
  2355. @Outline 3@<:s><:#P30670848,P1038090>EnvHeight = ConvertToUnits(GetProfileString(ini_section, "CustomHeight", INI_FILE))
  2356.  
  2357. @Outline 2@<:s><:#P30670848,P1038090>Else
  2358.  
  2359. @Outline 3@<:s><:#P30670848,P1038090>EnvSect = GetGlobalArray$("EnvSizes", EnvSizeIndex+1)
  2360.  
  2361. @Outline 3@<:s><:#P30670848,P1038090>EnvSect = strfield$(EnvSect, 2, "~")
  2362.  
  2363. @Outline 3@<:s><:#P30670848,P1038090>EnvPgSize =  GetProfileString$(EnvSect, "EnvPgSize2", INI_SETUP)
  2364.  
  2365. @Outline 3@<:s><:#P30670848,P1038090>EnvWidth = ConvertToUnits(strfield$(EnvPgSize, 2, "~"))
  2366.  
  2367. @Outline 3@<:s><:#P30670848,P1038090>EnvHeight = ConvertToUnits(strfield$(EnvPgSize, 1, "~"))
  2368.  
  2369. @Outline 2@<:s><:#P30670848,P1038090>Endif
  2370.  
  2371. @Outline 2@<:s><:#P30670848,P1038090>SetDlgItemText(hDlg, 8004, EnvWidth)
  2372.  
  2373. @Outline 2@<:s><:#P30670848,P1038090>SetDlgItemText(hDlg, 8003, EnvHeight)
  2374.  
  2375. @Outline 2@<:s><:#P30670848,P1038090>DlgSetListBoxIndex(hDlg, 9501, EnvSizeIndex)
  2376.  
  2377. @Function@<:s><:#P30670848,P1918894>End Function
  2378.  
  2379. @Outline 2@<:s><:#P30670848,P1038090>
  2380.  
  2381. @Function@<:s><:#P30670848,P1918894>
  2382.  
  2383. @Function@<:s><:#P30670848,P1918894>Function SetCustomEnvSize(hDlg, Id) ' Fill the envelope sizes box.
  2384.  
  2385. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  2386.  
  2387. @Outline 2@<:s><:#P30670848,P1038090>MacPath = GetGlobalVar$("macpath")
  2388.  
  2389. @Outline 2@<:s><:#P30670848,P1038090>GetCurrSize = GetDlgItemText(hDlg, 9501) 
  2390.  
  2391. @Outline 2@<:s><:#P30670848,P1038090>If GetCurrSize = "Custom envelope"
  2392.  
  2393. @Outline 3@<:s><:#P30670848,P1038090>Exit Function
  2394.  
  2395. @Outline 2@<:s><:#P30670848,P1038090>Endif
  2396.  
  2397. @Outline 2@<:s><:#P30670848,P1038090>NumSizes = GetProfileString$(INI_SETUP_ENV, "NumSizes", INI_SETUP)
  2398.  
  2399. @Outline 2@<:s><:#P30670848,P1038090>Index = 0
  2400.  
  2401. @Outline 2@<:s><:#P30670848,P1038090>For i = 1 to NumSizes
  2402.  
  2403. @Outline 3@<:s><:#P30670848,P1038090>EnvSizes = GetProfileString$(INI_SETUP_ENV, "Size{i}", INI_SETUP)
  2404.  
  2405. @Outline 3@<:s><:#P30670848,P1038090>EnvSizeName = strfield$(EnvSizes, 1, "~")
  2406.  
  2407. @Outline 3@<:s><:#P30670848,P1038090>If EnvSizeName <<<;> NULL
  2408.  
  2409. @Outline 4@<:s><:#P30670848,P1038090>If EnvSizeName = "Custom envelope"
  2410.  
  2411. @Outline 5@<:s><:#P30670848,P1038090>EnvSizeIndex = Index
  2412.  
  2413. @Outline 4@<:s><:#P30670848,P1038090>Endif
  2414.  
  2415. @Outline 4@<:s><:#P30670848,P1038090>Index = Index + 1
  2416.  
  2417. @Outline 3@<:s><:#P30670848,P1038090>Endif
  2418.  
  2419. @Outline 2@<:s><:#P30670848,P1038090>Next
  2420.  
  2421. @Outline 2@<:s><:#P30670848,P1038090>DlgSetListBoxIndex(hDlg, 9501, EnvSizeIndex)
  2422.  
  2423. @Function@<:s><:#P30670848,P1918894>End Function
  2424.  
  2425. @Function@<:s><:#P30670848,P1918894>
  2426.  
  2427. @Function@<:s><:#P30670848,P1918894>Function EnvSettings(hDlg, Id) ' Initialize Envelope Settings Dialog box.
  2428.  
  2429. @Outline 2@<:s><:#P30670848,P1038090>'singlestep(1)
  2430.  
  2431. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  2432.  
  2433. @Outline 2@<:s><:#P30670848,P1038090>MacPath = GetGlobalVar$("macpath")
  2434.  
  2435. @Outline 2@<:s><:#P30670848,P1038090>ini_section = GetGlobalVar$("ini_section")
  2436.  
  2437. @Outline 2@<:s><:#P30670848,P1038090>Position = GetProfileString$(ini_section, "Position", INI_FILE)
  2438.  
  2439. @Outline 2@<:s><:#P30670848,P1038090>If Position = NULL
  2440.  
  2441. @Outline 3@<:s><:#P30670848,P1038090>ini_section = INI_ENV_DEFAULTS
  2442.  
  2443. @Outline 3@<:s><:#P30670848,P1038090>Position = GetProfileString$(ini_section, "Position", INI_FILE)
  2444.  
  2445. @Outline 2@<:s><:#P30670848,P1038090>Endif
  2446.  
  2447. @Outline 2@<:s><:#P30670848,P1038090>Orientation = GetProfileString$(ini_section, "Orientation", INI_FILE)
  2448.  
  2449. @Outline 2@<:s><:#P30670848,P1038090>Switch Position
  2450.  
  2451. @Outline 3@<:s><:#P30670848,P1038090>Case 1
  2452.  
  2453. @Outline 4@<:s><:#P30670848,P1038090>FillEdit(22, 1)
  2454.  
  2455. @Outline 3@<:s><:#P30670848,P1038090>Case 2
  2456.  
  2457. @Outline 4@<:s><:#P30670848,P1038090>FillEdit(23, 1)
  2458.  
  2459. @Outline 3@<:s><:#P30670848,P1038090>Case 3
  2460.  
  2461. @Outline 4@<:s><:#P30670848,P1038090>FillEdit(24, 1)
  2462.  
  2463. @Outline 2@<:s><:#P30670848,P1038090>EndSwitch
  2464.  
  2465. @Outline 2@<:s><:#P30670848,P1038090>Switch Orientation
  2466.  
  2467. @Outline 3@<:s><:#P30670848,P1038090>Case "Portrait"
  2468.  
  2469. @Outline 4@<:s><:#P30670848,P1038090>FillEdit(30, 1)
  2470.  
  2471. @Outline 3@<:s><:#P30670848,P1038090>Case "Landscape"
  2472.  
  2473. @Outline 4@<:s><:#P30670848,P1038090>FillEdit(31, 1)
  2474.  
  2475. @Outline 2@<:s><:#P30670848,P1038090>EndSwitch
  2476.  
  2477. @Outline 2@<:s><:#P30670848,P1038090>SetDlgCallback(40, "AdjustSettings")
  2478.  
  2479. @Outline 2@<:s><:#P30670848,P1038090>DlgSetHelpNumber(238)
  2480.  
  2481. @Outline 2@<:s><:#P30670848,P1038090>Box = DialogBox(DIALOG_BOX, "EnvSettings")
  2482.  
  2483. @Outline 2@<:s><:#P30670848,P1038090>ini_section = GetGlobalVar$("ini_section")
  2484.  
  2485. @Outline 2@<:s><:#P30670848,P1038090>For i = 22 to 24
  2486.  
  2487. @Outline 3@<:s><:#P30670848,P1038090>NewPosition = GetDialogField$(i)
  2488.  
  2489. @Outline 3@<:s><:#P30670848,P1038090>If NewPosition = 1
  2490.  
  2491. @Outline 4@<:s><:#P30670848,P1038090>If i = 22
  2492.  
  2493. @Outline 5@<:s><:#P30670848,P1038090>WriteProfileString(ini_section, "Position", 1, INI_FILE)
  2494.  
  2495. @Outline 4@<:s><:#P30670848,P1038090>ElseIf i = 23
  2496.  
  2497. @Outline 5@<:s><:#P30670848,P1038090>WriteProfileString(ini_section, "Position", 2, INI_FILE)
  2498.  
  2499. @Outline 4@<:s><:#P30670848,P1038090>Else
  2500.  
  2501. @Outline 5@<:s><:#P30670848,P1038090>WriteProfileString(ini_section, "Position", 3, INI_FILE)
  2502.  
  2503. @Outline 4@<:s><:#P30670848,P1038090>Endif
  2504.  
  2505. @Outline 3@<:s><:#P30670848,P1038090>Endif
  2506.  
  2507. @Outline 2@<:s><:#P30670848,P1038090>Next
  2508.  
  2509. @Outline 2@<:s><:#P30670848,P1038090>For i = 30 to 31
  2510.  
  2511. @Outline 3@<:s><:#P30670848,P1038090>NewOrient = GetDialogField$(i)
  2512.  
  2513. @Outline 3@<:s><:#P30670848,P1038090>If NewOrient = 1
  2514.  
  2515. @Outline 4@<:s><:#P30670848,P1038090>If i = 30
  2516.  
  2517. @Outline 5@<:s><:#P30670848,P1038090>WriteProfileString(ini_section, "Orientation", "Portrait", INI_FILE)
  2518.  
  2519. @Outline 4@<:s><:#P30670848,P1038090>Elseif i = 31
  2520.  
  2521. @Outline 5@<:s><:#P30670848,P1038090>WriteProfileString(ini_section, "Orientation", "Landscape", INI_FILE)
  2522.  
  2523. @Outline 4@<:s><:#P30670848,P1038090>Endif
  2524.  
  2525. @Outline 3@<:s><:#P30670848,P1038090>Endif
  2526.  
  2527. @Outline 2@<:s><:#P30670848,P1038090>Next
  2528.  
  2529. @Function@<:s><:#P30670848,P1918894>End Function
  2530.  
  2531. @Outline 2@<:s><:#P30670848,P1038090>
  2532.  
  2533. @Function@<:s><:#P30670848,P1918894>
  2534.  
  2535. @Modules@<:s><:#P30670848,P1918894>'Address functions
  2536.  
  2537. @Function@<:s><:#P30670848,P1918894>Function AddAddress(HDlg, Id) ' Get the return address to add
  2538.  
  2539. @Outline 2@<:s><:#P30670848,P1038090>'Singlestep(1)
  2540.  
  2541. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  2542.  
  2543. @Outline 2@<:s><:#P30670848,P1038090>NewAddress = GetDlgItemText(Hdlg, 8002)
  2544.  
  2545. @Outline 2@<:s><:#P30670848,P1038090>crlf = strcat$(CHR$ (13), CHR$ (10))
  2546.  
  2547. @Outline 2@<:s><:#P30670848,P1038090>NewAddressTitle = strfield$(NewAddress, 1, crlf)
  2548.  
  2549. @Outline 2@<:s><:#P30670848,P1038090>NumNames = GetProfileString$(INI_ADDRESS, "NumNames", INI_ADDRESS_FILE)
  2550.  
  2551. @Outline 2@<:s><:#P30670848,P1038090>
  2552.  
  2553. @Comments@<:s><:#P30670848,P802161>'Look for existing return names
  2554.  
  2555. @Outline 2@<:s><:#P30670848,P1038090>For i = 1 to NumNames
  2556.  
  2557. @Outline 3@<:s><:#P30670848,P1038090>CompName = GetProfileString$(INI_ADDRESS, "Name{i}", INI_ADDRESS_FILE)
  2558.  
  2559. @Outline 3@<:s><:#P30670848,P1038090>CompName = StrField$(CompName, 1, "~")
  2560.  
  2561. @Outline 3@<:s><:#P30670848,P1038090>If CompName = NULL
  2562.  
  2563. @Outline 4@<:s><:#P30670848,P1038090>NewNameIndexNull = i
  2564.  
  2565. @Outline 3@<:s><:#P30670848,P1038090>Endif
  2566.  
  2567. @Outline 3@<:s><:#P30670848,P1038090>If NewAddressTitle = CompName
  2568.  
  2569. @Outline 4@<:s><:#P30670848,P1038090>ReplaceIt = decide(REPLACE_RETURN)
  2570.  
  2571. @Outline 4@<:s><:#P30670848,P1038090>If ReplaceIt = 1
  2572.  
  2573. @Outline 5@<:s><:#P30670848,P1038090>InsertAddress(i, NewAddress)
  2574.  
  2575. @Outline 5@<:s><:#P30670848,P1038090>WriteProfileString(INI_ADDRESS, "NumNames", i, INI_ADDRESS_FILE)
  2576.  
  2577. @Outline 5@<:s><:#P30670848,P1038090>Exit Function
  2578.  
  2579. @Outline 4@<:s><:#P30670848,P1038090>Elseif ReplaceIt <<<;> 1
  2580.  
  2581. @Outline 5@<:s><:#P30670848,P1038090>Exit Function
  2582.  
  2583. @Outline 4@<:s><:#P30670848,P1038090>Endif
  2584.  
  2585. @Outline 3@<:s><:#P30670848,P1038090>Endif
  2586.  
  2587. @Outline 3@<:s><:#P30670848,P1038090>NewNameIndex = i
  2588.  
  2589. @Outline 2@<:s><:#P30670848,P1038090>Next
  2590.  
  2591. @Outline 2@<:s><:#P30670848,P1038090>If CompName <<<;> NULL
  2592.  
  2593. @Outline 3@<:s><:#P30670848,P1038090>NewNameIndex = NewNameIndex + 1
  2594.  
  2595. @Outline 3@<:s><:#P30670848,P1038090>InsertAddress(NewNameIndex, NewAddress)
  2596.  
  2597. @Outline 3@<:s><:#P30670848,P1038090>NumNames = NumNames + 1
  2598.  
  2599. @Outline 3@<:s><:#P30670848,P1038090>WriteProfileString(INI_ADDRESS, "NumNames", NumNames, INI_ADDRESS_FILE)
  2600.  
  2601. @Outline 2@<:s><:#P30670848,P1038090>Else
  2602.  
  2603. @Outline 3@<:s><:#P30670848,P1038090>InsertAddress(NewNameIndexNull, NewAddress)
  2604.  
  2605. @Outline 2@<:s><:#P30670848,P1038090>Endif
  2606.  
  2607. @Outline 2@<:s><:#P30670848,P1038090>NewNameIndex = NewNameIndex - 1
  2608.  
  2609. @Outline 2@<:s><:#P30670848,P1038090>DlgListBoxInsertItem(hDlg, 9502, NewNameIndex, NewAddressTitle)
  2610.  
  2611. @Outline 2@<:s><:#P30670848,P1038090>DlgSetListBoxIndex(hDlg, 9502, NewNameIndex)
  2612.  
  2613. @Function@<:s><:#P30670848,P1918894>End Function
  2614.  
  2615. @Function@<:s><:#P30670848,P1918894>
  2616.  
  2617. @Function@<:s><:#P30670848,P2894070>Function InsertAddress(NewNameNum, Address) 'Write the return address to the INI file
  2618.  
  2619. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  2620.  
  2621. @Outline 2@<:s><:#P30670848,P1038090>crlf = strcat$(CHR$ (13), CHR$ (10))
  2622.  
  2623. @Outline 2@<:s><:#P30670848,P1038090>For i = 1 to MAXLINES
  2624.  
  2625. @Outline 3@<:s><:#P30670848,P1038090>GetAddress = Strfield$(Address, i, crlf)
  2626.  
  2627. @Outline 3@<:s><:#P30670848,P1038090>If GetAddress = -1
  2628.  
  2629. @Outline 4@<:s><:#P30670848,P1038090>Break
  2630.  
  2631. @Outline 3@<:s><:#P30670848,P1038090>Endif
  2632.  
  2633. @Outline 3@<:s><:#P30670848,P1038090>If i = 1
  2634.  
  2635. @Outline 4@<:s><:#P30670848,P1038090>NewAddress = GetAddress
  2636.  
  2637. @Outline 3@<:s><:#P30670848,P1038090>Else
  2638.  
  2639. @Outline 4@<:s><:#P30670848,P1038090>NewAddress = Strcat$(NewAddress, "~", Mid$(GetAddress, 2, "45"))
  2640.  
  2641. @Outline 3@<:s><:#P30670848,P1038090>Endif
  2642.  
  2643. @Outline 2@<:s><:#P30670848,P1038090>Next
  2644.  
  2645. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(INI_ADDRESS, "Name{NewNameNum}", NewAddress, INI_ADDRESS_FILE)
  2646.  
  2647. @Function@<:s><:#P30670848,P1918894>End Function
  2648.  
  2649. @Function@<:s><:#P30670848,P1918894>
  2650.  
  2651. @Function@<:s><:#P30670848,P1918894>Function DeleteRetName(hDlg, ID, text) ' Delete the return address.
  2652.  
  2653. @Outline 2@<:s><:#P30670848,P1038090>'singlestep(1)
  2654.  
  2655. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  2656.  
  2657. @Outline 2@<:s><:#P30670848,P1038090>NumNames = GetProfileString$(INI_ADDRESS, "NumNames", INI_ADDRESS_FILE)
  2658.  
  2659. @Outline 2@<:s><:#P30670848,P1038090>NameToDelete = GetDlgItemText(hDlg, 9502)
  2660.  
  2661. @Outline 2@<:s><:#P30670848,P1038090>USure = Decide(DELETE_RETURN)
  2662.  
  2663. @Outline 2@<:s><:#P30670848,P1038090>If Usure = 1
  2664.  
  2665. @Outline 3@<:s><:#P30670848,P1038090>For i = 1 to NumNames
  2666.  
  2667. @Outline 4@<:s><:#P30670848,P1038090>CompName = GetProfileString$(INI_ADDRESS, "Name{i}", INI_ADDRESS_FILE)
  2668.  
  2669. @Outline 4@<:s><:#P30670848,P1038090>CompName = strfield$(CompName, 1, "~")
  2670.  
  2671. @Outline 4@<:s><:#P30670848,P1038090>If CompName = NameToDelete
  2672.  
  2673. @Outline 5@<:s><:#P30670848,P1038090>WriteProfileString(INI_ADDRESS, "Name{i}", NULL, INI_ADDRESS_FILE)
  2674.  
  2675. @Outline 5@<:s><:#P30670848,P1038090>Index = DlgGetListBoxIndex(hDlg, 9502)
  2676.  
  2677. @Outline 5@<:s><:#P30670848,P1038090>DlgListBoxDeleteItem(hDlg, 9502, Index)
  2678.  
  2679. @Outline 5@<:s><:#P30670848,P1038090>DlgSetListBoxIndex(hDlg, 9502, 0)
  2680.  
  2681. @Outline 5@<:s><:#P30670848,P1038090>DlgClearControl(hDlg, 8002)
  2682.  
  2683. @Comments@<:s><:#P30670848,P802161>
  2684.  
  2685. @Comments@<:s><:#P30670848,P802161>'Call the function to fill the ret box and pass hDlg to it
  2686.  
  2687. @Outline 5@<:s><:#P30670848,P1038090>Call FillRetAddBox(hDlg, 9502)
  2688.  
  2689. @Outline 5@<:s><:#P30670848,P1038090>
  2690.  
  2691. @Outline 5@<:s><:#P30670848,P1038090>Exit Function
  2692.  
  2693. @Outline 4@<:s><:#P30670848,P1038090>Endif
  2694.  
  2695. @Outline 3@<:s><:#P30670848,P1038090>Next
  2696.  
  2697. @Outline 2@<:s><:#P30670848,P1038090>Else
  2698.  
  2699. @Outline 3@<:s><:#P30670848,P1038090>Exit Function
  2700.  
  2701. @Outline 2@<:s><:#P30670848,P1038090>Endif
  2702.  
  2703. @Function@<:s><:#P30670848,P1918894>End Function
  2704.  
  2705. @Function@<:s><:#P30670848,P1918894>
  2706.  
  2707. @Function@<:s><:#P30670848,P1918894>Function GetAddrs(AddrsText) ' If no recipient address.
  2708.  
  2709. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  2710.  
  2711. @Outline 2@<:s><:#P30670848,P1038090>macpath = GetGlobalVar$("macpath")
  2712.  
  2713. @Outline 2@<:s><:#P30670848,P1038090>Box = DialogBox(DIALOG_BOX, "Adrs");
  2714.  
  2715. @Outline 2@<:s><:#P30670848,P1038090>If box = -1 
  2716.  
  2717. @Outline 3@<:s><:#P30670848,P1038090>Exit Function
  2718.  
  2719. @Outline 2@<:s><:#P30670848,P1038090>ElseIf box = 0
  2720.  
  2721. @Outline 3@<:s><:#P30670848,P1038090>Exit Function
  2722.  
  2723. @Outline 2@<:s><:#P30670848,P1038090>Endif
  2724.  
  2725. @Outline 2@<:s><:#P30670848,P1038090>*AddrsText = GetDialogField$(8002);
  2726.  
  2727. @Function@<:s><:#P30670848,P1918894>End Function
  2728.  
  2729. @Function@<:s><:#P30670848,P1918894>
  2730.  
  2731. @Modules@<:s><:#P30670848,P1918894>'Modify page sizes
  2732.  
  2733. @Function@<:s><:#P30670848,P2894070>Function ModEnvPage(EnvSize, EnvFeed, Width, Height) ' Modify the page layout to the selected env size.
  2734.  
  2735. @Outline 2@<:s><:#P30670848,P1038090>'Singlestep(1)
  2736.  
  2737. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  2738.  
  2739. @Outline 2@<:s><:#P30670848,P1038090>ini_section = GetGlobalVar$("ini_section")
  2740.  
  2741. @Outline 2@<:s><:#P30670848,P1038090>MacPath = GetGlobalVar$("macpath")
  2742.  
  2743. @Outline 2@<:s><:#P30670848,P1038090>NumSizes = GetProfileString$(INI_SETUP_ENV, "NumSizes", INI_SETUP)
  2744.  
  2745. @Outline 2@<:s><:#P30670848,P1038090>Orientation = GetProfileString$(ini_section, "Orientation", INI_FILE)
  2746.  
  2747. @Outline 2@<:s><:#P30670848,P1038090>Cnt = 4
  2748.  
  2749. @Outline 2@<:s><:#P30670848,P1038090>CntH = 4
  2750.  
  2751. @Outline 2@<:s><:#P30670848,P1038090>CntF = 4
  2752.  
  2753. @Outline 2@<:s><:#P30670848,P1038090>For i = 1 to NumSizes
  2754.  
  2755. @Outline 3@<:s><:#P30670848,P1038090>GetSize = GetProfileString$(INI_SETUP_ENV, "Size{i}", INI_SETUP)
  2756.  
  2757. @Outline 3@<:s><:#P30670848,P1038090>CompSize = strfield$(GetSize, 1, "~")
  2758.  
  2759. @Outline 3@<:s><:#P30670848,P1038090>If EnvSize = CompSize
  2760.  
  2761. @Outline 4@<:s><:#P30670848,P1038090>EnvSize = strfield$(GetSize, 2, "~")
  2762.  
  2763. @Outline 4@<:s><:#P30670848,P1038090>break
  2764.  
  2765. @Outline 3@<:s><:#P30670848,P1038090>Endif
  2766.  
  2767. @Outline 2@<:s><:#P30670848,P1038090>Next
  2768.  
  2769. @Outline 2@<:s><:#P30670848,P1038090>IsSetting = strfield$(GetSize, 2, "~")
  2770.  
  2771. @Outline 2@<:s><:#P30670848,P1038090>If  IsSetting = -1
  2772.  
  2773. @Outline 3@<:s><:#P30670848,P1038090>Message(NO_ENV_SIZE_SETTINGS)
  2774.  
  2775. @Outline 3@<:s><:#P30670848,P1038090>Return (IsSetting)
  2776.  
  2777. @Outline 2@<:s><:#P30670848,P1038090>Endif
  2778.  
  2779. @Outline 2@<:s><:#P30670848,P1038090>
  2780.  
  2781. @Comments@<:s><:#P30670848,P802161>'Get the parameters for the custom page layout from the INI file.
  2782.  
  2783. @Outline 2@<:s><:#P30670848,P1038090>Dim Pl(Cnt)
  2784.  
  2785. @Outline 2@<:s><:#P30670848,P1038090>Dim Hd(CntH)
  2786.  
  2787. @Outline 2@<:s><:#P30670848,P1038090>Dim Ft(CntF)
  2788.  
  2789. @Outline 2@<:s><:#P30670848,P1038090>Dim EnvPgSz(4)
  2790.  
  2791. @Outline 2@<:s><:#P30670848,P1038090>If EnvFeed = 1 or Orientation = "Portrait"
  2792.  
  2793. @Outline 3@<:s><:#P30670848,P1038090>EnvPg = GetProfileString$(EnvSize, "EnvPgLayout2", INI_SETUP)
  2794.  
  2795. @Outline 3@<:s><:#P30670848,P1038090>EnvHd = GetProfileString$(EnvSize, "EnvHdLayout2", INI_SETUP)
  2796.  
  2797. @Outline 3@<:s><:#P30670848,P1038090>EnvFt = GetProfileString$(EnvSize, "EnvFtLayout2", INI_SETUP)
  2798.  
  2799. @Outline 3@<:s><:#P30670848,P1038090>EnvPgSize = GetProfileString$(EnvSize, "EnvPgSize2", INI_SETUP)
  2800.  
  2801. @Outline 2@<:s><:#P30670848,P1038090>Else
  2802.  
  2803. @Outline 3@<:s><:#P30670848,P1038090>EnvPg = GetProfileString$(EnvSize, "EnvPgLayout", INI_SETUP)
  2804.  
  2805. @Outline 3@<:s><:#P30670848,P1038090>EnvHd = GetProfileString$(EnvSize, "EnvHdLayout", INI_SETUP)
  2806.  
  2807. @Outline 3@<:s><:#P30670848,P1038090>EnvFt = GetProfileString$(EnvSize, "EnvFtLayout", INI_SETUP)
  2808.  
  2809. @Outline 3@<:s><:#P30670848,P1038090>EnvPgSize = GetProfileString$(EnvSize, "EnvPgSize", INI_SETUP)
  2810.  
  2811. @Outline 2@<:s><:#P30670848,P1038090>Endif
  2812.  
  2813. @Outline 2@<:s><:#P30670848,P1038090>For i = 1 to 4
  2814.  
  2815. @Outline 3@<:s><:#P30670848,P1038090>EnvPgSz(i) = Strfield$(EnvPgSize, i, "~")
  2816.  
  2817. @Outline 3@<:s><:#P30670848,P1038090>Pl(i) = Strfield$(EnvPg, i, "~")
  2818.  
  2819. @Outline 3@<:s><:#P30670848,P1038090>Hd(i) = Strfield$(EnvHd, i, "~")
  2820.  
  2821. @Outline 3@<:s><:#P30670848,P1038090>Ft(i) = Strfield$(EnvFt, i, "~")
  2822.  
  2823. @Outline 2@<:s><:#P30670848,P1038090>Next
  2824.  
  2825. @Outline 2@<:s><:#P30670848,P1038090>
  2826.  
  2827. @Comments@<:s><:#P30670848,P802161>'See if it is a custom envelope
  2828.  
  2829. @Outline 2@<:s><:#P30670848,P1038090>If EnvSize = "Custom"
  2830.  
  2831. @Outline 3@<:s><:#P30670848,P1038090>Pl(1) = Width + (15840 - (Width/CUST_ENV_SIZE_PARM))
  2832.  
  2833. @Outline 3@<:s><:#P30670848,P1038090>Pl(2) = Height + (Height * 0.06)
  2834.  
  2835. @Outline 3@<:s><:#P30670848,P1038090>Hd(1) = (16340) - (Width/CUST_ENV_SIZE_PARM) 
  2836.  
  2837. @Outline 2@<:s><:#P30670848,P1038090>Endif
  2838.  
  2839. @Comments@<:s><:#P30670848,P802161>
  2840.  
  2841. @Comments@<:s><:#P30670848,P802161>'See if the position is set for Left, Center or Right 
  2842.  
  2843. @Outline 2@<:s><:#P30670848,P1038090>If Orientation <<<;> "Portrait"
  2844.  
  2845. @Outline 3@<:s><:#P30670848,P1038090>Position = GetProfileString$(ini_section, "Position", INI_FILE) 
  2846.  
  2847. @Outline 3@<:s><:#P30670848,P1038090>If Position = 2 
  2848.  
  2849. @Outline 4@<:s><:#P30670848,P1038090>Pl(2) = Pl(2) + 3240 
  2850.  
  2851. @Outline 4@<:s><:#P30670848,P1038090>Hd(2) = Hd(2) + 3240 
  2852.  
  2853. @Outline 3@<:s><:#P30670848,P1038090>Elseif Position = 3 
  2854.  
  2855. @Outline 4@<:s><:#P30670848,P1038090>Pl(2) = Pl(2) + 6264
  2856.  
  2857. @Outline 4@<:s><:#P30670848,P1038090>Hd(2) = Hd(2) + 6264 
  2858.  
  2859. @Outline 4@<:s><:#P30670848,P1038090>Ft(1) = 0 
  2860.  
  2861. @Outline 3@<:s><:#P30670848,P1038090>Endif
  2862.  
  2863. @Outline 2@<:s><:#P30670848,P1038090>Endif
  2864.  
  2865. @Outline 2@<:s><:#P30670848,P1038090>
  2866.  
  2867. @Comments@<:s><:#P30670848,P802161>'See if it is portait or landscape
  2868.  
  2869. @Outline 2@<:s><:#P30670848,P1038090>If  Orientation = "Portrait" and EnvSize <<<;> "Custom"
  2870.  
  2871. @Outline 3@<:s><:#P30670848,P1038090>beginChange()
  2872.  
  2873. @Outline 3@<:s><:#P30670848,P1038090>endChange(1)
  2874.  
  2875. @Outline 3@<:s><:#P30670848,P1038090>.page.layout.style.right.orientation = 0
  2876.  
  2877. @Outline 2@<:s><:#P30670848,P1038090>Elseif  (Orientation = "Portrait" or EnvFeed = 1) and EnvSize = "Custom"
  2878.  
  2879. @Outline 3@<:s><:#P30670848,P1038090>EnvPgSz(1) = (Height / 0.4)
  2880.  
  2881. @Outline 3@<:s><:#P30670848,P1038090>EnvPgSz(2) = (Width / 0.4)
  2882.  
  2883. @Outline 3@<:s><:#P30670848,P1038090>Pl(1) = Width
  2884.  
  2885. @Outline 3@<:s><:#P30670848,P1038090>Pl(2) = Height +360
  2886.  
  2887. @Outline 3@<:s><:#P30670848,P1038090>Hd(1) = 500
  2888.  
  2889. @Outline 3@<:s><:#P30670848,P1038090>Hd(2) = 500
  2890.  
  2891. @Outline 3@<:s><:#P30670848,P1038090>Ft(2) = 1440
  2892.  
  2893. @Outline 3@<:s><:#P30670848,P1038090>beginChange()
  2894.  
  2895. @Outline 3@<:s><:#P30670848,P1038090>If Orientation = "Portrait"
  2896.  
  2897. @Outline 4@<:s><:#P30670848,P1038090>.page.layout.style.right.orientation = 0
  2898.  
  2899. @Outline 3@<:s><:#P30670848,P1038090>Endif
  2900.  
  2901. @Outline 3@<:s><:#P30670848,P1038090>endChange(1)
  2902.  
  2903. @Outline 2@<:s><:#P30670848,P1038090>Endif
  2904.  
  2905. @Outline 2@<:s><:#P30670848,P1038090>
  2906.  
  2907. @Comments@<:s><:#P30670848,P802161>'Modify the page layout of the "untitled" file using parameters from INI file.
  2908.  
  2909. @Outline 3@<:s><:#P30670848,P1038090>'singlestep(1)
  2910.  
  2911. @Outline 2@<:s><:#P30670848,P1038090>
  2912.  
  2913. @Comments@<:s><:#P30670848,P802161>'Adjust envelope
  2914.  
  2915. @Outline 2@<:s><:#P30670848,P1038090>Adjust = GetProfileString$(ini_section, "AdjAmount", INI_FILE)
  2916.  
  2917. @Outline 2@<:s><:#P30670848,P1038090>Hd(1) = Hd(1) + strfield$(Adjust, 2, "~")
  2918.  
  2919. @Outline 2@<:s><:#P30670848,P1038090>Hd(2) = Hd(2) + strfield$(Adjust, 1, "~")
  2920.  
  2921. @Outline 2@<:s><:#P30670848,P1038090>Pl(1) = Pl(1) + strfield$(Adjust, 4, "~")
  2922.  
  2923. @Outline 2@<:s><:#P30670848,P1038090>Pl(2) = Pl(2) + strfield$(Adjust, 3, "~")
  2924.  
  2925. @Outline 2@<:s><:#P30670848,P1038090>
  2926.  
  2927. @Outline 2@<:s><:#P30670848,P1038090>BeginChange()
  2928.  
  2929. @Outline 3@<:s><:#P30670848,P1038090>.Page.Layout.Style.Right.Stack()
  2930.  
  2931. @Outline 4@<:s><:#P30670848,P1038090>.Height = TwipsToUnits(EnvPgSz(1))
  2932.  
  2933. @Outline 4@<:s><:#P30670848,P1038090>.Width = TwipsToUnits(EnvPgSz(2))
  2934.  
  2935. @Outline 4@<:s><:#P30670848,P1038090>.Left = TwipsToUnits(Pl(1))
  2936.  
  2937. @Outline 4@<:s><:#P30670848,P1038090>.Right =TwipsToUnits(Pl(3))
  2938.  
  2939. @Outline 4@<:s><:#P30670848,P1038090>.Top = TwipsToUnits(Pl(2))
  2940.  
  2941. @Outline 4@<:s><:#P30670848,P1038090>.Bottom = TwipsToUnits(Pl(4))
  2942.  
  2943. @Outline 3@<:s><:#P30670848,P1038090>unstack(1)
  2944.  
  2945. @Outline 3@<:s><:#P30670848,P1038090>.header.stack()
  2946.  
  2947. @Outline 4@<:s><:#P30670848,P1038090>.Left =TwipsToUnits(Hd(1))
  2948.  
  2949. @Outline 4@<:s><:#P30670848,P1038090>.Right =TwipsToUnits(Hd(3))
  2950.  
  2951. @Outline 4@<:s><:#P30670848,P1038090>.Top = TwipsToUnits(Hd(2))
  2952.  
  2953. @Outline 4@<:s><:#P30670848,P1038090>.Bottom = TwipsToUnits(Hd(4))
  2954.  
  2955. @Outline 3@<:s><:#P30670848,P1038090>unstack(1)
  2956.  
  2957. @Outline 3@<:s><:#P30670848,P1038090>.footer.stack()
  2958.  
  2959. @Outline 4@<:s><:#P30670848,P1038090>.Left =TwipsToUnits(Ft(1))
  2960.  
  2961. @Outline 4@<:s><:#P30670848,P1038090>.Right =TwipsToUnits(Ft(3))
  2962.  
  2963. @Outline 4@<:s><:#P30670848,P1038090>.Top = TwipsToUnits(Ft(2))
  2964.  
  2965. @Outline 4@<:s><:#P30670848,P1038090>.Bottom = TwipsToUnits(Ft(4))
  2966.  
  2967. @Outline 3@<:s><:#P30670848,P1038090>unstack(5)
  2968.  
  2969. @Outline 2@<:s><:#P30670848,P1038090>EndChange(1)
  2970.  
  2971. @Function@<:s><:#P30670848,P1918894>End Function
  2972.  
  2973. @Function@<:s><:#P30670848,P1918894>
  2974.  
  2975. @Function@<:s><:#P30670848,P1918894>Function CustomSize(Size)
  2976.  
  2977. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  2978.  
  2979. @Outline 2@<:s><:#P30670848,P1038090>CustomSize = (CUST_ENV_SIZE_PARM * Size)
  2980.  
  2981. @Outline 2@<:s><:#P30670848,P1038090>Return (CustomSize)
  2982.  
  2983. @Function@<:s><:#P30670848,P1918894>End Function
  2984.  
  2985. @Function@<:s><:#P30670848,P1918894>
  2986.  
  2987. @Function@<:s><:#P30670848,P1918894>Function AdjustSettings(hDlg, Id)
  2988.  
  2989. @Comments@<:s><:#P30670848,P802161>'Fill the dialog box
  2990.  
  2991. @Outline 2@<:s><:#P30670848,P1038090>'singlestep(1)
  2992.  
  2993. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  2994.  
  2995. @Outline 2@<:s><:#P30670848,P1038090>ini_section = GetGlobalVar$("ini_section")
  2996.  
  2997. @Outline 2@<:s><:#P30670848,P1038090>MacPath = GetGlobalVar$("macpath")
  2998.  
  2999. @Outline 2@<:s><:#P30670848,P1038090>Units = GetUnits(Units)
  3000.  
  3001. @Outline 2@<:s><:#P30670848,P1038090>AdjAmount = GetProfileString$(ini_section, "AdjAmount", INI_FILE)
  3002.  
  3003. @Outline 2@<:s><:#P30670848,P1038090>AdjSettings = GetProfileString$(ini_section, "AdjSettings", INI_FILE)
  3004.  
  3005. @Outline 2@<:s><:#P30670848,P1038090>Num = 1
  3006.  
  3007. @Outline 2@<:s><:#P30670848,P1038090>For i = 8000 to 8004
  3008.  
  3009. @Outline 3@<:s><:#P30670848,P1038090>FillIt = strfield$(AdjAmount, Num, "~")
  3010.  
  3011. @Outline 3@<:s><:#P30670848,P1038090>If FillIt << 0
  3012.  
  3013. @Outline 4@<:s><:#P30670848,P1038090>FillIt = FillIt * -1
  3014.  
  3015. @Outline 3@<:s><:#P30670848,P1038090>Endif
  3016.  
  3017. @Outline 3@<:s><:#P30670848,P1038090>FillIt = ConvertToUnits(FillIt)
  3018.  
  3019. @Outline 3@<:s><:#P30670848,P1038090>FillEdit(i, FillIt)
  3020.  
  3021. @Outline 3@<:s><:#P30670848,P1038090>Num = Num  + 1
  3022.  
  3023. @Outline 2@<:s><:#P30670848,P1038090>Next
  3024.  
  3025. @Outline 2@<:s><:#P30670848,P1038090>
  3026.  
  3027. @Outline 2@<:s><:#P30670848,P1038090>Num = 1
  3028.  
  3029. @Outline 2@<:s><:#P30670848,P1038090>For i = 23 to 30
  3030.  
  3031. @Outline 3@<:s><:#P30670848,P1038090>FillIt = strfield$(AdjSettings, Num, "~")
  3032.  
  3033. @Outline 3@<:s><:#P30670848,P1038090>FillEdit(i, FillIt)
  3034.  
  3035. @Outline 3@<:s><:#P30670848,P1038090>Num = Num + 1
  3036.  
  3037. @Outline 2@<:s><:#P30670848,P1038090>Next
  3038.  
  3039. @Outline 2@<:s><:#P30670848,P1038090>
  3040.  
  3041. @Outline 2@<:s><:#P30670848,P1038090>FillEdit(1001, Units)
  3042.  
  3043. @Outline 2@<:s><:#P30670848,P1038090>
  3044.  
  3045. @Comments@<:s><:#P30670848,P802161>'Get the changes and convert to twips
  3046.  
  3047. @Outline 2@<:s><:#P30670848,P1038090>SetDlgCallback(20, "AdjCheck")
  3048.  
  3049. @Outline 2@<:s><:#P30670848,P1038090>DlgSetHelpNumber(238)
  3050.  
  3051. @Outline 2@<:s><:#P30670848,P1038090>Box = DialogBox("{MacPath}amienv.dlg", "adjust")
  3052.  
  3053. @Outline 2@<:s><:#P30670848,P1038090>If Box = -1
  3054.  
  3055. @Outline 3@<:s><:#P30670848,P1038090>Exit Function
  3056.  
  3057. @Outline 2@<:s><:#P30670848,P1038090>Endif
  3058.  
  3059. @Function@<:s><:#P30670848,P1918894>End Function
  3060.  
  3061. @Function@<:s><:#P30670848,P1918894>
  3062.  
  3063. @Function@<:s><:#P30670848,P1918894>Function AdjCheck(hDlg, Id)
  3064.  
  3065. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  3066.  
  3067. @Outline 2@<:s><:#P30670848,P1038090>ini_section = GetGlobalVar$("ini_section")
  3068.  
  3069. @Outline 2@<:s><:#P30670848,P1038090>Units = GetUnits(Units)
  3070.  
  3071. @Outline 2@<:s><:#P30670848,P1038090>dim sign(8)
  3072.  
  3073. @Outline 2@<:s><:#P30670848,P1038090>Num = 1
  3074.  
  3075. @Outline 2@<:s><:#P30670848,P1038090>For i = 23 to 30
  3076.  
  3077. @Outline 3@<:s><:#P30670848,P1038090>If i = 23
  3078.  
  3079. @Outline 4@<:s><:#P30670848,P1038090>AdjSettings = GetDlgItemText(hDlg, i)
  3080.  
  3081. @Outline 4@<:s><:#P30670848,P1038090>sign(1) = AdjSettings
  3082.  
  3083. @Outline 3@<:s><:#P30670848,P1038090>Else
  3084.  
  3085. @Outline 4@<:s><:#P30670848,P1038090>NextNum = GetDlgItemText(hDlg, i)
  3086.  
  3087. @Outline 4@<:s><:#P30670848,P1038090>AdjSettings = strcat$(AdjSettings,  "~", NextNum)
  3088.  
  3089. @Outline 4@<:s><:#P30670848,P1038090>sign(Num) = NextNum
  3090.  
  3091. @Outline 3@<:s><:#P30670848,P1038090>Endif
  3092.  
  3093. @Outline 3@<:s><:#P30670848,P1038090>Num = Num +1
  3094.  
  3095. @Outline 2@<:s><:#P30670848,P1038090>Next
  3096.  
  3097. @Outline 2@<:s><:#P30670848,P1038090>RetY = ConvertToTwips(GetDlgItemText(hDlg, 8000))
  3098.  
  3099. @Outline 2@<:s><:#P30670848,P1038090>If RetY <;> 4320 or RetY << 0
  3100.  
  3101. @Outline 3@<:s><:#P30670848,P1038090>Message(strcat$(ADJERROR, chr$(13), ADJERROR2, ConvertToUnits(4320)))
  3102.  
  3103. @Outline 3@<:s><:#P30670848,P1038090>DlgSetFocus(hDlg, 8000)
  3104.  
  3105. @Outline 3@<:s><:#P30670848,P1038090>Exit Function
  3106.  
  3107. @Outline 2@<:s><:#P30670848,P1038090>Endif
  3108.  
  3109. @Outline 2@<:s><:#P30670848,P1038090>If sign(1) = 1
  3110.  
  3111. @Outline 3@<:s><:#P30670848,P1038090>RetY = RetY * -1
  3112.  
  3113. @Outline 2@<:s><:#P30670848,P1038090>Endif
  3114.  
  3115. @Outline 2@<:s><:#P30670848,P1038090>RetX =ConvertToTwips(GetDlgItemText(hDlg,8001))
  3116.  
  3117. @Outline 2@<:s><:#P30670848,P1038090>If RetX <;> 4320 or RetX << 0
  3118.  
  3119. @Outline 3@<:s><:#P30670848,P1038090>Message(strcat$(ADJERROR, chr$(13), ADJERROR2, ConvertToUnits(4320)))
  3120.  
  3121. @Outline 3@<:s><:#P30670848,P1038090>DlgSetFocus(hDlg, 8001)
  3122.  
  3123. @Outline 3@<:s><:#P30670848,P1038090>Exit Function
  3124.  
  3125. @Outline 2@<:s><:#P30670848,P1038090>Endif
  3126.  
  3127. @Outline 2@<:s><:#P30670848,P1038090>If sign(3) = 1
  3128.  
  3129. @Outline 3@<:s><:#P30670848,P1038090>RetX = RetX * -1
  3130.  
  3131. @Outline 2@<:s><:#P30670848,P1038090>Endif
  3132.  
  3133. @Outline 2@<:s><:#P30670848,P1038090>RecY = ConvertToTwips(GetDlgItemText(hDlg,8002))
  3134.  
  3135. @Outline 2@<:s><:#P30670848,P1038090>If RecY <;> 4320 or RecY << 0
  3136.  
  3137. @Outline 3@<:s><:#P30670848,P1038090>Message(strcat$(ADJERROR, chr$(13), ADJERROR2, ConvertToUnits(4320)))
  3138.  
  3139. @Outline 3@<:s><:#P30670848,P1038090>DlgSetFocus(hDlg, 8002)
  3140.  
  3141. @Outline 3@<:s><:#P30670848,P1038090>Exit Function
  3142.  
  3143. @Outline 2@<:s><:#P30670848,P1038090>Endif
  3144.  
  3145. @Outline 2@<:s><:#P30670848,P1038090>If sign(5) = 1
  3146.  
  3147. @Outline 3@<:s><:#P30670848,P1038090>RecY = RecY * -1
  3148.  
  3149. @Outline 2@<:s><:#P30670848,P1038090>Endif
  3150.  
  3151. @Outline 2@<:s><:#P30670848,P1038090>RecX = ConvertToTwips(GetDlgItemText(hDlg,8003))
  3152.  
  3153. @Outline 2@<:s><:#P30670848,P1038090>If RecX <;> 4320 or RecX << 0
  3154.  
  3155. @Outline 3@<:s><:#P30670848,P1038090>Message(strcat$(ADJERROR, chr$(13), ADJERROR2, ConvertToUnits(4320)))
  3156.  
  3157. @Outline 3@<:s><:#P30670848,P1038090>DlgSetFocus(hDlg, 8003)
  3158.  
  3159. @Outline 3@<:s><:#P30670848,P1038090>Exit Function
  3160.  
  3161. @Outline 2@<:s><:#P30670848,P1038090>Endif
  3162.  
  3163. @Outline 2@<:s><:#P30670848,P1038090>If sign(7) = 1
  3164.  
  3165. @Outline 3@<:s><:#P30670848,P1038090>RecX = RecX * -1
  3166.  
  3167. @Outline 2@<:s><:#P30670848,P1038090>Endif
  3168.  
  3169. @Outline 2@<:s><:#P30670848,P1038090>
  3170.  
  3171. @Comments@<:s><:#P30670848,P802161>'Write to the INI
  3172.  
  3173. @Outline 2@<:s><:#P30670848,P1038090>AdjAmount = strcat$(RetY, "~", RetX, "~", RecY, "~", RecX)
  3174.  
  3175. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(ini_section, "AdjAmount", AdjAmount, INI_FILE)
  3176.  
  3177. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(ini_section, "AdjSettings", AdjSettings, INI_FILE)
  3178.  
  3179. @Outline 2@<:s><:#P30670848,P1038090>DlgClose(hDlg)
  3180.  
  3181. @Outline 2@<:s><:#P30670848,P1038090>
  3182.  
  3183. @Function@<:s><:#P30670848,P1918894>End Function
  3184.  
  3185. @Function@<:s><:#P30670848,P1918894>
  3186.  
  3187. @Function@<:s><:#P30670848,P1918894>Function Printset(PrinterName)
  3188.  
  3189. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  3190.  
  3191. @Outline 2@<:s><:#P30670848,P1038090>if (.Document.Printer.Stack())
  3192.  
  3193. @Outline 3@<:s><:#P30670848,P1038090>dim prts(100)
  3194.  
  3195. @Outline 3@<:s><:#P30670848,P1038090>dim streams(100)
  3196.  
  3197. @Outline 3@<:s><:#P30670848,P1038090>pcnt = .Enumerate(Printer, 0, &prts)
  3198.  
  3199. @Outline 3@<:s><:#P30670848,P1038090>if (pcnt <;> 0)
  3200.  
  3201. @Outline 4@<:s><:#P30670848,P1038090>for i = 1 to pcnt
  3202.  
  3203. @Outline 5@<:s><:#P30670848,P1038090>p = prts(i)
  3204.  
  3205. @Outline 6@<:s><:#P30670848,P1038090>if (.Object(p).Stack())
  3206.  
  3207. @Outline7@<:s><:#P30670848,P1038090>scnt = .Enumerate(Stream, 0, &streams)
  3208.  
  3209. @Outline7@<:s><:#P30670848,P1038090>if (scnt <;> 0)
  3210.  
  3211. @Outline8@<:s><:#P30670848,P1038090>for j = 1 to scnt
  3212.  
  3213. @Outline8@<:s><:#P30670848,P1038090>Str = streams(j)
  3214.  
  3215. @Outline8@<:s><:#P30670848,P1038090>If Str = PrinterName
  3216.  
  3217. @Outline9@<:s><:#P30670848,P1038090>'unstack(1)
  3218.  
  3219. @Outline9@<:s><:#P30670848,P1038090>.Stream = PrinterName
  3220.  
  3221. @Outline9@<:s><:#P30670848,P1038090>.Name = p
  3222.  
  3223. @Outline9@<:s><:#P30670848,P1038090>unstack(2)
  3224.  
  3225. @Outline9@<:s><:#P30670848,P1038090>Exit Function
  3226.  
  3227. @Outline8@<:s><:#P30670848,P1038090>Endif
  3228.  
  3229. @Outline8@<:s><:#P30670848,P1038090>next
  3230.  
  3231. @Outline7@<:s><:#P30670848,P1038090>endif
  3232.  
  3233. @Outline7@<:s><:#P30670848,P1038090>UnStack(1)
  3234.  
  3235. @Outline 6@<:s><:#P30670848,P1038090>endif
  3236.  
  3237. @Outline 5@<:s><:#P30670848,P1038090>next
  3238.  
  3239. @Outline 4@<:s><:#P30670848,P1038090>endif
  3240.  
  3241. @Outline 3@<:s><:#P30670848,P1038090>UnStack(2)
  3242.  
  3243. @Outline 3@<:s><:#P30670848,P1038090>endif
  3244.  
  3245. @Function@<:s><:#P30670848,P1918894>End Function
  3246.  
  3247. @Function@<:s><:#P30670848,P1918894>
  3248.  
  3249. @Function@<:s><:#P30670848,P1918894>Function NewPrintDef(PrinterName)
  3250.  
  3251. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  3252.  
  3253. @Outline 2@<:s><:#P30670848,P1038090>if (.Document.Printer.Stack())
  3254.  
  3255. @Outline 3@<:s><:#P30670848,P1038090>dim prts(100)
  3256.  
  3257. @Outline 3@<:s><:#P30670848,P1038090>dim streams(100)
  3258.  
  3259. @Outline 3@<:s><:#P30670848,P1038090>pcnt = .Enumerate(Printer, 0, &prts)
  3260.  
  3261. @Outline 3@<:s><:#P30670848,P1038090>if (pcnt <;> 0)
  3262.  
  3263. @Outline 4@<:s><:#P30670848,P1038090>for i = 1 to pcnt
  3264.  
  3265. @Outline 5@<:s><:#P30670848,P1038090>p = prts(i)
  3266.  
  3267. @Outline 6@<:s><:#P30670848,P1038090>if (.Object(p).Stack())
  3268.  
  3269. @Outline7@<:s><:#P30670848,P1038090>scnt = .Enumerate(Stream, 0, &streams)
  3270.  
  3271. @Outline7@<:s><:#P30670848,P1038090>if (scnt <;> 0)
  3272.  
  3273. @Outline8@<:s><:#P30670848,P1038090>for j = 1 to scnt
  3274.  
  3275. @Outline8@<:s><:#P30670848,P1038090>Str = streams(j)
  3276.  
  3277. @Outline8@<:s><:#P30670848,P1038090>If Str = PrinterName
  3278.  
  3279. @Outline9@<:s><:#P30670848,P1038090>IsSection = NewPrintDefSet(p, Str)
  3280.  
  3281. @Outline9@<:s><:#P30670848,P1038090>unstack(2)
  3282.  
  3283. @Outline9@<:s><:#P30670848,P1038090>If IsSection = 1
  3284.  
  3285. @Outline9@<:s><:#P30670848,P1038090>Return(1)
  3286.  
  3287. @Outline9@<:s><:#P30670848,P1038090>Else
  3288.  
  3289. @Outline9@<:s><:#P30670848,P1038090>Return(0)
  3290.  
  3291. @Outline9@<:s><:#P30670848,P1038090>Endif
  3292.  
  3293. @Outline8@<:s><:#P30670848,P1038090>Endif
  3294.  
  3295. @Outline8@<:s><:#P30670848,P1038090>next
  3296.  
  3297. @Outline7@<:s><:#P30670848,P1038090>endif
  3298.  
  3299. @Outline7@<:s><:#P30670848,P1038090>UnStack(1)
  3300.  
  3301. @Outline 6@<:s><:#P30670848,P1038090>endif
  3302.  
  3303. @Outline 5@<:s><:#P30670848,P1038090>next
  3304.  
  3305. @Outline 4@<:s><:#P30670848,P1038090>endif
  3306.  
  3307. @Outline 3@<:s><:#P30670848,P1038090>UnStack(2)
  3308.  
  3309. @Outline 3@<:s><:#P30670848,P1038090>endif
  3310.  
  3311. @Function@<:s><:#P30670848,P1918894>End Function
  3312.  
  3313. @Function@<:s><:#P30670848,P1918894>
  3314.  
  3315. @Modules@<:s><:#P30670848,P1918894>'Exit functions
  3316.  
  3317. @Function@<:s><:#P30670848,P2894070>Function WriteDefs(RetName, Printer, EnvSize, PrintRet, EnvFeed, CustomWidth, CustomHeight) ' Write the last selected items to the INI file.
  3318.  
  3319. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  3320.  
  3321. @Outline 2@<:s><:#P30670848,P1038090>ini_section = GetGlobalVar$("ini_section")
  3322.  
  3323. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(INI_ENV_DEFAULTS, "Printer", Printer, INI_FILE)
  3324.  
  3325. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(ini_section, "EnvSize", EnvSize, INI_FILE)
  3326.  
  3327. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(INI_ENV_DEFAULTS, "RetName", RetName, INI_FILE)
  3328.  
  3329. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(ini_section, "PrintRetDef", PrintRet, INI_FILE)
  3330.  
  3331. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(ini_section, "EnvFeed", EnvFeed, INI_FILE)
  3332.  
  3333. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(ini_section, "CustomWidth", CustomWidth, INI_FILE)
  3334.  
  3335. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(ini_section, "CustomHeight", CustomHeight, INI_FILE)
  3336.  
  3337. @Function@<:s><:#P30670848,P1918894>End Function
  3338.  
  3339. @Function@<:s><:#P30670848,P1918894>
  3340.  
  3341. @Modules@<:s><:#P30670848,P1918894>'Utility functions
  3342.  
  3343. @Function@<:s><:#P30670848,P1918894>Function SetDefaults() ' If this is the first time running the macro
  3344.  
  3345. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  3346.  
  3347. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(INI_ENV_DEFAULTS, "Printer", Printer, INI_FILE)
  3348.  
  3349. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(INI_ENV_DEFAULTS, "EnvSize", ENV_SIZE_DEF, INI_FILE)
  3350.  
  3351. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(INI_ENV_DEFAULTS, "PrintRetDef", 1, INI_FILE)
  3352.  
  3353. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(INI_ENV_DEFAULTS, "EnvFeed", 0, INI_FILE)
  3354.  
  3355. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(INI_ENV_DEFAULTS, "Position", 1, INI_FILE)
  3356.  
  3357. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(INI_ENV_DEFAULTS, "Orientation", "Landscape", INI_FILE)
  3358.  
  3359. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(INI_ADDRESS, "NumNames", 1, INI_FILE)
  3360.  
  3361. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(INI_ADDRESS, "Name1", "", INI_FILE)
  3362.  
  3363. @Function@<:s><:#P30670848,P1918894>End Function
  3364.  
  3365. @Function@<:s><:#P30670848,P1918894>
  3366.  
  3367. @Function@<:s><:#P30670848,P1918894>Function Autoshade() ' Auto shade the recipient address in the doc.
  3368.  
  3369. @Outline 2@<:s><:#P30670848,P1038090>'SingleStep(1)
  3370.  
  3371. @Outline 2@<:s><:#P30670848,P1038090>'MarkBookMark("temp1", 4003)
  3372.  
  3373. @Outline 2@<:s><:#P30670848,P1038090>defstr Compline
  3374.  
  3375. @Outline 2@<:s><:#P30670848,P1038090>Type("<[>Esc]<[>Esc]<[>CtrlHome]<[>Esc]")
  3376.  
  3377. @Outline 2@<:s><:#P30670848,P1038090>Startcheck:
  3378.  
  3379. @Outline 2@<:s><:#P30670848,P1038090>Type("<[>CtrlDown]")
  3380.  
  3381. @Outline 2@<:s><:#P30670848,P1038090>If .table.stack()
  3382.  
  3383. @Outline 3@<:s><:#P30670848,P1038090>unstack(1)
  3384.  
  3385. @Outline 3@<:s><:#P30670848,P1038090>Goto SkipThis
  3386.  
  3387. @Outline 2@<:s><:#P30670848,P1038090>Endif
  3388.  
  3389. @Outline 2@<:s><:#P30670848,P1038090>IF GetPageNo()<;>1 THEN
  3390.  
  3391. @Outline 3@<:s><:#P30670848,P1038090>GOTO skipthis
  3392.  
  3393. @Outline 2@<:s><:#P30670848,P1038090>ENDIF
  3394.  
  3395. @Outline 2@<:s><:#P30670848,P1038090>curpar=GetTextBeforeCursor$()
  3396.  
  3397. @Outline 2@<:s><:#P30670848,P1038090>IF AtEof()
  3398.  
  3399. @Outline 3@<:s><:#P30670848,P1038090>Goto SkipThis
  3400.  
  3401. @Outline 2@<:s><:#P30670848,P1038090>ElseIf Len(curpar)<;>60 OR curpar=Compline or Left$(curpar,1)=CHR$(9)  
  3402.  
  3403. @Outline 3@<:s><:#P30670848,P1038090>CompLine = curpar
  3404.  
  3405. @Outline 3@<:s><:#P30670848,P1038090>GOTO startcheck
  3406.  
  3407. @Outline 2@<:s><:#P30670848,P1038090>ENDIF
  3408.  
  3409. @Outline 2@<:s><:#P30670848,P1038090>lincount=0
  3410.  
  3411. @Outline 2@<:s><:#P30670848,P1038090>compline = curpar
  3412.  
  3413. @Outline 2@<:s><:#P30670848,P1038090>WHILE(1)
  3414.  
  3415. @Outline 3@<:s><:#P30670848,P1038090>TYPE("<[>ctrldown]")
  3416.  
  3417. @Outline 3@<:s><:#P30670848,P1038090>If .table.stack()
  3418.  
  3419. @Outline 4@<:s><:#P30670848,P1038090>unstack(1)
  3420.  
  3421. @Outline 4@<:s><:#P30670848,P1038090>Goto SkipThis
  3422.  
  3423. @Outline 3@<:s><:#P30670848,P1038090>Endif
  3424.  
  3425. @Outline 3@<:s><:#P30670848,P1038090>IF GetPageNo()<;>1 THEN
  3426.  
  3427. @Outline 4@<:s><:#P30670848,P1038090>GOTO skipthis
  3428.  
  3429. @Outline 3@<:s><:#P30670848,P1038090>ENDIF
  3430.  
  3431. @Outline 3@<:s><:#P30670848,P1038090>curpar=GetTextBeforeCursor$()
  3432.  
  3433. @Outline 3@<:s><:#P30670848,P1038090>IF Len(curpar)<;>65  OR curpar="" OR curpar = compline OR Left$(curpar,1)=CHR$(9) OR AtEof()
  3434.  
  3435. @Outline 4@<:s><:#P30670848,P1038090>If AtEof()
  3436.  
  3437. @Outline 5@<:s><:#P30670848,P1038090>lincount=lincount+2
  3438.  
  3439. @Outline 4@<:s><:#P30670848,P1038090>Else
  3440.  
  3441. @Outline 5@<:s><:#P30670848,P1038090>lincount=lincount+1
  3442.  
  3443. @Outline 4@<:s><:#P30670848,P1038090>Endif
  3444.  
  3445. @Outline 4@<:s><:#P30670848,P1038090>BREAK
  3446.  
  3447. @Outline 3@<:s><:#P30670848,P1038090>ENDIF
  3448.  
  3449. @Outline 3@<:s><:#P30670848,P1038090>lincount=lincount+1
  3450.  
  3451. @Outline 3@<:s><:#P30670848,P1038090>compline = curpar
  3452.  
  3453. @Outline 2@<:s><:#P30670848,P1038090>WEND
  3454.  
  3455. @Outline 2@<:s><:#P30670848,P1038090>If lincount <;>2 and lincount <<7
  3456.  
  3457. @Outline 3@<:s><:#P30670848,P1038090>For i = 1 to lincount
  3458.  
  3459. @Outline 4@<:s><:#P30670848,P1038090>Type("<[>CtrlShiftUp]")
  3460.  
  3461. @Outline 3@<:s><:#P30670848,P1038090>Next
  3462.  
  3463. @Outline 2@<:s><:#P30670848,P1038090>Else 
  3464.  
  3465. @Outline 3@<:s><:#P30670848,P1038090>Goto StartCheck
  3466.  
  3467. @Outline 2@<:s><:#P30670848,P1038090>Endif
  3468.  
  3469. @Outline 2@<:s><:#P30670848,P1038090>Copy()
  3470.  
  3471. @Outline 2@<:s><:#P30670848,P1038090>Exit Function
  3472.  
  3473. @Outline 2@<:s><:#P30670848,P1038090>SkipThis:
  3474.  
  3475. @Outline 2@<:s><:#P30670848,P1038090>NoText = 1
  3476.  
  3477. @Outline 2@<:s><:#P30670848,P1038090>Return(NoText)
  3478.  
  3479. @Function@<:s><:#P30670848,P1918894>End Function
  3480.  
  3481. @Function@<:s><:#P30670848,P1918894>
  3482.  
  3483. @Function@<:s><:#P30670848,P1918894>Function TwipsToUnits(Value)
  3484.  
  3485. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  3486.  
  3487. @Outline 2@<:s><:#P30670848,P1038090>Value = Value * 3276.8
  3488.  
  3489. @Outline 2@<:s><:#P30670848,P1038090>Return(Value)
  3490.  
  3491. @Function@<:s><:#P30670848,P1918894>End Function
  3492.  
  3493. @Function@<:s><:#P30670848,P1918894>
  3494.  
  3495. @Function@<:s><:#P30670848,P1918894>Function ConvertToTwips(Value)
  3496.  
  3497. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  3498.  
  3499. @Outline 2@<:s><:#P30670848,P1038090>Units = GetUnits(Units)
  3500.  
  3501. @Outline 2@<:s><:#P30670848,P1038090>Switch Units
  3502.  
  3503. @Outline 3@<:s><:#P30670848,P1038090>Case "Inches";
  3504.  
  3505. @Outline 4@<:s><:#P30670848,P1038090>Value = (Value) * 1440;
  3506.  
  3507. @Outline 3@<:s><:#P30670848,P1038090>Case "CM";
  3508.  
  3509. @Outline 4@<:s><:#P30670848,P1038090>Value = (Value) * 566.9;
  3510.  
  3511. @Outline 3@<:s><:#P30670848,P1038090>Case "Picas";
  3512.  
  3513. @Outline 4@<:s><:#P30670848,P1038090>Value = (Value) * 240;
  3514.  
  3515. @Outline 3@<:s><:#P30670848,P1038090>Case "Points";
  3516.  
  3517. @Outline 4@<:s><:#P30670848,P1038090>Value = (Value) * 20;
  3518.  
  3519. @Outline 2@<:s><:#P30670848,P1038090>EndSwitch
  3520.  
  3521. @Outline 2@<:s><:#P30670848,P1038090>Return(Value)
  3522.  
  3523. @Function@<:s><:#P30670848,P1918894>End Function
  3524.  
  3525. @Function@<:s><:#P30670848,P1918894>
  3526.  
  3527. @Function@<:s><:#P30670848,P1918894>Function ConvertToUnits(Value)
  3528.  
  3529. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  3530.  
  3531. @Outline 2@<:s><:#P30670848,P1038090>Units = GetUnits(Units)
  3532.  
  3533. @Outline 2@<:s><:#P30670848,P1038090>Switch Units
  3534.  
  3535. @Outline 3@<:s><:#P30670848,P1038090>Case "Inches";
  3536.  
  3537. @Outline 4@<:s><:#P30670848,P1038090>Value = (Value) / 1440;
  3538.  
  3539. @Outline 3@<:s><:#P30670848,P1038090>Case "CM";
  3540.  
  3541. @Outline 4@<:s><:#P30670848,P1038090>Value = (Value) / 566.9;
  3542.  
  3543. @Outline 3@<:s><:#P30670848,P1038090>Case "Picas";
  3544.  
  3545. @Outline 4@<:s><:#P30670848,P1038090>Value = (Value) / 240;
  3546.  
  3547. @Outline 3@<:s><:#P30670848,P1038090>Case "Points";
  3548.  
  3549. @Outline 4@<:s><:#P30670848,P1038090>Value = (Value) / 20;
  3550.  
  3551. @Outline 2@<:s><:#P30670848,P1038090>EndSwitch
  3552.  
  3553. @Outline 2@<:s><:#P30670848,P1038090>Value = FormatNum$("", "", 2, Value)
  3554.  
  3555. @Outline 2@<:s><:#P30670848,P1038090>Return(Value)
  3556.  
  3557. @Function@<:s><:#P30670848,P1918894>End Function
  3558.  
  3559. @Outline 2@<:s><:#P30670848,P1038090>
  3560.  
  3561. @Function@<:s><:#P30670848,P1918894>
  3562.  
  3563. @Function@<:s><:#P30670848,P1918894>Function SetPrinter(hDlg, Id)
  3564.  
  3565. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  3566.  
  3567. @Outline 2@<:s><:#P30670848,P1038090>NewPrinter = GetDlgItemText(hDlg, 9500)
  3568.  
  3569. @Outline 2@<:s><:#P30670848,P1038090>SetGlobalVar("ini_section", NewPrinter)
  3570.  
  3571. @Outline 2@<:s><:#P30670848,P1038090>SetGlobalVar("ChangePrinter", 1)
  3572.  
  3573. @Outline 2@<:s><:#P30670848,P1038090>FillEnvelopeSizesBox(hDlg, Id)
  3574.  
  3575. @Outline 2@<:s><:#P30670848,P1038090>IsSettings = GetProfileString$(NewPrinter, "EnvSize", INI_FILE)
  3576.  
  3577. @Outline 2@<:s><:#P30670848,P1038090>If IsSettings = NULL
  3578.  
  3579. @Outline 3@<:s><:#P30670848,P1038090>IsSection = NewPrintDef(NewPrinter)
  3580.  
  3581. @Outline 3@<:s><:#P30670848,P1038090>WriteProfileString(NewPrinter, "EnvSize", "Size 10 (9 1/2 x 4 1/8 in)", INI_FILE)
  3582.  
  3583. @Outline 3@<:s><:#P30670848,P1038090>WriteProfileString(NewPrinter, "PrintRetDef", 1, INI_FILE)
  3584.  
  3585. @Outline 3@<:s><:#P30670848,P1038090>WriteProfileString(NewPrinter, "EnvFeed", 0, INI_FILE)
  3586.  
  3587. @Outline 3@<:s><:#P30670848,P1038090>NewPrintDef(NewPrinter)
  3588.  
  3589. @Outline 3@<:s><:#P30670848,P1038090>If IsSection = 1
  3590.  
  3591. @Outline 4@<:s><:#P30670848,P1038090>WriteProfileString(NewPrinter, "Position", 1, INI_FILE)
  3592.  
  3593. @Outline 4@<:s><:#P30670848,P1038090>WriteProfileString(NewPrinter, "Orientation", "Landscape", INI_FILE)
  3594.  
  3595. @Outline 4@<:s><:#P30670848,P1038090>WriteProfileString(NewPrinter, "AdjSettings", "1~0~1~0~1~0~1~0", INI_FILE)
  3596.  
  3597. @Outline 3@<:s><:#P30670848,P1038090>Endif
  3598.  
  3599. @Outline 2@<:s><:#P30670848,P1038090>Endif
  3600.  
  3601. @Outline 2@<:s><:#P30670848,P1038090>SetDlgItemText(hDlg, 20, GetProfileString$(NewPrinter, "PrintRetDef", INI_FILE)*1)
  3602.  
  3603. @Outline 2@<:s><:#P30670848,P1038090>SetDlgItemText(hDlg, 21, GetProfileString$(NewPrinter, "EnvFeed", INI_FILE)*1)
  3604.  
  3605. @Function@<:s><:#P30670848,P1918894>End Function
  3606.  
  3607. @Function@<:s><:#P30670848,P1918894>
  3608.  
  3609. @Function@<:s><:#P30670848,P1918894>Function GetUnits(Units)
  3610.  
  3611. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  3612.  
  3613. @Outline 2@<:s><:#P30670848,P1038090>Units = .UserInterface.Preferences.Size
  3614.  
  3615. @Outline 2@<:s><:#P30670848,P1038090>Switch Units
  3616.  
  3617. @Outline 3@<:s><:#P30670848,P1038090>Case 1
  3618.  
  3619. @Outline 4@<:s><:#P30670848,P1038090>Units = "Inches"
  3620.  
  3621. @Outline 3@<:s><:#P30670848,P1038090>Case 2
  3622.  
  3623. @Outline 4@<:s><:#P30670848,P1038090>Units = "CM"
  3624.  
  3625. @Outline 3@<:s><:#P30670848,P1038090>Case 3
  3626.  
  3627. @Outline 4@<:s><:#P30670848,P1038090>Units = "Picas"
  3628.  
  3629. @Outline 3@<:s><:#P30670848,P1038090>Case 4
  3630.  
  3631. @Outline 4@<:s><:#P30670848,P1038090>Units = "Points"
  3632.  
  3633. @Outline 2@<:s><:#P30670848,P1038090>EndSwitch
  3634.  
  3635. @Outline 2@<:s><:#P30670848,P1038090>Return (Units)
  3636.  
  3637. @Function@<:s><:#P30670848,P1918894>End Function
  3638.  
  3639. @Outline 3@<:s><:#P30670848,P1038090>
  3640.  
  3641. @Function@<:s><:#P30670848,P1918894>
  3642.  
  3643. @Function@<:s><:#P30670848,P1918894>Function NewPrintDefSet(PrinterName, Stream)
  3644.  
  3645. @Outline 2@<:s><:#P30670848,P1038090>IgnoreKeyboard(2)
  3646.  
  3647. @Outline 2@<:s><:#P30670848,P1038090>'singlestep(1)
  3648.  
  3649. @Outline 2@<:s><:#P30670848,P1038090>AdjAmount = GetProfileString$(PrinterName, "AdjAmount", INI_SETUP)
  3650.  
  3651. @Outline 2@<:s><:#P30670848,P1038090>If AdjAmount = NULL
  3652.  
  3653. @Outline 3@<:s><:#P30670848,P1038090>Return(1)
  3654.  
  3655. @Outline 2@<:s><:#P30670848,P1038090>Endif
  3656.  
  3657. @Outline 2@<:s><:#P30670848,P1038090>AdjSettings = GetProfileString$(PrinterName,"AdjSettings", INI_SETUP)
  3658.  
  3659. @Outline 2@<:s><:#P30670848,P1038090>Position = GetProfileString$(PrinterName, "Position", INI_SETUP)
  3660.  
  3661. @Outline 2@<:s><:#P30670848,P1038090>Orientation = GetProfileString$(PrinterName,"Orientation", INI_SETUP)
  3662.  
  3663. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(Stream, "AdjAmount", AdjAmount, INI_FILE)
  3664.  
  3665. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(Stream, "AdjSettings", AdjSettings, INI_FILE)
  3666.  
  3667. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(Stream, "Position", Position, INI_FILE)
  3668.  
  3669. @Outline 2@<:s><:#P30670848,P1038090>WriteProfileString(Stream, "Orientation", Orientation, INI_FILE)
  3670.  
  3671. @Function@<:s><:#P30670848,P1918894>End Function
  3672.  
  3673. @Outline 2@<:s><:#P30670848,P1211105>
  3674. >
  3675.  
  3676. [Embedded]
  3677. 00076871
  3678. >
  3679. [macsum4] 26 325
  3680. Main 0 0 29 47
  3681. FillRetAddBox 4318 2 9 188
  3682. FillRetTitleBox 5295 2 8 214
  3683. FillPrinterBox 6220 2 15 245
  3684. FillEnvelopeSizesBox 7562 2 17 291
  3685. SetCustomEnvSize 9877 2 9 351
  3686. EnvSettings 10664 2 9 373
  3687. AddAddress 12401 2 10 428
  3688. InsertAddress 13729 2 5 468
  3689. DeleteRetName 14315 3 7 485
  3690. GetAddrs 15171 1 3 513
  3691. ModEnvPage 15483 4 22 526
  3692. CustomSize 19802 1 1 647
  3693. AdjustSettings 19924 2 10 653
  3694. AdjCheck 21061 2 13 691
  3695. Printset 23346 1 9 753
  3696. NewPrintDef 24148 1 10 784
  3697. WriteDefs 25059 7 2 818
  3698. SetDefaults 25656 0 1 831
  3699. Autoshade 26188 0 6 843
  3700. TwipsToUnits 27627 1 1 901
  3701. ConvertToTwips 27756 1 2 907
  3702. ConvertToUnits 28205 1 2 923
  3703. SetPrinter 28690 2 4 941
  3704. GetUnits 29653 1 1 964
  3705. NewPrintDefSet 30023 2 5 981
  3706. [macse]
  3707. 14 Main
  3708. 29 0 Main
  3709. 17 2
  3710. 0 271 "ini_section" 1
  3711. 17 3
  3712. 0 271 "macpath" 1
  3713. 17 4
  3714. 0 271 "ChangePrinter" 1
  3715. 17 5
  3716. 0 271 "HasRunEnvSize" 1
  3717. 17 6
  3718. 0 271 "NoPrinterSect" 1
  3719. 17 7
  3720. 0 798
  3721. 13
  3722. 0 264 "macpath" [X]
  3723. 17 8
  3724. 19 00004108
  3725. 17 9
  3726. 0 296 1
  3727. 17 10
  3728. 29 1 StylePath
  3729. 31 101 45 190
  3730. 13
  3731. 16 _$$5CatSlash [X]
  3732. 13
  3733. 8 1
  3734. 17 11
  3735. 29 2 macpath
  3736. 0 265 "macpath"
  3737. 13
  3738. 8 2
  3739. 17 12
  3740. 29 3 rmac
  3741. 0 802
  3742. 13
  3743. 8 3
  3744. 17 13
  3745. 29 4 LastMode
  3746. 16 _$$4GetMode
  3747. 13
  3748. 8 4
  3749. 17 14
  3750. 29 5 Printer
  3751. 0 286 "EnvDefaults" "Printer" "amipro2.ini"
  3752. 13
  3753. 8 5
  3754. 17 15
  3755. 29 6 PrintRetDef
  3756. 0 286 "EnvDefaults" "PrintRetDef" "amipro2.ini"
  3757. 13
  3758. 8 6
  3759. 17 16
  3760. 6 6
  3761. 7 ""
  3762. 18 0
  3763. 11 00000722
  3764. 17 17
  3765. 16 SetDefaults
  3766. 17 18
  3767. 0 286 "EnvDefaults" "PrintRetDef" "amipro2.ini"
  3768. 13
  3769. 8 6
  3770. 17 20
  3771. 29 7 EnvFeed
  3772. 0 286 "{5}" "EnvFeed" "amipro2.ini"
  3773. 13
  3774. 8 7
  3775. 17 21
  3776. 0 264 "ini_section" "EnvDefaults"
  3777. 17 22
  3778. 29 8 ini_section
  3779. 0 265 "ini_section"
  3780. 13
  3781. 8 8
  3782. 17 23
  3783. 6 7
  3784. 5 0
  3785. 18 5
  3786. 11 00001137
  3787. 17 24
  3788. 0 264 "NoPrinterSect" 1
  3789. 17 25
  3790. 29 9 PrinterName
  3791. 16 NewPrintDef "{9}"
  3792. 13
  3793. 8 9
  3794. 17 26
  3795. 0 286 "{8}" "EnvFeed" "amipro2.ini"
  3796. 13
  3797. 8 7
  3798. 17 27
  3799. 29 10 NoPrinterSect
  3800. 0 265 "NoPrinterSect"
  3801. 13
  3802. 8 10
  3803. 10 00001171
  3804. 17 29
  3805. 0 264 "ini_section" "{5}"
  3806. 17 31
  3807. 29 11 Units
  3808. 16 GetUnits "{11}"
  3809. 13
  3810. 8 11
  3811. 17 32
  3812. 29 12 ShadedText
  3813. 16 _$$3CurShade$
  3814. 13
  3815. 8 12
  3816. 17 33
  3817. 29 13 NoText
  3818. 6 12
  3819. 8 13
  3820. 17 34
  3821. 32 0 42
  3822. 17 35
  3823. 6 12
  3824. 7 ""
  3825. 18 1
  3826. 11 00001390
  3827. 17 36
  3828. 2 154 1
  3829. 10 00001440
  3830. 17 38
  3831. 29 14 IsAutoShade
  3832. 16 AutoShade
  3833. 13
  3834. 8 14
  3835. 17 40
  3836. 0 31 20 "{6}"
  3837. 17 41
  3838. 0 31 21 "{7}"
  3839. 17 42
  3840. 0 31 1006 "{11}"
  3841. 17 43
  3842. 0 41 0 "FillPrinterBox"
  3843. 17 44
  3844. 0 41 0 "FillEnvelopeSizesBox"
  3845. 17 45
  3846. 0 41 0 "FillRetTitleBox"
  3847. 17 46
  3848. 0 41 0 "FillRetAddBox"
  3849. 17 47
  3850. 0 41 25 "AddAddress"
  3851. 17 48
  3852. 0 41 26 "DeleteRetName"
  3853. 17 49
  3854. 0 41 27 "EnvSettings"
  3855. 17 50
  3856. 0 41 8003 "SetCustomEnvSize"
  3857. 17 51
  3858. 0 41 8004 "SetCustomEnvSize"
  3859. 17 52
  3860. 0 41 9500 "SetPrinter"
  3861. 17 53
  3862. 0 41 9501 "FillEnvelopeSizesBox"
  3863. 17 54
  3864. 0 41 9502 "FillRetAddBox"
  3865. 17 55
  3866. 0 73 237
  3867. 17 56
  3868. 0 296 0
  3869. 17 57
  3870. 29 15 Box
  3871. 0 26 "{2}amienv.dlg" "Printenv"
  3872. 13
  3873. 8 15
  3874. 17 58
  3875. 5 -1
  3876. 6 15
  3877. 18 0
  3878. 11 00002116
  3879. 17 60
  3880. 0 3 "Could not find dialog box - Exiting macro!"
  3881. 10 00004108
  3882. 5 0
  3883. 6 15
  3884. 18 0
  3885. 11 00002179
  3886. 17 62
  3887. 10 00004108
  3888. 10 00004108
  3889. 5 1
  3890. 6 15
  3891. 18 0
  3892. 11 00004108
  3893. 17 64
  3894. 29 16 RetAddress
  3895. 0 27 8002
  3896. 13
  3897. 8 16
  3898. 17 65
  3899. 29 17 LastName
  3900. 0 27 9502
  3901. 13
  3902. 8 17
  3903. 17 66
  3904. 29 18 LastPrinter
  3905. 0 27 9500
  3906. 13
  3907. 8 18
  3908. 17 67
  3909. 29 19 LastEnvSize
  3910. 0 27 9501
  3911. 13
  3912. 8 19
  3913. 17 68
  3914. 29 20 PrintRet
  3915. 0 27 20
  3916. 13
  3917. 8 20
  3918. 17 69
  3919. 29 21 CustomWidth
  3920. 0 27 8004
  3921. 13
  3922. 8 21
  3923. 17 70
  3924. 29 22 CustomHeight
  3925. 0 27 8003
  3926. 13
  3927. 8 22
  3928. 17 71
  3929. 0 27 21
  3930. 13
  3931. 8 7
  3932. 17 72
  3933. 0 27 9500
  3934. 13
  3935. 8 9
  3936. 17 73
  3937. 29 23 GetEnvSize
  3938. 0 27 9501
  3939. 13
  3940. 8 23
  3941. 17 74
  3942. 29 24 EnvSize
  3943. 0 20 "{23}" 1 "~"
  3944. 13
  3945. 8 24
  3946. 17 75
  3947. 6 14
  3948. 5 0
  3949. 18 1
  3950. 6 13
  3951. 7 ""
  3952. 18 0
  3953. 1 1
  3954. 11 00002864
  3955. 17 76
  3956. 29 25 AddrsText
  3957. 17 77
  3958. 7 ""
  3959. 8 25
  3960. 17 78
  3961. 16 GetAddrs &25
  3962. 17 79
  3963. 6 25
  3964. 7 ""
  3965. 18 0
  3966. 11 00002864
  3967. 17 80
  3968. 10 00004108
  3969. 17 83
  3970. 16 _$$1New "{1}~amienv.sty" 1 0
  3971. 17 85
  3972. 16 ConvertToTwips "{21}"
  3973. 13
  3974. 8 21
  3975. 17 86
  3976. 16 ConvertToTwips "{22}"
  3977. 13
  3978. 8 22
  3979. 17 87
  3980. 6 24
  3981. 7 "Custom envelope"
  3982. 18 0
  3983. 11 00003336
  3984. 17 88
  3985. 29 26 CustWidth
  3986. 16 CustomSize "{21}"
  3987. 13
  3988. 8 26
  3989. 17 89
  3990. 29 27 CustHeight
  3991. 16 CustomSize "{22}"
  3992. 13
  3993. 8 27
  3994. 17 90
  3995. 29 28 IsSettings
  3996. 16 ModEnvPage "{24}" "{7}" "{26}" "{27}"
  3997. 13
  3998. 8 28
  3999. 17 91
  4000. 6 28
  4001. 5 -1
  4002. 18 0
  4003. 11 00003323
  4004. 17 92
  4005. 0 291 7
  4006. 17 93
  4007. 2 732 1
  4008. 17 94
  4009. 10 00004108
  4010. 10 00003478
  4011. 17 98
  4012. 16 ModEnvPage "{24}" "{7}" 0 0
  4013. 13
  4014. 8 28
  4015. 17 99
  4016. 6 28
  4017. 5 -1
  4018. 18 0
  4019. 11 00003478
  4020. 17 100
  4021. 0 291 7
  4022. 17 101
  4023. 2 732 1
  4024. 17 102
  4025. 10 00004108
  4026. 17 105
  4027. 6 20
  4028. 5 1
  4029. 18 0
  4030. 11 00003579
  4031. 17 106
  4032. 16 _$$4MarkBookMark "Return" 4002
  4033. 17 107
  4034. 0 6 "{16}"
  4035. 17 109
  4036. 16 _$$4MarkBookMark "Recipient" 4002
  4037. 17 110
  4038. 6 13
  4039. 7 ""
  4040. 18 1
  4041. 6 14
  4042. 5 1
  4043. 18 1
  4044. 1 2
  4045. 11 00003823
  4046. 17 111
  4047. 2 155 1
  4048. 17 112
  4049. 0 6 "[20516]"
  4050. 17 113
  4051. 16 _$$1SetStyle "Body Text"
  4052. 17 114
  4053. 16 _$$2NormalText
  4054. 17 115
  4055. 0 6 "[27]"
  4056. 10 00003843
  4057. 17 117
  4058. 0 6 "{25}"
  4059. 17 119
  4060. 16 PrintSet "{9}"
  4061. 17 121
  4062. 16 _$$3FilePrint 1 1 9999 1537
  4063. 17 122
  4064. 0 291 7
  4065. 17 123
  4066. 2 732 1
  4067. 17 124
  4068. 6 10
  4069. 5 1
  4070. 18 0
  4071. 11 00004018
  4072. 17 125
  4073. 0 264 "ini_section" "{18}"
  4074. 17 127
  4075. 16 WriteDefs "{17}" "{9}" "{19}" "{20}" "{7}" "{21}" "{22}"
  4076. 17 128
  4077. 10 00004108
  4078. 17 131
  4079. 0 266 "macpath"
  4080. 17 132
  4081. 0 266 "ini_section"
  4082. 17 133
  4083. 0 266 "NoPrinterSect"
  4084. 17 134
  4085. 0 266 "HasRunEnvSize"
  4086. 17 135
  4087. 0 266 "EnvSizes"
  4088. 17 136
  4089. 0 266 "ChangePrinter"
  4090. 17 137
  4091. 32 0 43
  4092. 6 0
  4093. 15
  4094. 17 138
  4095. 9
  4096. 14 FillRetAddBox
  4097. 29 0 hdlg
  4098. 29 1 id
  4099. 29 2 FillRetAddBox
  4100. 17 1
  4101. 0 32 2
  4102. 17 2
  4103. 29 3 NumNames
  4104. 0 286 "AdrsBook" "NumNames" "amipro2.ini"
  4105. 13
  4106. 8 3
  4107. 17 3
  4108. 29 4 GetName
  4109. 0 42 "{0}" 9502
  4110. 13
  4111. 8 4
  4112. 29 5 i
  4113. 5 1
  4114. 8 5
  4115. 17 4
  4116. 6 3
  4117. 6 5
  4118. 18 2
  4119. 12 00000290
  4120. 10 00000927
  4121. 5 1
  4122. 6 5
  4123. 3 0
  4124. 8 5
  4125. 10 00000209
  4126. 17 5
  4127. 29 6 RetNameAdd
  4128. 0 286 "AdrsBook" "Name{5}" "amipro2.ini"
  4129. 13
  4130. 8 6
  4131. 17 6
  4132. 29 7 RetNameComp
  4133. 0 20 "{6}" 1 "~"
  4134. 13
  4135. 8 7
  4136. 17 7
  4137. 6 7
  4138. 6 4
  4139. 18 0
  4140. 11 00000914
  4141. 17 8
  4142. 5 5
  4143. 29 8 Line
  4144. 21 8 [X]
  4145. 17 9
  4146. 29 9 crlf
  4147. 0 39 13
  4148. 13
  4149. 0 39 10
  4150. 13
  4151. 0 16 [X] [X]
  4152. 13
  4153. 8 9
  4154. 5 1
  4155. 8 5
  4156. 17 10
  4157. 5 5
  4158. 6 5
  4159. 18 2
  4160. 12 00000640
  4161. 10 00000914
  4162. 5 1
  4163. 6 5
  4164. 3 0
  4165. 8 5
  4166. 10 00000558
  4167. 17 11
  4168. 6 5
  4169. 0 20 "{6}" "{5}" "~"
  4170. 13
  4171. 23 8
  4172. 17 12
  4173. 6 5
  4174. 5 1
  4175. 18 0
  4176. 11 00000774
  4177. 17 13
  4178. 29 10 TextToBox
  4179. 6 5
  4180. 22 8
  4181. 8 10
  4182. 10 00000901
  4183. 17 14
  4184. 6 5
  4185. 22 8
  4186. 5 -1
  4187. 18 1
  4188. 11 00000881
  4189. 17 15
  4190. 6 5
  4191. 22 8
  4192. 0 16 "{10}" "{9}" [X]
  4193. 13
  4194. 8 10
  4195. 10 00000901
  4196. 17 17
  4197. 10 00000927
  4198. 10 00000607
  4199. 10 00000257
  4200. 17 23
  4201. 0 43 "{0}" 8002 "{10}"
  4202. 6 2
  4203. 15
  4204. 17 24
  4205. 9
  4206. 14 FillRetTitleBox
  4207. 29 0 hDlg
  4208. 29 1 Id
  4209. 29 2 FillRetTitleBox
  4210. 17 1
  4211. 0 32 2
  4212. 17 2
  4213. 29 3 Index
  4214. 5 0
  4215. 8 3
  4216. 17 3
  4217. 29 4 NumNames
  4218. 0 286 "AdrsBook" "NumNames" "amipro2.ini"
  4219. 13
  4220. 8 4
  4221. 17 4
  4222. 29 5 GetDef
  4223. 0 286 "EnvDefaults" "RetName" "amipro2.ini"
  4224. 13
  4225. 8 5
  4226. 17 5
  4227. 6 4
  4228. 29 6 RetAddName
  4229. 21 6 [X]
  4230. 29 7 i
  4231. 5 1
  4232. 8 7
  4233. 17 6
  4234. 6 4
  4235. 6 7
  4236. 18 2
  4237. 12 00000387
  4238. 10 00000463
  4239. 5 1
  4240. 6 7
  4241. 3 0
  4242. 8 7
  4243. 10 00000306
  4244. 17 7
  4245. 6 7
  4246. 0 286 "AdrsBook" "Name{7}" "amipro2.ini"
  4247. 13
  4248. 23 6
  4249. 10 00000354
  4250. 17 9
  4251. 0 1043 &6
  4252. 5 1
  4253. 8 7
  4254. 17 10
  4255. 6 4
  4256. 6 7
  4257. 18 2
  4258. 12 00000572
  4259. 10 00000822
  4260. 5 1
  4261. 6 7
  4262. 3 0
  4263. 8 7
  4264. 10 00000490
  4265. 17 11
  4266. 29 8 RetName
  4267. 6 7
  4268. 22 6
  4269. 8 8
  4270. 17 12
  4271. 0 20 "{8}" 1 "~"
  4272. 13
  4273. 8 8
  4274. 17 13
  4275. 6 8
  4276. 7 ""
  4277. 18 1
  4278. 11 00000809
  4279. 17 14
  4280. 0 43 "{0}" 9502 "{8}"
  4281. 17 17
  4282. 6 5
  4283. 6 8
  4284. 18 0
  4285. 11 00000782
  4286. 17 18
  4287. 29 9 RetNameIndex
  4288. 6 3
  4289. 8 9
  4290. 17 20
  4291. 6 3
  4292. 5 1
  4293. 3 0
  4294. 8 3
  4295. 10 00000539
  4296. 17 24
  4297. 6 9
  4298. 7 ""
  4299. 18 0
  4300. 11 00000876
  4301. 17 25
  4302. 5 0
  4303. 8 9
  4304. 17 27
  4305. 0 62 "{0}" 9502 "{9}"
  4306. 6 2
  4307. 15
  4308. 17 28
  4309. 9
  4310. 14 FillPrinterBox
  4311. 29 0 hDlg
  4312. 29 1 id
  4313. 29 2 FillPrinterBox
  4314. 17 2
  4315. 0 32 2
  4316. 17 3
  4317. 29 3 Index
  4318. 5 0
  4319. 8 3
  4320. 17 4
  4321. 29 4 ini_section
  4322. 7 "EnvDefaults"
  4323. 8 4
  4324. 17 5
  4325. 29 5 GetDef
  4326. 0 286 "{4}" "Printer" "amipro2.ini"
  4327. 13
  4328. 8 5
  4329. 17 7
  4330. 33 2 91 
  4331. 13
  4332. 11 00000988
  4333. 17 8
  4334. 5 100
  4335. 29 6 prts
  4336. 21 6 [X]
  4337. 17 9
  4338. 5 100
  4339. 29 7 streams
  4340. 21 7 [X]
  4341. 17 10
  4342. 29 8 pcnt
  4343. 32 0 32 91 0 &6
  4344. 13
  4345. 8 8
  4346. 17 11
  4347. 6 8
  4348. 5 0
  4349. 18 3
  4350. 11 00000973
  4351. 29 9 i
  4352. 5 1
  4353. 8 9
  4354. 17 12
  4355. 6 8
  4356. 6 9
  4357. 18 2
  4358. 12 00000497
  4359. 10 00000973
  4360. 5 1
  4361. 6 9
  4362. 3 0
  4363. 8 9
  4364. 10 00000415
  4365. 17 13
  4366. 29 10 p
  4367. 6 9
  4368. 22 6
  4369. 8 10
  4370. 17 14
  4371. 33 10 (  "{10}" ) 
  4372. 13
  4373. 11 00000960
  4374. 17 15
  4375. 29 11 scnt
  4376. 32 0 32 34 0 &7
  4377. 13
  4378. 8 11
  4379. 17 16
  4380. 6 11
  4381. 5 0
  4382. 18 3
  4383. 11 00000945
  4384. 29 12 j
  4385. 5 1
  4386. 8 12
  4387. 17 17
  4388. 6 11
  4389. 6 12
  4390. 18 2
  4391. 12 00000763
  4392. 10 00000945
  4393. 5 1
  4394. 6 12
  4395. 3 0
  4396. 8 12
  4397. 10 00000677
  4398. 17 18
  4399. 29 13 Str
  4400. 6 12
  4401. 22 7
  4402. 8 13
  4403. 17 19
  4404. 0 43 "{0}" 9500 "{13}"
  4405. 17 21
  4406. 6 5
  4407. 6 13
  4408. 18 0
  4409. 11 00000905
  4410. 17 22
  4411. 29 14 PrinterIndex
  4412. 6 3
  4413. 8 14
  4414. 17 24
  4415. 6 3
  4416. 5 1
  4417. 3 0
  4418. 8 3
  4419. 10 00000728
  4420. 17 27
  4421. 0 69 1
  4422. 10 00000464
  4423. 17 31
  4424. 0 69 2
  4425. 17 33
  4426. 6 14
  4427. 7 ""
  4428. 18 0
  4429. 11 00001044
  4430. 17 34
  4431. 5 0
  4432. 8 14
  4433. 17 36
  4434. 0 62 "{0}" 9500 "{14}"
  4435. 17 37
  4436. 29 15 PrinterName
  4437. 0 42 "{0}" 9500
  4438. 13
  4439. 8 15
  4440. 17 38
  4441. 29 16 NoPrinterSect
  4442. 0 265 "NoPrinterSect"
  4443. 13
  4444. 8 16
  4445. 17 39
  4446. 6 16
  4447. 5 1
  4448. 18 0
  4449. 11 00001323
  4450. 17 40
  4451. 16 NewPrintDef "{15}"
  4452. 17 41
  4453. 0 264 "NoPrinterSect" 0
  4454. 17 42
  4455. 0 264 "ini_section" "{15}"
  4456. 6 2
  4457. 15
  4458. 17 44
  4459. 9
  4460. 14 FillEnvelopeSizesBox
  4461. 29 0 hDlg
  4462. 29 1 Id
  4463. 29 2 FillEnvelopeSizesBox
  4464. 17 1
  4465. 0 32 2
  4466. 17 2
  4467. 29 3 MacPath
  4468. 0 265 "macpath"
  4469. 13
  4470. 8 3
  4471. 17 3
  4472. 29 4 NumSizes
  4473. 0 286 "EnvelopeSizes" "NumSizes" "amienv.ini"
  4474. 13
  4475. 8 4
  4476. 17 4
  4477. 0 271 "EnvSizes" "{4}"
  4478. 17 5
  4479. 29 5 ini_section
  4480. 0 265 "ini_section"
  4481. 13
  4482. 8 5
  4483. 17 6
  4484. 29 6 Index
  4485. 5 0
  4486. 8 6
  4487. 17 7
  4488. 6 4
  4489. 29 7 EnvSizes
  4490. 21 7 [X]
  4491. 17 8
  4492. 29 8 HasRun
  4493. 0 265 "HasRunEnvSize"
  4494. 13
  4495. 8 8
  4496. 17 9
  4497. 6 8
  4498. 5 0
  4499. 18 4
  4500. 11 00000892
  4501. 17 10
  4502. 29 9 GetDef
  4503. 0 286 "{5}" "EnvSize" "amipro2.ini"
  4504. 13
  4505. 8 9
  4506. 17 11
  4507. 6 9
  4508. 7 ""
  4509. 18 0
  4510. 11 00000607
  4511. 17 12
  4512. 0 286 "EnvDefaults" "EnvSize" "amipro2.ini"
  4513. 13
  4514. 8 9
  4515. 29 10 i
  4516. 5 1
  4517. 8 10
  4518. 17 14
  4519. 6 4
  4520. 6 10
  4521. 18 2
  4522. 12 00000712
  4523. 10 00000843
  4524. 5 1
  4525. 6 10
  4526. 3 0
  4527. 8 10
  4528. 10 00000627
  4529. 17 15
  4530. 29 11 SetSize
  4531. 0 286 "EnvelopeSizes" "Size{10}" "amienv.ini"
  4532. 13
  4533. 8 11
  4534. 17 16
  4535. 0 272 "EnvSizes" "{10}" "{11}"
  4536. 10 00000677
  4537. 17 18
  4538. 0 264 "HasRunEnvSize" "{4}"
  4539. 10 00001200
  4540. 17 19
  4541. 0 265 "ChangePrinter"
  4542. 13
  4543. 5 1
  4544. 18 0
  4545. 11 00001167
  4546. 17 20
  4547. 0 286 "{5}" "EnvSize" "amipro2.ini"
  4548. 13
  4549. 8 9
  4550. 17 21
  4551. 6 9
  4552. 7 ""
  4553. 18 0
  4554. 11 00001122
  4555. 17 22
  4556. 7 "EnvDefaults"
  4557. 8 5
  4558. 17 23
  4559. 0 286 "{5}" "EnvSize" "amipro2.ini"
  4560. 13
  4561. 8 9
  4562. 17 25
  4563. 0 264 "ChangePrinter" 0
  4564. 10 00001200
  4565. 17 27
  4566. 0 42 "{0}" 9501
  4567. 13
  4568. 8 9
  4569. 5 1
  4570. 8 10
  4571. 17 30
  4572. 6 4
  4573. 6 10
  4574. 18 2
  4575. 12 00001296
  4576. 10 00001628
  4577. 5 1
  4578. 6 10
  4579. 3 0
  4580. 8 10
  4581. 10 00001211
  4582. 17 31
  4583. 29 12 EnvSize
  4584. 0 273 "EnvSizes" "{10}"
  4585. 13
  4586. 8 12
  4587. 17 32
  4588. 29 13 EnvSizeName
  4589. 0 20 "{12}" 1 "~"
  4590. 13
  4591. 8 13
  4592. 17 33
  4593. 6 13
  4594. 7 ""
  4595. 18 1
  4596. 11 00001615
  4597. 17 34
  4598. 6 8
  4599. 5 0
  4600. 18 4
  4601. 11 00001513
  4602. 17 35
  4603. 0 43 "{0}" 9501 "{13}"
  4604. 17 38
  4605. 6 9
  4606. 6 13
  4607. 18 0
  4608. 11 00001588
  4609. 17 39
  4610. 29 14 EnvSizeIndex
  4611. 6 6
  4612. 8 14
  4613. 17 41
  4614. 6 6
  4615. 5 1
  4616. 3 0
  4617. 8 6
  4618. 10 00001261
  4619. 17 44
  4620. 6 9
  4621. 7 "Custom envelope"
  4622. 18 0
  4623. 11 00001897
  4624. 17 45
  4625. 29 15 EnvWidth
  4626. 0 286 "{5}" "CustomWidth" "amipro2.ini"
  4627. 13
  4628. 16 ConvertToUnits [X]
  4629. 13
  4630. 8 15
  4631. 17 46
  4632. 29 16 EnvHeight
  4633. 0 286 "{5}" "CustomHeight" "amipro2.ini"
  4634. 13
  4635. 16 ConvertToUnits [X]
  4636. 13
  4637. 8 16
  4638. 10 00002203
  4639. 17 48
  4640. 29 17 EnvSect
  4641. 6 14
  4642. 5 1
  4643. 3 0
  4644. 0 273 "EnvSizes" [X]
  4645. 13
  4646. 8 17
  4647. 17 49
  4648. 0 20 "{17}" 2 "~"
  4649. 13
  4650. 8 17
  4651. 17 50
  4652. 29 18 EnvPgSize
  4653. 0 286 "{17}" "EnvPgSize2" "amienv.ini"
  4654. 13
  4655. 8 18
  4656. 17 51
  4657. 0 20 "{18}" 2 "~"
  4658. 13
  4659. 16 ConvertToUnits [X]
  4660. 13
  4661. 8 15
  4662. 17 52
  4663. 0 20 "{18}" 1 "~"
  4664. 13
  4665. 16 ConvertToUnits [X]
  4666. 13
  4667. 8 16
  4668. 17 54
  4669. 0 43 "{0}" 8004 "{15}"
  4670. 17 55
  4671. 0 43 "{0}" 8003 "{16}"
  4672. 17 56
  4673. 0 62 "{0}" 9501 "{14}"
  4674. 6 2
  4675. 15
  4676. 17 57
  4677. 9
  4678. 14 SetCustomEnvSize
  4679. 29 0 hDlg
  4680. 29 1 Id
  4681. 29 2 SetCustomEnvSize
  4682. 17 1
  4683. 0 32 2
  4684. 17 2
  4685. 29 3 MacPath
  4686. 0 265 "macpath"
  4687. 13
  4688. 8 3
  4689. 17 3
  4690. 29 4 GetCurrSize
  4691. 0 42 "{0}" 9501
  4692. 13
  4693. 8 4
  4694. 17 4
  4695. 6 4
  4696. 7 "Custom envelope"
  4697. 18 0
  4698. 11 00000237
  4699. 6 2
  4700. 15
  4701. 9
  4702. 17 7
  4703. 29 5 NumSizes
  4704. 0 286 "EnvelopeSizes" "NumSizes" "amienv.ini"
  4705. 13
  4706. 8 5
  4707. 17 8
  4708. 29 6 Index
  4709. 5 0
  4710. 8 6
  4711. 29 7 i
  4712. 5 1
  4713. 8 7
  4714. 17 9
  4715. 6 5
  4716. 6 7
  4717. 18 2
  4718. 12 00000441
  4719. 10 00000737
  4720. 5 1
  4721. 6 7
  4722. 3 0
  4723. 8 7
  4724. 10 00000360
  4725. 17 10
  4726. 29 8 EnvSizes
  4727. 0 286 "EnvelopeSizes" "Size{7}" "amienv.ini"
  4728. 13
  4729. 8 8
  4730. 17 11
  4731. 29 9 EnvSizeName
  4732. 0 20 "{8}" 1 "~"
  4733. 13
  4734. 8 9
  4735. 17 12
  4736. 6 9
  4737. 7 ""
  4738. 18 1
  4739. 11 00000724
  4740. 17 13
  4741. 6 9
  4742. 7 "Custom envelope"
  4743. 18 0
  4744. 11 00000697
  4745. 17 14
  4746. 29 10 EnvSizeIndex
  4747. 6 6
  4748. 8 10
  4749. 17 16
  4750. 6 6
  4751. 5 1
  4752. 3 0
  4753. 8 6
  4754. 10 00000408
  4755. 17 19
  4756. 0 62 "{0}" 9501 "{10}"
  4757. 6 2
  4758. 15
  4759. 17 20
  4760. 9
  4761. 14 EnvSettings
  4762. 29 0 hDlg
  4763. 29 1 Id
  4764. 29 2 EnvSettings
  4765. 17 2
  4766. 0 32 2
  4767. 17 3
  4768. 29 3 MacPath
  4769. 0 265 "macpath"
  4770. 13
  4771. 8 3
  4772. 17 4
  4773. 29 4 ini_section
  4774. 0 265 "ini_section"
  4775. 13
  4776. 8 4
  4777. 17 5
  4778. 29 5 Position
  4779. 0 286 "{4}" "Position" "amipro2.ini"
  4780. 13
  4781. 8 5
  4782. 17 6
  4783. 6 5
  4784. 7 ""
  4785. 18 0
  4786. 11 00000353
  4787. 17 7
  4788. 7 "EnvDefaults"
  4789. 8 4
  4790. 17 8
  4791. 0 286 "{4}" "Position" "amipro2.ini"
  4792. 13
  4793. 8 5
  4794. 17 10
  4795. 29 6 Orientation
  4796. 0 286 "{4}" "Orientation" "amipro2.ini"
  4797. 13
  4798. 8 6
  4799. 17 11
  4800. 5 1
  4801. 6 5
  4802. 18 0
  4803. 11 00000495
  4804. 17 13
  4805. 0 31 22 1
  4806. 10 00000602
  4807. 5 2
  4808. 6 5
  4809. 18 0
  4810. 11 00000555
  4811. 17 15
  4812. 0 31 23 1
  4813. 10 00000602
  4814. 5 3
  4815. 6 5
  4816. 18 0
  4817. 11 00000602
  4818. 17 17
  4819. 0 31 24 1
  4820. 17 19
  4821. 7 "Portrait"
  4822. 6 6
  4823. 18 0
  4824. 11 00000678
  4825. 17 21
  4826. 0 31 30 1
  4827. 10 00000735
  4828. 7 "Landscape"
  4829. 6 6
  4830. 18 0
  4831. 11 00000735
  4832. 17 23
  4833. 0 31 31 1
  4834. 17 25
  4835. 0 41 40 "AdjustSettings"
  4836. 17 26
  4837. 0 73 238
  4838. 17 27
  4839. 29 7 Box
  4840. 0 26 "{3}amienv.dlg" "EnvSettings"
  4841. 13
  4842. 8 7
  4843. 17 28
  4844. 0 265 "ini_section"
  4845. 13
  4846. 8 4
  4847. 29 8 i
  4848. 5 22
  4849. 8 8
  4850. 17 29
  4851. 5 24
  4852. 6 8
  4853. 18 2
  4854. 12 00000986
  4855. 10 00001322
  4856. 5 1
  4857. 6 8
  4858. 3 0
  4859. 8 8
  4860. 10 00000903
  4861. 17 30
  4862. 29 9 NewPosition
  4863. 0 27 "{8}"
  4864. 13
  4865. 8 9
  4866. 17 31
  4867. 6 9
  4868. 5 1
  4869. 18 0
  4870. 11 00001309
  4871. 17 32
  4872. 6 8
  4873. 5 22
  4874. 18 0
  4875. 11 00001165
  4876. 17 33
  4877. 0 287 "{4}" "Position" 1 "amipro2.ini"
  4878. 10 00001309
  4879. 17 34
  4880. 6 8
  4881. 5 23
  4882. 18 0
  4883. 11 00001262
  4884. 17 35
  4885. 0 287 "{4}" "Position" 2 "amipro2.ini"
  4886. 10 00001309
  4887. 17 37
  4888. 0 287 "{4}" "Position" 3 "amipro2.ini"
  4889. 10 00000953
  4890. 5 30
  4891. 8 8
  4892. 17 41
  4893. 5 31
  4894. 6 8
  4895. 18 2
  4896. 12 00001416
  4897. 10 00001718
  4898. 5 1
  4899. 6 8
  4900. 3 0
  4901. 8 8
  4902. 10 00001333
  4903. 17 42
  4904. 29 10 NewOrient
  4905. 0 27 "{8}"
  4906. 13
  4907. 8 10
  4908. 17 43
  4909. 6 10
  4910. 5 1
  4911. 18 0
  4912. 11 00001705
  4913. 17 44
  4914. 6 8
  4915. 5 30
  4916. 18 0
  4917. 11 00001608
  4918. 17 45
  4919. 0 287 "{4}" "Orientation" "Portrait" "amipro2.ini"
  4920. 10 00001705
  4921. 17 46
  4922. 6 8
  4923. 5 31
  4924. 18 0
  4925. 11 00001705
  4926. 17 47
  4927. 0 287 "{4}" "Orientation" "Landscape" "amipro2.ini"
  4928. 10 00001383
  4929. 6 2
  4930. 15
  4931. 17 51
  4932. 9
  4933. 14 AddAddress
  4934. 29 0 HDlg
  4935. 29 1 Id
  4936. 29 2 AddAddress
  4937. 17 2
  4938. 0 32 2
  4939. 17 3
  4940. 29 3 NewAddress
  4941. 0 42 "{0}" 8002
  4942. 13
  4943. 8 3
  4944. 17 4
  4945. 29 4 crlf
  4946. 0 39 13
  4947. 13
  4948. 0 39 10
  4949. 13
  4950. 0 16 [X] [X]
  4951. 13
  4952. 8 4
  4953. 17 5
  4954. 29 5 NewAddressTitle
  4955. 0 20 "{3}" 1 "{4}"
  4956. 13
  4957. 8 5
  4958. 17 6
  4959. 29 6 NumNames
  4960. 0 286 "AdrsBook" "NumNames" "amipro2.ini"
  4961. 13
  4962. 8 6
  4963. 29 7 i
  4964. 5 1
  4965. 8 7
  4966. 17 9
  4967. 6 6
  4968. 6 7
  4969. 18 2
  4970. 12 00000410
  4971. 10 00000975
  4972. 5 1
  4973. 6 7
  4974. 3 0
  4975. 8 7
  4976. 10 00000329
  4977. 17 10
  4978. 29 8 CompName
  4979. 0 286 "AdrsBook" "Name{7}" "amipro2.ini"
  4980. 13
  4981. 8 8
  4982. 17 11
  4983. 0 20 "{8}" 1 "~"
  4984. 13
  4985. 8 8
  4986. 17 12
  4987. 6 8
  4988. 7 ""
  4989. 18 0
  4990. 11 00000594
  4991. 17 13
  4992. 29 9 NewNameIndexNull
  4993. 6 7
  4994. 8 9
  4995. 17 15
  4996. 6 5
  4997. 6 8
  4998. 18 0
  4999. 11 00000924
  5000. 17 16
  5001. 29 10 ReplaceIt
  5002. 0 2 "Title already exists, do you want to replace it?"
  5003. 13
  5004. 8 10
  5005. 17 17
  5006. 6 10
  5007. 5 1
  5008. 18 0
  5009. 11 00000875
  5010. 17 18
  5011. 16 InsertAddress "{7}" "{3}"
  5012. 17 19
  5013. 0 287 "AdrsBook" "NumNames" "{7}" "amipro2.ini"
  5014. 6 2
  5015. 15
  5016. 9
  5017. 10 00000924
  5018. 17 21
  5019. 6 10
  5020. 5 1
  5021. 18 1
  5022. 11 00000924
  5023. 6 2
  5024. 15
  5025. 9
  5026. 17 25
  5027. 29 11 NewNameIndex
  5028. 6 7
  5029. 8 11
  5030. 10 00000377
  5031. 17 27
  5032. 6 8
  5033. 7 ""
  5034. 18 1
  5035. 11 00001175
  5036. 17 28
  5037. 6 11
  5038. 5 1
  5039. 3 0
  5040. 8 11
  5041. 17 29
  5042. 16 InsertAddress "{11}" "{3}"
  5043. 17 30
  5044. 6 6
  5045. 5 1
  5046. 3 0
  5047. 8 6
  5048. 17 31
  5049. 0 287 "AdrsBook" "NumNames" "{6}" "amipro2.ini"
  5050. 10 00001212
  5051. 17 33
  5052. 16 InsertAddress "{9}" "{3}"
  5053. 17 35
  5054. 6 11
  5055. 5 1
  5056. 3 1
  5057. 8 11
  5058. 17 36
  5059. 0 66 "{0}" 9502 "{11}" "{5}"
  5060. 17 37
  5061. 0 62 "{0}" 9502 "{11}"
  5062. 6 2
  5063. 15
  5064. 17 38
  5065. 9
  5066. 14 InsertAddress
  5067. 29 0 NewNameNum
  5068. 29 1 Address
  5069. 29 2 InsertAddress
  5070. 17 1
  5071. 0 32 2
  5072. 17 2
  5073. 29 3 crlf
  5074. 0 39 13
  5075. 13
  5076. 0 39 10
  5077. 13
  5078. 0 16 [X] [X]
  5079. 13
  5080. 8 3
  5081. 29 4 i
  5082. 5 1
  5083. 8 4
  5084. 17 3
  5085. 5 5
  5086. 6 4
  5087. 18 2
  5088. 12 00000248
  5089. 10 00000512
  5090. 5 1
  5091. 6 4
  5092. 3 0
  5093. 8 4
  5094. 10 00000167
  5095. 17 4
  5096. 29 5 GetAddress
  5097. 0 20 "{1}" "{4}" "{3}"
  5098. 13
  5099. 8 5
  5100. 17 5
  5101. 6 5
  5102. 5 -1
  5103. 18 0
  5104. 11 00000359
  5105. 17 6
  5106. 10 00000512
  5107. 17 8
  5108. 6 4
  5109. 5 1
  5110. 18 0
  5111. 11 00000440
  5112. 17 9
  5113. 29 6 NewAddress
  5114. 6 5
  5115. 8 6
  5116. 10 00000499
  5117. 17 11
  5118. 0 15 "{5}" 2 "45"
  5119. 13
  5120. 0 16 "{6}" "~" [X]
  5121. 13
  5122. 8 6
  5123. 10 00000215
  5124. 17 14
  5125. 0 287 "AdrsBook" "Name{0}" "{6}" "amipro2.ini"
  5126. 6 2
  5127. 15
  5128. 17 15
  5129. 9
  5130. 14 DeleteRetName
  5131. 29 0 hDlg
  5132. 29 1 ID
  5133. 29 2 text
  5134. 29 3 DeleteRetName
  5135. 17 2
  5136. 0 32 2
  5137. 17 3
  5138. 29 4 NumNames
  5139. 0 286 "AdrsBook" "NumNames" "amipro2.ini"
  5140. 13
  5141. 8 4
  5142. 17 4
  5143. 29 5 NameToDelete
  5144. 0 42 "{0}" 9502
  5145. 13
  5146. 8 5
  5147. 17 5
  5148. 29 6 USure
  5149. 0 2 "Are you sure that you want to delete this return address?"
  5150. 13
  5151. 8 6
  5152. 17 6
  5153. 6 6
  5154. 5 1
  5155. 18 0
  5156. 11 00000825
  5157. 29 7 i
  5158. 5 1
  5159. 8 7
  5160. 17 7
  5161. 6 4
  5162. 6 7
  5163. 18 2
  5164. 12 00000433
  5165. 10 00000812
  5166. 5 1
  5167. 6 7
  5168. 3 0
  5169. 8 7
  5170. 10 00000352
  5171. 17 8
  5172. 29 8 CompName
  5173. 0 286 "AdrsBook" "Name{7}" "amipro2.ini"
  5174. 13
  5175. 8 8
  5176. 17 9
  5177. 0 20 "{8}" 1 "~"
  5178. 13
  5179. 8 8
  5180. 17 10
  5181. 6 8
  5182. 6 5
  5183. 18 0
  5184. 11 00000799
  5185. 17 11
  5186. 0 287 "AdrsBook" "Name{7}" "" "amipro2.ini"
  5187. 17 12
  5188. 29 9 Index
  5189. 0 61 "{0}" 9502
  5190. 13
  5191. 8 9
  5192. 17 13
  5193. 0 65 "{0}" 9502 "{9}"
  5194. 17 14
  5195. 0 62 "{0}" 9502 0
  5196. 17 15
  5197. 0 54 "{0}" 8002
  5198. 17 18
  5199. 16 FillRetAddBox "{0}" 9502
  5200. 6 3
  5201. 15
  5202. 9
  5203. 10 00000400
  5204. 10 00000837
  5205. 6 3
  5206. 15
  5207. 9
  5208. 6 3
  5209. 15
  5210. 17 26
  5211. 9
  5212. 14 GetAddrs
  5213. 29 0 AddrsText
  5214. 29 1 GetAddrs
  5215. 17 1
  5216. 0 32 2
  5217. 17 2
  5218. 29 2 macpath
  5219. 0 265 "macpath"
  5220. 13
  5221. 8 2
  5222. 17 3
  5223. 29 3 Box
  5224. 0 26 "{2}amienv.dlg" "Adrs"
  5225. 13
  5226. 8 3
  5227. 17 4
  5228. 6 3
  5229. 5 -1
  5230. 18 0
  5231. 11 00000219
  5232. 6 1
  5233. 15
  5234. 9
  5235. 10 00000266
  5236. 17 6
  5237. 6 3
  5238. 5 0
  5239. 18 0
  5240. 11 00000266
  5241. 6 1
  5242. 15
  5243. 9
  5244. 17 9
  5245. 0 27 8002
  5246. 13
  5247. 28 0
  5248. 6 1
  5249. 15
  5250. 17 10
  5251. 9
  5252. 14 ModEnvPage
  5253. 29 0 EnvSize
  5254. 29 1 EnvFeed
  5255. 29 2 Width
  5256. 29 3 Height
  5257. 29 4 ModEnvPage
  5258. 17 2
  5259. 0 32 2
  5260. 17 3
  5261. 29 5 ini_section
  5262. 0 265 "ini_section"
  5263. 13
  5264. 8 5
  5265. 17 4
  5266. 29 6 MacPath
  5267. 0 265 "macpath"
  5268. 13
  5269. 8 6
  5270. 17 5
  5271. 29 7 NumSizes
  5272. 0 286 "EnvelopeSizes" "NumSizes" "amienv.ini"
  5273. 13
  5274. 8 7
  5275. 17 6
  5276. 29 8 Orientation
  5277. 0 286 "{5}" "Orientation" "amipro2.ini"
  5278. 13
  5279. 8 8
  5280. 17 7
  5281. 29 9 Cnt
  5282. 5 4
  5283. 8 9
  5284. 17 8
  5285. 29 10 CntH
  5286. 5 4
  5287. 8 10
  5288. 17 9
  5289. 29 11 CntF
  5290. 5 4
  5291. 8 11
  5292. 29 12 i
  5293. 5 1
  5294. 8 12
  5295. 17 10
  5296. 6 7
  5297. 6 12
  5298. 18 2
  5299. 12 00000539
  5300. 10 00000775
  5301. 5 1
  5302. 6 12
  5303. 3 0
  5304. 8 12
  5305. 10 00000454
  5306. 17 11
  5307. 29 13 GetSize
  5308. 0 286 "EnvelopeSizes" "Size{12}" "amienv.ini"
  5309. 13
  5310. 8 13
  5311. 17 12
  5312. 29 14 CompSize
  5313. 0 20 "{13}" 1 "~"
  5314. 13
  5315. 8 14
  5316. 17 13
  5317. 6 0
  5318. 6 14
  5319. 18 0
  5320. 11 00000762
  5321. 17 14
  5322. 0 20 "{13}" 2 "~"
  5323. 13
  5324. 8 0
  5325. 17 15
  5326. 10 00000775
  5327. 10 00000504
  5328. 17 18
  5329. 29 15 IsSetting
  5330. 0 20 "{13}" 2 "~"
  5331. 13
  5332. 8 15
  5333. 17 19
  5334. 6 15
  5335. 5 -1
  5336. 18 0
  5337. 11 00000950
  5338. 17 20
  5339. 0 3 "No settings for envelope size - Exiting function!"
  5340. 17 21
  5341. 6 15
  5342. 15
  5343. 9
  5344. 17 25
  5345. 6 9
  5346. 29 16 Pl
  5347. 21 16 [X]
  5348. 17 26
  5349. 6 10
  5350. 29 17 Hd
  5351. 21 17 [X]
  5352. 17 27
  5353. 6 11
  5354. 29 18 Ft
  5355. 21 18 [X]
  5356. 17 28
  5357. 5 4
  5358. 29 19 EnvPgSz
  5359. 21 19 [X]
  5360. 17 29
  5361. 6 1
  5362. 5 1
  5363. 18 0
  5364. 6 8
  5365. 7 "Portrait"
  5366. 18 0
  5367. 1 2
  5368. 11 00001454
  5369. 17 30
  5370. 29 20 EnvPg
  5371. 0 286 "{0}" "EnvPgLayout2" "amienv.ini"
  5372. 13
  5373. 8 20
  5374. 17 31
  5375. 29 21 EnvHd
  5376. 0 286 "{0}" "EnvHdLayout2" "amienv.ini"
  5377. 13
  5378. 8 21
  5379. 17 32
  5380. 29 22 EnvFt
  5381. 0 286 "{0}" "EnvFtLayout2" "amienv.ini"
  5382. 13
  5383. 8 22
  5384. 17 33
  5385. 29 23 EnvPgSize
  5386. 0 286 "{0}" "EnvPgSize2" "amienv.ini"
  5387. 13
  5388. 8 23
  5389. 10 00001680
  5390. 17 35
  5391. 0 286 "{0}" "EnvPgLayout" "amienv.ini"
  5392. 13
  5393. 8 20
  5394. 17 36
  5395. 0 286 "{0}" "EnvHdLayout" "amienv.ini"
  5396. 13
  5397. 8 21
  5398. 17 37
  5399. 0 286 "{0}" "EnvFtLayout" "amienv.ini"
  5400. 13
  5401. 8 22
  5402. 17 38
  5403. 0 286 "{0}" "EnvPgSize" "amienv.ini"
  5404. 13
  5405. 8 23
  5406. 5 1
  5407. 8 12
  5408. 17 40
  5409. 5 4
  5410. 6 12
  5411. 18 2
  5412. 12 00001776
  5413. 10 00001981
  5414. 5 1
  5415. 6 12
  5416. 3 0
  5417. 8 12
  5418. 10 00001691
  5419. 17 41
  5420. 6 12
  5421. 0 20 "{23}" "{12}" "~"
  5422. 13
  5423. 23 19
  5424. 17 42
  5425. 6 12
  5426. 0 20 "{20}" "{12}" "~"
  5427. 13
  5428. 23 16
  5429. 17 43
  5430. 6 12
  5431. 0 20 "{21}" "{12}" "~"
  5432. 13
  5433. 23 17
  5434. 17 44
  5435. 6 12
  5436. 0 20 "{22}" "{12}" "~"
  5437. 13
  5438. 23 18
  5439. 10 00001741
  5440. 17 48
  5441. 6 0
  5442. 7 "Custom"
  5443. 18 0
  5444. 11 00002183
  5445. 17 49
  5446. 5 1
  5447. 6 2
  5448. 5 15840
  5449. 6 2
  5450. 5 0.44
  5451. 4 1
  5452. 3 1
  5453. 3 0
  5454. 23 16
  5455. 17 50
  5456. 5 2
  5457. 6 3
  5458. 6 3
  5459. 5 0.06
  5460. 4 0
  5461. 3 0
  5462. 23 16
  5463. 17 51
  5464. 5 1
  5465. 5 16340
  5466. 6 2
  5467. 5 0.44
  5468. 4 1
  5469. 3 1
  5470. 23 17
  5471. 17 55
  5472. 6 8
  5473. 7 "Portrait"
  5474. 18 1
  5475. 11 00002586
  5476. 17 56
  5477. 29 24 Position
  5478. 0 286 "{5}" "Position" "amipro2.ini"
  5479. 13
  5480. 8 24
  5481. 17 57
  5482. 6 24
  5483. 5 2
  5484. 18 0
  5485. 11 00002437
  5486. 17 58
  5487. 5 2
  5488. 5 2
  5489. 22 16
  5490. 5 3240
  5491. 3 0
  5492. 23 16
  5493. 17 59
  5494. 5 2
  5495. 5 2
  5496. 22 17
  5497. 5 3240
  5498. 3 0
  5499. 23 17
  5500. 10 00002586
  5501. 17 60
  5502. 6 24
  5503. 5 3
  5504. 18 0
  5505. 11 00002586
  5506. 17 61
  5507. 5 2
  5508. 5 2
  5509. 22 16
  5510. 5 6264
  5511. 3 0
  5512. 23 16
  5513. 17 62
  5514. 5 2
  5515. 5 2
  5516. 22 17
  5517. 5 6264
  5518. 3 0
  5519. 23 17
  5520. 17 63
  5521. 5 1
  5522. 5 0
  5523. 23 18
  5524. 17 68
  5525. 6 8
  5526. 7 "Portrait"
  5527. 18 0
  5528. 6 0
  5529. 7 "Custom"
  5530. 18 1
  5531. 1 1
  5532. 11 00002728
  5533. 17 69
  5534. 0 49
  5535. 17 70
  5536. 0 50 1
  5537. 17 71
  5538. 5 0
  5539. 30 7 6 9 16 40
  5540. 10 00003134
  5541. 17 72
  5542. 6 8
  5543. 7 "Portrait"
  5544. 18 0
  5545. 6 1
  5546. 5 1
  5547. 18 0
  5548. 1 2
  5549. 6 0
  5550. 7 "Custom"
  5551. 18 0
  5552. 1 1
  5553. 11 00003134
  5554. 17 73
  5555. 5 1
  5556. 6 3
  5557. 5 0.4
  5558. 4 1
  5559. 23 19
  5560. 17 74
  5561. 5 2
  5562. 6 2
  5563. 5 0.4
  5564. 4 1
  5565. 23 19
  5566. 17 75
  5567. 5 1
  5568. 6 2
  5569. 23 16
  5570. 17 76
  5571. 5 2
  5572. 6 3
  5573. 5 360
  5574. 3 0
  5575. 23 16
  5576. 17 77
  5577. 5 1
  5578. 5 500
  5579. 23 17
  5580. 17 78
  5581. 5 2
  5582. 5 500
  5583. 23 17
  5584. 17 79
  5585. 5 2
  5586. 5 1440
  5587. 23 18
  5588. 17 80
  5589. 0 49
  5590. 17 81
  5591. 6 8
  5592. 7 "Portrait"
  5593. 18 0
  5594. 11 00003119
  5595. 17 82
  5596. 5 0
  5597. 30 7 6 9 16 40
  5598. 17 84
  5599. 0 50 1
  5600. 17 91
  5601. 29 25 Adjust
  5602. 0 286 "{5}" "AdjAmount" "amipro2.ini"
  5603. 13
  5604. 8 25
  5605. 17 92
  5606. 5 1
  5607. 5 1
  5608. 22 17
  5609. 0 20 "{25}" 2 "~"
  5610. 13
  5611. 3 0
  5612. 23 17
  5613. 17 93
  5614. 5 2
  5615. 5 2
  5616. 22 17
  5617. 0 20 "{25}" 1 "~"
  5618. 13
  5619. 3 0
  5620. 23 17
  5621. 17 94
  5622. 5 1
  5623. 5 1
  5624. 22 16
  5625. 0 20 "{25}" 4 "~"
  5626. 13
  5627. 3 0
  5628. 23 16
  5629. 17 95
  5630. 5 2
  5631. 5 2
  5632. 22 16
  5633. 0 20 "{25}" 3 "~"
  5634. 13
  5635. 3 0
  5636. 23 16
  5637. 17 97
  5638. 0 49
  5639. 17 98
  5640. 33 7 6 9 16 
  5641. 17 99
  5642. 5 1
  5643. 22 19
  5644. 16 TwipsToUnits [X]
  5645. 13
  5646. 30 12
  5647. 17 100
  5648. 5 2
  5649. 22 19
  5650. 16 TwipsToUnits [X]
  5651. 13
  5652. 30 11
  5653. 17 101
  5654. 5 1
  5655. 22 16
  5656. 16 TwipsToUnits [X]
  5657. 13
  5658. 30 14
  5659. 17 102
  5660. 5 3
  5661. 22 16
  5662. 16 TwipsToUnits [X]
  5663. 13
  5664. 30 16
  5665. 17 103
  5666. 5 2
  5667. 22 16
  5668. 16 TwipsToUnits [X]
  5669. 13
  5670. 30 15
  5671. 17 104
  5672. 5 4
  5673. 22 16
  5674. 16 TwipsToUnits [X]
  5675. 13
  5676. 30 17
  5677. 17 105
  5678. 0 69 1
  5679. 17 106
  5680. 33 107 
  5681. 17 107
  5682. 5 1
  5683. 22 17
  5684. 16 TwipsToUnits [X]
  5685. 13
  5686. 30 14
  5687. 17 108
  5688. 5 3
  5689. 22 17
  5690. 16 TwipsToUnits [X]
  5691. 13
  5692. 30 16
  5693. 17 109
  5694. 5 2
  5695. 22 17
  5696. 16 TwipsToUnits [X]
  5697. 13
  5698. 30 15
  5699. 17 110
  5700. 5 4
  5701. 22 17
  5702. 16 TwipsToUnits [X]
  5703. 13
  5704. 30 17
  5705. 17 111
  5706. 0 69 1
  5707. 17 112
  5708. 33 108 
  5709. 17 113
  5710. 5 1
  5711. 22 18
  5712. 16 TwipsToUnits [X]
  5713. 13
  5714. 30 14
  5715. 17 114
  5716. 5 3
  5717. 22 18
  5718. 16 TwipsToUnits [X]
  5719. 13
  5720. 30 16
  5721. 17 115
  5722. 5 2
  5723. 22 18
  5724. 16 TwipsToUnits [X]
  5725. 13
  5726. 30 15
  5727. 17 116
  5728. 5 4
  5729. 22 18
  5730. 16 TwipsToUnits [X]
  5731. 13
  5732. 30 17
  5733. 17 117
  5734. 0 69 5
  5735. 17 118
  5736. 0 50 1
  5737. 6 4
  5738. 15
  5739. 17 119
  5740. 9
  5741. 14 CustomSize
  5742. 29 0 Size
  5743. 29 1 CustomSize
  5744. 17 1
  5745. 0 32 2
  5746. 17 2
  5747. 5 0.44
  5748. 6 0
  5749. 4 0
  5750. 8 1
  5751. 17 3
  5752. 6 1
  5753. 15
  5754. 9
  5755. 6 1
  5756. 15
  5757. 17 4
  5758. 9
  5759. 14 AdjustSettings
  5760. 29 0 hDlg
  5761. 29 1 Id
  5762. 29 2 AdjustSettings
  5763. 17 3
  5764. 0 32 2
  5765. 17 4
  5766. 29 3 ini_section
  5767. 0 265 "ini_section"
  5768. 13
  5769. 8 3
  5770. 17 5
  5771. 29 4 MacPath
  5772. 0 265 "macpath"
  5773. 13
  5774. 8 4
  5775. 17 6
  5776. 29 5 Units
  5777. 16 GetUnits "{5}"
  5778. 13
  5779. 8 5
  5780. 17 7
  5781. 29 6 AdjAmount
  5782. 0 286 "{3}" "AdjAmount" "amipro2.ini"
  5783. 13
  5784. 8 6
  5785. 17 8
  5786. 29 7 AdjSettings
  5787. 0 286 "{3}" "AdjSettings" "amipro2.ini"
  5788. 13
  5789. 8 7
  5790. 17 9
  5791. 29 8 Num
  5792. 5 1
  5793. 8 8
  5794. 29 9 i
  5795. 5 8000
  5796. 8 9
  5797. 17 10
  5798. 5 8004
  5799. 6 9
  5800. 18 2
  5801. 12 00000496
  5802. 10 00000725
  5803. 5 1
  5804. 6 9
  5805. 3 0
  5806. 8 9
  5807. 10 00000411
  5808. 17 11
  5809. 29 10 FillIt
  5810. 0 20 "{6}" "{8}" "~"
  5811. 13
  5812. 8 10
  5813. 17 12
  5814. 6 10
  5815. 5 0
  5816. 18 5
  5817. 11 00000616
  5818. 17 13
  5819. 6 10
  5820. 5 -1
  5821. 4 0
  5822. 8 10
  5823. 17 15
  5824. 16 ConvertToUnits "{10}"
  5825. 13
  5826. 8 10
  5827. 17 16
  5828. 0 31 "{9}" "{10}"
  5829. 17 17
  5830. 6 8
  5831. 5 1
  5832. 3 0
  5833. 8 8
  5834. 10 00000463
  5835. 17 20
  5836. 5 1
  5837. 8 8
  5838. 5 23
  5839. 8 9
  5840. 17 21
  5841. 5 30
  5842. 6 9
  5843. 18 2
  5844. 12 00000836
  5845. 10 00000941
  5846. 5 1
  5847. 6 9
  5848. 3 0
  5849. 8 9
  5850. 10 00000753
  5851. 17 22
  5852. 0 20 "{7}" "{8}" "~"
  5853. 13
  5854. 8 10
  5855. 17 23
  5856. 0 31 "{9}" "{10}"
  5857. 17 24
  5858. 6 8
  5859. 5 1
  5860. 3 0
  5861. 8 8
  5862. 10 00000803
  5863. 17 27
  5864. 0 31 1001 "{5}"
  5865. 17 30
  5866. 0 41 20 "AdjCheck"
  5867. 17 31
  5868. 0 73 238
  5869. 17 32
  5870. 29 11 Box
  5871. 0 26 "{4}amienv.dlg" "adjust"
  5872. 13
  5873. 8 11
  5874. 17 33
  5875. 6 11
  5876. 5 -1
  5877. 18 0
  5878. 11 00001118
  5879. 6 2
  5880. 15
  5881. 9
  5882. 6 2
  5883. 15
  5884. 17 36
  5885. 9
  5886. 14 AdjCheck
  5887. 29 0 hDlg
  5888. 29 1 Id
  5889. 29 2 AdjCheck
  5890. 17 1
  5891. 0 32 2
  5892. 17 2
  5893. 29 3 ini_section
  5894. 0 265 "ini_section"
  5895. 13
  5896. 8 3
  5897. 17 3
  5898. 29 4 Units
  5899. 16 GetUnits "{4}"
  5900. 13
  5901. 8 4
  5902. 17 4
  5903. 5 8
  5904. 29 5 sign
  5905. 21 5 [X]
  5906. 17 5
  5907. 29 6 Num
  5908. 5 1
  5909. 8 6
  5910. 29 7 i
  5911. 5 23
  5912. 8 7
  5913. 17 6
  5914. 5 30
  5915. 6 7
  5916. 18 2
  5917. 12 00000321
  5918. 10 00000592
  5919. 5 1
  5920. 6 7
  5921. 3 0
  5922. 8 7
  5923. 10 00000239
  5924. 17 7
  5925. 6 7
  5926. 5 23
  5927. 18 0
  5928. 11 00000443
  5929. 17 8
  5930. 29 8 AdjSettings
  5931. 0 42 "{0}" "{7}"
  5932. 13
  5933. 8 8
  5934. 17 9
  5935. 5 1
  5936. 6 8
  5937. 23 5
  5938. 10 00000552
  5939. 17 11
  5940. 29 9 NextNum
  5941. 0 42 "{0}" "{7}"
  5942. 13
  5943. 8 9
  5944. 17 12
  5945. 0 16 "{8}" "~" "{9}"
  5946. 13
  5947. 8 8
  5948. 17 13
  5949. 6 6
  5950. 6 9
  5951. 23 5
  5952. 17 15
  5953. 6 6
  5954. 5 1
  5955. 3 0
  5956. 8 6
  5957. 10 00000288
  5958. 17 17
  5959. 29 10 RetY
  5960. 0 42 "{0}" 8000
  5961. 13
  5962. 16 ConvertToTwips [X]
  5963. 13
  5964. 8 10
  5965. 17 18
  5966. 6 10
  5967. 5 4320
  5968. 18 3
  5969. 6 10
  5970. 5 0
  5971. 18 5
  5972. 1 2
  5973. 11 00000887
  5974. 17 19
  5975. 0 39 13
  5976. 13
  5977. 16 ConvertToUnits 4320
  5978. 13
  5979. 0 16 "The number entered must" [X] "be between 0.00 and " [X]
  5980. 13
  5981. 0 3 [X]
  5982. 17 20
  5983. 0 55 "{0}" 8000
  5984. 6 2
  5985. 15
  5986. 9
  5987. 17 23
  5988. 5 1
  5989. 22 5
  5990. 5 1
  5991. 18 0
  5992. 11 00000959
  5993. 17 24
  5994. 6 10
  5995. 5 -1
  5996. 4 0
  5997. 8 10
  5998. 17 26
  5999. 29 11 RetX
  6000. 0 42 "{0}" 8001
  6001. 13
  6002. 16 ConvertToTwips [X]
  6003. 13
  6004. 8 11
  6005. 17 27
  6006. 6 11
  6007. 5 4320
  6008. 18 3
  6009. 6 11
  6010. 5 0
  6011. 18 5
  6012. 1 2
  6013. 11 00001254
  6014. 17 28
  6015. 0 39 13
  6016. 13
  6017. 16 ConvertToUnits 4320
  6018. 13
  6019. 0 16 "The number entered must" [X] "be between 0.00 and " [X]
  6020. 13
  6021. 0 3 [X]
  6022. 17 29
  6023. 0 55 "{0}" 8001
  6024. 6 2
  6025. 15
  6026. 9
  6027. 17 32
  6028. 5 3
  6029. 22 5
  6030. 5 1
  6031. 18 0
  6032. 11 00001326
  6033. 17 33
  6034. 6 11
  6035. 5 -1
  6036. 4 0
  6037. 8 11
  6038. 17 35
  6039. 29 12 RecY
  6040. 0 42 "{0}" 8002
  6041. 13
  6042. 16 ConvertToTwips [X]
  6043. 13
  6044. 8 12
  6045. 17 36
  6046. 6 12
  6047. 5 4320
  6048. 18 3
  6049. 6 12
  6050. 5 0
  6051. 18 5
  6052. 1 2
  6053. 11 00001621
  6054. 17 37
  6055. 0 39 13
  6056. 13
  6057. 16 ConvertToUnits 4320
  6058. 13
  6059. 0 16 "The number entered must" [X] "be between 0.00 and " [X]
  6060. 13
  6061. 0 3 [X]
  6062. 17 38
  6063. 0 55 "{0}" 8002
  6064. 6 2
  6065. 15
  6066. 9
  6067. 17 41
  6068. 5 5
  6069. 22 5
  6070. 5 1
  6071. 18 0
  6072. 11 00001693
  6073. 17 42
  6074. 6 12
  6075. 5 -1
  6076. 4 0
  6077. 8 12
  6078. 17 44
  6079. 29 13 RecX
  6080. 0 42 "{0}" 8003
  6081. 13
  6082. 16 ConvertToTwips [X]
  6083. 13
  6084. 8 13
  6085. 17 45
  6086. 6 13
  6087. 5 4320
  6088. 18 3
  6089. 6 13
  6090. 5 0
  6091. 18 5
  6092. 1 2
  6093. 11 00001988
  6094. 17 46
  6095. 0 39 13
  6096. 13
  6097. 16 ConvertToUnits 4320
  6098. 13
  6099. 0 16 "The number entered must" [X] "be between 0.00 and " [X]
  6100. 13
  6101. 0 3 [X]
  6102. 17 47
  6103. 0 55 "{0}" 8003
  6104. 6 2
  6105. 15
  6106. 9
  6107. 17 50
  6108. 5 7
  6109. 22 5
  6110. 5 1
  6111. 18 0
  6112. 11 00002060
  6113. 17 51
  6114. 6 13
  6115. 5 -1
  6116. 4 0
  6117. 8 13
  6118. 17 55
  6119. 29 14 AdjAmount
  6120. 0 16 "{10}" "~" "{11}" "~" "{12}" "~" "{13}"
  6121. 13
  6122. 8 14
  6123. 17 56
  6124. 0 287 "{3}" "AdjAmount" "{14}" "amipro2.ini"
  6125. 17 57
  6126. 0 287 "{3}" "AdjSettings" "{8}" "amipro2.ini"
  6127. 17 58
  6128. 0 64 "{0}"
  6129. 6 2
  6130. 15
  6131. 17 60
  6132. 9
  6133. 14 Printset
  6134. 29 0 PrinterName
  6135. 29 1 Printset
  6136. 17 1
  6137. 0 32 2
  6138. 17 2
  6139. 33 2 91 
  6140. 13
  6141. 11 00000783
  6142. 17 3
  6143. 5 100
  6144. 29 2 prts
  6145. 21 2 [X]
  6146. 17 4
  6147. 5 100
  6148. 29 3 streams
  6149. 21 3 [X]
  6150. 17 5
  6151. 29 4 pcnt
  6152. 32 0 32 91 0 &2
  6153. 13
  6154. 8 4
  6155. 17 6
  6156. 6 4
  6157. 5 0
  6158. 18 3
  6159. 11 00000768
  6160. 29 5 i
  6161. 5 1
  6162. 8 5
  6163. 17 7
  6164. 6 4
  6165. 6 5
  6166. 18 2
  6167. 12 00000341
  6168. 10 00000768
  6169. 5 1
  6170. 6 5
  6171. 3 0
  6172. 8 5
  6173. 10 00000260
  6174. 17 8
  6175. 29 6 p
  6176. 6 5
  6177. 22 2
  6178. 8 6
  6179. 17 9
  6180. 33 10 (  "{6}" ) 
  6181. 13
  6182. 11 00000755
  6183. 17 10
  6184. 29 7 scnt
  6185. 32 0 32 34 0 &3
  6186. 13
  6187. 8 7
  6188. 17 11
  6189. 6 7
  6190. 5 0
  6191. 18 3
  6192. 11 00000740
  6193. 29 8 j
  6194. 5 1
  6195. 8 8
  6196. 17 12
  6197. 6 7
  6198. 6 8
  6199. 18 2
  6200. 12 00000593
  6201. 10 00000740
  6202. 5 1
  6203. 6 8
  6204. 3 0
  6205. 8 8
  6206. 10 00000511
  6207. 17 13
  6208. 29 9 Str
  6209. 6 8
  6210. 22 3
  6211. 8 9
  6212. 17 14
  6213. 6 9
  6214. 6 0
  6215. 18 0
  6216. 11 00000727
  6217. 17 16
  6218. 6 0
  6219. 30 34
  6220. 17 17
  6221. 6 6
  6222. 30 29
  6223. 17 18
  6224. 0 69 2
  6225. 6 1
  6226. 15
  6227. 9
  6228. 10 00000560
  6229. 17 23
  6230. 0 69 1
  6231. 10 00000308
  6232. 17 27
  6233. 0 69 2
  6234. 6 1
  6235. 15
  6236. 17 29
  6237. 9
  6238. 14 NewPrintDef
  6239. 29 0 PrinterName
  6240. 29 1 NewPrintDef
  6241. 17 1
  6242. 0 32 2
  6243. 17 2
  6244. 33 2 91 
  6245. 13
  6246. 11 00000892
  6247. 17 3
  6248. 5 100
  6249. 29 2 prts
  6250. 21 2 [X]
  6251. 17 4
  6252. 5 100
  6253. 29 3 streams
  6254. 21 3 [X]
  6255. 17 5
  6256. 29 4 pcnt
  6257. 32 0 32 91 0 &2
  6258. 13
  6259. 8 4
  6260. 17 6
  6261. 6 4
  6262. 5 0
  6263. 18 3
  6264. 11 00000877
  6265. 29 5 i
  6266. 5 1
  6267. 8 5
  6268. 17 7
  6269. 6 4
  6270. 6 5
  6271. 18 2
  6272. 12 00000347
  6273. 10 00000877
  6274. 5 1
  6275. 6 5
  6276. 3 0
  6277. 8 5
  6278. 10 00000266
  6279. 17 8
  6280. 29 6 p
  6281. 6 5
  6282. 22 2
  6283. 8 6
  6284. 17 9
  6285. 33 10 (  "{6}" ) 
  6286. 13
  6287. 11 00000864
  6288. 17 10
  6289. 29 7 scnt
  6290. 32 0 32 34 0 &3
  6291. 13
  6292. 8 7
  6293. 17 11
  6294. 6 7
  6295. 5 0
  6296. 18 3
  6297. 11 00000849
  6298. 29 8 j
  6299. 5 1
  6300. 8 8
  6301. 17 12
  6302. 6 7
  6303. 6 8
  6304. 18 2
  6305. 12 00000599
  6306. 10 00000849
  6307. 5 1
  6308. 6 8
  6309. 3 0
  6310. 8 8
  6311. 10 00000517
  6312. 17 13
  6313. 29 9 Str
  6314. 6 8
  6315. 22 3
  6316. 8 9
  6317. 17 14
  6318. 6 9
  6319. 6 0
  6320. 18 0
  6321. 11 00000836
  6322. 17 15
  6323. 29 10 IsSection
  6324. 16 NewPrintDefSet "{6}" "{9}"
  6325. 13
  6326. 8 10
  6327. 17 16
  6328. 0 69 2
  6329. 17 17
  6330. 6 10
  6331. 5 1
  6332. 18 0
  6333. 11 00000817
  6334. 17 18
  6335. 5 1
  6336. 15
  6337. 9
  6338. 10 00000836
  6339. 17 20
  6340. 5 0
  6341. 15
  6342. 9
  6343. 10 00000566
  6344. 17 25
  6345. 0 69 1
  6346. 10 00000314
  6347. 17 29
  6348. 0 69 2
  6349. 6 1
  6350. 15
  6351. 17 31
  6352. 9
  6353. 14 WriteDefs
  6354. 29 0 RetName
  6355. 29 1 Printer
  6356. 29 2 EnvSize
  6357. 29 3 PrintRet
  6358. 29 4 EnvFeed
  6359. 29 5 CustomWidth
  6360. 29 6 CustomHeight
  6361. 29 7 WriteDefs
  6362. 17 1
  6363. 0 32 2
  6364. 17 2
  6365. 29 8 ini_section
  6366. 0 265 "ini_section"
  6367. 13
  6368. 8 8
  6369. 17 3
  6370. 0 287 "EnvDefaults" "Printer" "{1}" "amipro2.ini"
  6371. 17 4
  6372. 0 287 "{8}" "EnvSize" "{2}" "amipro2.ini"
  6373. 17 5
  6374. 0 287 "EnvDefaults" "RetName" "{0}" "amipro2.ini"
  6375. 17 6
  6376. 0 287 "{8}" "PrintRetDef" "{3}" "amipro2.ini"
  6377. 17 7
  6378. 0 287 "{8}" "EnvFeed" "{4}" "amipro2.ini"
  6379. 17 8
  6380. 0 287 "{8}" "CustomWidth" "{5}" "amipro2.ini"
  6381. 17 9
  6382. 0 287 "{8}" "CustomHeight" "{6}" "amipro2.ini"
  6383. 6 7
  6384. 15
  6385. 17 10
  6386. 9
  6387. 14 SetDefaults
  6388. 29 0 SetDefaults
  6389. 17 1
  6390. 0 32 2
  6391. 17 2
  6392. 0 287 "EnvDefaults" "Printer" 91 "amipro2.ini"
  6393. 17 3
  6394. 0 287 "EnvDefaults" "EnvSize" "Size 10 (9 1/2 x 4 1/8 in)" "amipro2.ini"
  6395. 17 4
  6396. 0 287 "EnvDefaults" "PrintRetDef" 1 "amipro2.ini"
  6397. 17 5
  6398. 0 287 "EnvDefaults" "EnvFeed" 0 "amipro2.ini"
  6399. 17 6
  6400. 0 287 "EnvDefaults" "Position" 1 "amipro2.ini"
  6401. 17 7
  6402. 0 287 "EnvDefaults" "Orientation" "Landscape" "amipro2.ini"
  6403. 17 8
  6404. 0 287 "AdrsBook" "NumNames" 1 "amipro2.ini"
  6405. 17 9
  6406. 0 287 "AdrsBook" "Name1" "" "amipro2.ini"
  6407. 6 0
  6408. 15
  6409. 17 10
  6410. 9
  6411. 14 Autoshade
  6412. 29 0 Autoshade
  6413. 17 3
  6414. 29 1 Compline
  6415. 17 4
  6416. 0 6 "[27][27][16420][27]"
  6417. 17 6
  6418. 0 6 "[16424]"
  6419. 17 7
  6420. 33 23 
  6421. 13
  6422. 11 00000169
  6423. 17 8
  6424. 0 69 1
  6425. 17 9
  6426. 10 00001371
  6427. 17 11
  6428. 31 7 42
  6429. 13
  6430. 5 1
  6431. 18 3
  6432. 11 00000233
  6433. 17 12
  6434. 10 00001371
  6435. 17 14
  6436. 29 2 curpar
  6437. 16 _$$4GetTextBeforeCursor
  6438. 13
  6439. 8 2
  6440. 17 15
  6441. 16 _$$4AtEof
  6442. 13
  6443. 11 00000361
  6444. 17 16
  6445. 10 00001371
  6446. 10 00000509
  6447. 17 17
  6448. 0 14 "{2}"
  6449. 13
  6450. 5 60
  6451. 18 3
  6452. 6 2
  6453. 6 1
  6454. 18 0
  6455. 0 806 "{2}" 1
  6456. 13
  6457. 0 39 9
  6458. 13
  6459. 18 0
  6460. 1 2
  6461. 1 2
  6462. 11 00000509
  6463. 17 18
  6464. 6 2
  6465. 8 1
  6466. 17 19
  6467. 10 00000084
  6468. 17 21
  6469. 29 3 lincount
  6470. 5 0
  6471. 8 3
  6472. 17 22
  6473. 6 2
  6474. 8 1
  6475. 17 23
  6476. 5 1
  6477. 11 00001118
  6478. 17 24
  6479. 0 6 "[16424]"
  6480. 17 25
  6481. 33 23 
  6482. 13
  6483. 11 00000672
  6484. 17 26
  6485. 0 69 1
  6486. 17 27
  6487. 10 00001371
  6488. 17 29
  6489. 31 7 42
  6490. 13
  6491. 5 1
  6492. 18 3
  6493. 11 00000736
  6494. 17 30
  6495. 10 00001371
  6496. 17 32
  6497. 16 _$$4GetTextBeforeCursor
  6498. 13
  6499. 8 2
  6500. 17 33
  6501. 0 14 "{2}"
  6502. 13
  6503. 5 65
  6504. 18 3
  6505. 6 2
  6506. 7 ""
  6507. 18 0
  6508. 6 2
  6509. 6 1
  6510. 18 0
  6511. 0 806 "{2}" 1
  6512. 13
  6513. 0 39 9
  6514. 13
  6515. 18 0
  6516. 16 _$$4AtEof
  6517. 13
  6518. 1 2
  6519. 1 2
  6520. 1 2
  6521. 1 2
  6522. 11 00001061
  6523. 17 34
  6524. 16 _$$4AtEof
  6525. 13
  6526. 11 00001014
  6527. 17 35
  6528. 6 3
  6529. 5 2
  6530. 3 0
  6531. 8 3
  6532. 10 00001041
  6533. 17 37
  6534. 6 3
  6535. 5 1
  6536. 3 0
  6537. 8 3
  6538. 17 39
  6539. 10 00001118
  6540. 17 41
  6541. 6 3
  6542. 5 1
  6543. 3 0
  6544. 8 3
  6545. 17 42
  6546. 6 2
  6547. 8 1
  6548. 10 00000558
  6549. 17 44
  6550. 6 3
  6551. 5 2
  6552. 18 3
  6553. 6 3
  6554. 5 7
  6555. 18 5
  6556. 1 1
  6557. 11 00001323
  6558. 29 4 i
  6559. 5 1
  6560. 8 4
  6561. 17 45
  6562. 6 3
  6563. 6 4
  6564. 18 2
  6565. 12 00001275
  6566. 10 00001310
  6567. 5 1
  6568. 6 4
  6569. 3 0
  6570. 8 4
  6571. 10 00001193
  6572. 17 46
  6573. 0 6 "[20518]"
  6574. 10 00001242
  6575. 10 00001343
  6576. 17 49
  6577. 10 00000084
  6578. 17 51
  6579. 2 154 1
  6580. 6 0
  6581. 15
  6582. 9
  6583. 17 54
  6584. 29 5 NoText
  6585. 5 1
  6586. 8 5
  6587. 17 55
  6588. 6 5
  6589. 15
  6590. 9
  6591. 6 0
  6592. 15
  6593. 17 56
  6594. 9
  6595. 14 TwipsToUnits
  6596. 29 0 Value
  6597. 29 1 TwipsToUnits
  6598. 17 1
  6599. 0 32 2
  6600. 17 2
  6601. 6 0
  6602. 5 3276.8
  6603. 4 0
  6604. 8 0
  6605. 17 3
  6606. 6 0
  6607. 15
  6608. 9
  6609. 6 1
  6610. 15
  6611. 17 4
  6612. 9
  6613. 14 ConvertToTwips
  6614. 29 0 Value
  6615. 29 1 ConvertToTwips
  6616. 17 1
  6617. 0 32 2
  6618. 17 2
  6619. 29 2 Units
  6620. 16 GetUnits "{2}"
  6621. 13
  6622. 8 2
  6623. 17 3
  6624. 7 "Inches"
  6625. 6 2
  6626. 18 0
  6627. 11 00000196
  6628. 17 5
  6629. 6 0
  6630. 5 1440
  6631. 4 0
  6632. 8 0
  6633. 10 00000411
  6634. 7 "CM"
  6635. 6 2
  6636. 18 0
  6637. 11 00000271
  6638. 17 7
  6639. 6 0
  6640. 5 566.9
  6641. 4 0
  6642. 8 0
  6643. 10 00000411
  6644. 7 "Picas"
  6645. 6 2
  6646. 18 0
  6647. 11 00000347
  6648. 17 9
  6649. 6 0
  6650. 5 240
  6651. 4 0
  6652. 8 0
  6653. 10 00000411
  6654. 7 "Points"
  6655. 6 2
  6656. 18 0
  6657. 11 00000411
  6658. 17 11
  6659. 6 0
  6660. 5 20
  6661. 4 0
  6662. 8 0
  6663. 17 13
  6664. 6 0
  6665. 15
  6666. 9
  6667. 6 1
  6668. 15
  6669. 17 14
  6670. 9
  6671. 14 ConvertToUnits
  6672. 29 0 Value
  6673. 29 1 ConvertToUnits
  6674. 17 1
  6675. 0 32 2
  6676. 17 2
  6677. 29 2 Units
  6678. 16 GetUnits "{2}"
  6679. 13
  6680. 8 2
  6681. 17 3
  6682. 7 "Inches"
  6683. 6 2
  6684. 18 0
  6685. 11 00000196
  6686. 17 5
  6687. 6 0
  6688. 5 1440
  6689. 4 1
  6690. 8 0
  6691. 10 00000411
  6692. 7 "CM"
  6693. 6 2
  6694. 18 0
  6695. 11 00000271
  6696. 17 7
  6697. 6 0
  6698. 5 566.9
  6699. 4 1
  6700. 8 0
  6701. 10 00000411
  6702. 7 "Picas"
  6703. 6 2
  6704. 18 0
  6705. 11 00000347
  6706. 17 9
  6707. 6 0
  6708. 5 240
  6709. 4 1
  6710. 8 0
  6711. 10 00000411
  6712. 7 "Points"
  6713. 6 2
  6714. 18 0
  6715. 11 00000411
  6716. 17 11
  6717. 6 0
  6718. 5 20
  6719. 4 1
  6720. 8 0
  6721. 17 13
  6722. 0 19 "" "" 2 "{0}"
  6723. 13
  6724. 8 0
  6725. 17 14
  6726. 6 0
  6727. 15
  6728. 9
  6729. 6 1
  6730. 15
  6731. 17 15
  6732. 9
  6733. 14 SetPrinter
  6734. 29 0 hDlg
  6735. 29 1 Id
  6736. 29 2 SetPrinter
  6737. 17 1
  6738. 0 32 2
  6739. 17 2
  6740. 29 3 NewPrinter
  6741. 0 42 "{0}" 9500
  6742. 13
  6743. 8 3
  6744. 17 3
  6745. 0 264 "ini_section" "{3}"
  6746. 17 4
  6747. 0 264 "ChangePrinter" 1
  6748. 17 5
  6749. 16 FillEnvelopeSizesBox "{0}" "{1}"
  6750. 17 6
  6751. 29 4 IsSettings
  6752. 0 286 "{3}" "EnvSize" "amipro2.ini"
  6753. 13
  6754. 8 4
  6755. 17 7
  6756. 6 4
  6757. 7 ""
  6758. 18 0
  6759. 11 00000786
  6760. 17 8
  6761. 29 5 IsSection
  6762. 16 NewPrintDef "{3}"
  6763. 13
  6764. 8 5
  6765. 17 9
  6766. 0 287 "{3}" "EnvSize" "Size 10 (9 1/2 x 4 1/8 in)" "amipro2.ini"
  6767. 17 10
  6768. 0 287 "{3}" "PrintRetDef" 1 "amipro2.ini"
  6769. 17 11
  6770. 0 287 "{3}" "EnvFeed" 0 "amipro2.ini"
  6771. 17 12
  6772. 16 NewPrintDef "{3}"
  6773. 17 13
  6774. 6 5
  6775. 5 1
  6776. 18 0
  6777. 11 00000786
  6778. 17 14
  6779. 0 287 "{3}" "Position" 1 "amipro2.ini"
  6780. 17 15
  6781. 0 287 "{3}" "Orientation" "Landscape" "amipro2.ini"
  6782. 17 16
  6783. 0 287 "{3}" "AdjSettings" "1~0~1~0~1~0~1~0" "amipro2.ini"
  6784. 17 19
  6785. 0 286 "{3}" "PrintRetDef" "amipro2.ini"
  6786. 13
  6787. 5 1
  6788. 4 0
  6789. 0 43 "{0}" 20 [X]
  6790. 17 20
  6791. 0 286 "{3}" "EnvFeed" "amipro2.ini"
  6792. 13
  6793. 5 1
  6794. 4 0
  6795. 0 43 "{0}" 21 [X]
  6796. 6 2
  6797. 15
  6798. 17 21
  6799. 9
  6800. 14 GetUnits
  6801. 29 0 Units
  6802. 29 1 GetUnits
  6803. 17 1
  6804. 0 32 2
  6805. 17 2
  6806. 31 101 45 30
  6807. 13
  6808. 8 0
  6809. 17 3
  6810. 5 1
  6811. 6 0
  6812. 18 0
  6813. 11 00000154
  6814. 17 5
  6815. 7 "Inches"
  6816. 8 0
  6817. 10 00000332
  6818. 5 2
  6819. 6 0
  6820. 18 0
  6821. 11 00000215
  6822. 17 7
  6823. 7 "CM"
  6824. 8 0
  6825. 10 00000332
  6826. 5 3
  6827. 6 0
  6828. 18 0
  6829. 11 00000279
  6830. 17 9
  6831. 7 "Picas"
  6832. 8 0
  6833. 10 00000332
  6834. 5 4
  6835. 6 0
  6836. 18 0
  6837. 11 00000332
  6838. 17 11
  6839. 7 "Points"
  6840. 8 0
  6841. 17 13
  6842. 6 0
  6843. 15
  6844. 9
  6845. 6 1
  6846. 15
  6847. 17 14
  6848. 9
  6849. 14 NewPrintDefSet
  6850. 29 0 PrinterName
  6851. 29 1 Stream
  6852. 29 2 NewPrintDefSet
  6853. 17 1
  6854. 0 32 2
  6855. 17 3
  6856. 29 3 AdjAmount
  6857. 0 286 "{0}" "AdjAmount" "amienv.ini"
  6858. 13
  6859. 8 3
  6860. 17 4
  6861. 6 3
  6862. 7 ""
  6863. 18 0
  6864. 11 00000208
  6865. 17 5
  6866. 5 1
  6867. 15
  6868. 9
  6869. 17 7
  6870. 29 4 AdjSettings
  6871. 0 286 "{0}" "AdjSettings" "amienv.ini"
  6872. 13
  6873. 8 4
  6874. 17 8
  6875. 29 5 Position
  6876. 0 286 "{0}" "Position" "amienv.ini"
  6877. 13
  6878. 8 5
  6879. 17 9
  6880. 29 6 Orientation
  6881. 0 286 "{0}" "Orientation" "amienv.ini"
  6882. 13
  6883. 8 6
  6884. 17 10
  6885. 0 287 "{1}" "AdjAmount" "{3}" "amipro2.ini"
  6886. 17 11
  6887. 0 287 "{1}" "AdjSettings" "{4}" "amipro2.ini"
  6888. 17 12
  6889. 0 287 "{1}" "Position" "{5}" "amipro2.ini"
  6890. 17 13
  6891. 0 287 "{1}" "Orientation" "{6}" "amipro2.ini"
  6892. 6 2
  6893. 15
  6894. 17 14
  6895. 9
  6896. 00076896
  6897.