home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / DISK1 / STY31.CMZ / _LABEL.STY < prev    next >
INI File  |  1993-03-14  |  57KB  |  3,876 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     _macro.sty
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     PostScript Printer
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     Automates _LABEL.STY, providing the engine for Avery label-building
  19.     
  20.     
  21.     
  22.     noautorun
  23.     708845799
  24.     66
  25.     703895045
  26.     3823
  27.     13
  28.     1663
  29.     14877
  30.     51
  31.     53
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     1
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [ParaNum]
  54.     1
  55. [tag]
  56.     Body Text
  57.     2
  58.     [fnt]
  59.         TimesNewRomanPS
  60.         240
  61.         0
  62.         49152
  63.     [algn]
  64.         1
  65.         1
  66.         0
  67.         0
  68.         0
  69.     [spc]
  70.         33
  71.         273
  72.         1
  73.         0
  74.         0
  75.         1
  76.         100
  77.     [brk]
  78.         4
  79.     [line]
  80.         8
  81.         0
  82.         1
  83.         0
  84.         1
  85.         1
  86.         1
  87.         10
  88.         10
  89.         1
  90.     [spec]
  91.         0
  92.         0
  93.         
  94.         0
  95.         1
  96.         1
  97.         0
  98.         0
  99.         0
  100.         0
  101.     [nfmt]
  102.         280
  103.         1
  104.         2
  105.         .
  106.         ,
  107.         $
  108.     Body Text
  109.     0
  110.     0
  111. [tag]
  112.     Body Single
  113.     3
  114.     [fnt]
  115.         TimesNewRomanPS
  116.         240
  117.         0
  118.         49152
  119.     [algn]
  120.         1
  121.         1
  122.         0
  123.         0
  124.         0
  125.     [spc]
  126.         33
  127.         273
  128.         1
  129.         0
  130.         0
  131.         1
  132.         100
  133.     [brk]
  134.         4
  135.     [line]
  136.         8
  137.         0
  138.         1
  139.         0
  140.         1
  141.         1
  142.         1
  143.         10
  144.         10
  145.         1
  146.     [spec]
  147.         0
  148.         0
  149.         
  150.         0
  151.         1
  152.         1
  153.         0
  154.         0
  155.         0
  156.         0
  157.     [nfmt]
  158.         280
  159.         1
  160.         2
  161.         .
  162.         ,
  163.         $
  164.     Body Single
  165.     0
  166.     0
  167. [tag]
  168.     Function
  169.     4
  170.     [fnt]
  171.         Arial
  172.         240
  173.         0
  174.         16385
  175.     [algn]
  176.         1
  177.         1
  178.         0
  179.         0
  180.         0
  181.     [spc]
  182.         33
  183.         244
  184.         1
  185.         0
  186.         0
  187.         1
  188.         100
  189.     [brk]
  190.         68
  191.     [line]
  192.         8
  193.         0
  194.         1
  195.         0
  196.         1
  197.         1
  198.         1
  199.         10
  200.         10
  201.         1
  202.     [spec]
  203.         0
  204.         0
  205.         
  206.         0
  207.         1
  208.         1
  209.         0
  210.         0
  211.         0
  212.         0
  213.     [nfmt]
  214.         272
  215.         1
  216.         3
  217.         .
  218.         ,
  219.         $
  220.     Body Text
  221.     0
  222.     0
  223. [tag]
  224.     Bullet 1
  225.     5
  226.     [fnt]
  227.         TimesNewRomanPS
  228.         240
  229.         0
  230.         49152
  231.     [algn]
  232.         1
  233.         1
  234.         288
  235.         288
  236.         288
  237.     [spc]
  238.         33
  239.         273
  240.         1
  241.         0
  242.         0
  243.         1
  244.         100
  245.     [brk]
  246.         4
  247.     [line]
  248.         8
  249.         0
  250.         1
  251.         0
  252.         1
  253.         1
  254.         1
  255.         10
  256.         10
  257.         1
  258.     [spec]
  259.         0
  260.         0
  261.         <*5>
  262.         0
  263.         1
  264.         1
  265.         0
  266.         0
  267.         0
  268.         0
  269.     [nfmt]
  270.         280
  271.         1
  272.         2
  273.         .
  274.         ,
  275.         $
  276.     Bullet 1
  277.     0
  278.     0
  279. [tag]
  280.     Number List
  281.     6
  282.     [fnt]
  283.         TimesNewRomanPS
  284.         240
  285.         0
  286.         49152
  287.     [algn]
  288.         1
  289.         1
  290.         360
  291.         360
  292.         360
  293.     [spc]
  294.         33
  295.         273
  296.         1
  297.         0
  298.         0
  299.         1
  300.         100
  301.     [brk]
  302.         4
  303.     [line]
  304.         8
  305.         0
  306.         1
  307.         0
  308.         1
  309.         1
  310.         1
  311.         10
  312.         10
  313.         1
  314.     [spec]
  315.         0
  316.         0
  317.         <*:>.
  318.         360
  319.         1
  320.         1
  321.         0
  322.         0
  323.         0
  324.         0
  325.     [nfmt]
  326.         272
  327.         1
  328.         2
  329.         .
  330.         ,
  331.         $
  332.     Number List
  333.     0
  334.     0
  335. [tag]
  336.     Subhead
  337.     7
  338.     [fnt]
  339.         TimesNewRomanPS
  340.         200
  341.         0
  342.         49152
  343.     [algn]
  344.         1
  345.         1
  346.         0
  347.         0
  348.         0
  349.     [spc]
  350.         33
  351.         273
  352.         1
  353.         72
  354.         72
  355.         1
  356.         100
  357.     [brk]
  358.         4
  359.     [line]
  360.         8
  361.         0
  362.         1
  363.         0
  364.         1
  365.         1
  366.         1
  367.         10
  368.         10
  369.         1
  370.     [spec]
  371.         0
  372.         0
  373.         
  374.         0
  375.         1
  376.         1
  377.         0
  378.         0
  379.         0
  380.         0
  381.     [nfmt]
  382.         272
  383.         1
  384.         2
  385.         .
  386.         ,
  387.         $
  388.     Subhead
  389.     0
  390.     0
  391. [tag]
  392.     Title
  393.     8
  394.     [fnt]
  395.         Arial MT
  396.         360
  397.         0
  398.         16385
  399.     [algn]
  400.         4
  401.         1
  402.         0
  403.         0
  404.         0
  405.     [spc]
  406.         33
  407.         446
  408.         1
  409.         144
  410.         72
  411.         1
  412.         100
  413.     [brk]
  414.         16
  415.     [line]
  416.         8
  417.         0
  418.         1
  419.         0
  420.         1
  421.         1
  422.         1
  423.         10
  424.         10
  425.         1
  426.     [spec]
  427.         0
  428.         0
  429.         
  430.         0
  431.         1
  432.         1
  433.         0
  434.         0
  435.         0
  436.         0
  437.     [nfmt]
  438.         272
  439.         1
  440.         2
  441.         .
  442.         ,
  443.         $
  444.     Title
  445.     0
  446.     0
  447. [tag]
  448.     Header
  449.     9
  450.     [fnt]
  451.         TimesNewRomanPS
  452.         240
  453.         0
  454.         49152
  455.     [algn]
  456.         1
  457.         1
  458.         0
  459.         0
  460.         0
  461.     [spc]
  462.         33
  463.         273
  464.         1
  465.         0
  466.         0
  467.         1
  468.         100
  469.     [brk]
  470.         4
  471.     [line]
  472.         8
  473.         0
  474.         1
  475.         0
  476.         1
  477.         1
  478.         1
  479.         10
  480.         10
  481.         1
  482.     [spec]
  483.         0
  484.         0
  485.         
  486.         0
  487.         1
  488.         1
  489.         0
  490.         0
  491.         0
  492.         0
  493.     [nfmt]
  494.         280
  495.         1
  496.         2
  497.         .
  498.         ,
  499.         $
  500.     Header
  501.     0
  502.     0
  503. [tag]
  504.     Footer
  505.     11
  506.     [fnt]
  507.         TimesNewRomanPS
  508.         240
  509.         0
  510.         49152
  511.     [algn]
  512.         1
  513.         1
  514.         0
  515.         0
  516.         0
  517.     [spc]
  518.         33
  519.         273
  520.         1
  521.         0
  522.         0
  523.         1
  524.         100
  525.     [brk]
  526.         4
  527.     [line]
  528.         8
  529.         0
  530.         1
  531.         0
  532.         1
  533.         1
  534.         1
  535.         10
  536.         10
  537.         1
  538.     [spec]
  539.         0
  540.         0
  541.         
  542.         0
  543.         1
  544.         1
  545.         0
  546.         0
  547.         0
  548.         0
  549.     [nfmt]
  550.         280
  551.         1
  552.         2
  553.         .
  554.         ,
  555.         $
  556.     Footer
  557.     0
  558.     0
  559. [tag]
  560.     Outline1
  561.     12
  562.     [fnt]
  563.         Times New Roman
  564.         240
  565.         0
  566.         49153
  567.     [algn]
  568.         1
  569.         1
  570.         0
  571.         0
  572.         0
  573.     [spc]
  574.         33
  575.         273
  576.         1
  577.         0
  578.         0
  579.         1
  580.         100
  581.     [brk]
  582.         4
  583.     [line]
  584.         8
  585.         0
  586.         1
  587.         0
  588.         1
  589.         1
  590.         1
  591.         10
  592.         10
  593.         1
  594.     [spec]
  595.         0
  596.         1
  597.         
  598.         0
  599.         1
  600.         1
  601.         0
  602.         0
  603.         0
  604.         0
  605.     [nfmt]
  606.         280
  607.         1
  608.         2
  609.         .
  610.         ,
  611.         $
  612.     Outline1
  613.     0
  614.     0
  615. [tag]
  616.     Outline2
  617.     0
  618.     [fnt]
  619.         Times New Roman
  620.         240
  621.         0
  622.         49152
  623.     [algn]
  624.         1
  625.         1
  626.         0
  627.         0
  628.         0
  629.     [spc]
  630.         33
  631.         273
  632.         1
  633.         0
  634.         0
  635.         1
  636.         100
  637.     [brk]
  638.         4
  639.     [line]
  640.         8
  641.         0
  642.         1
  643.         0
  644.         1
  645.         1
  646.         1
  647.         10
  648.         10
  649.         1
  650.     [spec]
  651.         0
  652.         2
  653.         
  654.         0
  655.         1
  656.         1
  657.         0
  658.         0
  659.         0
  660.         0
  661.     [nfmt]
  662.         280
  663.         1
  664.         2
  665.         .
  666.         ,
  667.         $
  668.     Outline2
  669.     0
  670.     0
  671. [tag]
  672.     Outline3
  673.     0
  674.     [fnt]
  675.         Times New Roman
  676.         240
  677.         0
  678.         49152
  679.     [algn]
  680.         1
  681.         1
  682.         0
  683.         0
  684.         0
  685.     [spc]
  686.         33
  687.         273
  688.         1
  689.         0
  690.         0
  691.         1
  692.         100
  693.     [brk]
  694.         4
  695.     [line]
  696.         8
  697.         0
  698.         1
  699.         0
  700.         1
  701.         1
  702.         1
  703.         10
  704.         10
  705.         1
  706.     [spec]
  707.         0
  708.         3
  709.         
  710.         0
  711.         1
  712.         1
  713.         0
  714.         0
  715.         0
  716.         0
  717.     [nfmt]
  718.         280
  719.         1
  720.         2
  721.         .
  722.         ,
  723.         $
  724.     Outline3
  725.     0
  726.     0
  727. [tag]
  728.     Outline4
  729.     0
  730.     [fnt]
  731.         Times New Roman
  732.         240
  733.         0
  734.         49152
  735.     [algn]
  736.         1
  737.         1
  738.         0
  739.         0
  740.         0
  741.     [spc]
  742.         33
  743.         273
  744.         1
  745.         0
  746.         0
  747.         1
  748.         100
  749.     [brk]
  750.         4
  751.     [line]
  752.         8
  753.         0
  754.         1
  755.         0
  756.         1
  757.         1
  758.         1
  759.         10
  760.         10
  761.         1
  762.     [spec]
  763.         0
  764.         4
  765.         
  766.         0
  767.         1
  768.         1
  769.         0
  770.         0
  771.         0
  772.         0
  773.     [nfmt]
  774.         280
  775.         1
  776.         2
  777.         .
  778.         ,
  779.         $
  780.     Outline4
  781.     0
  782.     0
  783. [tag]
  784.     Bullet
  785.     0
  786.     [fnt]
  787.         TimesNewRomanPS
  788.         240
  789.         0
  790.         49152
  791.     [algn]
  792.         1
  793.         1
  794.         0
  795.         288
  796.         288
  797.     [spc]
  798.         33
  799.         273
  800.         1
  801.         0
  802.         0
  803.         1
  804.         100
  805.     [brk]
  806.         4
  807.     [line]
  808.         8
  809.         0
  810.         1
  811.         0
  812.         1
  813.         1
  814.         1
  815.         10
  816.         10
  817.         1
  818.     [spec]
  819.         0
  820.         0
  821.         <*0>
  822.         360
  823.         1
  824.         1
  825.         0
  826.         0
  827.         0
  828.         0
  829.     [nfmt]
  830.         272
  831.         1
  832.         2
  833.         .
  834.         ,
  835.         $
  836.     Bullet
  837.     0
  838.     0
  839. [tag]
  840.     Outline6
  841.     0
  842.     [fnt]
  843.         TimesNewRomanPS
  844.         240
  845.         0
  846.         49152
  847.     [algn]
  848.         1
  849.         1
  850.         0
  851.         0
  852.         0
  853.     [spc]
  854.         33
  855.         273
  856.         1
  857.         0
  858.         0
  859.         1
  860.         100
  861.     [brk]
  862.         4
  863.     [line]
  864.         8
  865.         0
  866.         1
  867.         0
  868.         1
  869.         1
  870.         1
  871.         10
  872.         10
  873.         1
  874.     [spec]
  875.         0
  876.         6
  877.         
  878.         0
  879.         1
  880.         1
  881.         0
  882.         0
  883.         0
  884.         0
  885.     [nfmt]
  886.         280
  887.         1
  888.         2
  889.         .
  890.         ,
  891.         $
  892.     Outline6
  893.     0
  894.     0
  895. [tag]
  896.     Outline7
  897.     0
  898.     [fnt]
  899.         TimesNewRomanPS
  900.         240
  901.         0
  902.         49152
  903.     [algn]
  904.         1
  905.         1
  906.         0
  907.         0
  908.         0
  909.     [spc]
  910.         33
  911.         273
  912.         1
  913.         0
  914.         0
  915.         1
  916.         100
  917.     [brk]
  918.         4
  919.     [line]
  920.         8
  921.         0
  922.         1
  923.         0
  924.         1
  925.         1
  926.         1
  927.         10
  928.         10
  929.         1
  930.     [spec]
  931.         0
  932.         7
  933.         
  934.         0
  935.         1
  936.         1
  937.         0
  938.         0
  939.         0
  940.         0
  941.     [nfmt]
  942.         280
  943.         1
  944.         2
  945.         .
  946.         ,
  947.         $
  948.     Outline7
  949.     0
  950.     0
  951. [tag]
  952.     Outline8
  953.     0
  954.     [fnt]
  955.         TimesNewRomanPS
  956.         240
  957.         0
  958.         49152
  959.     [algn]
  960.         1
  961.         1
  962.         0
  963.         0
  964.         0
  965.     [spc]
  966.         33
  967.         273
  968.         1
  969.         0
  970.         0
  971.         1
  972.         100
  973.     [brk]
  974.         4
  975.     [line]
  976.         8
  977.         0
  978.         1
  979.         0
  980.         1
  981.         1
  982.         1
  983.         10
  984.         10
  985.         1
  986.     [spec]
  987.         0
  988.         8
  989.         
  990.         0
  991.         1
  992.         1
  993.         0
  994.         0
  995.         0
  996.         0
  997.     [nfmt]
  998.         280
  999.         1
  1000.         2
  1001.         .
  1002.         ,
  1003.         $
  1004.     Outline8
  1005.     0
  1006.     0
  1007. [tag]
  1008.     Outline9
  1009.     0
  1010.     [fnt]
  1011.         TimesNewRomanPS
  1012.         240
  1013.         0
  1014.         49152
  1015.     [algn]
  1016.         1
  1017.         1
  1018.         0
  1019.         0
  1020.         0
  1021.     [spc]
  1022.         33
  1023.         273
  1024.         1
  1025.         0
  1026.         0
  1027.         1
  1028.         100
  1029.     [brk]
  1030.         4
  1031.     [line]
  1032.         8
  1033.         0
  1034.         1
  1035.         0
  1036.         1
  1037.         1
  1038.         1
  1039.         10
  1040.         10
  1041.         1
  1042.     [spec]
  1043.         0
  1044.         9
  1045.         
  1046.         0
  1047.         1
  1048.         1
  1049.         0
  1050.         0
  1051.         0
  1052.         0
  1053.     [nfmt]
  1054.         280
  1055.         1
  1056.         2
  1057.         .
  1058.         ,
  1059.         $
  1060.     Outline9
  1061.     0
  1062.     0
  1063. [tag]
  1064.     Outline10
  1065.     0
  1066.     [fnt]
  1067.         TimesNewRomanPS
  1068.         240
  1069.         0
  1070.         49152
  1071.     [algn]
  1072.         1
  1073.         1
  1074.         0
  1075.         0
  1076.         0
  1077.     [spc]
  1078.         33
  1079.         273
  1080.         1
  1081.         0
  1082.         0
  1083.         1
  1084.         100
  1085.     [brk]
  1086.         4
  1087.     [line]
  1088.         8
  1089.         0
  1090.         1
  1091.         0
  1092.         1
  1093.         1
  1094.         1
  1095.         10
  1096.         10
  1097.         1
  1098.     [spec]
  1099.         0
  1100.         10
  1101.         
  1102.         0
  1103.         1
  1104.         1
  1105.         0
  1106.         0
  1107.         0
  1108.         0
  1109.     [nfmt]
  1110.         280
  1111.         1
  1112.         2
  1113.         .
  1114.         ,
  1115.         $
  1116.     Outline10
  1117.     0
  1118.     0
  1119. [tag]
  1120.     Outline11
  1121.     0
  1122.     [fnt]
  1123.         TimesNewRomanPS
  1124.         240
  1125.         0
  1126.         49152
  1127.     [algn]
  1128.         1
  1129.         1
  1130.         0
  1131.         0
  1132.         0
  1133.     [spc]
  1134.         33
  1135.         273
  1136.         1
  1137.         0
  1138.         0
  1139.         1
  1140.         100
  1141.     [brk]
  1142.         4
  1143.     [line]
  1144.         8
  1145.         0
  1146.         1
  1147.         0
  1148.         1
  1149.         1
  1150.         1
  1151.         10
  1152.         10
  1153.         1
  1154.     [spec]
  1155.         0
  1156.         11
  1157.         
  1158.         0
  1159.         1
  1160.         1
  1161.         0
  1162.         0
  1163.         0
  1164.         0
  1165.     [nfmt]
  1166.         280
  1167.         1
  1168.         2
  1169.         .
  1170.         ,
  1171.         $
  1172.     Outline11
  1173.     0
  1174.     0
  1175. [tag]
  1176.     Outline12
  1177.     0
  1178.     [fnt]
  1179.         TimesNewRomanPS
  1180.         240
  1181.         0
  1182.         49152
  1183.     [algn]
  1184.         1
  1185.         1
  1186.         0
  1187.         0
  1188.         0
  1189.     [spc]
  1190.         33
  1191.         273
  1192.         1
  1193.         0
  1194.         0
  1195.         1
  1196.         100
  1197.     [brk]
  1198.         4
  1199.     [line]
  1200.         8
  1201.         0
  1202.         1
  1203.         0
  1204.         1
  1205.         1
  1206.         1
  1207.         10
  1208.         10
  1209.         1
  1210.     [spec]
  1211.         0
  1212.         12
  1213.         
  1214.         0
  1215.         1
  1216.         1
  1217.         0
  1218.         0
  1219.         0
  1220.         0
  1221.     [nfmt]
  1222.         280
  1223.         1
  1224.         2
  1225.         .
  1226.         ,
  1227.         $
  1228.     Outline12
  1229.     0
  1230.     0
  1231. [tag]
  1232.     Outline13
  1233.     0
  1234.     [fnt]
  1235.         TimesNewRomanPS
  1236.         240
  1237.         0
  1238.         49152
  1239.     [algn]
  1240.         1
  1241.         1
  1242.         0
  1243.         0
  1244.         0
  1245.     [spc]
  1246.         33
  1247.         273
  1248.         1
  1249.         0
  1250.         0
  1251.         1
  1252.         100
  1253.     [brk]
  1254.         4
  1255.     [line]
  1256.         8
  1257.         0
  1258.         1
  1259.         0
  1260.         1
  1261.         1
  1262.         1
  1263.         10
  1264.         10
  1265.         1
  1266.     [spec]
  1267.         0
  1268.         13
  1269.         
  1270.         0
  1271.         1
  1272.         1
  1273.         0
  1274.         0
  1275.         0
  1276.         0
  1277.     [nfmt]
  1278.         280
  1279.         1
  1280.         2
  1281.         .
  1282.         ,
  1283.         $
  1284.     Outline13
  1285.     0
  1286.     0
  1287. [tag]
  1288.     Outline14
  1289.     0
  1290.     [fnt]
  1291.         TimesNewRomanPS
  1292.         240
  1293.         0
  1294.         49152
  1295.     [algn]
  1296.         1
  1297.         1
  1298.         0
  1299.         0
  1300.         0
  1301.     [spc]
  1302.         33
  1303.         273
  1304.         1
  1305.         0
  1306.         0
  1307.         1
  1308.         100
  1309.     [brk]
  1310.         4
  1311.     [line]
  1312.         8
  1313.         0
  1314.         1
  1315.         0
  1316.         1
  1317.         1
  1318.         1
  1319.         10
  1320.         10
  1321.         1
  1322.     [spec]
  1323.         0
  1324.         14
  1325.         
  1326.         0
  1327.         1
  1328.         1
  1329.         0
  1330.         0
  1331.         0
  1332.         0
  1333.     [nfmt]
  1334.         280
  1335.         1
  1336.         2
  1337.         .
  1338.         ,
  1339.         $
  1340.     Outline14
  1341.     0
  1342.     0
  1343. [tag]
  1344.     Outline5
  1345.     0
  1346.     [fnt]
  1347.         Times New Roman
  1348.         240
  1349.         0
  1350.         49152
  1351.     [algn]
  1352.         1
  1353.         1
  1354.         0
  1355.         0
  1356.         0
  1357.     [spc]
  1358.         33
  1359.         273
  1360.         1
  1361.         0
  1362.         0
  1363.         1
  1364.         100
  1365.     [brk]
  1366.         4
  1367.     [line]
  1368.         8
  1369.         0
  1370.         1
  1371.         0
  1372.         1
  1373.         1
  1374.         1
  1375.         10
  1376.         10
  1377.         1
  1378.     [spec]
  1379.         0
  1380.         5
  1381.         
  1382.         0
  1383.         1
  1384.         1
  1385.         0
  1386.         0
  1387.         0
  1388.         0
  1389.     [nfmt]
  1390.         280
  1391.         1
  1392.         2
  1393.         .
  1394.         ,
  1395.         $
  1396.     Outline5
  1397.     0
  1398.     0
  1399. [tag]
  1400.     Footnote
  1401.     0
  1402.     [fnt]
  1403.         TimesNewRomanPS
  1404.         240
  1405.         0
  1406.         49152
  1407.     [algn]
  1408.         1
  1409.         1
  1410.         0
  1411.         720
  1412.         0
  1413.     [spc]
  1414.         33
  1415.         273
  1416.         1
  1417.         0
  1418.         0
  1419.         1
  1420.         100
  1421.     [brk]
  1422.         4
  1423.     [line]
  1424.         8
  1425.         0
  1426.         1
  1427.         0
  1428.         1
  1429.         1
  1430.         1
  1431.         10
  1432.         10
  1433.         1
  1434.     [spec]
  1435.         0
  1436.         0
  1437.         <*:>
  1438.         0
  1439.         1
  1440.         1
  1441.         256
  1442.         0
  1443.         0
  1444.         0
  1445.     [nfmt]
  1446.         280
  1447.         1
  1448.         2
  1449.         .
  1450.         ,
  1451.         $
  1452.     Footnote
  1453.     0
  1454.     0
  1455. [lay]
  1456.     Standard
  1457.     513
  1458.     [rght]
  1459.         15840
  1460.         12240
  1461.         1
  1462.         1440
  1463.         1440
  1464.         1
  1465.         1440
  1466.         1440
  1467.         0
  1468.         1
  1469.         0
  1470.         1
  1471.         0
  1472.         2
  1473.         1
  1474.         1440
  1475.         10800
  1476.         12
  1477.         1
  1478.         720
  1479.         1
  1480.         1440
  1481.         1
  1482.         2160
  1483.         1
  1484.         2880
  1485.         1
  1486.         3600
  1487.         1
  1488.         4320
  1489.         1
  1490.         5040
  1491.         1
  1492.         5760
  1493.         1
  1494.         6480
  1495.         1
  1496.         7200
  1497.         1
  1498.         7920
  1499.         1
  1500.         8640
  1501.     [hrght]
  1502.     [lyfrm]
  1503.         1
  1504.         11200
  1505.         0
  1506.         0
  1507.         12240
  1508.         1440
  1509.         0
  1510.         1
  1511.         3
  1512.         1 0 0 0 0 0 0
  1513.         0
  1514.         0
  1515.         1
  1516.     [frmlay]
  1517.         1440
  1518.         12240
  1519.         1
  1520.         1440
  1521.         72
  1522.         1
  1523.         792
  1524.         1440
  1525.         0
  1526.         1
  1527.         0
  1528.         1
  1529.         1
  1530.         0
  1531.         1
  1532.         1440
  1533.         10800
  1534.         2
  1535.         2
  1536.         4680
  1537.         3
  1538.         9360
  1539.     [txt]
  1540. @Header@LABEL.SMM    <*7><*7>Page <:P10,0,> of <:X3,0;NumPages>11<:X~3,0;NumPages>    <:Db> 
  1541. <:b<*!>>
  1542.  
  1543. >
  1544.     [frght]
  1545.     [lyfrm]
  1546.         1
  1547.         13248
  1548.         0
  1549.         14400
  1550.         12240
  1551.         15840
  1552.         0
  1553.         1
  1554.         3
  1555.         1 0 0 0 0 0 0
  1556.         0
  1557.         0
  1558.         2
  1559.     [frmlay]
  1560.         15840
  1561.         12240
  1562.         1
  1563.         1440
  1564.         792
  1565.         1
  1566.         14472
  1567.         1440
  1568.         0
  1569.         1
  1570.         0
  1571.         1
  1572.         1
  1573.         0
  1574.         1
  1575.         1440
  1576.         10800
  1577.         2
  1578.         2
  1579.         4680
  1580.         3
  1581.         9360
  1582.     [txt]
  1583. @Footer@
  1584. >
  1585. [elay]
  1586. [l1]
  1587.     0
  1588. [edoc]
  1589. @Outline1@<:#293,9360><:f240,BArial,0,0,255>'Declares and defines<:f>
  1590.  
  1591. @Outline2@<:#284,9360>declare losezeros(num);
  1592.  
  1593. @Outline2@<:#284,9360>declare roundtotwo(num);
  1594.  
  1595. @Outline2@<:#284,9360>declare converttounits(num);
  1596.  
  1597. @Outline2@<:#284,9360>declare zeromin(num);
  1598.  
  1599. @Outline2@<:#284,9360>declare getdatafile();
  1600.  
  1601. @Outline2@<:#284,9360>declare freeglobs();
  1602.  
  1603. @Outline2@<:#284,9360>declare customem();
  1604.  
  1605. @Outline2@<:#284,9360>declare twips(num);
  1606.  
  1607. @Outline2@<:#284,9360>declare LetterSize(labelindrt, labelindtop);
  1608.  
  1609. @Outline2@<:#284,9360>declare A4Size(labelindrt, labelindtop);
  1610.  
  1611. @Outline2@<:#284,9360>declare ManualSize(labelindrt, labelindtop, manualpageheight, carrierwidth);
  1612.  
  1613. @Outline2@<:#284,9360>Declare PrinterType();
  1614.  
  1615. @Outline2@<:#284,9360>Declare GetCurrentCountry();
  1616.  
  1617. @Outline2@<:#284,9360>declare getmergedescfile();
  1618.  
  1619. @Outline2@<:#284,9360>declare GetNumLabelKeys(labelnumkey);
  1620.  
  1621. @Outline2@<:#284,9360>Define CurPrinterName()    GetInfo(62)
  1622.  
  1623. @Outline2@<:#284,9360>Define ShowWindow()        DllCall("User,ShowWindow,AHH",%1,%2)
  1624.  
  1625. @Outline2@<:#284,9360>Define GetActiveWindow()    DllCall("User,GetActiveWindow,H")
  1626.  
  1627. @Outline2@<:#284,9360>Define SetFocus()        DllCall("User,SetFocus,HH", %1)
  1628.  
  1629. @Outline2@<:#284,9360>define WinHelp(hWnd, file, cmd, ptr)    DllCall("user,WinHelp,HHCHJ", %1, %2, %3, %4)
  1630.  
  1631. @Outline2@<:#284,9360>define FindWindow() DllCall("user,FindWindow,HCC", %1, %2)
  1632.  
  1633. @Outline2@<:#284,9360>Define EnableWindow() DllCall("user,EnableWindow,HHH", %1, %2)
  1634.  
  1635. @Outline2@<:#284,9360>define    HFONT    "Setfont:hFont"
  1636.  
  1637. @Outline2@<:#568,9360>define    SendMessage(hwnd, msg, wpara, lparm)    DllCall("user,SendMessage,HHHHJ", %1, %2, %3, %4)
  1638.  
  1639. @Outline2@<:#284,9360>define    WM_SETFONT    0x30
  1640.  
  1641. @Outline2@<:#568,9360>define CreateFont()        DllCall("gdi,CreateFont,HHHHHHHHHHHHHHC", %1, %2, %3, %4, %5, %6, %7, %8, %9, %10, %11, %12, %13, %14)
  1642.  
  1643. @Outline2@<:#284,9360>define    DeleteObject(handle)    DllCall("gdi,DeleteObject,HH", %1)
  1644.  
  1645. @Outline2@<:#284,9360>define HELP_CONTEXT    0x0001
  1646.  
  1647. @Outline2@<:#284,9360>define VK_F1            112
  1648.  
  1649. @Outline2@<:#284,9360>define NoMouseAdj        1
  1650.  
  1651. @Outline1@<:#284,9360>function label()
  1652.  
  1653. @Outline2@<:#284,9360>'verify this is a clean untitled
  1654.  
  1655. @Outline3@<:#284,9360>if GetOpenFileName$() !="" or Filechanged(0,0) != 0
  1656.  
  1657. @Outline3@<:#568,9360>    message("This macro is for the _LABEL style sheet.  To use it, choose File/New and leave Run macro selected.")
  1658.  
  1659. @Outline3@<:#284,9360>    exit function
  1660.  
  1661. @Outline3@<:#284,9360>endif
  1662.  
  1663. @Outline2@<:f240,BArial,0,0,255><:f>hourglass(1)
  1664.  
  1665. @Outline2@ignorekeyboard(2)
  1666.  
  1667. @Outline2@<:f240,BArial,0,0,255>'font handling
  1668.  
  1669. @Outline3@<:#284,9360>AllocGlobalVar(HFONT, 1)
  1670.  
  1671. @Outline3@<:#284,9360>SetGlobalVar(HFONT, 0)
  1672.  
  1673. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'collect initial info<:f>
  1674.  
  1675. @Outline3@<:#284,9360>rmac=getrunningmacrofile$()
  1676.  
  1677. @Outline3@<:#284,9360>allocglobalvar("units", 1)
  1678.  
  1679. @Outline3@<:#284,9360>allocglobalvar("inifile", 1)
  1680.  
  1681. @Outline3@<:#284,9360>inifile="AMILABEL.INI"
  1682.  
  1683. @Outline3@<:#284,9360>labelheadings=getprofilestring$("LabelTypes", "Headings", inifile)
  1684.  
  1685. @Outline3@<:#284,9360>if labelheadings = ""
  1686.  
  1687. @Outline4@<:#284,9360>    inipath = GetAmiDirectory$()
  1688.  
  1689. @Outline4@<:#284,9360>    inipathfile=strcat$(inipath, inifile)
  1690.  
  1691. @Outline4@<:#284,9360>    labelheadings=getprofilestring$("LabelTypes", "Headings", inipathfile)
  1692.  
  1693. @Outline4@<:#284,9360>    if labelheadings = ""
  1694.  
  1695. @Outline4@<:#284,9360>        inipath = GetMacPath$()
  1696.  
  1697. @Outline4@<:#284,9360>        inipathfile=strcat$(inipath, inifile)
  1698.  
  1699. @Outline4@<:#284,9360>        labelheadings=getprofilestring$("LabelTypes", "Headings", inipathfile)
  1700.  
  1701. @Outline4@<:#284,9360>        if labelheadings = ""
  1702.  
  1703. @Outline4@<:#284,9360>            message ("Cannot locate AMILABEL.INI")
  1704.  
  1705. @Outline4@<:#284,9360>            exit function
  1706.  
  1707. @Outline4@<:#284,9360>        endif
  1708.  
  1709. @Outline4@<:#284,9360>    endif
  1710.  
  1711. @Outline4@<:#284,9360>    inifile = inipathfile
  1712.  
  1713. @Outline4@<:#284,9360>endif
  1714.  
  1715. @Outline3@<:#284,9360>setglobalvar("inifile", inifile)
  1716.  
  1717. @Outline3@<:#284,9360><:f240,BArial,0,0,255>'unithandler<:f>
  1718.  
  1719. @Outline4@<:#284,9360>unittoshow=Getprofilestring$("LabelTypes", "Units", inifile)
  1720.  
  1721. @Outline4@<:#284,9360>if unittoshow=""
  1722.  
  1723. @Outline4@<:#284,9360>    Writeprofilestring("LabelTypes", "Units", "in.", inifile)
  1724.  
  1725. @Outline4@<:#284,9360>    unittoshow="in."
  1726.  
  1727. @Outline4@<:#284,9360>endif
  1728.  
  1729. @Outline4@<:#284,9360>setglobalvar("units", unittoshow)
  1730.  
  1731. @Outline3@<:#284,9360>'decide which labels to use (printer type and country settings)
  1732.  
  1733. @Outline4@<:#284,9360>printer=getprofilestring$("AmiProOwner", "PrefPrinter", inifile)<:Zfineadj2><:Z~fineadj2>
  1734.  
  1735. @Outline4@<:#284,9360>if printer=""
  1736.  
  1737. @Outline4@<:#284,9360>    printer=PrinterType()
  1738.  
  1739. @Outline4@<:#284,9360>endif
  1740.  
  1741. @Outline4@<:#284,9360>Country=getprofilestring$("AmiProOwner", "PrefCountry", inifile)<:Zfineadj21><:Z~fineadj21>
  1742.  
  1743. @Outline4@<:#284,9360>if country= ""
  1744.  
  1745. @Outline4@<:#284,9360>    country=GetCurrentCountry()
  1746.  
  1747. @Outline4@<:#284,9360>endif
  1748.  
  1749. @Outline4@<:#852,9360>a4countries="United Kingdom, Austria, Belgium (Dutch), Belguim (French), Denmark, Finland, France, Germany, Iceland, Ireland, Netherlands, Norway, Portugal, Spain, Switzerland (French), Switzerland (German), Switzerland (Italian)"
  1750.  
  1751. @Outline4@<:#284,9360>if printer="Laser" and country="United States"
  1752.  
  1753. @Outline4@<:#284,9360>    labelstouse="8.5"" x 11"""
  1754.  
  1755. @Outline4@<:#284,9360>elseif printer = "Dot Matrix" and <:f240,2Times New Roman,255,0,0> 
  1756. <:f>country ="United States"
  1757.  
  1758. @Outline4@<:#284,9360>    labelstouse="Continuous"
  1759.  
  1760. @Outline4@<:#284,9360>elseif printer="Laser" and instr(0, a4countries, country)
  1761.  
  1762. @Outline4@<:#284,9360>    labelstouse="A4"
  1763.  
  1764. @Outline4@<:#284,9360>elseif printer = "Dot Matrix" and instr(0, a4countries, country)
  1765.  
  1766. @Outline4@<:#284,9360>    labelstouse="UK Contin. French Contin."
  1767.  
  1768. @Outline4@<:#284,9360>else
  1769.  
  1770. @Outline4@<:#284,9360>    labelstouse="8.5"" x 11"" Continuous"
  1771.  
  1772. @Outline4@<:#284,9360>endif
  1773.  
  1774. @Outline4@<:#284,9360>labelstouse = strcat$(labelstouse, " Custom")
  1775.  
  1776. @Outline3@<:#284,9360>maxlabelskey=getprofilestring$("LabelTypes", "NextCustomLabelKey", inifile)
  1777.  
  1778. @Outline4@<:#284,9360>if maxlabelskey = ""
  1779.  
  1780. @Outline4@<:#284,9360>    maxlabelskey = "Label95"
  1781.  
  1782. @Outline4@<:#284,9360>    writeprofilestring("LabelTypes", "NextCustomLabelKey", maxlabelskey, inifile)
  1783.  
  1784. @Outline4@<:#284,9360>endif
  1785.  
  1786. @Outline2@<:#284,9360>StatusBarMsg("Loading label types...")
  1787.  
  1788. @Outline3@<:#284,9360><:f240,BArial,0,0,255>'singlestep(1)<:f>
  1789.  
  1790. @Outline3@<:#284,9360>hourglass(1)
  1791.  
  1792. @Outline3@<:#284,9360>maxlabels = GetNumLabelKeys(maxlabelskey)
  1793.  
  1794. @Outline3@<:#284,9360>ret=chr$(13)
  1795.  
  1796. @Outline3@<:#284,9360>dim labels(maxlabels)
  1797.  
  1798. @Outline3@<:#284,9360>'message (labelstouse)
  1799.  
  1800. @Outline3@<:#284,9360>for i=1 to maxlabels
  1801.  
  1802. @Outline3@<:#284,9360>    labelline=strcat$("Label", i)
  1803.  
  1804. @Outline3@<:#284,9360>    labellinetext=getprofilestring$("LabelTypes", labelline, inifile)
  1805.  
  1806. @Outline3@<:#284,9360>    labelpagetype=strfield$(labellinetext, 11, ",") 
  1807.  
  1808. @Outline3@<:#284,9360>    if len(labellinetext) << 10
  1809.  
  1810. @Outline3@<:#284,9360>        break
  1811.  
  1812. @Outline3@<:#284,9360>    endif
  1813.  
  1814. @Outline3@<:f240,2Times New Roman,255,0,0>    if instr(0, labelstouse, labelpagetyp<:f240,2Times New Roman,255,0,0>e) 
  1815. <:f>
  1816.  
  1817. @Outline3@<:#284,9360>        numlabels = numlabels + 1
  1818.  
  1819. @Outline3@<:#284,9360>        labels(numlabels)=strcat$(labellinetext, "~" , i)
  1820.  
  1821. @Outline3@<:#284,9360>        statusbarmsg("Loading label {numlabels}")
  1822.  
  1823. @Outline3@    else
  1824.  
  1825. @Outline3@        statusbarmsg("Checking label {i}")
  1826.  
  1827. @Outline3@<:#284,9360><:f240,2Times New Roman,255,0,0>    endif<:f>
  1828.  
  1829. @Outline3@<:#284,9360>next
  1830.  
  1831. @Outline3@<:#284,9360>'message("{i}; {numlabels}; {labels(i)}")
  1832.  
  1833. @Outline3@<:#284,9360><:f240,BArial,0,0,255>'tidyup<:f>
  1834.  
  1835. @Outline4@<:#284,9360><:f240,BArial,0,0,255>'result=ArrayDelete(&labels, i)<:f>
  1836.  
  1837. @Outline4@<:#284,9360><:f240,BArial,0,0,255>'if result != 1<:f>
  1838.  
  1839. @Outline4@<:#284,9360><:f240,BArial,0,0,255>'    message("Couldn't remove last item from array")<:f>
  1840.  
  1841. @Outline4@<:#284,9360><:f240,BArial,0,0,255>'endif<:f>
  1842.  
  1843. @Outline2@<:#284,9360>'message (numlabels)
  1844.  
  1845. @Outline2@<:#284,9360>StatusBarMsg("Sorting labels...")
  1846.  
  1847. @Outline3@<:#284,9360><:f240,BArial,0,0,255>'load the list boxes<:f>
  1848.  
  1849. @Outline3@<:#289,9360>for fieldtosorton=1 to 2    <:f240,BArial,0,0,255>'go through this 2x to fill both list boxes<:f>
  1850.  
  1851. @Outline3@<:#284,9360>    if fieldtosorton = 1
  1852.  
  1853. @Outline3@<:#284,9360>        StatusBarMsg("Sorting by part number...")
  1854.  
  1855. @Outline3@<:#284,9360>    else
  1856.  
  1857. @Outline3@<:#284,9360>        StatusBarMsg("Sorting by label type...")
  1858.  
  1859. @Outline3@<:#284,9360>    endif
  1860.  
  1861. @Outline3@<:#284,9360><:f240,BArial,0,0,255>'    result=ArraySort(&labels, fieldtosorton, ",")<:f>
  1862.  
  1863. @Outline3@<:#284,9360>    dim displayfield(numlabels)
  1864.  
  1865. @Outline3@<:#289,9360>    whichfieldtouse=1    <:f240,BArial,0,0,255>'1 is the part number<:f>
  1866.  
  1867. @Outline3@<:#289,9360>    whichotherfieldtouse=2    <:f240,BArial,0,0,255>'2 is the description<:f>
  1868.  
  1869. @Outline3@<:#284,9360>    for i = 1 to numlabels
  1870.  
  1871. @Outline3@<:#284,9360>        field1=strfield$(Labels(i), whichfieldtouse, ",")
  1872.  
  1873. @Outline3@<:#284,9360>        field2=strfield$(Labels(i), whichotherfieldtouse, ",")
  1874.  
  1875. @Outline3@<:#284,9360>        recnum=strfield$(Labels(i), 2, "~")
  1876.  
  1877. @Outline3@<:#289,9360>        <:f240,BArial,0,0,255>'check to make sure this is a valid (non-empty) record)<:f>
  1878.  
  1879. @Outline4@<:#284,9360>spacestilde="                                                                                              ~"
  1880.  
  1881. @Outline4@<:#284,9360>    if recnum <;> 0
  1882.  
  1883. @Outline4@<:#284,9360>        if fieldtosorton = 1
  1884.  
  1885. @Outline4@<:#284,9360>            texttoinsert=strcat$(field1, " - ", field2, spacestilde , recnum)
  1886.  
  1887. @Outline4@<:#284,9360>            statusbarmsg("Loading part number {field1}")
  1888.  
  1889. @Outline4@<:#284,9360>        else
  1890.  
  1891. @Outline4@<:#284,9360>            texttoinsert=strcat$(field2, " - ", field1, spacestilde , recnum)
  1892.  
  1893. @Outline4@<:#284,9360>            statusbarmsg("Loading description {field2}")
  1894.  
  1895. @Outline4@<:#284,9360>        endif
  1896.  
  1897. @Outline4@<:#284,9360>        ArrayInsert(&displayfield, i, texttoinsert)
  1898.  
  1899. @Outline4@<:#284,9360>    endif
  1900.  
  1901. @Outline3@<:#284,9360>    next
  1902.  
  1903. @Outline3@<:#284,9360>'message (recnum)
  1904.  
  1905. @Outline3@<:#284,9360>    if fieldtosorton = 1
  1906.  
  1907. @Outline3@<:#284,9360>        filledit(9000, &displayfield)
  1908.  
  1909. @Outline3@<:#284,9360>    elseif fieldtosorton=2
  1910.  
  1911. @Outline3@<:#284,9360>        filledit(9002, &displayfield)
  1912.  
  1913. @Outline3@<:#284,9360>    endif
  1914.  
  1915. @Outline3@<:#284,9360>next
  1916.  
  1917. @Outline2@<:#284,9360>filledit(20, True)
  1918.  
  1919. @Outline2@<:#284,9360>StatusBarMsg("Preparing labels for display...")
  1920.  
  1921. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'set callbacks and fill 1st heightwidth<:f>
  1922.  
  1923. @Outline3@<:#284,9360>DlgKeyInterrupt(VK_F1, "{rmac}!helper")
  1924.  
  1925. @Outline3@<:#284,9360>SetDlgCallBack(9000,"{rmac}!heightwidthcallback")
  1926.  
  1927. @Outline3@<:#284,9360>SetDlgCallBack(9002,"{rmac}!heightwidthcallback")
  1928.  
  1929. @Outline3@<:#284,9360>SetDlgCallBack(24,"{rmac}!unitbutton")
  1930.  
  1931. @Outline3@<:#284,9360>SetDlgCallBack(20,"{rmac}!sorttype")
  1932.  
  1933. @Outline3@<:#284,9360>SetDlgCallBack(0,"{rmac}!prebuild")
  1934.  
  1935. @Outline3@<:#284,9360>StatusBarMsg("")
  1936.  
  1937. @Outline3@<:#284,9360>hourglass(0)
  1938.  
  1939. @Outline2@<:#284,9360>box=dialogbox(".", "labeltest")
  1940.  
  1941. @Outline3@<:#284,9360>if box=0 or box =2
  1942.  
  1943. @Outline3@<:#284,9360>    freeglobs()
  1944.  
  1945. @Outline3@<:#284,9360>    exit function
  1946.  
  1947. @Outline3@<:#284,9360>elseif box=4
  1948.  
  1949. @Outline3@<:#284,9360>    customem()
  1950.  
  1951. @Outline3@<:#284,9360>    freeglobs()
  1952.  
  1953. @Outline3@<:#284,9360>    exit function
  1954.  
  1955. @Outline3@<:#284,9360>endif
  1956.  
  1957. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'find their labeldata<:f>
  1958.  
  1959. @Outline3@<:#284,9360>if getdialogfield$(20) = True
  1960.  
  1961. @Outline3@<:#284,9360>    labelchosen=getdialogfield$(9002)
  1962.  
  1963. @Outline3@<:#284,9360>elseif getdialogfield$(20) = False
  1964.  
  1965. @Outline3@<:#284,9360>    labelchosen=getdialogfield$(9000)
  1966.  
  1967. @Outline3@<:#284,9360>endif
  1968.  
  1969. @Outline3@<:#284,9360>key=strfield$(labelchosen, 2, "~")
  1970.  
  1971. @Outline3@<:#284,9360>labelnumchosen=ArraySearch(&labels, key, 2, "~")
  1972.  
  1973. @Outline3@<:#284,9360>labeldata=labels(labelnumchosen)
  1974.  
  1975. @Outline3@<:#289,9360>labeldata=strfield$(labeldata, 1, "~")    <:f240,BArial,0,0,255>'chop off the key<:f>
  1976.  
  1977. @Outline3@<:#284,9360>switch box
  1978.  
  1979. @Outline3@<:#284,9360>    case 1
  1980.  
  1981. @Outline3@<:#284,9360>        call mergem(labeldata)
  1982.  
  1983. @Outline3@<:#284,9360>    case 3
  1984.  
  1985. @Outline3@<:#284,9360>        call manualem(labeldata)
  1986.  
  1987. @Outline3@<:#284,9360>endswitch
  1988.  
  1989. @Outline2@<:#284,9360>freeglobs()
  1990.  
  1991. @Outline2@<:#284,9360>'font bailout
  1992.  
  1993. @Outline3@<:#284,9360>font = GetGlobalVar$(HFONT)        ' If we created
  1994.  
  1995. @Outline3@<:#284,9360>if (0 != font)                ' the font.
  1996.  
  1997. @Outline3@<:#284,9360>    DeleteObject(font)        ' Delete it
  1998.  
  1999. @Outline3@<:#284,9360>endif
  2000.  
  2001. @Outline3@<:#284,9360>allocglobalvar(hfont, 1)
  2002.  
  2003. @Outline3@<:#284,9360>freeglobalvar(HFONT)
  2004.  
  2005. @Outline2@hourglass(0)
  2006.  
  2007. @Outline2@end function
  2008.  
  2009. @Outline1@<:#284,9360>function freeglobs()
  2010.  
  2011. @Outline2@<:#284,9360>freeglobalvar("units")
  2012.  
  2013. @Outline2@<:#284,9360>freeglobalvar("inifile")
  2014.  
  2015. @Outline2@<:#284,9360>end function
  2016.  
  2017. @Outline1@<:#284,9360>function unitbutton(Hdlg,id,dummy)
  2018.  
  2019. @Outline2@<:#284,9360>ignorekeyboard(2)
  2020.  
  2021. @Outline2@<:#284,9360>unittoshow=getglobalvar$("units")
  2022.  
  2023. @Outline2@<:#284,9360>switch unittoshow
  2024.  
  2025. @Outline3@<:#284,9360>    case "in."
  2026.  
  2027. @Outline3@<:#284,9360>        newunit="cm."
  2028.  
  2029. @Outline3@<:#284,9360>    case "cm."
  2030.  
  2031. @Outline3@<:#284,9360>        newunit="picas"
  2032.  
  2033. @Outline3@<:#284,9360>    case "picas"
  2034.  
  2035. @Outline3@<:#284,9360>        newunit="pt."
  2036.  
  2037. @Outline3@<:#284,9360>    case "pt."
  2038.  
  2039. @Outline3@<:#284,9360>        newunit="in."
  2040.  
  2041. @Outline3@<:#284,9360>endswitch
  2042.  
  2043. @Outline2@<:#284,9360>inifile=Getglobalvar$("inifile")
  2044.  
  2045. @Outline2@<:#284,9360>Writeprofilestring("LabelTypes", "Units", newunit, inifile)
  2046.  
  2047. @Outline2@<:#284,9360>setglobalvar("units", newunit)
  2048.  
  2049. @Outline2@<:#284,9360>setdlgitemtext(hdlg, id, newunit)
  2050.  
  2051. @Outline2@<:#284,9360>if getdlgitemtext(hdlg, 20) = True
  2052.  
  2053. @Outline2@<:#284,9360>    call heightwidthcallback(hdlg, 9002, dummy)
  2054.  
  2055. @Outline2@<:#284,9360>else
  2056.  
  2057. @Outline2@<:#284,9360>    call heightwidthcallback(hdlg, 9000, dummy)
  2058.  
  2059. @Outline2@<:#284,9360>endif
  2060.  
  2061. @Outline2@<:#284,9360>end function
  2062.  
  2063. @Outline1@<:#284,9360>function helper()
  2064.  
  2065. @Outline2@<:R1,15,1,0,1,720,1,1440,1,2160,1,2880,1,3600,1,4320,1,5040,1,5760,1,6480,1,7200,1,7920,1,8640,1,9360,1,10080,><:#284,9360>prohWnd = FindWindow("AmiProWndA", 0)
  2066.  
  2067. @Outline2@<:R1,15,1,0,1,720,1,1440,1,2160,1,2880,1,3600,1,4320,1,5040,1,5760,1,6480,1,7200,1,7920,1,8640,1,9360,1,10080,><:#284,9360>helpfile = strcat$(GetAmiDirectory$(), "amipro.hlp")
  2068.  
  2069. @Outline2@<:R1,15,1,0,1,720,1,1440,1,2160,1,2880,1,3600,1,4320,1,5040,1,5760,1,6480,1,7200,1,7920,1,8640,1,9360,1,10080,><:#289,9360>helpnum = 139         <:f240,BArial,0,0,255>'or the pane you want to display (151 is Undo)<:f>
  2070.  
  2071. @Outline2@<:R><:#284,9360>WinHelp (prohWnd, helpfile, HELP_CONTEXT, helpnum)
  2072.  
  2073. @Outline2@<:#284,9360>end function
  2074.  
  2075. @Outline1@<:#284,9360>function prebuild(Hdlg,id,dummy)
  2076.  
  2077. @Outline2@<:#284,9360>id=20
  2078.  
  2079. @Outline2@<:#284,9360>call sorttype(Hdlg,id,dummy)
  2080.  
  2081. @Outline2@<:#284,9360>id=9002
  2082.  
  2083. @Outline2@<:#284,9360>call heightwidthcallback(Hdlg,id,dummy)
  2084.  
  2085. @Outline2@<:#284,9360>setdlgitemtext(hdlg, 24, Getglobalvar$("units"))
  2086.  
  2087. @Outline2@<:#284,9360>Font = CreateFont(13, 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, 0, 32, "Helv")
  2088.  
  2089. @Outline3@<:#284,9360>if (Font)
  2090.  
  2091. @Outline3@<:#284,9360>    hctl = GetDlgItem(hDlg, 9000)
  2092.  
  2093. @Outline3@<:#284,9360>    hctl2 = GetDlgItem(hDlg, 9002)
  2094.  
  2095. @Outline3@<:#284,9360>    hctl3 = GetDlgItem(hDlg, 1002)
  2096.  
  2097. @Outline3@<:#284,9360>    hctl4 = GetDlgItem(hDlg, 1004)
  2098.  
  2099. @Outline3@<:#284,9360>    SendMessage(hctl, WM_SETFONT, font, 0)
  2100.  
  2101. @Outline3@<:#284,9360>    SendMessage(hctl2, WM_SETFONT, font, 0)
  2102.  
  2103. @Outline3@<:#284,9360>    SendMessage(hctl3, WM_SETFONT, font, 0)
  2104.  
  2105. @Outline3@<:#284,9360>    SendMessage(hctl4, WM_SETFONT, font, 0)
  2106.  
  2107. @Outline3@<:#284,9360>    SetGlobalVar(HFONT, Font)
  2108.  
  2109. @Outline3@<:#284,9360>endif 
  2110.  
  2111. @Outline2@<:#284,9360>end function
  2112.  
  2113. @Outline1@<:#284,9360>function sorttype(Hdlg,id,dummy)
  2114.  
  2115. @Outline2@<:#284,9360>sortbylabeltype=getdlgitemtext(hdlg, id)
  2116.  
  2117. @Outline2@<:#284,9360>if sortbylabeltype=1
  2118.  
  2119. @Outline2@<:#284,9360>    ShowWindow(GetDlgItem(Hdlg,9002), 1)
  2120.  
  2121. @Outline2@<:#284,9360>    ShowWindow(GetDlgItem(Hdlg,9000), 0)
  2122.  
  2123. @Outline2@<:#284,9360>    id=9002
  2124.  
  2125. @Outline2@<:#284,9360>    call heightwidthcallback(Hdlg,id,dummy)
  2126.  
  2127. @Outline2@<:#284,9360>else
  2128.  
  2129. @Outline2@<:#284,9360>    ShowWindow(GetDlgItem(Hdlg,9000), 1)
  2130.  
  2131. @Outline2@<:#284,9360>    ShowWindow(GetDlgItem(Hdlg,9002), 0)
  2132.  
  2133. @Outline2@<:#284,9360>    id=9000
  2134.  
  2135. @Outline2@<:#284,9360>    call heightwidthcallback(Hdlg,id,dummy)
  2136.  
  2137. @Outline2@<:#284,9360>endif
  2138.  
  2139. @Outline2@<:#284,9360>end function
  2140.  
  2141. @Outline1@<:#284,9360>function heightwidthcallback(Hdlg,id,dummy)
  2142.  
  2143. @Outline2@<:#284,9360>ignorekeyboard(2)
  2144.  
  2145. @Outline2@<:#284,9360>inifile="AMILABEL.INI"
  2146.  
  2147. @Outline2@<:#284,9360>labelchosen=getdlgitemtext(hdlg, id)
  2148.  
  2149. @Outline2@<:#284,9360>key=strfield$(labelchosen, 2, "~");
  2150.  
  2151. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'labelnumchosen=ArraySearch(*labels, key, 2, "~")<:f>
  2152.  
  2153. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'labeldata=labels(labelnumchosen)<:f>
  2154.  
  2155. @Outline2@<:#284,9360>labelline=strcat$("Label",key)
  2156.  
  2157. @Outline2@<:#284,9360>labeldata=GetProfileString$("LabelTypes", labelline, inifile)
  2158.  
  2159. @Outline2@<:#284,9360>height=strfield$(labeldata, 3, ",")
  2160.  
  2161. @Outline2@<:#284,9360>    height=converttounits(height)
  2162.  
  2163. @Outline2@<:#284,9360>    height=roundtotwo(height)
  2164.  
  2165. @Outline2@<:#284,9360>width=strfield$(labeldata, 4, ",")
  2166.  
  2167. @Outline2@<:#284,9360>    width=converttounits(width)
  2168.  
  2169. @Outline2@<:#284,9360>    width=roundtotwo(width)
  2170.  
  2171. @Outline2@<:#284,9360>heightwidth=strcat$(height, " x ", width )
  2172.  
  2173. @Outline2@<:#284,9360>setdlgitemtext(hdlg, 1002, heightwidth)
  2174.  
  2175. @Outline2@<:#284,9360>labelpagetype=strfield$(labeldata, 11, ",") 
  2176.  
  2177. @Outline2@<:#284,9360>setdlgitemtext(hdlg, 1004, labelpagetype)
  2178.  
  2179. @Outline2@<:#284,9360>end function
  2180.  
  2181. @Outline1@<:#284,9360>function losezeros(num)
  2182.  
  2183. @Outline2@<:#284,9360>if IsNumeric(num) != 1 or instr(0, num, ".") = 0
  2184.  
  2185. @Outline2@<:#284,9360>    losezeros=num
  2186.  
  2187. @Outline2@<:#284,9360>    exit function
  2188.  
  2189. @Outline2@<:#284,9360>endif
  2190.  
  2191. @Outline2@<:#284,9360>while (Right$(num, 1) =0)
  2192.  
  2193. @Outline2@<:#284,9360>    num = left$(num, (len(num) - 1))
  2194.  
  2195. @Outline2@<:#284,9360>wend
  2196.  
  2197. @Outline2@<:#284,9360>if right$(num, 1) = "."
  2198.  
  2199. @Outline2@<:#284,9360>    num=left$(num, (len(num) - 1))
  2200.  
  2201. @Outline2@<:#284,9360>endif
  2202.  
  2203. @Outline2@<:#284,9360>losezeros=num
  2204.  
  2205. @Outline2@<:#284,9360>end function
  2206.  
  2207. @Outline1@<:#284,9360>function roundtotwo(num)
  2208.  
  2209. @Outline2@<:#284,9360>roundtotwo=FormatNum$("", "", 2, (round(num * 100))/100)
  2210.  
  2211. @Outline2@<:#284,9360><:>end function
  2212.  
  2213. @Outline1@<:#284,9360>function converttounits(num)
  2214.  
  2215. @Outline2@<:#284,9360>unittoshow=getglobalvar$("units")
  2216.  
  2217. @Outline2@<:#284,9360>switch unittoshow
  2218.  
  2219. @Outline2@<:#284,9360>    case "in."
  2220.  
  2221. @Outline2@<:#289,9360>        <:f240,BArial,0,0,255>'Avery data is in inches; no conversion is necessary<:f>
  2222.  
  2223. @Outline2@<:#284,9360>        newnum=num
  2224.  
  2225. @Outline2@<:#284,9360>    case "cm."
  2226.  
  2227. @Outline2@<:#284,9360>        newnum=2.54 * num
  2228.  
  2229. @Outline2@<:#284,9360>    case "picas"
  2230.  
  2231. @Outline2@<:#284,9360>        newnum=6 * num
  2232.  
  2233. @Outline2@<:#284,9360>    case "pt."
  2234.  
  2235. @Outline2@<:#284,9360>        newnum=72 * num
  2236.  
  2237. @Outline2@<:#284,9360>endswitch
  2238.  
  2239. @Outline2@<:#284,9360>converttounits=newnum
  2240.  
  2241. @Outline2@<:#284,9360>end function
  2242.  
  2243. @Outline1@<:#284,9360>function GetNumLabelKeys(labelnumkey)
  2244.  
  2245. @Outline2@<:#284,9360>lenthiskeynum = len(labelnumkey) - 5
  2246.  
  2247. @Outline2@<:#284,9360>thiskeynum = right$(labelnumkey, lenthiskeynum)
  2248.  
  2249. @Outline2@<:#284,9360>GetNumLabelKeys = thiskeynum + 1
  2250.  
  2251. @Outline2@<:#284,9360>end function
  2252.  
  2253. @Outline1@<:#284,9360>function mergem(labeldata)
  2254.  
  2255. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'parse labeldata<:f>
  2256.  
  2257. @Outline3@<:#284,9360>labelheight=strfield$(labeldata, 3, ",")
  2258.  
  2259. @Outline3@<:#284,9360>labelwidth=strfield$(labeldata, 4, ",")
  2260.  
  2261. @Outline3@<:#284,9360>numacross=strfield$(labeldata, 5, ",")
  2262.  
  2263. @Outline3@<:#284,9360>numdown=strfield$(labeldata, 6, ",")
  2264.  
  2265. @Outline3@<:#284,9360>topmarg=strfield$(labeldata, 7, ",")
  2266.  
  2267. @Outline3@<:#284,9360>sidemarg=strfield$(labeldata, 8, ",")
  2268.  
  2269. @Outline3@<:#284,9360>horizpitch=strfield$(labeldata, 9, ",")
  2270.  
  2271. @Outline3@<:#284,9360>vertpitch=strfield$(labeldata, 10, ",")
  2272.  
  2273. @Outline3@<:#284,9360>if vertpitch="-"
  2274.  
  2275. @Outline3@<:#284,9360>    vertpitch = labelheight
  2276.  
  2277. @Outline3@<:#284,9360>endif
  2278.  
  2279. @Outline3@<:#284,9360>if horizpitch="-"
  2280.  
  2281. @Outline3@<:#284,9360>    horizpitch = labelwidth
  2282.  
  2283. @Outline3@<:#284,9360>endif
  2284.  
  2285. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'fine-adjust constants<:f>
  2286.  
  2287. @Outline3@<:#284,9360>inifile=getglobalvar$("inifile")
  2288.  
  2289. @Outline3@<:#284,9360>fineright=getprofilestring$("AmiProOwner", "FineRightMargin", inifile)<:Zfineadj><:Z~fineadj>
  2290.  
  2291. @Outline3@<:#284,9360>if fineright=""
  2292.  
  2293. @Outline3@<:#284,9360>    fineright= 0.125
  2294.  
  2295. @Outline3@<:#284,9360>endif
  2296.  
  2297. @Outline3@<:#284,9360>fineindrt=getprofilestring$("AmiProOwner", "FineIndRight", inifile)<:Zfineadj1><:Z~fineadj1>
  2298.  
  2299. @Outline3@<:#284,9360>if fineindrt= ""
  2300.  
  2301. @Outline3@<:#284,9360>    fineindrt= 0.25
  2302.  
  2303. @Outline3@<:#284,9360>endif
  2304.  
  2305. @Outline3@<:#284,9360>fineindtop=getprofilestring$("AmiProOwner", "FineIndTop", inifile)<:Zfineadj11><:Z~fineadj11>
  2306.  
  2307. @Outline3@<:#284,9360>if fineindrt = ""
  2308.  
  2309. @Outline3@<:#284,9360>    fineindtop = 0.25
  2310.  
  2311. @Outline3@<:#284,9360>endif
  2312.  
  2313. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'make pro info<:f>
  2314.  
  2315. @Outline3@<:#284,9360>labelindrt=Twips(zeromin(sidemarg - fineindrt))
  2316.  
  2317. @Outline3@<:#284,9360>labelindtop=Twips(zeromin(topmarg - fineindtop))
  2318.  
  2319. @Outline3@<:#284,9360>protop=twips(0)
  2320.  
  2321. @Outline3@<:#284,9360>proleft=twips(0)
  2322.  
  2323. @Outline3@<:#284,9360>proright=twips(fineright + zeromin((horizpitch - labelwidth)))
  2324.  
  2325. @Outline3@<:#284,9360>probottom=twips(zeromin(vertpitch - labelheight))
  2326.  
  2327. @Outline3@<:#284,9360>proheight=twips(vertpitch)
  2328.  
  2329. @Outline3@<:#284,9360>prowidth=twips(horizpitch)
  2330.  
  2331. @Outline3@<:#284,9360>righttab=twips((labelwidth - fineright))
  2332.  
  2333. @Outline3@<:#284,9360>centertab=righttab / 2 
  2334.  
  2335. @Outline3@<:#284,9360>firstlefttab=centertab / 3
  2336.  
  2337. @Outline3@<:#284,9360>secondlefttab =firstlefttab * 2
  2338.  
  2339. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'change the page layout<:f>
  2340.  
  2341. @Outline3@<:#284,9360>LayoutMode()
  2342.  
  2343. @Outline3@<:#284,9360>ModLayoutInit(512)
  2344.  
  2345. @Outline3@<:#568,9360>ModLayoutRightPage(proleft, protop, proright, probottom, 1 0 1 proleft, righttab, 4 1 firstlefttab 1 secondlefttab  2 centertab 3 righttab)
  2346.  
  2347. @Outline3@<:#568,9360>ModLayoutRightHeader(proleft, 0, proright, 0 1 0 1 proleft, righttab, 4 1 firstlefttab 1 secondlefttab 2 centertab 3 righttab)
  2348.  
  2349. @Outline3@<:#568,9360>ModLayoutRightFooter(proleft, 0, proright, 0 1 0 1 proleft, righttab,  4 1 firstlefttab 1 secondlefttab 2 centertab 3 righttab)
  2350.  
  2351. @Outline3@<:#284,9360>ModLayoutPageSize(proheight, prowidth, 1, 7)
  2352.  
  2353. @Outline3@<:#284,9360>ModLayoutFinish()
  2354.  
  2355. @Outline2@<:#284,9360>prohwnd=GetActiveWindow()
  2356.  
  2357. @Outline2@<:#284,9360>rmac=getrunningmacrofile$()
  2358.  
  2359. @Outline2@<:#284,9360>runlater("{rmac}!AmiUIGray(3, 0)", 0.1)
  2360.  
  2361. @Outline2@<:#284,9360>runlater("{rmac}!AmiUIGray(4, 0)", 0.1)
  2362.  
  2363. @Outline2@<:#284,9360>pause(005)
  2364.  
  2365. @Outline2@<:#284,9360>SelectMergeDataFile
  2366.  
  2367. @Outline2@<:#284,9360>pause(001)
  2368.  
  2369. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'InsertMerge<:f>
  2370.  
  2371. @Outline2@<:#284,9360>datafile=getdatafile()
  2372.  
  2373. @Outline2@<:#284,9360>if datafile != ""
  2374.  
  2375. @Outline2@<:#284,9360>    descfile = GetMergeDescFile()
  2376.  
  2377. @Outline2@<:#284,9360>    MergeMacro(24 datafile descfile numacross numdown labelindrt labelindtop )
  2378.  
  2379. @Outline2@<:#284,9360>    mergeAction(mergestop)
  2380.  
  2381. @Outline2@<:#284,9360>endif
  2382.  
  2383. @Outline2@<:#284,9360>setfocus(prohwnd)
  2384.  
  2385. @Outline2@<:#284,9360>end function
  2386.  
  2387. @Outline1@<:#284,9360>function manualem(labeldata)
  2388.  
  2389. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'parse labeldata<:f>
  2390.  
  2391. @Outline3@<:#284,9360>labelheight=strfield$(labeldata, 3, ",")
  2392.  
  2393. @Outline3@<:#284,9360>labelwidth=strfield$(labeldata, 4, ",")
  2394.  
  2395. @Outline3@<:#284,9360>numacross=strfield$(labeldata, 5, ",")
  2396.  
  2397. @Outline3@<:#284,9360>numdown=strfield$(labeldata, 6, ",")
  2398.  
  2399. @Outline3@<:#284,9360>topmarg=strfield$(labeldata, 7, ",")
  2400.  
  2401. @Outline3@<:#284,9360>sidemarg=strfield$(labeldata, 8, ",")
  2402.  
  2403. @Outline3@<:#284,9360>horizpitch=strfield$(labeldata, 9, ",")
  2404.  
  2405. @Outline3@<:#284,9360>vertpitch=strfield$(labeldata, 10, ",")
  2406.  
  2407. @Outline3@<:#284,9360>labelpagetype=strfield$(labeldata, 11, ",") 
  2408.  
  2409. @Outline3@<:#284,9360>if vertpitch="-"
  2410.  
  2411. @Outline3@<:#284,9360>    vertpitch = labelheight
  2412.  
  2413. @Outline3@<:#284,9360>endif
  2414.  
  2415. @Outline3@<:#284,9360>if horizpitch="-"
  2416.  
  2417. @Outline3@<:#284,9360>    horizpitch = labelwidth
  2418.  
  2419. @Outline3@<:#284,9360>endif
  2420.  
  2421. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'fine-adjust constants<:f><:f240,BArial,0,0,255> 
  2422. <:f>
  2423.  
  2424. @Outline3@<:#284,9360>fineright= 0.125
  2425.  
  2426. @Outline3@<:#284,9360>fineindrt= 0.125
  2427.  
  2428. @Outline3@<:#284,9360>fineindtop = 0
  2429.  
  2430. @Outline3@<:#284,9360>finewidth= 0.5 / numacross
  2431.  
  2432. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'make pro info<:f>
  2433.  
  2434. @Outline3@<:#284,9360>labelindrt=Twips(zeromin(sidemarg + fineindrt))
  2435.  
  2436. @Outline3@<:#284,9360>labelindtop=Twips(zeromin(topmarg - fineindtop))
  2437.  
  2438. @Outline3@<:#284,9360>protop=twips(0)
  2439.  
  2440. @Outline3@<:#284,9360>proleft=twips(0)
  2441.  
  2442. @Outline3@<:#284,9360>proright=twips(fineright + zeromin((horizpitch - labelwidth)))
  2443.  
  2444. @Outline3@<:#284,9360>probottom=twips(zeromin(vertpitch - labelheight))
  2445.  
  2446. @Outline3@<:#284,9360>proheight=twips(labelheight)
  2447.  
  2448. @Outline3@<:#284,9360>prowidth=twips(zeromin(labelwidth - finewidth))
  2449.  
  2450. @Outline3@<:#284,9360>righttab=twips((labelwidth - fineright))
  2451.  
  2452. @Outline3@<:#284,9360>centertab=righttab / 2 
  2453.  
  2454. @Outline3@<:#284,9360>firstlefttab=centertab / 3
  2455.  
  2456. @Outline3@<:#284,9360>secondlefttab =firstlefttab * 2
  2457.  
  2458. @Outline3@<:#284,9360>manualpageheight = Twips(vertpitch)
  2459.  
  2460. @Outline3@<:#284,9360>carrierwidth = Twips((2 * sidemarg) + (horizpitch * numacross))
  2461.  
  2462. @Outline2@<:#284,9360>if labelpagetype="A4"
  2463.  
  2464. @Outline3@<:#284,9360>    A4Size(labelindrt, labelindtop)
  2465.  
  2466. @Outline3@<:#284,9360>    Tables(1, 0, NumAcross, NumDown)
  2467.  
  2468. @Outline3@<:#568,9360>    TableLayout(2, 0, prowidth, proright, ProHeight, probottom, 0, 0, 0, 0, Off, NoMouseAdj) 
  2469.  
  2470. @Outline2@<:#284,9360>elseif labelpagetype="Continuous"
  2471.  
  2472. @Outline3@<:#284,9360>    ManualSize(labelindrt, labelindtop, (manualpageheight + labelindtop), carrierwidth)
  2473.  
  2474. @Outline3@<:#284,9360>if NumAcross <;> 1
  2475.  
  2476. @Outline3@<:#284,9360>    Tables(1, 0, NumAcross, 1)
  2477.  
  2478. @Outline3@<:#284,9360>    TableLayout(2, 0, prowidth, proright, ProHeight, 0, 0, 0, 0, 0, Off, NoMouseAdj)
  2479.  
  2480. @Outline3@<:#284,9360>endif
  2481.  
  2482. @Outline2@<:#289,9360>else    <:f240,BArial,0,0,255>'pagetype = 8.5 x 11<:f>
  2483.  
  2484. @Outline3@<:#284,9360>    LetterSize(labelindrt, labelindtop)
  2485.  
  2486. @Outline3@<:#284,9360>    Tables(1, 0, NumAcross, NumDown)
  2487.  
  2488. @Outline3@<:#568,9360>    TableLayout(2, 0, prowidth, proright, ProHeight, probottom, 0, 0, 0, 0, Off, NoMouseAdj)
  2489.  
  2490. @Outline2@<:#284,9360>endif
  2491.  
  2492. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'message("Manual module not complete")<:f>
  2493.  
  2494. @Outline2@<:#284,9360>end function
  2495.  
  2496. @Outline1@<:#284,9360>function A4Size(labelindrt, labelindtop)
  2497.  
  2498. @Outline2@<:#284,9360>ModLayoutInit(512  )
  2499.  
  2500. @Outline2@<:#568,9360>ModLayoutRightPage(labelindrt labelindtop 0 0 1 0 1 labelindrt 11908 12 1 720 1 1440 1 2160 1 2880 1 3600 1 4320 1 5040 1 5760 1 6480 1 7200 1 7920 1 8640  )
  2501.  
  2502. @Outline2@<:#284,9360>ModLayoutPageSize(16833 11908 1 4  )
  2503.  
  2504. @Outline2@<:#284,9360>ModLayoutRightHeader(labelindrt 0 0 0 1 0 1 labelindrt 11908 2 2 4680 3 9360  )
  2505.  
  2506. @Outline2@<:#284,9360>ModLayoutRightFooter(labelindrt 0 0 0 1 0 1 labelindrt 11908 2 2 4680 3 9360  )
  2507.  
  2508. @Outline2@<:#284,9360>ModLayoutFinish( )
  2509.  
  2510. @Outline2@<:#284,9360>END FUNCTION
  2511.  
  2512. @Outline1@<:#284,9360>function LetterSize(labelindrt, labelindtop)
  2513.  
  2514. @Outline2@<:#284,9360>ModLayoutInit(512  )
  2515.  
  2516. @Outline2@<:#568,9360>ModLayoutRightPage(labelindrt labelindtop 0 0 1 0 1 labelindrt 12240 12 1 720 1 1440 1 2160 1 2880 1 3600 1 4320 1 5040 1 5760 1 6480 1 7200 1 7920 1 8640  )
  2517.  
  2518. @Outline2@<:#284,9360>ModLayoutPageSize(15840 12240 1 1  )
  2519.  
  2520. @Outline2@<:#284,9360>ModLayoutRightHeader(labelindrt 0 0 0 1 0 1 labelindrt 12240 2 2 4680 3 9360  )
  2521.  
  2522. @Outline2@<:#284,9360>ModLayoutRightFooter(labelindrt 0 0 0 1 0 1 labelindrt 12240 2 2 4680 3 9360  )
  2523.  
  2524. @Outline2@<:#284,9360>ModLayoutFinish( )
  2525.  
  2526. @Outline2@<:#284,9360>END FUNCTION
  2527.  
  2528. @Outline1@<:#284,9360>function ManualSize(labelindrt, labelindtop, manualpageheight, carrierwidth)
  2529.  
  2530. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'set page width as carrier width, height as label pitch<:f>
  2531.  
  2532. @Outline2@<:#284,9360>ModLayoutInit(512  )
  2533.  
  2534. @Outline2@<:#568,9360>ModLayoutRightPage(labelindrt labelindtop 0 0 1 0 1 labelindrt carrierwidth 12 1 720 1 1440 1 2160 1 2880 1 3600 1 4320 1 5040 1 5760 1 6480 1 7200 1 7920 1 8640  )
  2535.  
  2536. @Outline2@<:#284,9360>ModLayoutPageSize(manualpageheight carrierwidth 1 1  )
  2537.  
  2538. @Outline2@<:#284,9360>ModLayoutRightHeader(labelindrt 0 0 0 1 0 1 labelindrt carrierwidth 2 2 4680 3 9360  )
  2539.  
  2540. @Outline2@<:#284,9360>ModLayoutRightFooter(labelindrt 0 0 0 1 0 1 labelindrt carrierwidth 2 2 4680 3 9360  )
  2541.  
  2542. @Outline2@<:#284,9360>ModLayoutFinish( )
  2543.  
  2544. @Outline2@<:#284,9360>END FUNCTION
  2545.  
  2546. @Outline1@<:#284,9360>function customem()
  2547.  
  2548. @Outline2@<:#284,9360>ModifyLayout
  2549.  
  2550. @Outline2@<:#284,9360>SelectMergeDataFile
  2551.  
  2552. @Outline2@<:#284,9360>end function
  2553.  
  2554. @Outline1@<:#284,9360>function zeromin(num)
  2555.  
  2556. @Outline2@<:#284,9360>if num << 0
  2557.  
  2558. @Outline2@<:#284,9360>    num = 0
  2559.  
  2560. @Outline2@<:#284,9360>endif
  2561.  
  2562. @Outline2@<:#284,9360>zeromin=num
  2563.  
  2564. @Outline2@<:#284,9360>end function
  2565.  
  2566. @Outline1@<:#284,9360>function twips(num)
  2567.  
  2568. @Outline2@<:#284,9360>twips = num * 1440
  2569.  
  2570. @Outline2@<:#284,9360>end function
  2571.  
  2572. @Outline1@<:#284,9360>Function getdatafile()
  2573.  
  2574. @Outline2@<:#284,9360>MergeOpts = GetInfo(165)
  2575.  
  2576. @Outline2@<:#284,9360>GetDataFile = StrField$(MergeOpts,8,",")
  2577.  
  2578. @Outline2@<:#284,9360>end function
  2579.  
  2580. @Outline1@<:#284,9360>Function getmergedescfile()
  2581.  
  2582. @Outline2@<:#284,9360>MergeOpts = GetInfo(165)
  2583.  
  2584. @Outline2@<:#284,9360>GetMergeDescFile = StrField$(MergeOpts,10,",")
  2585.  
  2586. @Outline2@<:#284,9360>end function
  2587.  
  2588. @Outline1@<:#284,9360>Function PrinterType()
  2589.  
  2590. @Outline2@<:#284,9360>printer=CurPrinterName()
  2591.  
  2592. @Outline2@<:#284,9360>DriverAndPort=GetProfileString$("devices", printer)
  2593.  
  2594. @Outline2@<:#284,9360>driver=UCASE$(strfield$(DriverAndPort, 1, ","))
  2595.  
  2596. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'Lasers<:f>
  2597.  
  2598. @Outline3@<:#573,9360>if instr(0, "CANON10E  HPDSKJET  HPPCL  HPPCL5A  HPPLOT  IBM4019  LBPII  LBPIII  PAINTJET  PSCRIPT  THINKJET  TI850", driver) != 0    <:f240,BArial,0,0,255>'put complete driver names here<:f>
  2599.  
  2600. @Outline3@<:#284,9360>    PrinterType="Laser"
  2601.  
  2602. @Outline3@<:#289,9360>elseif instr(0, driver, "PCL") != 0    <:f240,BArial,0,0,255>'detail partial names like this<:f>
  2603.  
  2604. @Outline3@<:#284,9360>    PrinterType="Laser"
  2605.  
  2606. @Outline3@<:#284,9360>elseif instr(0, driver, "JET") != 0
  2607.  
  2608. @Outline3@<:#284,9360>    PrinterType="Laser"
  2609.  
  2610. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'Dot Matrix<:f>
  2611.  
  2612. @Outline3@<:#852,9360>elseif instr(0, "CIT24US CIT9US EPSON24 EPSON9 FUJI24 FUJI9 IBMGRX NEC24PIN OKI24 OKI9 OKI9IBM PANSON24 PANSON9 PROPRINT PROPRN24 QWIII TTY", driver) != 0
  2613.  
  2614. @Outline3@<:#284,9360>    PrinterType="Dot Matrix"
  2615.  
  2616. @Outline3@<:#284,9360>else
  2617.  
  2618. @Outline2@<:#284,9360><:f240,BArial,0,0,255>'Other<:f>
  2619.  
  2620. @Outline3@<:#284,9360>    PrinterType=driver
  2621.  
  2622. @Outline3@<:#284,9360>endif
  2623.  
  2624. @Outline2@<:#284,9360>END FUNCTION
  2625.  
  2626. @Outline1@<:#284,9360>Function GetCurrentCountry()
  2627.  
  2628. @Outline2@<:#284,9360>GetCurrentCountry=GetProfileString$("intl", "sCountry")
  2629.  
  2630. @Outline2@<:#284,9360>end function
  2631.  
  2632. @Outline1@<:#284,9360>function AmiUIGray(ID, State)
  2633.  
  2634. @Outline2@<:#284,9360>hdlg = getactivewindow()
  2635.  
  2636. @Outline2@<:#284,9360>idnew = GetDlgItem(Hdlg, ID)
  2637.  
  2638. @Outline2@<:#284,9360>enablewindow(idnew, state)
  2639.  
  2640. @Outline2@<:#284,9360>end function
  2641.  
  2642. @Outline1@<:#284,9360>DIALOG    labeltest
  2643.  
  2644. @Outline2@<:#284,9360>-2134376448    13    83    31    191    120    ""    "AmiDialog"    "Labels"
  2645.  
  2646. @Outline2@<:#284,9360>FONT    8    "Helv"
  2647.  
  2648. @Outline2@<:#284,9360>4    12    132    78    9000    1352728579    "listbox"    ""    0 
  2649.  
  2650. @Outline2@<:#284,9360>4    12    132    78    9002    1352728579    "listbox"    ""    0 
  2651.  
  2652. @Outline2@<:#284,9360>144    4    38    14    1    1342373889    "button"    "&Merge"    0 
  2653.  
  2654. @Outline2@<:#284,9360>144    22    38    14    3    1342373888    "button"    "Ma&nual"    0 
  2655.  
  2656. @Outline2@<:#284,9360>144    40    38    14    4    1342373888    "button"    "&Custom"    0 
  2657.  
  2658. @Outline2@<:#284,9360>144    66    38    14    2    1342373888    "button"    "Cancel"    0 
  2659.  
  2660. @Outline2@<:#284,9360>108    94    26    12    24    1342373888    "button"    "in."    0 
  2661.  
  2662. @Outline2@<:#284,9360>4    108    74    10    20    1342242819    "button"    "&Sort by label type"    0 
  2663.  
  2664. @Outline2@<:#284,9360>4    96    44    8    1001    1342177280    "static"    "Dimensions:"    0 
  2665.  
  2666. @Outline2@<:#284,9360>46    96    60    8    1002    1342177280    "static"    "heightwidth"    0 
  2667.  
  2668. @Outline2@<:#284,9360>6    2    38    8    1000    1342177280    "static"    "&Labels:"    0 
  2669.  
  2670. @Outline2@<:#284,9360>108    108    38    10    1003    1342177280    "static"    "&Page type:"    0 
  2671.  
  2672. @Outline2@<:#284,9360>146    108    42    10    1004    1342177280    "static"    "Continuous"    0 
  2673.  
  2674. @Outline2@<:#284,9360>END DIALOG
  2675.  
  2676. >
  2677.  
  2678. [Embedded]
  2679. 00043016
  2680. >
  2681. [macsum] 25
  2682. label 0 0 35 31
  2683. freeglobs 4482 0 1 209
  2684. unitbutton 4540 3 4 213
  2685. helper 5079 0 4 236
  2686. prebuild 5258 3 6 242
  2687. sorttype 5850 3 2 261
  2688. heightwidthcallback 6278 3 10 275
  2689. losezeros 6768 1 1 295
  2690. roundtotwo 7111 1 1 308
  2691. converttounits 7209 1 3 311
  2692. GetNumLabelKeys 7521 1 3 326
  2693. mergem 7632 1 29 331
  2694. manualem 9392 1 28 398
  2695. A4Size 10844 2 1 452
  2696. LetterSize 11153 2 1 460
  2697. ManualSize 11466 4 1 468
  2698. customem 11779 0 1 477
  2699. zeromin 11820 1 1 481
  2700. twips 11893 1 1 487
  2701. getdatafile 11938 0 2 490
  2702. getmergedescfile 12014 0 2 494
  2703. PrinterType 12096 0 4 498
  2704. GetCurrentCountry 12762 0 1 517
  2705. AmiUIGray 12830 2 3 520
  2706. labeltest 12967 0 -1 525
  2707. [macse]
  2708. 14 label
  2709. 0 267
  2710. 13
  2711. 7 ""
  2712. 18 1
  2713. 0 34 0 0
  2714. 13
  2715. 5 0
  2716. 18 1
  2717. 1 2
  2718. 11 00000195
  2719. 0 3 "This macro is for the _LABEL style sheet.  To use it, choose File/New and leave Run macro selected."
  2720. 6 0
  2721. 15
  2722. 9
  2723. 0 296 1
  2724. 0 32 2
  2725. 0 271 "Setfont:hFont" 1
  2726. 0 264 "Setfont:hFont" 0
  2727. 0 802
  2728. 13
  2729. 8 1
  2730. 0 271 "units" 1
  2731. 0 271 "inifile" 1
  2732. 7 "AMILABEL.INI"
  2733. 8 2
  2734. 0 286 "LabelTypes" "Headings" "{2}"
  2735. 13
  2736. 8 3
  2737. 6 3
  2738. 7 ""
  2739. 18 0
  2740. 11 00000707
  2741. 0 798
  2742. 13
  2743. 8 4
  2744. 0 16 "{4}" "{2}"
  2745. 13
  2746. 8 5
  2747. 0 286 "LabelTypes" "Headings" "{5}"
  2748. 13
  2749. 8 3
  2750. 6 3
  2751. 7 ""
  2752. 18 0
  2753. 11 00000697
  2754. 0 295
  2755. 13
  2756. 8 4
  2757. 0 16 "{4}" "{2}"
  2758. 13
  2759. 8 5
  2760. 0 286 "LabelTypes" "Headings" "{5}"
  2761. 13
  2762. 8 3
  2763. 6 3
  2764. 7 ""
  2765. 18 0
  2766. 11 00000697
  2767. 0 3 "Cannot locate AMILABEL.INI"
  2768. 6 0
  2769. 15
  2770. 9
  2771. 6 5
  2772. 8 2
  2773. 0 264 "inifile" "{2}"
  2774. 0 286 "LabelTypes" "Units" "{2}"
  2775. 13
  2776. 8 6
  2777. 6 6
  2778. 7 ""
  2779. 18 0
  2780. 11 00000857
  2781. 0 287 "LabelTypes" "Units" "in." "{2}"
  2782. 7 "in."
  2783. 8 6
  2784. 0 264 "units" "{6}"
  2785. 0 286 "AmiProOwner" "PrefPrinter" "{2}"
  2786. 13
  2787. 8 7
  2788. 6 7
  2789. 7 ""
  2790. 18 0
  2791. 11 00000983
  2792. 16 PrinterType
  2793. 13
  2794. 8 7
  2795. 0 286 "AmiProOwner" "PrefCountry" "{2}"
  2796. 13
  2797. 8 8
  2798. 6 8
  2799. 7 ""
  2800. 18 0
  2801. 11 00001094
  2802. 16 GetCurrentCountry
  2803. 13
  2804. 8 8
  2805. 7 "United Kingdom, Austria, Belgium (Dutch), Belguim (French), Denmark, Finland, France, Germany, Iceland, Ireland, Netherlands, Norway, Portugal, Spain, Switzerland (French), Switzerland (German), Switzerland (Italian)"
  2806. 8 9
  2807. 6 7
  2808. 7 "Laser"
  2809. 18 0
  2810. 6 8
  2811. 7 "United States"
  2812. 18 0
  2813. 1 1
  2814. 11 00001428
  2815. 7 "8.5"" x 11"""
  2816. 8 10
  2817. 10 00001785
  2818. 6 7
  2819. 7 "Dot Matrix"
  2820. 18 0
  2821. 6 8
  2822. 7 "United States"
  2823. 18 0
  2824. 1 1
  2825. 11 00001538
  2826. 7 "Continuous"
  2827. 8 10
  2828. 10 00001785
  2829. 6 7
  2830. 7 "Laser"
  2831. 18 0
  2832. 0 808 0 "{9}" "{8}"
  2833. 13
  2834. 1 1
  2835. 11 00001630
  2836. 7 "A4"
  2837. 8 10
  2838. 10 00001785
  2839. 6 7
  2840. 7 "Dot Matrix"
  2841. 18 0
  2842. 0 808 0 "{9}" "{8}"
  2843. 13
  2844. 1 1
  2845. 11 00001750
  2846. 7 "UK Contin. French Contin."
  2847. 8 10
  2848. 10 00001785
  2849. 7 "8.5"" x 11"" Continuous"
  2850. 8 10
  2851. 0 16 "{10}" " Custom"
  2852. 13
  2853. 8 10
  2854. 0 286 "LabelTypes" "NextCustomLabelKey" "{2}"
  2855. 13
  2856. 8 11
  2857. 6 11
  2858. 7 ""
  2859. 18 0
  2860. 11 00001979
  2861. 7 "Label95"
  2862. 8 11
  2863. 0 287 "LabelTypes" "NextCustomLabelKey" "{11}" "{2}"
  2864. 0 789 "Loading label types..."
  2865. 0 296 1
  2866. 16 GetNumLabelKeys "{11}"
  2867. 13
  2868. 8 12
  2869. 0 39 13
  2870. 13
  2871. 8 13
  2872. 6 12
  2873. 21 14 [X]
  2874. 5 1
  2875. 8 15
  2876. 6 12
  2877. 6 15
  2878. 18 2
  2879. 12 00002183
  2880. 10 00002528
  2881. 5 1
  2882. 6 15
  2883. 3 0
  2884. 8 15
  2885. 10 00002104
  2886. 0 16 "Label" "{15}"
  2887. 13
  2888. 8 16
  2889. 0 286 "LabelTypes" "{16}" "{2}"
  2890. 13
  2891. 8 17
  2892. 0 20 "{17}" 11 ","
  2893. 13
  2894. 8 18
  2895. 0 14 "{17}"
  2896. 13
  2897. 5 10
  2898. 18 5
  2899. 11 00002342
  2900. 10 00002528
  2901. 0 808 0 "{10}" "{18}"
  2902. 13
  2903. 11 00002486
  2904. 6 19
  2905. 5 1
  2906. 3 0
  2907. 8 19
  2908. 6 19
  2909. 0 16 "{17}" "~" "{15}"
  2910. 13
  2911. 23 14
  2912. 0 789 "Loading label {19}"
  2913. 10 00002515
  2914. 0 789 "Checking label {15}"
  2915. 10 00002148
  2916. 0 789 "Sorting labels..."
  2917. 5 1
  2918. 8 20
  2919. 5 2
  2920. 6 20
  2921. 18 2
  2922. 12 00002644
  2923. 10 00003515
  2924. 5 1
  2925. 6 20
  2926. 3 0
  2927. 8 20
  2928. 10 00002566
  2929. 6 20
  2930. 5 1
  2931. 18 0
  2932. 11 00002722
  2933. 0 789 "Sorting by part number..."
  2934. 10 00002756
  2935. 0 789 "Sorting by label type..."
  2936. 6 19
  2937. 21 21 [X]
  2938. 5 1
  2939. 8 22
  2940. 5 2
  2941. 8 23
  2942. 5 1
  2943. 8 15
  2944. 6 19
  2945. 6 15
  2946. 18 2
  2947. 12 00002885
  2948. 10 00003399
  2949. 5 1
  2950. 6 15
  2951. 3 0
  2952. 8 15
  2953. 10 00002806
  2954. 6 15
  2955. 22 14
  2956. 0 20 [X] "{22}" ","
  2957. 13
  2958. 8 24
  2959. 6 15
  2960. 22 14
  2961. 0 20 [X] "{23}" ","
  2962. 13
  2963. 8 25
  2964. 6 15
  2965. 22 14
  2966. 0 20 [X] 2 "~"
  2967. 13
  2968. 8 26
  2969. 7 "                                                                                              ~"
  2970. 8 27
  2971. 6 26
  2972. 5 0
  2973. 18 3
  2974. 11 00003386
  2975. 6 20
  2976. 5 1
  2977. 18 0
  2978. 11 00003276
  2979. 0 16 "{24}" " - " "{25}" "{27}" "{26}"
  2980. 13
  2981. 8 28
  2982. 0 789 "Loading part number {24}"
  2983. 10 00003360
  2984. 0 16 "{25}" " - " "{24}" "{27}" "{26}"
  2985. 13
  2986. 8 28
  2987. 0 789 "Loading description {25}"
  2988. 0 1041 &21 "{15}" "{28}"
  2989. 10 00002850
  2990. 6 20
  2991. 5 1
  2992. 18 0
  2993. 11 00003457
  2994. 0 31 9000 &21
  2995. 10 00003502
  2996. 6 20
  2997. 5 2
  2998. 18 0
  2999. 11 00003502
  3000. 0 31 9002 &21
  3001. 10 00002609
  3002. 0 31 20 1
  3003. 0 789 "Preparing labels for display..."
  3004. 0 47 112 "{1}!helper"
  3005. 0 41 9000 "{1}!heightwidthcallback"
  3006. 0 41 9002 "{1}!heightwidthcallback"
  3007. 0 41 24 "{1}!unitbutton"
  3008. 0 41 20 "{1}!sorttype"
  3009. 0 41 0 "{1}!prebuild"
  3010. 0 789 ""
  3011. 0 296 0
  3012. 0 26 "." "labeltest"
  3013. 13
  3014. 8 29
  3015. 6 29
  3016. 5 0
  3017. 18 0
  3018. 6 29
  3019. 5 2
  3020. 18 0
  3021. 1 2
  3022. 11 00003879
  3023. 16 freeglobs
  3024. 6 0
  3025. 15
  3026. 9
  3027. 10 00003948
  3028. 6 29
  3029. 5 4
  3030. 18 0
  3031. 11 00003948
  3032. 16 customem
  3033. 16 freeglobs
  3034. 6 0
  3035. 15
  3036. 9
  3037. 0 27 20
  3038. 13
  3039. 5 1
  3040. 18 0
  3041. 11 00004019
  3042. 0 27 9002
  3043. 13
  3044. 8 30
  3045. 10 00004077
  3046. 0 27 20
  3047. 13
  3048. 5 0
  3049. 18 0
  3050. 11 00004077
  3051. 0 27 9000
  3052. 13
  3053. 8 30
  3054. 0 20 "{30}" 2 "~"
  3055. 13
  3056. 8 31
  3057. 0 1044 &14 "{31}" 2 "~"
  3058. 13
  3059. 8 32
  3060. 6 32
  3061. 22 14
  3062. 8 33
  3063. 0 20 "{33}" 1 "~"
  3064. 13
  3065. 8 33
  3066. 5 1
  3067. 6 29
  3068. 18 0
  3069. 11 00004250
  3070. 16 mergem "{33}"
  3071. 10 00004300
  3072. 5 3
  3073. 6 29
  3074. 18 0
  3075. 11 00004300
  3076. 16 manualem "{33}"
  3077. 16 freeglobs
  3078. 0 265 "Setfont:hFont"
  3079. 13
  3080. 8 34
  3081. 5 0
  3082. 6 34
  3083. 18 1
  3084. 11 00004413
  3085. 0 284 "gdi,DeleteObject,HH" "{34}"
  3086. 0 271 "Setfont:hFont" 1
  3087. 0 266 "Setfont:hFont"
  3088. 0 296 0
  3089. 6 0
  3090. 15
  3091. 9
  3092. 14 freeglobs
  3093. 0 266 "units"
  3094. 0 266 "inifile"
  3095. 6 0
  3096. 15
  3097. 9
  3098. 14 unitbutton
  3099. 0 32 2
  3100. 0 265 "units"
  3101. 13
  3102. 8 4
  3103. 7 "in."
  3104. 6 4
  3105. 18 0
  3106. 11 00000107
  3107. 7 "cm."
  3108. 8 5
  3109. 10 00000278
  3110. 7 "cm."
  3111. 6 4
  3112. 18 0
  3113. 11 00000169
  3114. 7 "picas"
  3115. 8 5
  3116. 10 00000278
  3117. 7 "picas"
  3118. 6 4
  3119. 18 0
  3120. 11 00000231
  3121. 7 "pt."
  3122. 8 5
  3123. 10 00000278
  3124. 7 "pt."
  3125. 6 4
  3126. 18 0
  3127. 11 00000278
  3128. 7 "in."
  3129. 8 5
  3130. 0 265 "inifile"
  3131. 13
  3132. 8 6
  3133. 0 287 "LabelTypes" "Units" "{5}" "{6}"
  3134. 0 264 "units" "{5}"
  3135. 0 43 "{0}" "{1}" "{5}"
  3136. 0 42 "{0}" 20
  3137. 13
  3138. 5 1
  3139. 18 0
  3140. 11 00000486
  3141. 16 heightwidthcallback "{0}" 9002 "{2}"
  3142. 10 00000527
  3143. 16 heightwidthcallback "{0}" 9000 "{2}"
  3144. 6 3
  3145. 15
  3146. 9
  3147. 14 helper
  3148. 0 284 "user,FindWindow,HCC" "AmiProWndA" 0
  3149. 13
  3150. 8 1
  3151. 0 798
  3152. 13
  3153. 0 16 [X] "amipro.hlp"
  3154. 13
  3155. 8 2
  3156. 5 139
  3157. 8 3
  3158. 0 284 "user,WinHelp,HHCHJ" "{1}" "{2}" 1 "{3}"
  3159. 6 0
  3160. 15
  3161. 9
  3162. 14 prebuild
  3163. 5 20
  3164. 8 1
  3165. 16 sorttype "{0}" "{1}" "{2}"
  3166. 5 9002
  3167. 8 1
  3168. 16 heightwidthcallback "{0}" "{1}" "{2}"
  3169. 0 265 "units"
  3170. 13
  3171. 0 43 "{0}" 24 [X]
  3172. 0 284 "gdi,CreateFont,HHHHHHHHHHHHHHC" 13 0 0 0 400 0 0 0 0 0 0 0 0 "Helv"
  3173. 13
  3174. 8 4
  3175. 6 4
  3176. 11 00000580
  3177. 0 44 "{0}" 9000
  3178. 13
  3179. 8 5
  3180. 0 44 "{0}" 9002
  3181. 13
  3182. 8 6
  3183. 0 44 "{0}" 1002
  3184. 13
  3185. 8 7
  3186. 0 44 "{0}" 1004
  3187. 13
  3188. 8 8
  3189. 0 284 "user,SendMessage,HHHHJ" "{5}" 48 "{4}" 0
  3190. 0 284 "user,SendMessage,HHHHJ" "{6}" 48 "{4}" 0
  3191. 0 284 "user,SendMessage,HHHHJ" "{7}" 48 "{4}" 0
  3192. 0 284 "user,SendMessage,HHHHJ" "{8}" 48 "{4}" 0
  3193. 0 264 "Setfont:hFont" "{4}"
  3194. 6 3
  3195. 15
  3196. 9
  3197. 14 sorttype
  3198. 0 42 "{0}" "{1}"
  3199. 13
  3200. 8 4
  3201. 6 4
  3202. 5 1
  3203. 18 0
  3204. 11 00000249
  3205. 0 44 "{0}" 9002
  3206. 13
  3207. 0 284 "User,ShowWindow,AHH" [X] 1
  3208. 0 44 "{0}" 9000
  3209. 13
  3210. 0 284 "User,ShowWindow,AHH" [X] 0
  3211. 5 9002
  3212. 8 1
  3213. 16 heightwidthcallback "{0}" "{1}" "{2}"
  3214. 10 00000416
  3215. 0 44 "{0}" 9000
  3216. 13
  3217. 0 284 "User,ShowWindow,AHH" [X] 1
  3218. 0 44 "{0}" 9002
  3219. 13
  3220. 0 284 "User,ShowWindow,AHH" [X] 0
  3221. 5 9000
  3222. 8 1
  3223. 16 heightwidthcallback "{0}" "{1}" "{2}"
  3224. 6 3
  3225. 15
  3226. 9
  3227. 14 heightwidthcallback
  3228. 0 32 2
  3229. 7 "AMILABEL.INI"
  3230. 8 4
  3231. 0 42 "{0}" "{1}"
  3232. 13
  3233. 8 5
  3234. 0 20 "{5}" 2 "~"
  3235. 13
  3236. 8 6
  3237. 0 16 "Label" "{6}"
  3238. 13
  3239. 8 7
  3240. 0 286 "LabelTypes" "{7}" "{4}"
  3241. 13
  3242. 8 8
  3243. 0 20 "{8}" 3 ","
  3244. 13
  3245. 8 9
  3246. 16 converttounits "{9}"
  3247. 13
  3248. 8 9
  3249. 16 roundtotwo "{9}"
  3250. 13
  3251. 8 9
  3252. 0 20 "{8}" 4 ","
  3253. 13
  3254. 8 10
  3255. 16 converttounits "{10}"
  3256. 13
  3257. 8 10
  3258. 16 roundtotwo "{10}"
  3259. 13
  3260. 8 10
  3261. 0 16 "{9}" " x " "{10}"
  3262. 13
  3263. 8 11
  3264. 0 43 "{0}" 1002 "{11}"
  3265. 0 20 "{8}" 11 ","
  3266. 13
  3267. 8 12
  3268. 0 43 "{0}" 1004 "{12}"
  3269. 6 3
  3270. 15
  3271. 9
  3272. 14 losezeros
  3273. 0 277 "{0}"
  3274. 13
  3275. 5 1
  3276. 18 1
  3277. 0 808 0 "{0}" "."
  3278. 13
  3279. 5 0
  3280. 18 0
  3281. 1 2
  3282. 11 00000116
  3283. 6 0
  3284. 8 1
  3285. 6 1
  3286. 15
  3287. 9
  3288. 0 807 "{0}" 1
  3289. 13
  3290. 5 0
  3291. 18 0
  3292. 11 00000224
  3293. 0 14 "{0}"
  3294. 13
  3295. 5 1
  3296. 3 1
  3297. 0 806 "{0}" [X]
  3298. 13
  3299. 8 0
  3300. 10 00000116
  3301. 0 807 "{0}" 1
  3302. 13
  3303. 7 "."
  3304. 18 0
  3305. 11 00000321
  3306. 0 14 "{0}"
  3307. 13
  3308. 5 1
  3309. 3 1
  3310. 0 806 "{0}" [X]
  3311. 13
  3312. 8 0
  3313. 6 0
  3314. 8 1
  3315. 6 1
  3316. 15
  3317. 9
  3318. 14 roundtotwo
  3319. 6 0
  3320. 5 100
  3321. 4 0
  3322. 0 786 [X]
  3323. 13
  3324. 5 100
  3325. 4 1
  3326. 0 19 "" "" 2 [X]
  3327. 13
  3328. 8 1
  3329. 6 1
  3330. 15
  3331. 9
  3332. 14 converttounits
  3333. 0 265 "units"
  3334. 13
  3335. 8 2
  3336. 7 "in."
  3337. 6 2
  3338. 18 0
  3339. 11 00000099
  3340. 6 0
  3341. 8 3
  3342. 10 00000290
  3343. 7 "cm."
  3344. 6 2
  3345. 18 0
  3346. 11 00000168
  3347. 5 2.54
  3348. 6 0
  3349. 4 0
  3350. 8 3
  3351. 10 00000290
  3352. 7 "picas"
  3353. 6 2
  3354. 18 0
  3355. 11 00000236
  3356. 5 6
  3357. 6 0
  3358. 4 0
  3359. 8 3
  3360. 10 00000290
  3361. 7 "pt."
  3362. 6 2
  3363. 18 0
  3364. 11 00000290
  3365. 5 72
  3366. 6 0
  3367. 4 0
  3368. 8 3
  3369. 6 3
  3370. 8 1
  3371. 6 1
  3372. 15
  3373. 9
  3374. 14 GetNumLabelKeys
  3375. 0 14 "{0}"
  3376. 13
  3377. 5 5
  3378. 3 1
  3379. 8 2
  3380. 0 807 "{0}" "{2}"
  3381. 13
  3382. 8 3
  3383. 6 3
  3384. 5 1
  3385. 3 0
  3386. 8 1
  3387. 6 1
  3388. 15
  3389. 9
  3390. 14 mergem
  3391. 0 20 "{0}" 3 ","
  3392. 13
  3393. 8 2
  3394. 0 20 "{0}" 4 ","
  3395. 13
  3396. 8 3
  3397. 0 20 "{0}" 5 ","
  3398. 13
  3399. 8 4
  3400. 0 20 "{0}" 6 ","
  3401. 13
  3402. 8 5
  3403. 0 20 "{0}" 7 ","
  3404. 13
  3405. 8 6
  3406. 0 20 "{0}" 8 ","
  3407. 13
  3408. 8 7
  3409. 0 20 "{0}" 9 ","
  3410. 13
  3411. 8 8
  3412. 0 20 "{0}" 10 ","
  3413. 13
  3414. 8 9
  3415. 6 9
  3416. 7 "-"
  3417. 18 0
  3418. 11 00000269
  3419. 6 2
  3420. 8 9
  3421. 6 8
  3422. 7 "-"
  3423. 18 0
  3424. 11 00000310
  3425. 6 3
  3426. 8 8
  3427. 0 265 "inifile"
  3428. 13
  3429. 8 10
  3430. 0 286 "AmiProOwner" "FineRightMargin" "{10}"
  3431. 13
  3432. 8 11
  3433. 6 11
  3434. 7 ""
  3435. 18 0
  3436. 11 00000439
  3437. 5 0.125
  3438. 8 11
  3439. 0 286 "AmiProOwner" "FineIndRight" "{10}"
  3440. 13
  3441. 8 12
  3442. 6 12
  3443. 7 ""
  3444. 18 0
  3445. 11 00000537
  3446. 5 0.25
  3447. 8 12
  3448. 0 286 "AmiProOwner" "FineIndTop" "{10}"
  3449. 13
  3450. 8 13
  3451. 6 12
  3452. 7 ""
  3453. 18 0
  3454. 11 00000633
  3455. 5 0.25
  3456. 8 13
  3457. 6 7
  3458. 6 12
  3459. 3 1
  3460. 16 zeromin [X]
  3461. 13
  3462. 16 Twips [X]
  3463. 13
  3464. 8 14
  3465. 6 6
  3466. 6 13
  3467. 3 1
  3468. 16 zeromin [X]
  3469. 13
  3470. 16 Twips [X]
  3471. 13
  3472. 8 15
  3473. 16 twips 0
  3474. 13
  3475. 8 16
  3476. 16 twips 0
  3477. 13
  3478. 8 17
  3479. 6 8
  3480. 6 3
  3481. 3 1
  3482. 6 11
  3483. 16 zeromin [X]
  3484. 13
  3485. 3 0
  3486. 16 twips [X]
  3487. 13
  3488. 8 18
  3489. 6 9
  3490. 6 2
  3491. 3 1
  3492. 16 zeromin [X]
  3493. 13
  3494. 16 twips [X]
  3495. 13
  3496. 8 19
  3497. 16 twips "{9}"
  3498. 13
  3499. 8 20
  3500. 16 twips "{8}"
  3501. 13
  3502. 8 21
  3503. 6 3
  3504. 6 11
  3505. 3 1
  3506. 16 twips [X]
  3507. 13
  3508. 8 22
  3509. 6 22
  3510. 5 2
  3511. 4 1
  3512. 8 23
  3513. 6 23
  3514. 5 3
  3515. 4 1
  3516. 8 24
  3517. 6 24
  3518. 5 2
  3519. 4 0
  3520. 8 25
  3521. 2 210 1
  3522. 2 361 1 512
  3523. 2 363 1 "{17}" "{16}" "{18}" "{19}" 1 0 1 "{17}" "{22}" 4 1 "{24}" 1 "{25}" 2 "{23}" 3 "{22}"
  3524. 2 364 1 "{17}" 0 "{18}" 0 1 0 1 "{17}" "{22}" 4 1 "{24}" 1 "{25}" 2 "{23}" 3 "{22}"
  3525. 2 365 1 "{17}" 0 "{18}" 0 1 0 1 "{17}" "{22}" 4 1 "{24}" 1 "{25}" 2 "{23}" 3 "{22}"
  3526. 2 362 1 "{20}" "{21}" 1 7
  3527. 2 376 1
  3528. 0 284 "User,GetActiveWindow,H"
  3529. 13
  3530. 8 26
  3531. 0 802
  3532. 13
  3533. 8 27
  3534. 0 285 "{27}!AmiUIGray(3, 0)" 0.1
  3535. 0 285 "{27}!AmiUIGray(4, 0)" 0.1
  3536. 0 274 005
  3537. 24 788
  3538. 0 274 001
  3539. 16 getdatafile
  3540. 13
  3541. 8 28
  3542. 6 28
  3543. 7 ""
  3544. 18 1
  3545. 11 00001715
  3546. 16 GetMergeDescFile
  3547. 13
  3548. 8 29
  3549. 2 110 4 24 "{28}" "{29}" "{4}" "{5}" "{14}" "{15}"
  3550. 2 116 1 4
  3551. 0 284 "User,SetFocus,HH" "{26}"
  3552. 6 1
  3553. 15
  3554. 9
  3555. 14 manualem
  3556. 0 20 "{0}" 3 ","
  3557. 13
  3558. 8 2
  3559. 0 20 "{0}" 4 ","
  3560. 13
  3561. 8 3
  3562. 0 20 "{0}" 5 ","
  3563. 13
  3564. 8 4
  3565. 0 20 "{0}" 6 ","
  3566. 13
  3567. 8 5
  3568. 0 20 "{0}" 7 ","
  3569. 13
  3570. 8 6
  3571. 0 20 "{0}" 8 ","
  3572. 13
  3573. 8 7
  3574. 0 20 "{0}" 9 ","
  3575. 13
  3576. 8 8
  3577. 0 20 "{0}" 10 ","
  3578. 13
  3579. 8 9
  3580. 0 20 "{0}" 11 ","
  3581. 13
  3582. 8 10
  3583. 6 9
  3584. 7 "-"
  3585. 18 0
  3586. 11 00000300
  3587. 6 2
  3588. 8 9
  3589. 6 8
  3590. 7 "-"
  3591. 18 0
  3592. 11 00000341
  3593. 6 3
  3594. 8 8
  3595. 5 0.125
  3596. 8 11
  3597. 5 0.125
  3598. 8 12
  3599. 5 0
  3600. 8 13
  3601. 5 0.5
  3602. 6 4
  3603. 4 1
  3604. 8 14
  3605. 6 7
  3606. 6 12
  3607. 3 0
  3608. 16 zeromin [X]
  3609. 13
  3610. 16 Twips [X]
  3611. 13
  3612. 8 15
  3613. 6 6
  3614. 6 13
  3615. 3 1
  3616. 16 zeromin [X]
  3617. 13
  3618. 16 Twips [X]
  3619. 13
  3620. 8 16
  3621. 16 twips 0
  3622. 13
  3623. 8 17
  3624. 16 twips 0
  3625. 13
  3626. 8 18
  3627. 6 8
  3628. 6 3
  3629. 3 1
  3630. 6 11
  3631. 16 zeromin [X]
  3632. 13
  3633. 3 0
  3634. 16 twips [X]
  3635. 13
  3636. 8 19
  3637. 6 9
  3638. 6 2
  3639. 3 1
  3640. 16 zeromin [X]
  3641. 13
  3642. 16 twips [X]
  3643. 13
  3644. 8 20
  3645. 16 twips "{2}"
  3646. 13
  3647. 8 21
  3648. 6 3
  3649. 6 14
  3650. 3 1
  3651. 16 zeromin [X]
  3652. 13
  3653. 16 twips [X]
  3654. 13
  3655. 8 22
  3656. 6 3
  3657. 6 11
  3658. 3 1
  3659. 16 twips [X]
  3660. 13
  3661. 8 23
  3662. 6 23
  3663. 5 2
  3664. 4 1
  3665. 8 24
  3666. 6 24
  3667. 5 3
  3668. 4 1
  3669. 8 25
  3670. 6 25
  3671. 5 2
  3672. 4 0
  3673. 8 26
  3674. 16 Twips "{9}"
  3675. 13
  3676. 8 27
  3677. 5 2
  3678. 6 7
  3679. 4 0
  3680. 6 8
  3681. 6 4
  3682. 4 0
  3683. 3 0
  3684. 16 Twips [X]
  3685. 13
  3686. 8 28
  3687. 6 10
  3688. 7 "A4"
  3689. 18 0
  3690. 11 00001124
  3691. 16 A4Size "{15}" "{16}"
  3692. 2 457 1 1 0 "{4}" "{5}"
  3693. 2 626 1 2 0 "{22}" "{19}" "{21}" "{20}" 0 0 0 0 0 1
  3694. 10 00001440
  3695. 6 10
  3696. 7 "Continuous"
  3697. 18 0
  3698. 11 00001333
  3699. 6 27
  3700. 6 16
  3701. 3 0
  3702. 16 ManualSize "{15}" "{16}" [X] "{28}"
  3703. 6 4
  3704. 5 1
  3705. 18 3
  3706. 11 00001320
  3707. 2 457 1 1 0 "{4}" 1
  3708. 2 626 1 2 0 "{22}" "{19}" "{21}" 0 0 0 0 0 0 1
  3709. 10 00001440
  3710. 16 LetterSize "{15}" "{16}"
  3711. 2 457 1 1 0 "{4}" "{5}"
  3712. 2 626 1 2 0 "{22}" "{19}" "{21}" "{20}" 0 0 0 0 0 1
  3713. 6 1
  3714. 15
  3715. 9
  3716. 14 A4Size
  3717. 2 361 1 512
  3718. 2 363 1 "{0}" "{1}" 0 0 1 0 1 "{0}" 11908 12 1 720 1 1440 1 2160 1 2880 1 3600 1 4320 1 5040 1 5760 1 6480 1 7200 1 7920 1 8640
  3719. 2 362 1 16833 11908 1 4
  3720. 2 364 1 "{0}" 0 0 0 1 0 1 "{0}" 11908 2 2 4680 3 9360
  3721. 2 365 1 "{0}" 0 0 0 1 0 1 "{0}" 11908 2 2 4680 3 9360
  3722. 2 376 1
  3723. 6 2
  3724. 15
  3725. 9
  3726. 14 LetterSize
  3727. 2 361 1 512
  3728. 2 363 1 "{0}" "{1}" 0 0 1 0 1 "{0}" 12240 12 1 720 1 1440 1 2160 1 2880 1 3600 1 4320 1 5040 1 5760 1 6480 1 7200 1 7920 1 8640
  3729. 2 362 1 15840 12240 1 1
  3730. 2 364 1 "{0}" 0 0 0 1 0 1 "{0}" 12240 2 2 4680 3 9360
  3731. 2 365 1 "{0}" 0 0 0 1 0 1 "{0}" 12240 2 2 4680 3 9360
  3732. 2 376 1
  3733. 6 2
  3734. 15
  3735. 9
  3736. 14 ManualSize
  3737. 2 361 1 512
  3738. 2 363 1 "{0}" "{1}" 0 0 1 0 1 "{0}" "{3}" 12 1 720 1 1440 1 2160 1 2880 1 3600 1 4320 1 5040 1 5760 1 6480 1 7200 1 7920 1 8640
  3739. 2 362 1 "{2}" "{3}" 1 1
  3740. 2 364 1 "{0}" 0 0 0 1 0 1 "{0}" "{3}" 2 2 4680 3 9360
  3741. 2 365 1 "{0}" 0 0 0 1 0 1 "{0}" "{3}" 2 2 4680 3 9360
  3742. 2 376 1
  3743. 6 4
  3744. 15
  3745. 9
  3746. 14 customem
  3747. 24 352
  3748. 24 788
  3749. 6 0
  3750. 15
  3751. 9
  3752. 14 zeromin
  3753. 6 0
  3754. 5 0
  3755. 18 5
  3756. 11 00000051
  3757. 5 0
  3758. 8 0
  3759. 6 0
  3760. 8 1
  3761. 6 1
  3762. 15
  3763. 9
  3764. 14 twips
  3765. 6 0
  3766. 5 1440
  3767. 4 0
  3768. 8 1
  3769. 6 1
  3770. 15
  3771. 9
  3772. 14 getdatafile
  3773. 0 1313 165
  3774. 13
  3775. 8 1
  3776. 0 20 "{1}" 8 ","
  3777. 13
  3778. 8 0
  3779. 6 0
  3780. 15
  3781. 9
  3782. 14 getmergedescfile
  3783. 0 1313 165
  3784. 13
  3785. 8 1
  3786. 0 20 "{1}" 10 ","
  3787. 13
  3788. 8 0
  3789. 6 0
  3790. 15
  3791. 9
  3792. 14 PrinterType
  3793. 0 1313 62
  3794. 13
  3795. 8 1
  3796. 0 286 "devices" "{1}"
  3797. 13
  3798. 8 2
  3799. 0 20 "{2}" 1 ","
  3800. 13
  3801. 0 18 [X]
  3802. 13
  3803. 8 3
  3804. 0 808 0 "CANON10E  HPDSKJET  HPPCL  HPPCL5A  HPPLOT  IBM4019  LBPII  LBPIII  PAINTJET  PSCRIPT  THINKJET  TI850" "{3}"
  3805. 13
  3806. 5 0
  3807. 18 1
  3808. 11 00000286
  3809. 7 "Laser"
  3810. 8 0
  3811. 10 00000654
  3812. 0 808 0 "{3}" "PCL"
  3813. 13
  3814. 5 0
  3815. 18 1
  3816. 11 00000364
  3817. 7 "Laser"
  3818. 8 0
  3819. 10 00000654
  3820. 0 808 0 "{3}" "JET"
  3821. 13
  3822. 5 0
  3823. 18 1
  3824. 11 00000442
  3825. 7 "Laser"
  3826. 8 0
  3827. 10 00000654
  3828. 0 808 0 "CIT24US CIT9US EPSON24 EPSON9 FUJI24 FUJI9 IBMGRX NEC24PIN OKI24 OKI9 OKI9IBM PANSON24 PANSON9 PROPRINT PROPRN24 QWIII TTY" "{3}"
  3829. 13
  3830. 5 0
  3831. 18 1
  3832. 11 00000644
  3833. 7 "Dot Matrix"
  3834. 8 0
  3835. 10 00000654
  3836. 6 3
  3837. 8 0
  3838. 6 0
  3839. 15
  3840. 9
  3841. 14 GetCurrentCountry
  3842. 0 286 "intl" "sCountry"
  3843. 13
  3844. 8 0
  3845. 6 0
  3846. 15
  3847. 9
  3848. 14 AmiUIGray
  3849. 0 284 "User,GetActiveWindow,H"
  3850. 13
  3851. 8 3
  3852. 0 44 "{3}" "{0}"
  3853. 13
  3854. 8 4
  3855. 0 284 "user,EnableWindow,HHH" "{4}" "{1}"
  3856. 6 2
  3857. 15
  3858. 9
  3859. DIALOG labeltest
  3860. -2134376448 13 83 31 191 120 "" "AmiDialog" "Labels" 
  3861. FONT 8 "Helv" 
  3862. 4 12 132 78 9000 1352728579 "listbox" "" 0 
  3863. 4 12 132 78 9002 1352728579 "listbox" "" 0 
  3864. 144 4 38 14 1 1342373889 "button" "&Merge" 0 
  3865. 144 22 38 14 3 1342373888 "button" "Ma&nual" 0 
  3866. 144 40 38 14 4 1342373888 "button" "&Custom" 0 
  3867. 144 66 38 14 2 1342373888 "button" "Cancel" 0 
  3868. 108 94 26 12 24 1342373888 "button" "in." 0 
  3869. 4 108 74 10 20 1342242819 "button" "&Sort by label type" 0 
  3870. 4 96 44 8 1001 1342177280 "static" "Dimensions:" 0 
  3871. 46 96 60 8 1002 1342177280 "static" "heightwidth" 0 
  3872. 6 2 38 8 1000 1342177280 "static" "&Labels:" 0 
  3873. 108 108 38 10 1003 1342177280 "static" "&Page type:" 0 
  3874. 146 108 42 10 1004 1342177280 "static" "Continuous" 0 
  3875. 00043041
  3876.