<?xml version="1.0" encoding="UTF-8"?>
<ActiveReportsLayout Version="3.1" PrintWidth="6122.128" DocumentName="ARNet Document" ScriptLang="VB.NET" MasterReport="0">
  <StyleSheet>
    <Style Name="Normal" Value="font-family: Arial; font-style: normal; text-decoration: none; font-weight: normal; font-size: 10pt; color: Black" />
    <Style Name="Heading1" Value="font-size: 16pt; font-weight: bold" />
    <Style Name="Heading2" Value="font-family: Times New Roman; font-size: 14pt; font-weight: bold; font-style: italic" />
    <Style Name="Heading3" Value="font-size: 13pt; font-weight: bold" />
  </StyleSheet>
  <Sections>
    <Section Type="Detail" Name="Detail1" Height="10786.16" BackColor="16777215">
      <Control Type="AR.Image" Name="Picture1" Visible="0" Left="103.1811" Top="193.8898" Width="6089.952" Height="10453.61" LineWeight="0">[encoded data, 58196 characters]</Control>
      <Control Type="AR.Shape" Name="Shape10" Left="297.6717" Top="5563.131" Width="4618.082" Height="3499.698" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Shape" Name="Shape2" Left="297.6716" Top="1059.217" Width="4619.396" Height="3640.081" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Shape" Name="Shape5" Left="4978.703" Top="6345.449" Width="1095" Height="225.6348" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Shape" Name="Shape3" Left="5000.02" Top="3013.977" Width="1044.543" Height="240.3779" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Field" Name="receiver_nm_1_1" DataField="receiver_nm_1" Left="613.4401" Top="2175.84" Width="3176.505" Height="183.1177" Text="お届け先名称" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_adr_1_1" DataField="receiver_adr_1" Left="613.4401" Top="1585.44" Width="3176.505" Height="172.9131" Text="お届け先住所" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="tracking_no_fmt_1" DataField="tracking_no_fmt" Left="1975.147" Top="1073.378" Width="2894.4" Height="228.1999" Text="14XXXXXXXXXXXX" Style="font-family: MS Gothic; font-size: 12pt; text-align: center; white-space: nowrap" />
      <Control Type="AR.Field" Name="kokyaku_adr_1_1" DataField="kokyaku_adr_1" Left="612.9078" Top="2820.098" Width="3179.339" Height="172.9135" Text="ご依頼主住所" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_nm_1_1" DataField="kokyaku_nm_1" Left="612.9078" Top="3409.058" Width="3179.339" Height="150.8031" Text="ご依頼主氏名" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="delivery_appoint_time_nm_1" DataField="delivery_appoint_time_nm" Left="4985.734" Top="2060.741" Width="1087.369" Height="453.3174" Text="配達希望&#xD;&#xA;時間帯" CanGrow="0" Style="font-family: MS Gothic; font-size: 9pt; text-align: center; vertical-align: middle; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="delivery_appoint_ymd_1" DataField="delivery_appoint_ymd_mmdd" Left="4986.301" Top="1059.544" Width="1086.801" Height="536.4518" Text="配達&#xD;&#xA;希望日" CanGrow="0" Style="font-family: MS Gothic; font-size: 12pt; text-align: center; vertical-align: middle; white-space: inherit; ddo-char-set: 128; ddo-font-vertical: none" />
      <Control Type="AR.Field" Name="delivery_appoint_ymd_2" DataField="delivery_appoint_ymd_mmdd" Left="5009.228" Top="7314.339" Width="1034.646" Height="287.9997" Text="配達希望日" CanGrow="0" Style="font-family: MS Gothic; font-size: 9pt; text-align: center; vertical-align: middle; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="delivery_appoint_time_nm_2" DataField="delivery_appoint_time_nm" Left="5008.559" Top="7879.113" Width="1034.646" Height="288" Text="配達希望&#xD;&#xA;時間帯" CanGrow="0" Style="font-family: MS Gothic; font-size: 8pt; text-align: center; vertical-align: middle; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kakitome_security_sbt_nm" Left="1317.6" Top="43.2" Width="1273.323" Height="239.04" Text="セキュリティ" CanGrow="0" Style="font-family: MS Gothic; font-size: 9pt; text-align: right; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="shohin_nm001_1" DataField="shohin_nm001" Left="614.3478" Top="3846.818" Width="2936.16" Height="226.7715" Text="商品名１" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="payment_amt_1" DataField="payment_amt" Left="3656.693" Top="4047.874" Width="1013.669" Height="223.9367" Text="9XXXXXXXX" OutputFormat="#,##0" Style="font-family: MS Gothic; font-size: 10.5pt; text-align: right; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="leteral1_1" DataField="leteral1" Left="5690.347" Top="4618.658" Width="320.315" Height="128.1253" Text="YR01" CanGrow="0" Style="font-family: MS Gothic; font-size: 5.5pt; text-align: right; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="payment_tax_2" DataField="payment_tax" Left="2811.435" Top="8406.84" Width="589.6064" Height="122.457" Text="7XXXXXX" OutputFormat="#,##0" CanGrow="0" Style="font-family: MS Gothic; font-size: 5pt; text-align: right; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Barcode" Name="tracking_no_barcode" DataField="tracking_no_barcode" Left="1803.402" Top="4858.583" Width="2978.079" Height="705.2598" BarStyle="16" Text="Barcode1" CaptionPos="2" Checksum="0" Font="Courier New" FontSize="8" CODE128="0;0;0" />
      <Control Type="AR.Field" Name="shiwake_no_fmt" DataField="shiwake_no_fmt" Left="284.7128" Top="326.3463" Width="2291.449" Height="714.6483" Text="2X-2X-2X" CanGrow="0" Style="font-family: MS Gothic; font-size: 26.25pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Label" Name="Label17" Left="1765.44" Top="1346.4" Width="344.1259" Height="181.4172" Caption="TEL:" Style="font-family: ＭＳ ゴシック; font-size: 7pt; ddo-char-set: 1" />
      <Control Type="AR.Label" Name="Label15" Left="1780.724" Top="2597.669" Width="344.1259" Height="181.4172" Caption="TEL:" Style="font-family: ＭＳ ゴシック; font-size: 7pt; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_tel_1" DataField="receiver_tel" Left="2064.96" Top="1346.4" Width="1351.559" Height="181.4172" Text="15XXXXXXXXXXXXX" CanGrow="0" Style="font-family: MS Gothic; font-size: 6.5pt; text-align: left; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_tel_1" DataField="kokyaku_tel" Left="2080.244" Top="2597.669" Width="1366.3" Height="181.4172" Text="15XXXXXXXXXXXXX" Style="font-family: MS Gothic; font-size: 6.5pt; text-align: left; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Shape" Name="Shape1" Left="4970.88" Top="290.8799" Width="1085.76" Height="269.2914" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Field" Name="yoyakuLabel" Left="5057.28" Top="298.08" Width="910.08" Height="246.24" Text="Y" CanGrow="0" Style="font-family: MS Gothic; font-size: 12pt; text-align: center; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Label" Name="Label19" Left="5618.018" Top="3036.96" Width="411.8399" Height="207.3596" Caption="個口" Style="font-family: ＭＳ ゴシック; font-size: 9pt; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="item_cnt_bunshi_1" DataField="item_cnt_bunshi" Left="5023.267" Top="3037.786" Width="221.6681" Height="193.89" Text="99" Style="font-family: MS Gothic; font-size: 9pt; text-align: right; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="item_cnt_bunbo_1" DataField="item_cnt_bunbo" Left="5374.659" Top="3038.4" Width="221.6681" Height="193.89" Text="99" Style="font-family: MS Gothic; font-size: 9pt; text-align: left; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Label" Name="Label20" Left="5240.968" Top="3037.786" Width="119.054" Height="193.89" Caption="/" Style="font-family: ＭＳ ゴシック; font-size: 9pt; ddo-char-set: 128" />
      <Control Type="AR.Shape" Name="Shape6" Left="5000.587" Top="3305.378" Width="1044.543" Height="1302.235" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Label" Name="Label21" Left="5655.119" Top="6362.037" Width="404.2206" Height="193.8898" Caption="個口" Style="font-family: ＭＳ ゴシック; font-size: 8pt; ddo-char-set: 1" />
      <Control Type="AR.Label" Name="Label2" Left="5263.87" Top="6362.453" Width="119.6222" Height="193.8898" Caption="/" Style="font-family: ＭＳ ゴシック; font-size: 9pt; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="item_cnt_bunbo_2" DataField="item_cnt_bunbo" Left="5382.925" Top="6362.456" Width="272.1255" Height="193.8895" Text="99" Style="font-family: MS Gothic; font-size: 9pt; text-align: left; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="item_cnt_bunshi_2" DataField="item_cnt_bunshi" Left="4993.446" Top="6364.722" Width="272.1255" Height="193.8898" Text="99" Style="font-family: MS Gothic; font-size: 9pt; text-align: right; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="tracking_no_fmt_2" DataField="tracking_no_fmt" Left="2015.467" Top="5570.5" Width="2603.339" Height="213.7328" Text="14XXXXXXXXXXXX" Style="font-family: MS Gothic; font-size: 10pt; text-align: center; white-space: nowrap" />
      <Control Type="AR.Field" Name="horei_sbt_nm_1" DataField="horei_sbt_nm" Left="4985.28" Top="2747.52" Width="1058.979" Height="220.5358" Text="保冷種別" CanGrow="0" Style="background-color: Black; color: White; font-family: MS Gothic; font-size: 9pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="horei_sbt_nm_2" DataField="horei_sbt_nm" Left="5014.988" Top="5999.62" Width="1042.582" Height="267.5912" Text="保冷種別" Style="background-color: Black; color: White; font-family: MS Gothic; font-size: 8pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Label" Name="Label62" Left="4688.504" Top="4064.882" Width="196.1575" Height="193.8898" Caption="円" Style="font-family: ＭＳ ゴシック; font-size: 9pt; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_tel_2" DataField="kokyaku_tel" Left="1906.56" Top="6825.601" Width="1200.189" Height="133.7946" Text="15XXXXXXXXXXXXX" Style="font-family: MS Gothic; font-size: 5pt; text-align: left; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Label" Name="Label10" Left="1680.355" Top="6825.601" Width="253.9849" Height="133.7946" Caption="TEL:" Style="font-family: ＭＳ ゴシック; font-size: 5pt; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_adr_1_2" DataField="receiver_adr_1" Left="570.2401" Top="5991.84" Width="3221.859" Height="158.7402" Text="お届け先住所" CanGrow="0" Style="font-family: MS Gothic; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="goirai_keisho_kbn_nm_2" DataField="goirai_keisho_kbn_nm" Left="3810.933" Top="7358.59" Width="308.4093" Height="233.5735" Text="様" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 6pt; text-align: left; vertical-align: middle; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="Label64" Left="2789.324" Top="8225.424" Width="869.6697" Height="181.9844" Text="(うち消費税額等" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 5pt; text-align: left; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="Label65" Left="3415.782" Top="8406.84" Width="243.2126" Height="122.455" Text="円)" Style="font-family: ＭＳ ゴシック; font-size: 5pt; text-align: left; text-justify: auto; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="payment_amt_2" DataField="payment_amt" Left="2725.828" Top="7971.438" Width="776.1259" Height="193.8895" Text="9XXXXXX" OutputFormat="#,##0" CanGrow="0" Style="font-family: MS Gothic; font-size: 8pt; text-align: right; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Label" Name="Label63" Left="3504.789" Top="7971.438" Width="178.5824" Height="164.4101" Caption="円" Style="font-family: ＭＳ ゴシック; font-size: 8pt; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_tel_2" DataField="receiver_tel" Left="1995.591" Top="5813.292" Width="1230.236" Height="133.7953" Text="15XXXXXXXXXXXXX" Style="font-family: MS Gothic; font-size: 6pt; text-align: left; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Label" Name="Label27" Left="1724.87" Top="5813.292" Width="314.0784" Height="133.7953" Caption="TEL:" Style="font-family: ＭＳ ゴシック; font-size: 6pt; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="uketsuke_store_nm" DataField="uketsuke_store_nm" Left="4978.704" Top="5462.738" Width="1080.567" Height="515.3381" Text="受付局名称" CanGrow="0" Style="font-family: MS Gothic; font-size: 7pt; text-align: left; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="uketsuke_store_1" Left="4978.319" Top="5213.677" Width="1077.12" Height="265.2316" Text="【受付店】" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8.25pt; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Line" Name="Line1" X1="298.9876" Y1="1316.738" X2="4916.331" Y2="1317.169" LineWeight="2" />
      <Control Type="AR.Line" Name="Line2" X1="298.9876" Y1="2568.098" X2="4917.647" Y2="2568.098" LineWeight="2" />
      <Control Type="AR.Line" Name="Line3" X1="311.9475" Y1="3783.458" X2="4916.207" Y2="3783.458" />
      <Control Type="AR.Shape" Name="Shape4" Left="3609.547" Top="3773.378" Width="1316.976" Height="951.8403" BackColor="16777215" LineWeight="5" RoundingRadius="9.999999" />
      <Control Type="AR.Line" Name="Line4" X1="301.8676" Y1="4324.898" X2="3620.217" Y2="4324.9" />
      <Control Type="AR.Line" Name="Line6" X1="575.4678" Y1="2568.098" X2="575.4678" Y2="4323.458" />
      <Control Type="AR.Shape" Name="Shape9" Left="3610.987" Top="3780.578" Width="1301.76" Height="212.5992" BackColor="0" BackStyle="1" RoundingRadius="9.999999" />
      <Control Type="AR.Label" Name="tracking_no_label_1" Left="324.9076" Top="1073.378" Width="1592.64" Height="243.3601" Caption="お問い合わせ番号" Style="font-family: ＭＳ ゴシック; font-size: 8.25pt; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Label" Name="Label35" Left="3628.268" Top="3773.378" Width="1254.24" Height="198.9919" Caption="代金引換金額" Style="color: White; font-family: ＭＳ ゴシック; font-size: 8.25pt; font-weight: normal; text-align: center; ddo-char-set: 128" />
      <Control Type="AR.Label" Name="Label36" Left="310.5075" Top="2599.778" Width="234.72" Height="1167.84" Caption="ご依頼主" Style="font-family: ＭＳ ゴシック; font-size: 8.25pt; text-align: center; vertical-align: middle; ddo-char-set: 0" LineSpacing="3" />
      <Control Type="AR.Label" Name="Label38" Left="294.6677" Top="1313.858" Width="263.5201" Height="1249.92" Caption="お届け先" Style="background-color: Black; color: White; font-family: ＭＳ ゴシック; font-size: 8.25pt; text-align: center; vertical-align: middle; ddo-char-set: 0" LineSpacing="3" />
      <Control Type="AR.Shape" Name="Shape11" Left="2730.365" Top="7652.822" Width="1011.969" Height="981.9214" BackColor="16777215" LineWeight="3" RoundingRadius="9.999999" />
      <Control Type="AR.Line" Name="Line8" X1="328.32" Y1="5798.881" X2="4916.862" Y2="5799.074" />
      <Control Type="AR.Line" Name="Line9" X1="1934.962" Y1="5563.131" X2="1934.962" Y2="5798.967" />
      <Control Type="AR.Shape" Name="Shape12" Left="2752.474" Top="7669.266" Width="962.6456" Height="243.5346" BackColor="0" BackStyle="1" RoundingRadius="9.999999" />
      <Control Type="AR.Label" Name="Label39" Left="2752.476" Top="7689.111" Width="951.307" Height="213.6099" Caption="代金引換金額&#xD;&#xA;" Style="color: White; font-size: 6.75pt; font-weight: bold; text-align: center; ddo-char-set: 1" />
      <Control Type="AR.Line" Name="Line10" X1="313.3881" Y1="6782.293" X2="4917.644" Y2="6782.293" />
      <Control Type="AR.Line" Name="Line12" X1="297.6728" Y1="8627.944" X2="2730.364" Y2="8627.944" />
      <Control Type="AR.Line" Name="Line13" X1="297.6724" Y1="8154.558" X2="2752.476" Y2="8154.558" />
      <Control Type="AR.Line" Name="Line14" X1="539.1841" Y1="5798.967" X2="540.8839" Y2="8154.558" />
      <Control Type="AR.Label" Name="Label40" Left="306.3129" Top="5792.584" Width="243.36" Height="993.6" Caption="お届け先" Style="background-color: Black; color: White; font-family: ＭＳ ゴシック; font-size: 8.25pt; text-align: center; vertical-align: middle; ddo-char-set: 0" LineSpacing="3" />
      <Control Type="AR.Label" Name="Label41" Left="312.4131" Top="6825.112" Width="206.9292" Height="795.9684" Caption="ご依頼主" Style="font-family: ＭＳ ゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 128" LineSpacing="3" />
      <Control Type="AR.Label" Name="Label42" Left="321.4839" Top="7689.111" Width="197.8583" Height="434.8334" Caption="品名等" Style="font-family: ＭＳ ゴシック; font-size: 5.25pt; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Label" Name="tracking_no_label_2" Left="330.6682" Top="5569.821" Width="1589.76" Height="198.9921" Caption="お問い合わせ番号" Style="font-family: ＭＳ ゴシック; font-size: 8.25pt; text-align: center; ddo-char-set: 128" />
      <Control Type="AR.Label" Name="Label56" Left="318.0472" Top="4873.323" Width="1470" Height="662.0816" Caption="追跡システム用&#xD;&#xA;バーコード" Style="font-family: ＭＳ ゴシック; font-size: 9pt; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="binrui_kbn_nm" DataField="binrui_kbn_nm" Left="5014.193" Top="3621.726" Width="1015.37" Height="141.7322" Text="ビン類" CanGrow="0" Style="font-family: MS Gothic; font-size: 5pt; text-align: left; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="sakasama_ng_kbn_nm" DataField="sakasama_ng_kbn_nm" Left="5014.192" Top="3750.984" Width="1015.37" Height="141.7322" Text="逆さま厳禁" CanGrow="0" Style="font-family: MS Gothic; font-size: 5pt; text-align: left; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="waremono_kbn_nm" DataField="waremono_kbn_nm" Left="5013.058" Top="3333.725" Width="1015.37" Height="147.4015" Text="われもの" CanGrow="0" Style="font-family: MS Gothic; font-size: 5pt; text-align: left; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="shitadumi_ng_kbn_nm" DataField="shitadumi_ng_kbn_nm" Left="5006.256" Top="3892.718" Width="1015.37" Height="141.7322" Text="下積み厳禁" CanGrow="0" Style="font-family: MS Gothic; font-size: 5pt; text-align: left; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="namamono_kbn_nm" DataField="namamono_kbn_nm" Left="5006.018" Top="3486.24" Width="1015.37" Height="141.7322" Text="なまもの" CanGrow="0" Style="font-family: MS Gothic; font-size: 5pt; text-align: left; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="shohin_nm002_1" DataField="shohin_nm002" Left="610.0279" Top="4082.978" Width="2936.16" Height="226.7715" Text="商品名２" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="shohin_nm001_2" DataField="shohin_nm001" Left="568.6634" Top="7691.376" Width="2129.952" Height="226.7715" Text="商品名１" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="shohin_nm002_2" DataField="shohin_nm002" Left="562.9943" Top="7917.579" Width="2135.622" Height="226.7715" Text="商品名２" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_adr_2_1" DataField="receiver_adr_2" Left="609.12" Top="1788.48" Width="3176.505" Height="172.9131" Text="お届け先住所２" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_adr_3_1" DataField="receiver_adr_3" Left="613.4401" Top="1974.24" Width="3767.573" Height="172.9131" Text="お届け先住所３" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_nm_2_1" DataField="receiver_nm_2" Left="610.5601" Top="2374.56" Width="3177.071" Height="183.1179" Text="お届け先名称２" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_adr_2_1" DataField="kokyaku_adr_2" Left="615.7878" Top="3011.618" Width="3176.505" Height="172.9135" Text="ご依頼主住所２" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_adr_3_1" DataField="kokyaku_adr_3" Left="611.4676" Top="3217.539" Width="3179.906" Height="172.9135" Text="ご依頼主住所３" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_nm_2_1" DataField="kokyaku_nm_2" Left="612.9078" Top="3574.658" Width="3179.34" Height="150.8031" Text="ご依頼主氏名２" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_adr_2_2" DataField="receiver_adr_2" Left="570.2401" Top="6130.08" Width="3221.859" Height="158.7402" Text="お届け先住所２" CanGrow="0" Style="font-family: MS Gothic; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_adr_3_2" DataField="receiver_adr_3" Left="564.48" Top="6295.68" Width="3790.431" Height="158.7402" Text="お届け先住所３" CanGrow="0" Style="font-family: MS Gothic; font-size: 6.012pt; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_nm_2_2" DataField="receiver_nm_2" Left="568.8" Top="6626.88" Width="3222.992" Height="158.7402" Text="お届け先名称２" CanGrow="0" Style="font-family: MS Gothic; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="KokyakuQRCodeLabel" Left="3812.588" Top="7721.173" Width="169.5108" Height="850.3936" Text="↑顧客コード↑" CanGrow="0" Style="font-family: MS Gothic; font-size: 5pt; text-align: left; vertical-align: middle; white-space: inherit; ddo-char-set: 1; ddo-font-vertical: true" />
      <Control Type="AR.Barcode" Name="KokyakuQRCode" DataField="kokyaku_qr_value" Left="3994.028" Top="7721.173" Width="850.3936" Height="850.3933" BarStyle="24" Text="YPH:01,609448540352,1410022,20121211,54,145,,;" AutoSize="0" Font="Courier New" FontSize="8" QRCode="Err=M" CODE128="0;0;0" />
      <Control Type="AR.Field" Name="daibiki_Label" Left="2723.04" Top="43.2" Width="1741.039" Height="224.64" Text="代金引換まとめ送金" CanGrow="0" Style="font-family: MS Gothic; font-size: 9pt; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="yupakku_Label" Left="2723.04" Top="43.2" Width="1741.039" Height="224.64" Text="ゆうパック" CanGrow="0" Style="font-family: MS Gothic; font-size: 9pt; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="Label60" Left="3831.308" Top="4342.678" Width="748.9133" Height="193.8895" Text="（うち消費税等" OutputFormat="#,##0" CanGrow="0" Style="font-family: MS Gothic; font-size: 5.25pt; text-align: left; vertical-align: middle; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Label" Name="Label61" Left="4665.068" Top="4487.811" Width="209.7637" Height="193.8898" Caption="円）" Style="font-family: ＭＳ ゴシック; font-size: 5.25pt; vertical-align: middle; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="receiver_nm_1_2" DataField="receiver_nm_1" Left="564.48" Top="6471.361" Width="3226.962" Height="158.7402" Text="お届け先名称" CanGrow="0" Style="font-family: MS Gothic; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="todoke_keisho_kbn_nm_1" DataField="todoke_keisho_kbn_nm" Left="3805.387" Top="2232.578" Width="488.6932" Height="200.1599" Text="様" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 6pt; text-align: left; vertical-align: middle; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="goirai_keisho_kbn_nm_1" DataField="goirai_keisho_kbn_nm" Left="3806.827" Top="3473.858" Width="488.3402" Height="192.9618" Text="様" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 6pt; text-align: left; vertical-align: middle; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="todoke_keisho_kbn_nm_2" DataField="todoke_keisho_kbn_nm" Left="3797.893" Top="6439.032" Width="482.457" Height="272.693" Text="様" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 6pt; text-align: left; vertical-align: middle; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Line" Name="Line7" X1="3726.425" Y1="8626.935" X2="4916.329" Y2="8627.944" />
      <Control Type="AR.Line" Name="Line15" X1="3737.798" Y1="8627.944" X2="3737.798" Y2="7661.897" />
      <Control Type="AR.Barcode" Name="Barcode1" DataField="shiwake_no_barcode" Left="2765.832" Top="326.3463" Width="1799.433" Height="733.6062" BarStyle="11" Text="222222" CaptionPos="2" Font="ＭＳ Ｐゴシック" FontSize="6" CODE128="0;0;0" />
      <Control Type="AR.Field" Name="ent_cod_2" DataField="ent_cod" Left="4165.83" Top="7224.795" Width="553.8898" Height="102.0472" Text="10XXXXXXXX" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ Ｐゴシック; font-size: 4.5pt; font-weight: normal; text-align: left; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="cod_3_1" Left="4342.711" Top="7536.036" Width="57.25985" Height="102.0472" Text="-" OutputFormat="#,##0" CanGrow="0" Style="font-family: ＭＳ Ｐゴシック; font-size: 4.5pt; font-weight: normal; text-align: left; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="dep001_cod_2" DataField="dep001_cod" Left="4272.979" Top="7433.991" Width="537.4488" Height="102.0472" Text="10XXXXXXXX" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ Ｐゴシック; font-size: 4.5pt; font-weight: normal; text-align: left; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="bes_cod_2" DataField="bes_cod" Left="4327.971" Top="7331.943" Width="395.7165" Height="102.0472" Text="6XXXXX" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ Ｐゴシック; font-size: 4.5pt; font-weight: normal; text-align: left; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="cod_1_1" Left="4719.718" Top="7224.795" Width="57.25985" Height="102.0472" Text="-" OutputFormat="#,##0" CanGrow="0" Style="font-family: ＭＳ Ｐゴシック; font-size: 4.5pt; font-weight: normal; text-align: left; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="dep002_cod_2" DataField="dep002_cod" Left="4411.879" Top="7536.036" Width="369.0709" Height="102.0472" Text="6XXXXX" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ Ｐゴシック; font-size: 4.5pt; font-weight: normal; text-align: left; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="cod_2_1" Left="4723.689" Top="7331.943" Width="57.25985" Height="102.0472" Text="-" OutputFormat="#,##0" CanGrow="0" Style="font-family: ＭＳ Ｐゴシック; font-size: 4.5pt; font-weight: normal; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_zip_5_1" DataField="receiver_zip_5" Left="1362.898" Top="1356.661" Width="116.64" Height="195.84" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 10pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="zip_Label_1" Left="584.504" Top="1356.661" Width="172.9134" Height="195.5905" Text="〒" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 9pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_zip_7_1" DataField="receiver_zip_7" Left="1604.41" Top="1356.661" Width="116.7874" Height="195.5905" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 10pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_zip_1_1" DataField="receiver_zip_1" Left="772.1575" Top="1356.661" Width="116.7874" Height="195.5905" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 10pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_zipLabel_2_1" Left="1119.118" Top="1356.661" Width="116.7874" Height="195.5905" Text="-" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 9pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_zip_4_1" DataField="receiver_zip_4" Left="1241.575" Top="1356.661" Width="116.7874" Height="195.5905" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 10pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_zip_6_1" DataField="receiver_zip_6" Left="1480.819" Top="1356.661" Width="116.64" Height="195.84" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 10pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_zip_3_1" DataField="receiver_zip_3" Left="1006.866" Top="1356.661" Width="116.7874" Height="195.5905" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 10pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_zip_2_1" DataField="receiver_zip_2" Left="887.2442" Top="1356.661" Width="116.7874" Height="195.5905" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 10pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_zip_3_1" DataField="kokyaku_zip_3" Left="1006.866" Top="2599.37" Width="116.64" Height="195.84" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 10pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_zipLabel_2_1" Left="1119.118" Top="2592" Width="116.64" Height="195.8401" Text="-" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 10pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_zip_4_1" DataField="kokyaku_zip_4" Left="1241.575" Top="2599.37" Width="116.7874" Height="195.5905" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 10pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" culture="af-ZA" />
      <Control Type="AR.Field" Name="kokyaku_zip_2_1" DataField="kokyaku_zip_2" Left="887.2441" Top="2600.504" Width="116.7874" Height="195.5905" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 10pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_zip_5_1" DataField="kokyaku_zip_5" Left="1362.898" Top="2599.37" Width="116.7874" Height="195.5905" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 10pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" culture="af-ZA" />
      <Control Type="AR.Field" Name="kokyaku_zip_6_1" DataField="kokyaku_zip_6" Left="1480.819" Top="2599.37" Width="116.64" Height="195.8401" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 10pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" culture="af-ZA" />
      <Control Type="AR.Field" Name="kokyaku_zip_1_1" DataField="kokyaku_zip_1" Left="772.1575" Top="2600.504" Width="116.64" Height="195.84" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 10pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="zip_Label_2" Left="584.504" Top="2598.236" Width="172.9134" Height="195.5905" Text="〒" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 9pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="zip_Label_3" Left="569.2321" Top="5817.107" Width="167.811" Height="159.874" Text="〒" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; font-weight: bold; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_zip_7_2" DataField="receiver_zip_7" Left="1561.89" Top="5817.827" Width="113.3858" Height="160.3331" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; font-weight: bold; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_zip_4_2" DataField="receiver_zip_4" Left="1197.354" Top="5817.827" Width="113.76" Height="159.84" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; font-weight: bold; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_zipLabel_2_3" Left="1090.772" Top="5817.827" Width="113.9528" Height="159.874" Text="-" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 6pt; font-weight: bold; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_zip_6_2" DataField="kokyaku_zip_6" Left="1391.04" Top="6799.68" Width="113.76" Height="174.24" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" culture="af-ZA" />
      <Control Type="AR.Field" Name="kokyaku_zip_1_2" DataField="kokyaku_zip_1" Left="684.8856" Top="6799.599" Width="113.76" Height="174.24" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="zip_Label_4" Left="537.1201" Top="6799.68" Width="137.7638" Height="174.0473" Text="〒" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_zipLabel_2_4" Left="1046.88" Top="6804" Width="102.0472" Height="147.4016" Text="-" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_zip_7_2" DataField="kokyaku_zip_7" Left="1507.68" Top="6799.68" Width="113.3858" Height="174.3215" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Line" Name="Line16" X1="2708.255" Y1="8627.944" X2="3725.893" Y2="8627.944" />
      <Control Type="AR.Line" Name="Line17" X1="2721.859" Y1="8154.558" X2="3737.798" Y2="8154.558" />
      <Control Type="AR.Field" Name="kokyaku_nm_2_2" DataField="kokyaku_nm_2" Left="563.04" Top="7516.8" Width="3234.331" Height="141.7323" Text="ご依頼主名称２" CanGrow="0" Style="font-family: MS Gothic; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_nm_1_2" DataField="kokyaku_nm_1" Left="564.48" Top="7372.8" Width="3234.331" Height="141.7323" Text="ご依頼主名称" CanGrow="0" Style="font-family: MS Gothic; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_adr_3_2" DataField="kokyaku_adr_3" Left="568.8" Top="7246.08" Width="3241.701" Height="141.7323" Text="ご依頼主住所３" CanGrow="0" Style="font-family: MS Gothic; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_adr_2_2" DataField="kokyaku_adr_2" Left="568.8" Top="7104.96" Width="3241.701" Height="141.7323" Text="ご依頼主住所２" CanGrow="0" Style="font-family: MS Gothic; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_adr_1_2" DataField="kokyaku_adr_1" Left="564.48" Top="6973.92" Width="3233.197" Height="141.7323" Text="ご依頼主住所" CanGrow="0" Style="font-family: MS Gothic; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="Label_keep_mongon_motobarai" Left="4935.788" Top="8824.9" Width="1019.338" Height="158.1729" Text="（１年保存）" CanGrow="0" Style="font-family: MS Gothic; font-size: 6pt; text-align: right; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="Label_keep_mongon_daibiki" Left="4936.32" Top="8824.32" Width="1019.338" Height="158.1729" Text="（１０年保存）" CanGrow="0" Style="font-family: MS Gothic; font-size: 6pt; text-align: right; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="leteral1_2" DataField="leteral1" Left="5783.947" Top="5085.219" Width="270.9922" Height="128.1603" Text="YR01" CanGrow="0" Style="font-family: MS Gothic; font-size: 5.5pt; text-align: right; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_zip_7_1" DataField="kokyaku_zip_7" Left="1604.409" Top="2599.37" Width="116.64" Height="195.8401" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 10pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" culture="af-ZA" />
      <Control Type="AR.Field" Name="free04" DataField="free04" Left="3165.12" Top="6812.641" Width="1710.991" Height="133.7956" Text="フリー項目04" CanGrow="0" Style="font-family: MS Gothic; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="free02" DataField="free02" Left="3257.28" Top="5827.681" Width="1639.752" Height="133.7956" Text="フリー項目02" CanGrow="0" Style="font-family: MS Gothic; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="free03" DataField="free03" Left="3469.844" Top="2597.669" Width="1416.756" Height="181.4172" Text="フリー項目03" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="free01" DataField="free01" Left="3425.76" Top="1346.4" Width="1472.814" Height="181.4172" Text="フリー項目01" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="free05" DataField="free05" Left="5014.762" Top="4016.308" Width="1013.668" Height="283.4644" Text="フリー項目05" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="free06" DataField="free06" Left="5014.762" Top="4303.172" Width="1014.803" Height="283.4644" Text="フリー項目06" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="free07" DataField="free07" Left="313.5129" Top="8600.582" Width="1843.325" Height="226.7717" Text="１２３４５６７８９０１２３４５６７８９０１２３４あ" CanGrow="0" Style="font-family: MS Gothic; font-size: 5.25pt; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="free08" DataField="free08" Left="307.7529" Top="8812.266" Width="1843.325" Height="226.7717" Text="１２３４５６７８９０１２３４５６７８９０１２３４あ" CanGrow="0" Style="font-family: MS Gothic; font-size: 5.25pt; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kiji_nm_1_2" DataField="kiji_nm_1" Left="336.553" Top="8181.543" Width="2361.827" Height="226.7717" Text="記事１" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kiji_nm_2_2" DataField="kiji_nm_2" Left="336.7559" Top="8387.149" Width="2361.827" Height="226.7717" Text="記事２" CanGrow="0" Style="font-family: MS Gothic; font-size: 7.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Line" Name="Line19" X1="1934.961" Y1="1059.217" X2="1934.961" Y2="1317.169" />
      <Control Type="AR.Field" Name="receiver_zip_1_2" DataField="receiver_zip_1" Left="737.28" Top="5826.24" Width="113.76" Height="159.84" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; font-weight: bold; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_zip_4_2" DataField="kokyaku_zip_4" Left="1149.12" Top="6799.68" Width="113.3858" Height="174.0473" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Label" Name="Label8" Left="315.7796" Top="3789.354" Width="247.1811" Height="511.2" Caption="品名等" Style="font-family: ＭＳ ゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 128" LineSpacing="1" />
      <Control Type="AR.Field" Name="receiver_zip_3_2" DataField="receiver_zip_3" Left="976.2521" Top="5817.26" Width="113.76" Height="159.84" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; font-weight: bold; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_zip_2_2" DataField="kokyaku_zip_2" Left="790.5601" Top="6799.68" Width="113.3858" Height="174.0473" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_zip_3_2" DataField="kokyaku_zip_3" Left="908.6401" Top="6799.68" Width="113.3858" Height="174.0473" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_zip_5_2" DataField="kokyaku_zip_5" Left="1277.28" Top="6799.68" Width="113.3858" Height="174.0473" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; text-align: center; vertical-align: top; white-space: nowrap; ddo-char-set: 1" culture="af-ZA" />
      <Control Type="AR.Field" Name="receiver_zip_2_2" DataField="receiver_zip_2" Left="856.7999" Top="5826.24" Width="113.76" Height="159.84" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; font-weight: bold; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_zip_6_2" DataField="receiver_zip_6" Left="1438.299" Top="5826.332" Width="113.76" Height="159.84" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; font-weight: bold; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_zip_5_2" DataField="receiver_zip_5" Left="1325.48" Top="5817.827" Width="113.76" Height="159.8401" Text="9" OutputFormat="" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 8pt; font-weight: bold; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Line" Name="Line20" X1="298.9881" Y1="7662.137" X2="4903.246" Y2="7662.137" />
      <Control Type="AR.Field" Name="kyokudome_Label_1" Left="4411.627" Top="1567.298" Width="440.504" Height="220.5358" Text="郵便" CanGrow="0" Style="background-color: Black; color: White; font-family: MS Gothic; font-size: 9pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kyokudome_Label_2" Left="4413.067" Top="1758.818" Width="438.8032" Height="220.5358" Text="局留" CanGrow="0" Style="background-color: Black; color: White; font-family: MS Gothic; font-size: 9pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kyokudome_Label_4" Left="4411.752" Top="6204.423" Width="438.8032" Height="220.5358" Text="局留" CanGrow="0" Style="background-color: Black; color: White; font-family: MS Gothic; font-size: 9pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kyokudome_Label_3" Left="4411.752" Top="5983.889" Width="440.504" Height="220.5358" Text="郵便" CanGrow="0" Style="background-color: Black; color: White; font-family: MS Gothic; font-size: 9pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="TextBox165" Left="296.1078" Top="4316.258" Width="1207.559" Height="383.04" Text="セキュリティ" Multiline="0" CanGrow="0" Style="background-color: Black; color: White; font-family: ＭＳ ゴシック; font-size: 8.25pt; font-weight: normal; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="TextBox32" Left="1527.307" Top="4337.858" Width="737.2798" Height="332.6399" Text="損害要償額" Multiline="0" CanGrow="0" Style="color: Black; font-family: ＭＳ ゴシック; font-size: 6pt; font-weight: normal; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="TextBox33" Left="3396.427" Top="4359.458" Width="204.4803" Height="318.2403" Text="円" Multiline="0" CanGrow="0" Style="color: Black; font-family: ＭＳ ゴシック; font-size: 6pt; font-weight: normal; text-align: left; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="damaged_amt_1" DataField="damaged_amt" Left="2303.467" Top="4359.458" Width="1058.4" Height="311.0401" Text="999,999,999" OutputFormat="#,##0" Multiline="0" CanGrow="0" Style="color: Black; font-family: ＭＳ ゴシック; font-size: 9pt; font-weight: normal; text-align: right; vertical-align: middle; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="TextBox2" DataField="damaged_amt" Left="3820.32" Top="8648.641" Width="954.7197" Height="375.84" Text="999,999,999" OutputFormat="#,##0" Multiline="0" CanGrow="0" Style="color: Black; font-family: ＭＳ ゴシック; font-size: 8.25pt; font-weight: normal; text-align: right; vertical-align: middle; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="TextBox4" Left="3097.44" Top="8673.12" Width="705.6" Height="347.0397" Text="損害要償額" Multiline="0" CanGrow="0" Style="color: Black; font-family: ＭＳ ゴシック; font-size: 6pt; font-weight: normal; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="TextBox5" Left="2143.752" Top="8633.703" Width="959.4482" Height="419.04" Text="セキュリティ" Multiline="0" CanGrow="0" Style="background-color: Black; color: White; font-family: ＭＳ ゴシック; font-size: 7.5pt; font-weight: bold; text-align: center; vertical-align: middle; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="TextBox6" Left="4754.88" Top="8663.04" Width="216.0001" Height="332.6397" Text="円" Multiline="0" CanGrow="0" Style="color: Black; font-family: ＭＳ ゴシック; font-size: 6pt; font-weight: normal; text-align: left; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Line" Name="Line21" X1="3817.44" Y1="9054.72" X2="3817.44" Y2="8622.717" />
      <Control Type="AR.Line" Name="Line11" X1="2161.032" Y1="9054.992" X2="2161.032" Y2="8622.992" />
      <Control Type="AR.Line" Name="Line22" X1="3628.268" Y1="3777.698" X2="3628.268" Y2="4706.499" />
      <Control Type="AR.Line" Name="Line18" X1="2274.667" Y1="4316.258" X2="2273.227" Y2="4706.499" />
      <Control Type="AR.Field" Name="payment_tax_1" DataField="payment_tax" Left="4077.354" Top="4504.819" Width="589.6063" Height="179.1496" Text="7XXXXXX" OutputFormat="#,##0" CanGrow="0" Style="font-family: MS Gothic; font-size: 5pt; text-align: right; vertical-align: middle; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Label" Name="Label4" Left="206.9291" Top="9123.023" Width="5803.653" Height="1529.008" Caption="＊＊＊＊＊＊＊＊＊＊＊＊＊＊&#xD;&#xA;＊＊＊＊＊＊＊＊＊＊＊＊＊＊&#xD;&#xA;＊＊＊＊＊＊＊＊＊＊＊＊＊＊&#xD;&#xA;＊＊＊＊＊＊＊＊＊＊＊＊＊＊" Style="font-family: ＭＳ ゴシック; font-size: 20pt; text-align: center; vertical-align: top; ddo-char-set: 1; ddo-font-vertical: none" />
      <Control Type="AR.Label" Name="yuukou_Label_1" Left="5057.008" Top="6647.812" Width="845.8583" Height="123.5907" Caption="ラベル有効期限" Style="font-family: ＭＳ ゴシック; font-size: 5.25pt; text-align: right; vertical-align: top; ddo-char-set: 128; ddo-font-vertical: none" />
      <Control Type="AR.Label" Name="yuukou_Label_4" Left="5940.284" Top="6771.401" Width="200.1263" Height="126.992" Caption="日" Style="font-family: ＭＳ ゴシック; font-size: 5.25pt; text-align: left; vertical-align: top; ddo-char-set: 128; ddo-font-vertical: none" />
      <Control Type="AR.Label" Name="yuukou_Label_2" Left="5228.787" Top="6771.401" Width="144.5725" Height="126.992" Caption="年" Style="font-family: ＭＳ ゴシック; font-size: 5.25pt; text-align: left; vertical-align: top; ddo-char-set: 128; ddo-font-vertical: none" />
      <Control Type="AR.Label" Name="yuukou_Label_3" Left="5557.606" Top="6771.401" Width="200.1263" Height="126.992" Caption="月" Style="font-family: ＭＳ ゴシック; font-size: 5.25pt; text-align: left; vertical-align: top; ddo-char-set: 128; ddo-font-vertical: none" />
      <Control Type="AR.Field" Name="label_yuukou_ymd_day" DataField="label_yuukou_ymd_day" Left="5757.732" Top="6771.401" Width="182.5529" Height="123.5903" Text="99" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 5.25pt; text-align: right; vertical-align: top; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="label_yuukou_ymd_year" DataField="label_yuukou_ymd_year" Left="4788.851" Top="6771.401" Width="450.7059" Height="123.5903" Text="9999" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 5.25pt; text-align: right; vertical-align: top; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="label_yuukou_ymd_month" DataField="label_yuukou_ymd_month" Left="5394.897" Top="6771.401" Width="162.7226" Height="123.5903" Text="99" CanGrow="0" Style="font-family: ＭＳ ゴシック; font-size: 5.25pt; text-align: right; vertical-align: top; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="weight_nm" DataField="weight_nm" Left="1317.543" Top="43.08662" Width="1273.323" Height="239.04" Text="元払重量・代引重量" CanGrow="0" Style="font-family: MS Gothic; font-size: 9pt; text-align: right; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="weight_nm1" DataField="weight_nm" Left="5054.174" Top="8626.961" Width="1019.338" Height="158.1729" Text="元払重量・代引重量" CanGrow="0" Style="font-family: MS Gothic; font-size: 6pt; text-align: center; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="shiteibasyo_nm1" Left="4962.24" Top="1764" Width="1068.48" Height="216" Text="指定場所ダイレクト" Style="background-color: Black; color: White; font-family: ＭＳ ゴシック; font-size: 5pt; font-weight: normal; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="shiteibasyo_chime_nm1" Left="4985.28" Top="2419.2" Width="1038.24" Height="165.6" Text="チャイム：あり" CanGrow="0" Style="background-color: White; font-family: ＭＳ ゴシック; font-size: 4.5pt; text-align: left; vertical-align: middle; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="shiteibasyo_kibou1_nm1" Left="4985.28" Top="2008.8" Width="1038.24" Height="165.6" Text="①：指定場所希望１" CanGrow="0" Style="background-color: White; font-family: ＭＳ ゴシック; font-size: 4.5pt; text-align: left; vertical-align: middle; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="shiteibasyo_kibou2_nm1" Left="4985.28" Top="2217.6" Width="1038.24" Height="165.6" Text="②：指定場所希望２" CanGrow="0" Style="background-color: White; font-family: ＭＳ ゴシック; font-size: 4.5pt; text-align: left; vertical-align: middle; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Shape" Name="shiteibasyo_shape1" Left="4960.8" Top="1980" Width="1068.48" Height="216" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Shape" Name="shiteibasyo_shape2" Left="4960.8" Top="2196" Width="1068.48" Height="216" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Shape" Name="shiteibasyo_shape3" Left="4960.8" Top="2397.6" Width="1068.48" Height="216" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Field" Name="shiteibasyo_kibou2_nm2" Left="4962.24" Top="8023.68" Width="1038.24" Height="158.4" Text="②：指定場所希望２" CanGrow="0" Style="background-color: White; font-family: ＭＳ ゴシック; font-size: 4.5pt; text-align: left; vertical-align: middle; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="shiteibasyo_chime_nm2" Left="4962.24" Top="8196.48" Width="1038.24" Height="158.4" Text="チャイム：あり" CanGrow="0" Style="background-color: White; font-family: ＭＳ ゴシック; font-size: 4.5pt; text-align: left; vertical-align: middle; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="shiteibasyo_kibou1_nm2" Left="4962.24" Top="7865.281" Width="1038.24" Height="158.4" Text="①：指定場所希望１" CanGrow="0" Style="background-color: White; font-family: ＭＳ ゴシック; font-size: 4.5pt; text-align: left; vertical-align: middle; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Shape" Name="shiteibasyo_shape6" Left="4953.6" Top="8183.52" Width="1097.28" Height="158.4" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Field" Name="shiteibasyo_nm3" Left="273.6" Top="9177.12" Width="5729.76" Height="345.6" Text="指定場所ダイレクト" Style="background-color: Black; color: White; font-family: ＭＳ ゴシック; font-size: 15pt; font-weight: normal; text-align: center; vertical-align: middle; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="shiteibasyo_kibou1_nm3" Left="311.04" Top="9535.681" Width="5644.8" Height="362.1592" Text="①：指定場所希望１" CanGrow="0" Style="background-color: White; font-family: ＭＳ ゴシック; font-size: 15pt; text-align: left; vertical-align: middle; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="shiteibasyo_kibou2_nm3" Left="311.04" Top="9882.721" Width="5644.8" Height="361.44" Text="②：指定場所希望２" CanGrow="0" Style="background-color: White; font-family: ＭＳ ゴシック; font-size: 15pt; text-align: left; vertical-align: middle; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="shiteibasyo_chime_nm3" Left="311.04" Top="10200.96" Width="5644.8" Height="361.44" Text="チャイム：あり" CanGrow="0" Style="background-color: White; font-family: ＭＳ ゴシック; font-size: 15pt; text-align: left; vertical-align: middle; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Shape" Name="shiteibasyo_shape7" Left="273.6" Top="9522.721" Width="5729.76" Height="345.5995" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Shape" Name="shiteibasyo_shape8" Left="273.6" Top="9868.32" Width="5729.76" Height="345.6" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Shape" Name="shiteibasyo_shape9" Left="273.6" Top="10213.92" Width="5729.76" Height="345.6" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Field" Name="shiteibasyo_nm2" Left="4953.6" Top="7692.48" Width="1097.28" Height="172.7998" Text="指定場所ダイレクト" Style="background-color: Black; color: White; font-family: ＭＳ ゴシック; font-size: 5pt; font-weight: normal; text-align: center; vertical-align: middle; ddo-char-set: 1" />
      <Control Type="AR.Shape" Name="shiteibasyo_shape5" Left="4953.6" Top="8023.68" Width="1097.28" Height="158.4" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Shape" Name="shiteibasyo_shape4" Left="4953.6" Top="7865.281" Width="1097.28" Height="158.4" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Field" Name="TextBox13" Left="4752.567" Top="117.3543" Width="1275.024" Height="128.126" Text="　　　　　年　　月　　日" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 5.25pt; text-align: left; text-justify: auto; vertical-align: top; white-space: nowrap; ddo-char-set: 128; ddo-font-vertical: none" />
    </Section>
  </Sections>
  <ReportComponentTray />
  <Script><![CDATA['---フォントサイズ切替境界 変数宣言---
'名称，住所（MAX:50Byte）
const FONT_SMALL as integer = 40 
const FONT_MID as integer = 25 
	
'商品名（MAX:50Byte）
const HIN_SMALL as integer = 40
const HIN_MID as integer = 25	
	
'記事（MAX:50Byte）
const KIJINM_SMALL as integer = 40 
const KIJINM_MID as integer = 25

'フリー項目（MAX:50Byte）
const FREENM_SMALL as integer = 40
const FREENM_MID as integer = 25

'郵便局名称項目（MAX:100Byte）
const SHOPNM_MID as integer = 40
const SHOPNM_LARGE as integer = 20

''2013.10.31 K.Takasaki@fuso 課題No473 サーマル共用ﾕ00572を使った代引の受領証部分の不具合対応 ↓↓
'引換金受領証（MAX:100Byte）
Const JYURYOSHONM_SMALL As Integer = 60
Const JYURYOSHONM_MID As Integer = 40
Const JYURYOSHONM_LARGE As Integer = 25

'引換金受領証定義（MAX:100Byte）
Const JYURYOSHO_NM_LARGE As Integer = 8
Const JYURYOSHO_NM_MID2 As Integer = 7
Const JYURYOSHO_NM_MID1 As Integer = 6
Const JYURYOSHO_NM_SMALL As double = 3.5
''2013.10.31 K.Takasaki@fuso 課題No473 サーマル共用ﾕ00572を使った代引の受領証部分の不具合対応 ↑↑
'msgbox(me.Detail1.Controls("leteral8_2").value.tostring())

'お届先住所フォント定義
const TODOKEADR_LARGE as integer = 8
const TODOKEADR_MID as integer = 7
const TODOKEADR_SMALL as integer = 6
	
'お届先名称フォント定義
const TODOKENM_LARGE as integer = 8
const TODOKENM_MID as integer = 7
const TODOKENM_SMALL as integer = 6

''2013.09.03 K.Takasaki@fuso 課題No199 フォント統一制御,レイアウトカスタマイズ対応,郵便局留め対応 ↓↓
'お届先住所フォント定義（配達証用）
const Small_TODOKEADR_LARGE as integer = 5
const Small_TODOKEADR_MID as integer = 5
'const Small_TODOKEADR_LARGE as integer = 5.5
'const Small_TODOKEADR_MID as integer = 5.5
const Small_TODOKEADR_SMALL as integer = 5
	
'お届先名称フォント定義（配達証用）
const Small_TODOKENM_LARGE as integer = 5
const Small_TODOKENM_MID As Integer = 5
'const Small_TODOKENM_LARGE as integer = 5.5
'const Small_TODOKENM_MID As Integer = 5.5
const Small_TODOKENM_SMALL as integer = 5
''2013.09.03 K.Takasaki@fuso 課題No199 フォント統一制御,レイアウトカスタマイズ対応,郵便局留め対応 ↑↑

'ご依頼主住所フォント定義
const NIOKURIADR_LARGE as integer = 7
const NIOKURIADR_MID as integer = 7
const NIOKURIADR_SMALL as integer = 6

'ご依頼主名称フォント定義
const NIOKURINM_LARGE as integer = 7
const NIOKURINM_MID as integer = 7
const NIOKURINM_SMALL as integer = 6
''2013.09.03 K.Takasaki@fuso 課題No199 フォント統一制御,レイアウトカスタマイズ対応,郵便局留め対応 ↓↓
'ご依頼主住所フォント定義（配達証用）
const Small_NIOKURIADR_LARGE as integer = 5
const Small_NIOKURIADR_MID as integer = 5
'const Small_NIOKURIADR_LARGE as integer = 5.5
'const Small_NIOKURIADR_MID as integer = 5.5
const Small_NIOKURIADR_SMALL as integer = 5

'ご依頼主名称フォント定義（配達証用）
const Small_NIOKURINM_LARGE as integer = 5
const Small_NIOKURINM_MID as integer = 5
'const Small_NIOKURINM_LARGE as integer = 5.5
'const Small_NIOKURINM_MID as integer = 5.5
const Small_NIOKURINM_SMALL as integer = 5
''2013.09.03 K.Takasaki@fuso 課題No199 フォント統一制御,レイアウトカスタマイズ対応,郵便局留め対応 ↑↑

'商品名フォント定義
const SHOHIN_LARGE as integer = 8
const SHOHIN_MID as integer = 7
const SHOHIN_SMALL as integer = 5

''2013.09.03 K.Takasaki@fuso 課題No199 フォント統一制御,レイアウトカスタマイズ対応,郵便局留め対応 ↓↓
'商品名フォント定義（配達証用）
const Small_SHOHIN_LARGE as integer = 6
'const Small_SHOHIN_LARGE as integer = 6.5
const Small_SHOHIN_MID as integer = 5
const Small_SHOHIN_SMALL as integer = 5

''2014.01.09 T.Tsunoda@fuso 課題S075 サーマルで印字したら記事欄が文字切れ対応 ↓↓
'記事フォント定義
const KIJI_LARGE as integer = 9
const KIJI_MID as integer = 6
'const KIJI_MID as integer = 6.5
const KIJI_SMALL as integer = 5
'const KIJI_SMALL as integer = 6

'記事フォント定義（配達証用）
const Small_KIJI_LARGE as integer = 9
const Small_KIJI_MID as integer = 6
'const Small_KIJI_MID as integer = 6.5
const Small_KIJI_SMALL as integer = 5

'フリー項目フォント定義（フリー項目１～４）
const SmallFREE_LARGE as integer = 6
const SmallFREE_MID as integer = 4
'const SmallFREE_MID as integer = 4.5
const SmallFREE_SMALL as integer = 3
''2013.09.03 K.Takasaki@fuso 課題No199 フォント統一制御,レイアウトカスタマイズ対応,郵便局留め対応 ↑↑

'フリー項目フォント定義（フリー項目５～８）
const FREE_LARGE as integer = 8
const FREE_MID as integer = 5
const FREE_SMALL as integer = 4

''2013.09.03 K.Takasaki@fuso 課題No199 フォント統一制御,レイアウトカスタマイズ対応,郵便局留め対応 ↓↓
'郵便局名称フォント定義
const SHOP_LARGE as integer = 8
'const SHOP_LARGE as integer = 8.25
const SHOP_MID as integer = 7
const SHOP_SMALL as integer = 6
'const SHOP_SMALL as integer = 6.5
''2013.09.03 K.Takasaki@fuso 課題No199 フォント統一制御,レイアウトカスタマイズ対応,郵便局留め対応 ↑↑

'文字列カウント用変数
dim len as integer

''2013.09.05 K.Takasaki@fuso 課題No199 フォント統一制御,レイアウトカスタマイズ対応,郵便局留め対応 ↓↓
''デフォルトのフォントサイズ
'お届先住所のデフォルトサイズ定義
const TODOKEADR_CHOFU_DEF as double = 7.012
const TODOKEADR_HAITATUSHO_DEF as double = 6.012

'お届先名称デフォルトサイズ定義
const TODOKENM_CHOFU_DEF as double = 7.012
const TODOKENM_HAITATUSHO_DEF as double = 6.012

'ご依頼主住所デフォルトサイズ定義
const NIOKURIADR_CHOFU_DEF as double = 7.012
const NIOKURIADR_HAITATUSHO_DEF as double = 6.012

'ご依頼主名称デフォルトサイズ定義
const NIOKURINM_CHOFU_DEF as double = 7.012
const NIOKURINM_HAITATUSHO_DEF as double = 6.012

'商品名デフォルトサイズ定義
const SHOHIN_DEF as double = 7.012

'記事デフォルトサイズ定義
const KIJI_DEF as double = 7.012

'フリー項目デフォルトサイズ定義（フリー項目１～８）
const FREE_CHOFU_DEF as double = 7.012
const FREE_HAITATUSHO_DEF as double = 6.012

'郵便局名称デフォルトサイズ定義
const SHOP_DEF as double = 7.012

''2013.10.31 K.Takasaki@fuso 課題No473 サーマル共用ﾕ00572を使った代引の受領証部分の不具合対応 ↓↓
'名称のデフォルトサイズ定義（引換金受領証）
Const JYURYOSHO_TODOKENM_DEF As Double = 5.012
Const JYURYOSHO_NIOKURINM_DEF As Double = 5.012
''2013.10.31 K.Takasaki@fuso 課題No473 サーマル共用ﾕ00572を使った代引の受領証部分の不具合対応 ↑↑

''現在のRPXの設定サイズを格納する変数
'お届先住所フォント定義
dim receiver_adr_1_1_Size as double
dim receiver_adr_2_1_Size as double
dim receiver_adr_3_1_Size as double
dim receiver_adr_1_2_Size as double
dim receiver_adr_2_2_Size as double
dim receiver_adr_3_2_Size as double
	
'お届先名称フォント定義
dim receiver_nm_1_1_Size as double
dim receiver_nm_2_1_Size as double
dim receiver_nm_1_2_Size as double
dim receiver_nm_2_2_Size as double

'ご依頼主住所フォント定義
dim kokyaku_adr_1_1_Size as double
dim kokyaku_adr_2_1_Size as double
dim kokyaku_adr_3_1_Size as double
dim kokyaku_adr_1_2_Size as double
dim kokyaku_adr_2_2_Size as double
dim kokyaku_adr_3_2_Size as double

'ご依頼主名称フォント定義
dim kokyaku_nm_1_1_Size as double
dim kokyaku_nm_2_1_Size as double
dim kokyaku_nm_1_2_Size as double
dim kokyaku_nm_2_2_Size as double

'商品名フォント定義
dim shohin_nm001_1_Size as double
dim shohin_nm002_1_Size as double
dim shohin_nm001_2_Size as double
dim shohin_nm002_2_Size as double

'記事フォント定義
dim kiji_nm_1_1_Size as double
dim kiji_nm_2_1_Size as double
dim kiji_nm_1_2_Size as double
dim kiji_nm_2_2_Size as double

'フリー項目フォント定義（フリー項目１～８）
dim free01_Size as double
dim free02_Size as double
dim free03_Size as double
dim free04_Size as double
dim free05_Size as double
dim free06_Size as double
dim free07_Size as double
dim free08_Size as double

''2013.10.31 K.Takasaki@fuso 課題No473 サーマル共用ﾕ00572を使った代引の受領証部分の不具合対応 ↓↓
'名称のデフォルトサイズ定義（引換金受領証）
dim jyuryosho_receiver_nm_Size as double
dim jyuryosho_kokyaku_nm_Size as double
''2013.10.31 K.Takasaki@fuso 課題No473 サーマル共用ﾕ00572を使った代引の受領証部分の不具合対応 ↑↑

'郵便局名称フォント定義
dim uketsuke_store_nm_Size as double

'フォントサイズ
dim Font_Size as double

Sub ActiveReport_ReportStart
	
	'スタート時に現在のRPXの設定サイズを取得する
	'お届先住所フォント定義
	try
		receiver_adr_1_1_Size = ctype(me.Detail1.Controls("receiver_adr_1_1"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		receiver_adr_2_1_Size = ctype(me.Detail1.Controls("receiver_adr_2_1"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		receiver_adr_3_1_Size = ctype(me.Detail1.Controls("receiver_adr_3_1"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End	Try
	Try
		receiver_adr_1_2_Size = ctype(me.Detail1.Controls("receiver_adr_1_2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		receiver_adr_2_2_Size = ctype(me.Detail1.Controls("receiver_adr_2_2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		receiver_adr_3_2_Size = ctype(me.Detail1.Controls("receiver_adr_3_2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	
	'お届先名称フォント定義
	try
		receiver_nm_1_1_Size = ctype(me.Detail1.Controls("receiver_nm_1_1"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		receiver_nm_2_1_Size = ctype(me.Detail1.Controls("receiver_nm_2_1"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		receiver_nm_1_2_Size = ctype(me.Detail1.Controls("receiver_nm_1_2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		receiver_nm_2_2_Size = ctype(me.Detail1.Controls("receiver_nm_2_2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try

	'ご依頼主住所フォント定義
	try
		kokyaku_adr_1_1_Size = ctype(me.Detail1.Controls("kokyaku_adr_1_1"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		kokyaku_adr_2_1_Size = ctype(me.Detail1.Controls("kokyaku_adr_2_1"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		kokyaku_adr_3_1_Size = ctype(me.Detail1.Controls("kokyaku_adr_3_1"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		kokyaku_adr_1_2_Size = ctype(me.Detail1.Controls("kokyaku_adr_1_2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		kokyaku_adr_2_2_Size = ctype(me.Detail1.Controls("kokyaku_adr_2_2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		kokyaku_adr_3_2_Size = ctype(me.Detail1.Controls("kokyaku_adr_3_2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try

	'ご依頼主名称フォント定義
	try
		kokyaku_nm_1_1_Size = ctype(me.Detail1.Controls("kokyaku_nm_1_1"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		kokyaku_nm_2_1_Size = ctype(me.Detail1.Controls("kokyaku_nm_2_1"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		kokyaku_nm_1_2_Size = ctype(me.Detail1.Controls("kokyaku_nm_1_2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		kokyaku_nm_2_2_Size = ctype(me.Detail1.Controls("kokyaku_nm_2_2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try

	'商品名フォント定義
	try
		shohin_nm001_1_Size = ctype(me.Detail1.Controls("shohin_nm001_1"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		shohin_nm002_1_Size = ctype(me.Detail1.Controls("shohin_nm002_1"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		shohin_nm001_2_Size = ctype(me.Detail1.Controls("shohin_nm001_2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		shohin_nm002_2_Size = ctype(me.Detail1.Controls("shohin_nm002_2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try

	'記事フォント定義
	try
		kiji_nm_1_1_Size = ctype(me.Detail1.Controls("kiji_nm_1_1"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		kiji_nm_2_1_Size = ctype(me.Detail1.Controls("kiji_nm_2_1"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		kiji_nm_1_2_Size = ctype(me.Detail1.Controls("kiji_nm_1_2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		kiji_nm_2_2_Size = ctype(me.Detail1.Controls("kiji_nm_2_2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try

	'フリー項目フォント定義（フリー項目１～８）
	try
		free01_Size = ctype(me.Detail1.Controls("free01"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		free02_Size = ctype(me.Detail1.Controls("free02"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		free03_Size = ctype(me.Detail1.Controls("free03"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		free04_Size = ctype(me.Detail1.Controls("free04"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		free05_Size = ctype(me.Detail1.Controls("free05"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		free06_Size = ctype(me.Detail1.Controls("free06"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		free07_Size = ctype(me.Detail1.Controls("free07"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	try
		free08_Size = ctype(me.Detail1.Controls("free08"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	''2015/12/25 T.Ogawa@Fuso 課題№960 引換金受領証廃止対応 ↓
	''不要になったため、コメントアウト。
	''''2013.10.31 K.Takasaki@fuso 課題No473 サーマル共用ﾕ00572を使った代引の受領証部分の不具合対応 ↓↓
	'''お届け先名称のデフォルトサイズ定義（引換金受領証）
	'''try
	''jyuryosho_receiver_nm_Size = ctype(me.Detail1.Controls("receiver_nm"), DataDynamics.ActiveReports.TextBox).Font.Size
	'''Catch ex as exception
	'''End Try
	'''ご依頼主名称のデフォルトサイズ定義（引換金受領証）
	'''try
	''jyuryosho_kokyaku_nm_Size = ctype(me.Detail1.Controls("kokyaku_nm1"), DataDynamics.ActiveReports.TextBox).Font.Size
	'''Catch ex as exception
	'''End Try
	''''2013.10.31 K.Takasaki@fuso 課題No473 サーマル共用ﾕ00572を使った代引の受領証部分の不具合対応 ↑↑
	''2015/12/25 T.Ogawa@Fuso 課題№960 引換金受領証廃止対応 ↑
	
End Sub

Sub Detail1_Format
	
	'初期化	
	try
		ctype(me.Detail1.Controls("item_cnt_bunshi_1"), DataDynamics.ActiveReports.TextBox).Visible = False			'複数個口数（分子）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label20"), DataDynamics.ActiveReports.Label).Visible = False						'スラッシュ（/）　複数個口数で使用
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("item_cnt_bunbo_1"), DataDynamics.ActiveReports.TextBox).Visible = False			'複数個口数（分母）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label19"), DataDynamics.ActiveReports.Label).Visible = False						'「個口」文言　複数個口数で使用
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Shape3"), DataDynamics.ActiveReports.Shape).Visible = False						'枠線　複数個口数で使用
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("item_cnt_bunshi_2"), DataDynamics.ActiveReports.TextBox).Visible = False			'複数個口数（分子）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label2"), DataDynamics.ActiveReports.Label).Visible = False						'スラッシュ（/）　複数個口数で使用
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("item_cnt_bunbo_2"), DataDynamics.ActiveReports.TextBox).Visible = False			'複数個口数（分母）	
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label21"), DataDynamics.ActiveReports.Label).Visible = False						'「個口」文言　複数個口数で使用
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Shape5"), DataDynamics.ActiveReports.Shape).Visible = False						'枠線　複数個口数で使用
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Shape1"), DataDynamics.ActiveReports.Shape).Visible = False						'「Y」の枠線
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("kakitome_security_sbt_nm"), DataDynamics.ActiveReports.TextBox).Visible = False	'「セキュリティ」文言
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("horei_sbt_nm_1"), DataDynamics.ActiveReports.TextBox).Visible = False			'保冷種別の文言
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("horei_sbt_nm_2"), DataDynamics.ActiveReports.TextBox).Visible = False			'保冷種別の文言
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("KokyakuQRCode"), DataDynamics.ActiveReports.Barcode).Visible = False				'顧客QRコード
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("KokyakuQRCodeLabel"), DataDynamics.ActiveReports.TextBox).Visible = False		'「顧客コード」文言　顧客QRコード用
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("yupakku_Label"), DataDynamics.ActiveReports.TextBox).Visible = False				'「ゆうパック」文言
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("daibiki_Label"), DataDynamics.ActiveReports.TextBox).Visible = False				'「代金引換まとめ送金」文言
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label_keep_mongon_motobarai"), DataDynamics.ActiveReports.TextBox).Visible = False '保存年数（元払い用）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label_keep_mongon_daibiki"), DataDynamics.ActiveReports.TextBox).Visible = False	'保存年数（代引きまとめ用）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Shape4"), DataDynamics.ActiveReports.Shape).Visible = False						'代金引換金額の項目（ちょう付）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label35"), DataDynamics.ActiveReports.Label).Visible = False						'代金引換金額の項目（ちょう付）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("payment_amt_1"), DataDynamics.ActiveReports.TextBox).Visible = False				'代金引換金額の項目（ちょう付）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label62"), DataDynamics.ActiveReports.Label).Visible = False						'代金引換金額の項目（ちょう付）
	Catch ex as exception
	End Try
	''2014.6.5 T.Tsunoda@fuso 代金引換金額の消費税の桁区切りがないの不具合対応 ↓↓
	'try
	'	ctype(me.Detail1.Controls("payment_tax_1"), DataDynamics.ActiveReports.Label).Visible = False				'代金引換金額の項目（ちょう付）
	'Catch ex as exception
	'End Try
	Try
		ctype(me.Detail1.Controls("payment_tax_1"), DataDynamics.ActiveReports.TextBox).Visible = False				'代金引換金額の項目（ちょう付）
	Catch ex as exception
	End Try
	''2014.6.5 T.Tsunoda@fuso 課題R053 代金引換金額の消費税の桁区切りがないの不具合対応 ↑↑
	try
		ctype(me.Detail1.Controls("Label60"), DataDynamics.ActiveReports.TextBox).Visible = False					'代金引換金額の項目（ちょう付）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label61"), DataDynamics.ActiveReports.Label).Visible = False						'代金引換金額の項目（ちょう付）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Shape9"), DataDynamics.ActiveReports.Shape).Visible = False						'代金引換金額の項目（ちょう付）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Line18"), DataDynamics.ActiveReports.Line).Visible = False						'代金引換金額の項目（ちょう付）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Shape11"), DataDynamics.ActiveReports.Shape).Visible = False						'代金引換金額の項目（ちょう付）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label39"), DataDynamics.ActiveReports.Label).Visible = False						'代金引換金額の項目（配達証）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("payment_amt_2"), DataDynamics.ActiveReports.TextBox).Visible = False				'代金引換金額の項目（配達証）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label63"), DataDynamics.ActiveReports.Label).Visible = False						'代金引換金額の項目（配達証）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label64"), DataDynamics.ActiveReports.TextBox).Visible = False					'代金引換金額の項目（配達証）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("payment_tax_2"), DataDynamics.ActiveReports.TextBox).Visible = False				'代金引換金額の項目（配達証）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label65"), DataDynamics.ActiveReports.TextBox).Visible = False					'代金引換金額の項目（配達証）
	Catch ex as exception
	End Try
	try																																	
		ctype(me.Detail1.Controls("Line17"), DataDynamics.ActiveReports.Line).Visible = False						'代金引換金額の項目（配達証）
	Catch ex as exception
	End Try
	try																																		
		ctype(me.Detail1.Controls("Shape12"), DataDynamics.ActiveReports.Shape).Visible = False						'代金引換金額の項目（配達証）
	Catch ex as exception
	End Try
	''2015/12/25 T.Ogawa@Fuso 課題№960 引換金受領証廃止対応 ↓
	''受領証廃止にともない、項目削除
	''try																																		
	''	ctype(me.Detail1.Controls("noDaibikiMessage"), DataDynamics.ActiveReports.TextBox).Visible = False			'代金引換金額の項目（受領書）
	''Catch ex as exception
	''End Try
	''2015/12/25 T.Ogawa@Fuso 課題№960 引換金受領証廃止対応 ↑
	try
		ctype(me.Detail1.Controls("tracking_no_fmt_3"), DataDynamics.ActiveReports.TextBox).Visible = False		'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try																																	
		ctype(me.Detail1.Controls("receiver_nm"), DataDynamics.ActiveReports.TextBox).Visible = False				'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("kokyaku_nm1"), DataDynamics.ActiveReports.TextBox).Visible = False				'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("todoke_keisho_kbn_nm_3"), DataDynamics.ActiveReports.TextBox).Visible = False	'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("goirai_keisho_kbn_nm_3"), DataDynamics.ActiveReports.TextBox).Visible = False	'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("payment_amt_3"), DataDynamics.ActiveReports.TextBox).Visible = False				'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label66"), DataDynamics.ActiveReports.Label).Visible = False						'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("payment_tax_4"), DataDynamics.ActiveReports.TextBox).Visible = False				'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label68"), DataDynamics.ActiveReports.TextBox).Visible = False					'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label7"), DataDynamics.ActiveReports.TextBox).Visible = False					'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("kokyaku_nm2"), DataDynamics.ActiveReports.TextBox).Visible = False				'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("Label55"), DataDynamics.ActiveReports.Label).Visible = False						'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("kokyaku_zip_1_3"), DataDynamics.ActiveReports.TextBox).Visible = False			'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("kokyaku_zip_2_3"), DataDynamics.ActiveReports.TextBox).Visible = False			'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("kokyaku_zip_3_3"), DataDynamics.ActiveReports.TextBox).Visible = False			'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("kokyaku_zip_4_3"), DataDynamics.ActiveReports.TextBox).Visible = False			'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("kokyaku_zip_5_3"), DataDynamics.ActiveReports.TextBox).Visible = False			'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("kokyaku_zip_6_3"), DataDynamics.ActiveReports.TextBox).Visible = False			'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("kokyaku_zip_7_3"), DataDynamics.ActiveReports.TextBox).Visible = False			'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("receiver_zipLabel_2_5"), DataDynamics.ActiveReports.TextBox).Visible = False		'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("kokyaku_adr"), DataDynamics.ActiveReports.TextBox).Visible = False				'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("goirai_keisho_kbn_nm_4"), DataDynamics.ActiveReports.TextBox).Visible = False	'代金引換金額の項目（受領書）
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("kyokudome_Label_1"), DataDynamics.ActiveReports.TextBox).Visible = False	'郵便局留
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("kyokudome_Label_2"), DataDynamics.ActiveReports.TextBox).Visible = False	'郵便局留
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("kyokudome_Label_3"), DataDynamics.ActiveReports.TextBox).Visible = False	'郵便局留
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("kyokudome_Label_4"), DataDynamics.ActiveReports.TextBox).Visible = False	'郵便局留
	Catch ex as exception
	End Try

	''2014.03.19 T.Tsunoda@fuso 課題No.551 「元払い」で利用する場合は下欄の社名は印字させないようにする。 ↓↓
	try
		ctype(me.Detail1.Controls("TextBox136"), DataDynamics.ActiveReports.TextBox).Visible = False
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("leteral7_2"), DataDynamics.ActiveReports.TextBox).Visible = False
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("leteral6_3"), DataDynamics.ActiveReports.TextBox).Visible = False
	Catch ex as exception
	End Try
	try
		ctype(me.Detail1.Controls("leteral8_2"), DataDynamics.ActiveReports.TextBox).Visible = False
	Catch ex as exception
	End Try

	''2014.03.19 T.Tsunoda@fuso 課題No.551 「元払い」で利用する場合は下欄の社名は印字させないようにする。 ↑↑

	''2021/11/05 T.Ogawa@Fuso 課題№1225　2022年各種印字システム改修（YPR-2021-03）　要件ID：YPR-2021-03-35、YPR-2021-03-36　↓
	'配達希望時間帯、アスタリスクラベル（＊）の初期化
	try
		ctype(me.Detail1.Controls("delivery_appoint_time_nm_1"), DataDynamics.ActiveReports.TextBox).Visible = True
		ctype(me.Detail1.Controls("delivery_appoint_time_nm_2"), DataDynamics.ActiveReports.TextBox).Visible = True
		ctype(me.Detail1.Controls("Label4"), DataDynamics.ActiveReports.Label).Visible = True
	Catch ex as exception
	End Try
	'指定場所ダイレクト項目の初期化
	try
		ctype(me.Detail1.Controls("shiteibasyo_nm1"), DataDynamics.ActiveReports.TextBox).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_kibou1_nm1"), DataDynamics.ActiveReports.TextBox).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_kibou2_nm1"), DataDynamics.ActiveReports.TextBox).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_chime_nm1"), DataDynamics.ActiveReports.TextBox).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_shape1"), DataDynamics.ActiveReports.Shape).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_shape2"), DataDynamics.ActiveReports.Shape).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_shape3"), DataDynamics.ActiveReports.Shape).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_nm2"), DataDynamics.ActiveReports.TextBox).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_kibou1_nm2"), DataDynamics.ActiveReports.TextBox).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_kibou2_nm2"), DataDynamics.ActiveReports.TextBox).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_chime_nm2"), DataDynamics.ActiveReports.TextBox).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_shape4"), DataDynamics.ActiveReports.Shape).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_shape5"), DataDynamics.ActiveReports.Shape).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_shape6"), DataDynamics.ActiveReports.Shape).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_nm3"), DataDynamics.ActiveReports.TextBox).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_kibou1_nm3"), DataDynamics.ActiveReports.TextBox).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_kibou2_nm3"), DataDynamics.ActiveReports.TextBox).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_chime_nm3"), DataDynamics.ActiveReports.TextBox).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_shape7"), DataDynamics.ActiveReports.Shape).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_shape8"), DataDynamics.ActiveReports.Shape).Visible = False
		ctype(me.Detail1.Controls("shiteibasyo_shape9"), DataDynamics.ActiveReports.Shape).Visible = False
	Catch ex as exception
	End Try

	'コンビニ判別コード＝６（指定場所ダイレクト）の場合、指定場所ダイレクト欄を印字する。
	If rpt.Fields("cvs_hanbetsu_cd").Value.tostring = "6" Then
		try
			ctype(me.Detail1.Controls("shiteibasyo_nm1"), DataDynamics.ActiveReports.TextBox).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_kibou1_nm1"), DataDynamics.ActiveReports.TextBox).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_kibou2_nm1"), DataDynamics.ActiveReports.TextBox).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_chime_nm1"), DataDynamics.ActiveReports.TextBox).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_shape1"), DataDynamics.ActiveReports.Shape).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_shape2"), DataDynamics.ActiveReports.Shape).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_shape3"), DataDynamics.ActiveReports.Shape).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_nm2"), DataDynamics.ActiveReports.TextBox).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_kibou1_nm2"), DataDynamics.ActiveReports.TextBox).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_kibou2_nm2"), DataDynamics.ActiveReports.TextBox).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_chime_nm2"), DataDynamics.ActiveReports.TextBox).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_shape4"), DataDynamics.ActiveReports.Shape).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_shape5"), DataDynamics.ActiveReports.Shape).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_shape6"), DataDynamics.ActiveReports.Shape).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_nm3"), DataDynamics.ActiveReports.TextBox).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_kibou1_nm3"), DataDynamics.ActiveReports.TextBox).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_kibou2_nm3"), DataDynamics.ActiveReports.TextBox).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_chime_nm3"), DataDynamics.ActiveReports.TextBox).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_shape7"), DataDynamics.ActiveReports.Shape).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_shape8"), DataDynamics.ActiveReports.Shape).Visible = True
			ctype(me.Detail1.Controls("shiteibasyo_shape9"), DataDynamics.ActiveReports.Shape).Visible = True

			''指定場所ダイレクトの文字列をセット。
			ctype(me.Detail1.Controls("shiteibasyo_kibou1_nm1"), DataDynamics.ActiveReports.TextBox).Text = "①:" & rpt.Fields("shiteibasyo_kibou1_nm").Value.tostring
			ctype(me.Detail1.Controls("shiteibasyo_kibou2_nm1"), DataDynamics.ActiveReports.TextBox).Text = "②:" & rpt.Fields("shiteibasyo_kibou2_nm").Value.tostring
			ctype(me.Detail1.Controls("shiteibasyo_chime_nm1"), DataDynamics.ActiveReports.TextBox).Text =  "チャイム:" & rpt.Fields("shiteibasyo_chime_nm").Value.tostring			

			ctype(me.Detail1.Controls("shiteibasyo_kibou1_nm2"), DataDynamics.ActiveReports.TextBox).Text = "①:" & rpt.Fields("shiteibasyo_kibou1_nm").Value.tostring
			ctype(me.Detail1.Controls("shiteibasyo_kibou2_nm2"), DataDynamics.ActiveReports.TextBox).Text = "②:" & rpt.Fields("shiteibasyo_kibou2_nm").Value.tostring
			ctype(me.Detail1.Controls("shiteibasyo_chime_nm2"), DataDynamics.ActiveReports.TextBox).Text = "チャイム:" & rpt.Fields("shiteibasyo_chime_nm").Value.tostring			

			ctype(me.Detail1.Controls("shiteibasyo_kibou1_nm3"), DataDynamics.ActiveReports.TextBox).Text = "①:" & rpt.Fields("shiteibasyo_kibou1_nm").Value.tostring
			ctype(me.Detail1.Controls("shiteibasyo_kibou2_nm3"), DataDynamics.ActiveReports.TextBox).Text = "②:" & rpt.Fields("shiteibasyo_kibou2_nm").Value.tostring
			ctype(me.Detail1.Controls("shiteibasyo_chime_nm3"), DataDynamics.ActiveReports.TextBox).Text = "チャイム:" & rpt.Fields("shiteibasyo_chime_nm").Value.tostring			

		Catch ex as exception
		End Try		
		'配達希望時間帯、アスタリスク（＊）ラベルは印字しない。
		try
			ctype(me.Detail1.Controls("delivery_appoint_time_nm_1"), DataDynamics.ActiveReports.TextBox).Visible = False
			ctype(me.Detail1.Controls("delivery_appoint_time_nm_2"), DataDynamics.ActiveReports.TextBox).Visible = False
			ctype(me.Detail1.Controls("Label4"), DataDynamics.ActiveReports.Label).Visible = False
		Catch ex as exception
		End Try
	End If
	''2021/11/05 T.Ogawa@Fuso 課題№1225　2022年各種印字システム改修（YPR-2021-03）　要件ID：YPR-2021-03-35、YPR-2021-03-36　↑
	
	'郵便局留制御
	if rpt.Fields("todoke_kyokudome_kbn").Value.tostring() = "1" then
		try
			ctype(me.Detail1.Controls("kyokudome_Label_1"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kyokudome_Label_2"), DataDynamics.ActiveReports.TextBox).Visible = True	
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kyokudome_Label_3"), DataDynamics.ActiveReports.TextBox).Visible = True	
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kyokudome_Label_4"), DataDynamics.ActiveReports.TextBox).Visible = True	
		Catch ex as exception
		End Try
	else
		try
			ctype(me.Detail1.Controls("kyokudome_Label_1"), DataDynamics.ActiveReports.TextBox).Visible = False	
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kyokudome_Label_2"), DataDynamics.ActiveReports.TextBox).Visible = False	
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kyokudome_Label_3"), DataDynamics.ActiveReports.TextBox).Visible = False	
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kyokudome_Label_4"), DataDynamics.ActiveReports.TextBox).Visible = False	
		Catch ex as exception
		End Try
	End If	
	
	'セキュリティ種別
	''2013/10/30 T.Ogawa@Fuso 課題№473　サーマル共用代引の印字調整 ↓
	If rpt.Fields("kakitome_security_sbt").Value.tostring() = "2" Then
		'セキュリティの場合、「セキュリティ」文言を表示
		try
			ctype(me.Detail1.Controls("kakitome_security_sbt_nm"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		Try
			CType(Me.Detail1.Controls("TextBox165"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex As exception
		End Try
		Try
			CType(Me.Detail1.Controls("TextBox32"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex As exception
		End Try
		Try
			CType(Me.Detail1.Controls("TextBox33"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex As exception
		End Try
		Try
			CType(Me.Detail1.Controls("TextBox4"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex As exception
		End Try
		Try
			CType(Me.Detail1.Controls("TextBox5"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex As exception
		End Try
		Try
			CType(Me.Detail1.Controls("TextBox6"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex As exception
		End Try
	else
		try
			ctype(me.Detail1.Controls("kakitome_security_sbt_nm"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		Try
			CType(Me.Detail1.Controls("TextBox165"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex As exception
		End Try
		Try
			CType(Me.Detail1.Controls("TextBox32"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex As exception
		End Try
		Try
			CType(Me.Detail1.Controls("TextBox33"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex As exception
		End Try
		Try
			CType(Me.Detail1.Controls("TextBox4"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex As exception
		End Try
		Try
			CType(Me.Detail1.Controls("TextBox5"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex As exception
		End Try
		Try
			CType(Me.Detail1.Controls("TextBox6"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex As exception
		End Try
	End If
	''	if rpt.Fields("kakitome_security_sbt").Value.tostring() = "2" then
	''		'セキュリティの場合、「セキュリティ」文言を表示
	''		try
	''			ctype(me.Detail1.Controls("kakitome_security_sbt_nm"), DataDynamics.ActiveReports.TextBox).Visible = True
	''		Catch ex as exception
	''		End Try
	''	else
	''		try
	''			ctype(me.Detail1.Controls("kakitome_security_sbt_nm"), DataDynamics.ActiveReports.TextBox).Visible = False
	''		Catch ex as exception
	''		End Try
	''	End If
	''2013/10/30 T.Ogawa@Fuso 課題№473　サーマル共用代引の印字調整 ↑

	'保冷種別印字制御
	if rpt.Fields("horei_sbt").Value.tostring() = "0" then
		'保冷なしの場合、保冷種別を非表示
		try
			ctype(me.Detail1.Controls("horei_sbt_nm_1"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("horei_sbt_nm_2"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
	else
		'保冷ありの場合、保冷種別を表示
		try
			ctype(me.Detail1.Controls("horei_sbt_nm_1"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("horei_sbt_nm_2"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
	End If
	
	'複数個口数の制御
	'2013/11/27　課題No524：複数個口対応　Takasaki　↓↓
	if rpt.Fields("item_cnt_bunbo").Value >= 2 Then
	'if rpt.Fields("item_cnt_bunbo").Value.ToString() >= "2" Then
	'2013/11/27　課題No524：複数個口対応　Takasaki　↑↑
		'複数個口数の場合、複数個口数の項目を表示
		try
			ctype(me.Detail1.Controls("item_cnt_bunshi_1"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label20"), DataDynamics.ActiveReports.Label).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("item_cnt_bunbo_1"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label19"), DataDynamics.ActiveReports.Label).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Shape3"), DataDynamics.ActiveReports.Shape).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("item_cnt_bunshi_2"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label2"), DataDynamics.ActiveReports.Label).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("item_cnt_bunbo_2"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label21"), DataDynamics.ActiveReports.Label).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Shape5"), DataDynamics.ActiveReports.Shape).Visible = True
		Catch ex as exception
		End Try																	
	else
		try
			ctype(me.Detail1.Controls("item_cnt_bunshi_1"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label20"), DataDynamics.ActiveReports.Label).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("item_cnt_bunbo_1"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label19"), DataDynamics.ActiveReports.Label).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Shape3"), DataDynamics.ActiveReports.Shape).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("item_cnt_bunshi_2"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label2"), DataDynamics.ActiveReports.Label).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("item_cnt_bunbo_2"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label21"), DataDynamics.ActiveReports.Label).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Shape5"), DataDynamics.ActiveReports.Shape).Visible = False
		Catch ex as exception
		End Try
	End If
		
	'「Ｙ」枠線制御
	if rpt.Fields("is_yoyaku_trans").Value.ToString() = "True" Then
		'予約送信の場合「Y」の枠線を表示する
		try
			ctype(me.Detail1.Controls("Shape1"), DataDynamics.ActiveReports.Shape).Visible = True
		Catch ex as exception
		End Try
	else
		try
			ctype(me.Detail1.Controls("Shape1"), DataDynamics.ActiveReports.Shape).Visible = False
		Catch ex as exception
		End Try
	End If
	
	'顧客QRコードの制御
	if rpt.Fields("shiharai_houhou_kbn").Value.tostring() = "2" then
		'後納の場合、顧客QRコードを印字
		try
			ctype(me.Detail1.Controls("KokyakuQRCode"), DataDynamics.ActiveReports.Barcode).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("KokyakuQRCodeLabel"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
	else
		'別納の場合、顧客QRコードを印字しない
		try																																	
			ctype(me.Detail1.Controls("KokyakuQRCode"), DataDynamics.ActiveReports.Barcode).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("KokyakuQRCodeLabel"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
	End If

	if rpt.Fields("daibiki_sbt").Value.tostring() = "1" then
		'代引まとめの場合
		
		'ヘッダー文言の制御
		try
			ctype(me.Detail1.Controls("yupakku_Label"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("daibiki_Label"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		
		'送り状保存年数の制御
		try
			ctype(me.Detail1.Controls("Label_keep_mongon_motobarai"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label_keep_mongon_daibiki"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		'代金引換金額の項目（ちょう付）↓　↓
		try
			ctype(me.Detail1.Controls("Shape4"), DataDynamics.ActiveReports.Shape).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label35"), DataDynamics.ActiveReports.Label).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("payment_amt_1"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label62"), DataDynamics.ActiveReports.Label).Visible = True
		Catch ex as exception
		End Try
		''2014.6.5 T.Tsunoda@fuso 課題R053 代金引換金額の消費税の桁区切りがないの不具合対応 ↓↓
		Try
			ctype(me.Detail1.Controls("payment_tax_1"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		'try
		'	ctype(me.Detail1.Controls("payment_tax_1"), DataDynamics.ActiveReports.Label).Visible = True
		'Catch ex as exception
		'End Try
		''2014.6.5 T.Tsunoda@fuso 課題R053 代金引換金額の消費税の桁区切りがないの不具合対応 ↑↑
		try
			ctype(me.Detail1.Controls("Label60"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label61"), DataDynamics.ActiveReports.Label).Visible = True
		Catch ex As exception
		End Try
		try
			ctype(me.Detail1.Controls("Shape9"), DataDynamics.ActiveReports.Shape).Visible = True
		Catch ex as exception
		End Try
		''2014.6.5 T.Tsunoda@fuso 課題R053 代金引換金額の消費税の桁区切りがないの不具合対応 ↓↓
		try
			ctype(me.Detail1.Controls("Line18"), DataDynamics.ActiveReports.Line).Visible = True
		Catch ex as exception
		End Try
'		try
'			ctype(me.Detail1.Controls("Line18"), DataDynamics.ActiveReports.Line).Visible = False
'		Catch ex as exception
'		End Try
		''2014.6.5 T.Tsunoda@fuso 課題R053 代金引換金額の消費税の桁区切りがないの不具合対応 ↑↑

		'代金引換金額の項目（配達証）↓　↓
		try
			ctype(me.Detail1.Controls("Shape11"), DataDynamics.ActiveReports.Shape).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label39"), DataDynamics.ActiveReports.Label).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("payment_amt_2"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label63"), DataDynamics.ActiveReports.Label).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label64"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("payment_tax_2"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label65"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Shape12"), DataDynamics.ActiveReports.Shape).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Line17"), DataDynamics.ActiveReports.Line).Visible = False
		Catch ex as exception
		End Try
		''2015/12/25 T.Ogawa@Fuso 課題№960 引換金受領証廃止対応 ↓
		'代金引換金額の項目（受領書）↓　↓	
		''try
		''	ctype(me.Detail1.Controls("noDaibikiMessage"), DataDynamics.ActiveReports.TextBox).Visible = False
		''Catch ex as exception
		''End Try
		''2015/12/25 T.Ogawa@Fuso 課題№960 引換金受領証廃止対応 ↑
		try
			ctype(me.Detail1.Controls("tracking_no_fmt_3"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("receiver_nm"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_nm1"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("todoke_keisho_kbn_nm_3"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("goirai_keisho_kbn_nm_3"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("payment_amt_3"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label66"), DataDynamics.ActiveReports.Label).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label67"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("payment_tax_4"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label68"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label7"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_nm2"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label55"), DataDynamics.ActiveReports.Label).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_zip_1_3"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_zip_2_3"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_zip_3_3"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_zip_4_3"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_zip_5_3"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_zip_6_3"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_zip_7_3"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("receiver_zipLabel_2_5"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_adr"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("goirai_keisho_kbn_nm_4"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		
		''2014.03.19 T.Tsunoda@fuso 課題No.551 「元払い」で利用する場合は下欄の社名は印字させないようにする。 ↓↓
		try
			ctype(me.Detail1.Controls("TextBox136"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("leteral7_2"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("leteral6_3"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("leteral8_2"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		''2014.03.19 T.Tsunoda@fuso 課題No.551 「元払い」で利用する場合は下欄の社名は印字させないようにする。 ↑↑

	else
		'元払いの場合
		
		'ヘッダー文言の制御
		try
			ctype(me.Detail1.Controls("yupakku_Label"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("daibiki_Label"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
			
		'送り状保存年数の制御
		try
			ctype(me.Detail1.Controls("Label_keep_mongon_motobarai"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label_keep_mongon_daibiki"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		'代金引換金額の項目（ちょう付）↓　↓
		try
			ctype(me.Detail1.Controls("Shape4"), DataDynamics.ActiveReports.Shape).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label35"), DataDynamics.ActiveReports.Label).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("payment_amt_1"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label62"), DataDynamics.ActiveReports.Label).Visible = False
		Catch ex as exception
		End Try
		''2014.6.5 T.Tsunoda@fuso 課題R053 代金引換金額の消費税の桁区切りがないの不具合対応 ↓↓
		try
			ctype(me.Detail1.Controls("payment_tax_1"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		'try
		'	ctype(me.Detail1.Controls("payment_tax_1"), DataDynamics.ActiveReports.Label).Visible = False
		'Catch ex as exception
		'End Try
		''2014.6.5 T.Tsunoda@fuso 課題R053 代金引換金額の消費税の桁区切りがないの不具合対応 ↑↑
		try
			ctype(me.Detail1.Controls("Label60"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label61"), DataDynamics.ActiveReports.Label).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Shape9"), DataDynamics.ActiveReports.Shape).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Line18"), DataDynamics.ActiveReports.Line).Visible = True
		Catch ex as exception
		End Try
		'代金引換金額の項目（配達証）↓　↓
		try
			ctype(me.Detail1.Controls("Shape11"), DataDynamics.ActiveReports.Shape).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label39"), DataDynamics.ActiveReports.Label).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("payment_amt_2"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label63"), DataDynamics.ActiveReports.Label).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label64"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("payment_tax_2"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label65"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Shape12"), DataDynamics.ActiveReports.Shape).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Line17"), DataDynamics.ActiveReports.Line).Visible = True
		Catch ex as exception
		End Try
		'代金引換金額の項目（受領書）↓　↓	
		''2015/12/25 T.Ogawa@Fuso 課題№960 引換金受領証廃止対応 ↓
		''try
		''	ctype(me.Detail1.Controls("noDaibikiMessage"), DataDynamics.ActiveReports.TextBox).Visible = True
		''Catch ex as exception
		''End Try
		''2015/12/25 T.Ogawa@Fuso 課題№960 引換金受領証廃止対応 ↑
		try
			ctype(me.Detail1.Controls("tracking_no_fmt_3"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("receiver_nm"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_nm1"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("todoke_keisho_kbn_nm_3"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("goirai_keisho_kbn_nm_3"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("payment_amt_3"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label66"), DataDynamics.ActiveReports.Label).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label67"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("payment_tax_4"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label68"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label7"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_nm2"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("Label55"), DataDynamics.ActiveReports.Label).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_zip_1_3"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_zip_2_3"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_zip_3_3"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_zip_4_3"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_zip_5_3"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_zip_6_3"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_zip_7_3"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("receiver_zipLabel_2_5"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("kokyaku_adr"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("goirai_keisho_kbn_nm_4"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		
		''2014.03.19 T.Tsunoda@fuso 課題No.551 「元払い」で利用する場合は下欄の社名は印字させないようにする。 ↓↓
		try
			ctype(me.Detail1.Controls("TextBox136"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("leteral7_2"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("leteral6_3"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try
		try
			ctype(me.Detail1.Controls("leteral8_2"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try

		''2014.03.19 T.Tsunoda@fuso 課題No.551 「元払い」で利用する場合は下欄の社名は印字させないようにする。 ↑↑
	End If
		
			
	'////フォント制御
	'お届け先住所
	len = 0
	len = getByteCount("receiver_adr_1_1")

	if len < getByteCount("receiver_adr_2_1") then
		len = getByteCount("receiver_adr_2_1")
	End If

	if len < getByteCount("receiver_adr_3_1") then
		len = getByteCount("receiver_adr_3_1")
	End If

	if len >= FONT_SMALL then
		Font_Size = TODOKEADR_SMALL
	else if len >= FONT_MID and len < FONT_SMALL then
		Font_Size = TODOKEADR_MID
	else
		Font_Size = TODOKEADR_LARGE
	End If
	FontSize_Set("receiver_adr_1_1", receiver_adr_1_1_Size, TODOKEADR_CHOFU_DEF, Font_Size)
	FontSize_Set("receiver_adr_2_1", receiver_adr_2_1_Size, TODOKEADR_CHOFU_DEF, Font_Size)
	FontSize_Set("receiver_adr_3_1", receiver_adr_3_1_Size, TODOKEADR_CHOFU_DEF, Font_Size)
	FontSize_Set("receiver_adr_1_2", receiver_adr_1_2_Size, TODOKEADR_HAITATUSHO_DEF, Font_Size)
	FontSize_Set("receiver_adr_2_2", receiver_adr_2_2_Size, TODOKEADR_HAITATUSHO_DEF, Font_Size)
	FontSize_Set("receiver_adr_3_2", receiver_adr_3_2_Size, TODOKEADR_HAITATUSHO_DEF, Font_Size)
	
	'お届け先名称
	len = 0
	len = getByteCount("receiver_nm_1_1")

	if len < getByteCount("receiver_nm_2_1") then
		len = getByteCount("receiver_nm_2_1")
	End If

	if len >= FONT_SMALL then
		Font_Size = TODOKENM_SMALL
	else if len >= FONT_MID and len < FONT_SMALL then
		Font_Size = TODOKENM_MID
	else
		Font_Size = TODOKENM_LARGE
	End If
	FontSize_Set("receiver_nm_1_1", receiver_nm_1_1_Size, TODOKENM_CHOFU_DEF, Font_Size)
	FontSize_Set("receiver_nm_2_1", receiver_nm_2_1_Size, TODOKENM_CHOFU_DEF, Font_Size)
	FontSize_Set("receiver_nm_1_2", receiver_nm_1_2_Size, TODOKENM_HAITATUSHO_DEF, Font_Size)
	FontSize_Set("receiver_nm_2_2", receiver_nm_2_2_Size, TODOKENM_HAITATUSHO_DEF, Font_Size)

	'ご依頼主住所
	len = 0
	len = getByteCount("kokyaku_adr_1_1")

	if len < getByteCount("kokyaku_adr_2_1") then
		len = getByteCount("kokyaku_adr_2_1")
	End If

	if len < getByteCount("kokyaku_adr_3_1") then
		len = getByteCount("kokyaku_adr_3_1")
	End If

	if len >= FONT_SMALL then
		Font_Size = NIOKURIADR_SMALL
	else if len >= FONT_MID and len < FONT_SMALL then
		Font_Size = NIOKURIADR_MID
	else
		Font_Size = NIOKURIADR_LARGE
	End If
	FontSize_Set("kokyaku_adr_1_1", kokyaku_adr_1_1_Size, NIOKURIADR_CHOFU_DEF, Font_Size)
	FontSize_Set("kokyaku_adr_2_1", kokyaku_adr_2_1_Size, NIOKURIADR_CHOFU_DEF, Font_Size)
	FontSize_Set("kokyaku_adr_3_1", kokyaku_adr_3_1_Size, NIOKURIADR_CHOFU_DEF, Font_Size)
	FontSize_Set("kokyaku_adr_1_2", kokyaku_adr_1_2_Size, NIOKURIADR_HAITATUSHO_DEF, Font_Size)
	FontSize_Set("kokyaku_adr_2_2", kokyaku_adr_2_2_Size, NIOKURIADR_HAITATUSHO_DEF, Font_Size)
	FontSize_Set("kokyaku_adr_3_2", kokyaku_adr_3_2_Size, NIOKURIADR_HAITATUSHO_DEF, Font_Size)
	
	'ご依頼主名称
	len = 0
	len = getByteCount("kokyaku_nm_1_1")

	if len < getByteCount("kokyaku_nm_2_1") then
		len = getByteCount("kokyaku_nm_2_1")
	End If

	if len >= FONT_SMALL then
		Font_Size = NIOKURINM_SMALL
	else if len >= FONT_MID and len < FONT_SMALL then
		Font_Size = NIOKURINM_MID
	else
		Font_Size = NIOKURINM_LARGE
	End If
	FontSize_Set("kokyaku_nm_1_1", kokyaku_nm_1_1_Size, NIOKURINM_CHOFU_DEF, Font_Size)
	FontSize_Set("kokyaku_nm_2_1", kokyaku_nm_2_1_Size, NIOKURINM_CHOFU_DEF, Font_Size)	
	FontSize_Set("kokyaku_nm_1_2", kokyaku_nm_1_2_Size, NIOKURINM_HAITATUSHO_DEF, Font_Size)
	FontSize_Set("kokyaku_nm_2_2", kokyaku_nm_2_2_Size, NIOKURINM_HAITATUSHO_DEF, Font_Size)
	
	'商品名
	len = 0
	len = getByteCount("shohin_nm001_1")

	if len < getByteCount("shohin_nm002_1") then
		len = getByteCount("shohin_nm002_1")
	End If

	if len >= HIN_SMALL then
		Font_Size = SHOHIN_SMALL
	else if len >= HIN_MID and len < HIN_SMALL then
		Font_Size = SHOHIN_MID
	else
		Font_Size = SHOHIN_LARGE
	End If
	FontSize_Set("shohin_nm001_1", shohin_nm001_1_Size, SHOHIN_DEF, Font_Size)
	FontSize_Set("shohin_nm002_1", shohin_nm002_1_Size, SHOHIN_DEF, Font_Size)
	FontSize_Set("shohin_nm001_2", shohin_nm001_2_Size, SHOHIN_DEF, Font_Size)
	FontSize_Set("shohin_nm002_2", shohin_nm002_2_Size, SHOHIN_DEF, Font_Size)
	
	''2014.01.15 T.Tsunoda@fuso 課題S075 サーマルで印字したら記事欄が文字切れ対応 ↓↓
	'記事
	len = 0
	len = getByteCount("kiji_nm_1_2")
	'len = getByteCount("kiji_nm_1_1")

	if len < getByteCount("kiji_nm_2_2") then
		len = getByteCount("kiji_nm_2_2")
	End If
	'if len < getByteCount("kiji_nm_2_1") then
	'	len = getByteCount("kiji_nm_2_1")
	'End If

	if len >= KIJINM_SMALL then
		Font_Size = KIJI_SMALL
	else if len >= KIJINM_MID and len < KIJINM_SMALL then
		Font_Size = KIJI_MID
	else
		Font_Size = KIJI_LARGE
	End If
	FontSize_Set("kiji_nm_1_1", kiji_nm_1_1_Size, KIJI_DEF, Font_Size)
	FontSize_Set("kiji_nm_2_1", kiji_nm_2_1_Size, KIJI_DEF, Font_Size)
	FontSize_Set("kiji_nm_1_2", kiji_nm_1_2_Size, KIJI_DEF, Font_Size)
	FontSize_Set("kiji_nm_2_2", kiji_nm_2_2_Size, KIJI_DEF, Font_Size)
	
	'フリー項目１
	len = 0
	len = getByteCount("free01")

	if len >= FREENM_SMALL then
		Font_Size = SHOP_LARGE
	else if len >= FREENM_MID and len < FREENM_SMALL then
		Font_Size = FREE_MID
	else
		Font_Size = FREE_LARGE
	End If
	FontSize_Set("free01", free01_Size, FREE_CHOFU_DEF, Font_Size)
	
	'フリー項目２
	len = 0
	len = getByteCount("free02")

	if len >= FREENM_SMALL then
		Font_Size = SHOP_LARGE
	else if len >= FREENM_MID and len < FREENM_SMALL then
		Font_Size = FREE_MID
	else
		Font_Size = FREE_LARGE
	End If
	FontSize_Set("free02", free02_Size, FREE_HAITATUSHO_DEF, Font_Size)
	
	'フリー項目３
	len = 0
	len = getByteCount("free03")

	if len >= FREENM_SMALL then
		Font_Size = SHOP_LARGE
	else if len >= FREENM_MID and len < FREENM_SMALL then
		Font_Size = FREE_MID
	else
		Font_Size = FREE_LARGE
	End If
	FontSize_Set("free03", free03_Size, FREE_CHOFU_DEF, Font_Size)
	
	'フリー項目４
	len = 0
	len = getByteCount("free04")

	if len >= FREENM_SMALL then
		Font_Size = SHOP_LARGE
	else if len >= FREENM_MID and len < FREENM_SMALL then
		Font_Size = FREE_MID
	else
		Font_Size = FREE_LARGE
	End If
	FontSize_Set("free04", free04_Size, FREE_HAITATUSHO_DEF, Font_Size)
		
	'フリー項目５,６
	len = 0
	len = getByteCount("free05")
	
	if len < getByteCount("free06") then
		len = getByteCount("free06")
	End If

	if len >= FREENM_SMALL then
		Font_Size = SHOP_LARGE
	else if len >= FREENM_MID and len < FREENM_SMALL then
		Font_Size = FREE_MID
	else
		Font_Size = FREE_LARGE
	End If
	FontSize_Set("free05", free05_Size, FREE_CHOFU_DEF, Font_Size)
	FontSize_Set("free06", free06_Size, FREE_CHOFU_DEF, Font_Size)
	
	'フリー項目７,８
	len = 0
	len = getByteCount("free07")
	
	if len < getByteCount("free08") then
		len = getByteCount("free08")
	End If

	if len >= FREENM_SMALL then
		Font_Size = SHOP_LARGE
	else if len >= FREENM_MID and len < FREENM_SMALL then
		Font_Size = FREE_MID
	else
		Font_Size = FREE_LARGE
	End If
	FontSize_Set("free07", free07_Size, FREE_CHOFU_DEF, Font_Size)
	FontSize_Set("free08", free08_Size, FREE_CHOFU_DEF, Font_Size)
	
	
	'郵便局名称
	len = 0
	len = getByteCount("uketsuke_store_nm")

	if len >= 1 and len < SHOPNM_LARGE then
		Font_Size = SHOP_LARGE
	else if len >= SHOPNM_LARGE and len < SHOPNM_MID then
		Font_Size = SHOP_MID
	else
		Font_Size = SHOP_SMALL
	End If
	FontSize_Set("uketsuke_store_nm", uketsuke_store_nm_Size, SHOP_DEF, Font_Size)
	
	''2015/12/25 T.Ogawa@Fuso 課題№960 引換金受領証廃止対応 ↓
	''受領証部分は不要になったため、コメントアウト。
	''''2013.10.31 K.Takasaki@fuso 課題No473 サーマル共用ﾕ00572を使った代引の受領証部分の不具合対応 ↓↓
	'''お届け先名称のフォントサイズ定義（引換金受領証）
	''len = 0
	''len = getByteCount("receiver_nm")
	''
	''If len >= JYURYOSHONM_SMALL Then
	''	Font_Size = JYURYOSHO_NM_SMALL
	''ElseIf len >= JYURYOSHONM_MID And len < JYURYOSHONM_SMALL Then
	''	Font_Size = JYURYOSHO_NM_MID1
	''ElseIf len >= JYURYOSHONM_LARGE And len < JYURYOSHONM_MID Then
	''	Font_Size = JYURYOSHO_NM_MID2
	''Else
	''	Font_Size = JYURYOSHO_NM_LARGE
	''End If
	''FontSize_Set("receiver_nm", jyuryosho_receiver_nm_Size, JYURYOSHO_TODOKENM_DEF, Font_Size)
	''
	'''ご依頼主名称のフォントサイズ定義（引換金受領証）
	''len = 0
	''len = getByteCount("kokyaku_nm1")
	''
	''If len >= JYURYOSHONM_SMALL Then
	''	Font_Size = JYURYOSHO_NM_SMALL
	''ElseIf len >= JYURYOSHONM_MID And len < JYURYOSHONM_SMALL Then
	''	Font_Size = JYURYOSHO_NM_MID1
	''ElseIf len >= JYURYOSHONM_LARGE And len < JYURYOSHONM_MID Then
	''	Font_Size = JYURYOSHO_NM_MID2
	''Else
	''	Font_Size = JYURYOSHO_NM_LARGE
	''End If
	''FontSize_Set("kokyaku_nm1", jyuryosho_kokyaku_nm_Size, jyuryosho_kokyaku_nm_Size, Font_Size)
	''''2013.10.31 K.Takasaki@fuso 課題No473 サーマル共用ﾕ00572を使った代引の受領証部分の不具合対応 ↑↑
	''2015/12/25 T.Ogawa@Fuso 課題№960 引換金受領証廃止対応 ↑
	
End Sub


'引数をオブジェクトネームにして項目が存在しなくても処理続行できるように元のファンクションを再作成
Private Function getByteCount(ByVal ObjectNM As String) As Integer

	'サロゲート文字で文字数判定ＯＫ
	Dim dt As System.Globalization.StringInfo
	Dim num As Integer
	Dim dispnum As Integer
	Dim str As String

	Try
		str = CType(Me.Detail1.Controls(ObjectNM), DataDynamics.ActiveReports.TextBox).text.Trim()

		dt = New System.Globalization.StringInfo(str)
		num = dt.LengthInTextElements

		Dim by As Byte()

		Dim hatena As String
		Dim hatena_sjis As Byte()

		's-jisに変換すると、変換出来ない場合があり、?になる
		hatena = "?"
		hatena_sjis = System.Text.Encoding.GetEncoding(932).GetBytes(hatena)

		dispnum = 0

		'一文字ずつ取り出す
		For i As Integer = 0 To num - 1

			by = System.Text.Encoding.GetEncoding(932).GetBytes(dt.SubstringByTextElements(i, 1))

			If (Char.IsSurrogate(dt.SubstringByTextElements(i, 1))) Then
				dispnum += 2
			Else
				If (dt.SubstringByTextElements(i, 1) <> hatena And hatena_sjis(0) = by(0)) Then
					'?はこっちを通る
					dispnum += 2
				Else
					dispnum += by.GetLength(0)
				End If
			End If

		Next

	Catch ex As exception
		dispnum = 0
	End Try

	Return dispnum

End Function

'フォントサイズをセットする
Private Sub FontSize_Set(ByVal ObjectNM As String, ByVal RPXSize As Double, ByVal DefSize As Double, ByVal ScrSize As Double)

	Try
		'指定した小数桁までで比較する
		Dim RPXSize_Kirisute As Double = ShosuKirisute(RPXSize)
		Dim DefSize_Kirisute As Double = ShosuKirisute(DefSize)

		'Doubleのままだと下のIF文が正常に動作しないのでStringで比較する
		Dim RPXSize_Str As String = CType(RPXSize_Kirisute, String)
		Dim DefSize_Str As String = CType(DefSize_Kirisute, String)

		'デザイナで設定されたサイズとデフォルトサイズが一致の場合はスクリプトで変更する
		'デザイナで設定されたサイズとデフォルトサイズが不一致の場合はデザイナで設定されたサイズのままとする
		If RPXSize_Str = DefSize_Str Then
			Dim Text_Buf As DataDynamics.ActiveReports.TextBox
			Text_Buf = CType(Me.Detail1.Controls(ObjectNM), DataDynamics.ActiveReports.TextBox)
			Text_Buf.Font = New System.Drawing.Font(Text_Buf.Font.FontFamily, ScrSize)
		End If
	Catch ex As exception
	End Try

End Sub

'引数の小数第４位以降を切り捨てて返却する
'引数が負の値の場合は考慮しない
'例）引数：12.3456　／　返却値：12.345
Private Function ShosuKirisute(ByVal Value As Double) As Double

	Dim ReValue As Double

	'残す小数の位数を指定する
	Dim Keta As Integer = 3

	Try
		'① 指定された位数分だけ10の累乗する
		Dim KetaJou As Double = System.Math.Pow(10, Keta)

		'② ①と引数の積から小数部分を切り捨て、小数点の位置を元に戻す
		ReValue = System.Math.Floor(Value * KetaJou) / KetaJou

	Catch ex As Exception
		ReValue = Value
	End Try

	Return ReValue

End Function

'Sub Detail1_Format
'	try
'
'		'初期化
'		item_cnt_bunshi_1.Visible = False						'複数個口数（分子）
'		Label20.Visible = False									'スラッシュ（/）　複数個口数で使用
'		item_cnt_bunbo_1.Visible = False						'複数個口数（分母）
'		Label19.Visible = False									'「個口」文言　複数個口数で使用
'		Shape3.Visible = False									'枠線　複数個口数で使用
'		item_cnt_bunshi_2.Visible = False						'複数個口数（分子）
'		Label2.Visible = False									'スラッシュ（/）　複数個口数で使用
'		item_cnt_bunbo_2.Visible = False						'複数個口数（分母）	
'		Label21.Visible = False									'「個口」文言　複数個口数で使用
'		Shape5.Visible = False									'枠線　複数個口数で使用
'		Shape1.Visible = False									'「Y」の枠線
'		kakitome_security_sbt_nm.Visible = False				'「セキュリティ」文言
'		horei_sbt_nm_1.Visible = False							'保冷種別の文言
'		horei_sbt_nm_2.Visible = False							'保冷種別の文言
'		KokyakuQRCode.Visible = False							'顧客QRコード
'		KokyakuQRCodeLabel.Visible = False						'「顧客コード」文言　顧客QRコード用
'		yupakku_Label.Visible = False							'「ゆうパック」文言
'		daibiki_Label.Visible = False							'「代金引換まとめ送金」文言
'		Label_keep_mongon_motobarai.Visible = False				'保存年数（元払い用）
'		Label_keep_mongon_daibiki.Visible = False				'保存年数（代引きまとめ用）
'		Shape4.Visible = False									'代金引換金額の項目（ちょう付）
'		Label35.Visible = False									'代金引換金額の項目（ちょう付）
'		payment_amt_1.Visible = False							'代金引換金額の項目（ちょう付）
'		Label62.Visible = False									'代金引換金額の項目（ちょう付）
'		payment_tax_1.Visible = False							'代金引換金額の項目（ちょう付）
'		Label60.Visible = False									'代金引換金額の項目（ちょう付）
'		Label61.Visible = False									'代金引換金額の項目（ちょう付）
'		Shape9.Visible = False									'代金引換金額の項目（ちょう付）
'		Line18.Visible = False									'代金引換金額の項目（ちょう付）
'		Shape11.Visible = False									'代金引換金額の項目（配達証）
'		Label39.Visible = False									'代金引換金額の項目（配達証）
'		payment_amt_2.Visible = False							'代金引換金額の項目（配達証）
'		Label63.Visible = False									'代金引換金額の項目（配達証）
'		Label64.Visible = False									'代金引換金額の項目（配達証）
'		payment_tax_2.Visible = False							'代金引換金額の項目（配達証）
'		Label65.Visible = False									'代金引換金額の項目（配達証）
'		Line17.Visible = False									'代金引換金額の項目（配達証）
'		Shape12.Visible = False									'代金引換金額の項目（配達証）
'		noDaibikiMessage.Visible = False						'代金引換金額の項目（受領書）
'		tracking_no_fmt_3.Visible = False						'代金引換金額の項目（受領書）
'		receiver_nm.Visible = False								'代金引換金額の項目（受領書）
'		kokyaku_nm1.Visible = False								'代金引換金額の項目（受領書）
'		todoke_keisho_kbn_nm_3.Visible = False					'代金引換金額の項目（受領書）
'		goirai_keisho_kbn_nm_3.Visible = False					'代金引換金額の項目（受領書）
'		payment_amt_3.Visible = False							'代金引換金額の項目（受領書）
'		Label66.Visible = False									'代金引換金額の項目（受領書）
'		Label67.Visible = False									'代金引換金額の項目（受領書）
'		payment_tax_4.Visible = False							'代金引換金額の項目（受領書）
'		Label68.Visible = False									'代金引換金額の項目（受領書）
'		Label7.Visible = False									'代金引換金額の項目（受領書）
'		kokyaku_nm2.Visible = False								'代金引換金額の項目（受領書）
'		Label55.Visible = False									'代金引換金額の項目（受領書）
'		kokyaku_zip_1_3.Visible = False							'代金引換金額の項目（受領書）
'		kokyaku_zip_2_3.Visible = False							'代金引換金額の項目（受領書）
'		kokyaku_zip_3_3.Visible = False							'代金引換金額の項目（受領書）
'		kokyaku_zip_4_3.Visible = False							'代金引換金額の項目（受領書）
'		kokyaku_zip_5_3.Visible = False							'代金引換金額の項目（受領書）
'		kokyaku_zip_6_3.Visible = False							'代金引換金額の項目（受領書）
'		kokyaku_zip_7_3.Visible = False							'代金引換金額の項目（受領書）
'		receiver_zipLabel_2_5.Visible = False					'代金引換金額の項目（受領書）
'		kokyaku_adr.Visible = False								'代金引換金額の項目（受領書）
'		goirai_keisho_kbn_nm_4.Visible = False					'代金引換金額の項目（受領書）
'
'		'セキュリティ種別
'		if rpt.Fields("kakitome_security_sbt").Value.tostring() = "2" then
'			'セキュリティの場合、「セキュリティ」文言を表示
'			kakitome_security_sbt_nm.Visible = True
'		else
'			kakitome_security_sbt_nm.Visible = False
'		End If
'		
'		'保冷種別印字制御
'		if rpt.Fields("horei_sbt").Value.tostring() = "0" then
'			'保冷なしの場合、保冷種別を非表示
'			horei_sbt_nm_1.Visible = False
'			horei_sbt_nm_2.Visible = False
'		else
'			'保冷ありの場合、保冷種別を表示
'			horei_sbt_nm_1.Visible = True
'			horei_sbt_nm_2.Visible = True
'		End If
'		
'		'複数個口数の制御
'		if rpt.Fields("item_cnt_bunbo").Value.ToString() >= "2" Then
'			'複数個口数の場合、複数個口数の項目を表示
'			item_cnt_bunshi_1.Visible = True
'			Label20.Visible = True
'			item_cnt_bunbo_1.Visible = True
'			Label19.Visible = True
'			Shape3.Visible = True
'			item_cnt_bunshi_2.Visible = True
'			Label2.Visible = True
'			item_cnt_bunbo_2.Visible = True
'			Label21.Visible = True			
'			Shape5.Visible = True
'		else
'			item_cnt_bunshi_1.Visible = False
'			Label20.Visible = False
'			item_cnt_bunbo_1.Visible = False
'			Label19.Visible = False
'			Shape3.Visible = False
'			item_cnt_bunshi_2.Visible = False
'			Label2.Visible = False
'			item_cnt_bunbo_2.Visible = False
'			Label21.Visible = False
'			Shape5.Visible = False	
'		End If
'			
'		'「Ｙ」枠線制御
'		if rpt.Fields("is_yoyaku_trans").Value.ToString() = "True" Then
'			'予約送信の場合「Y」の枠線を表示する
'			Shape1.Visible = True
'		else
'			Shape1.Visible = False
'		End If
'		
'		'顧客QRコードの制御
'		if rpt.Fields("shiharai_houhou_kbn").Value.tostring() = "2" then
'			'後納の場合、顧客QRコードを印字
'			KokyakuQRCode.Visible = True
'			KokyakuQRCodeLabel.Visible = True
'		else
'			'別納の場合、顧客QRコードを印字しない
'			KokyakuQRCode.Visible = False
'			KokyakuQRCodeLabel.Visible = False
'		End If
'
'		'代金引換まとめ送金
'		if rpt.Fields("daibiki_sbt").Value.tostring() = "1" then
'			'代引まとめの場合
'			
'			'ヘッダー文言の制御
'			yupakku_Label.Visible = False
'			daibiki_Label.Visible = True
'			'送り状保存年数の制御
'			Label_keep_mongon_motobarai.Visible = False
'			Label_keep_mongon_daibiki.Visible = True
'			'代金引換金額の項目（ちょう付）↓　↓
'			Shape4.Visible = True
'			Label35.Visible = True
'			payment_amt_1.Visible = True
'			Label62.Visible = True
'			payment_tax_1.Visible = True
'			Label60.Visible = True
'			Label61.Visible = True
'			Shape9.Visible = True
'			Line18.Visible = False
'			'代金引換金額の項目（配達証）↓　↓
'			Shape11.Visible = True
'			Label39.Visible = True
'			payment_amt_2.Visible = True
'			Label63.Visible = True
'			Label64.Visible = True
'			payment_tax_2.Visible = True
'			Label65.Visible = True
'			Shape12.Visible = True
'			Line17.Visible = False
'			'代金引換金額の項目（受領書）↓　↓	
'			noDaibikiMessage.Visible = False
'			tracking_no_fmt_3.Visible = True
'			receiver_nm.Visible = True
'			kokyaku_nm1.Visible = True
'			todoke_keisho_kbn_nm_3.Visible = True
'			goirai_keisho_kbn_nm_3.Visible = True
'			payment_amt_3.Visible = True
'			Label66.Visible = True
'			Label67.Visible = True
'			payment_tax_4.Visible = True
'			Label68.Visible = True
'			Label7.Visible = True
'			kokyaku_nm2.Visible = True
'			Label55.Visible = True
'			kokyaku_zip_1_3.Visible = True
'			kokyaku_zip_2_3.Visible = True
'			kokyaku_zip_3_3.Visible = True
'			kokyaku_zip_4_3.Visible = True
'			kokyaku_zip_5_3.Visible = True
'			kokyaku_zip_6_3.Visible = True
'			kokyaku_zip_7_3.Visible = True
'			receiver_zipLabel_2_5.Visible = True
'			kokyaku_adr.Visible = True
'			goirai_keisho_kbn_nm_4.Visible = True
'		else
'			'元払いの場合
'			
'			'ヘッダー文言の制御
'			yupakku_Label.Visible = True
'			daibiki_Label.Visible = False
'			'送り状保存年数の制御
'			Label_keep_mongon_motobarai.Visible = True
'			Label_keep_mongon_daibiki.Visible = False
'			'代金引換金額の項目（ちょう付）↓　↓
'			Shape4.Visible = False
'			Label35.Visible = False
'			payment_amt_1.Visible = False
'			Label62.Visible = False
'			payment_tax_1.Visible = False
'			Label60.Visible = False
'			Label61.Visible = False
'			Shape9.Visible = False
'			Line18.Visible = True
'			'代金引換金額の項目（配達証）↓　↓
'			Shape11.Visible = False
'			Label39.Visible = False
'			payment_amt_2.Visible = False
'			Label63.Visible = False
'			Label64.Visible = False
'			payment_tax_2.Visible = False
'			Label65.Visible = False
'			Shape12.Visible = False
'			Line17.Visible = True
'			'代金引換金額の項目（受領書）↓　↓
'			noDaibikiMessage.Visible = True
'			tracking_no_fmt_3.Visible = False
'			receiver_nm.Visible = False
'			kokyaku_nm1.Visible = False
'			todoke_keisho_kbn_nm_3.Visible = False
'			goirai_keisho_kbn_nm_3.Visible = False
'			payment_amt_3.Visible = False
'			Label66.Visible = False
'			Label67.Visible = False
'			payment_tax_4.Visible = False
'			Label68.Visible = False
'			Label7.Visible = False
'			kokyaku_nm2.Visible = False
'			Label55.Visible = False
'			kokyaku_zip_1_3.Visible = False
'			kokyaku_zip_2_3.Visible = False
'			kokyaku_zip_3_3.Visible = False
'			kokyaku_zip_4_3.Visible = False
'			kokyaku_zip_5_3.Visible = False
'			kokyaku_zip_6_3.Visible = False
'			kokyaku_zip_7_3.Visible = False
'			receiver_zipLabel_2_5.Visible = False
'			kokyaku_adr.Visible = False
'			goirai_keisho_kbn_nm_4.Visible = False
'		End If
'		
'			
'		'////フォント制御
'		'お届け先住所
'		len = 0
'		len = getByteCount(receiver_adr_1_1.Text.Trim())
'		
'		if len < getByteCount(receiver_adr_2_1.Text.Trim()) Then
'			len = getByteCount(receiver_adr_2_1.Text.Trim())
'		End If
'		
'		if len < getByteCount(receiver_adr_3_1.Text.Trim()) Then
'			len = getByteCount(receiver_adr_3_1.Text.Trim())
'		End If
'		
'		if len >= FONT_SMALL then
'			receiver_adr_1_1.Font = new System.Drawing.Font(receiver_adr_1_1.Font.FontFamily, TODOKEADR_SMALL)
'			receiver_adr_1_2.Font = new System.Drawing.Font(receiver_adr_1_2.Font.FontFamily, Small_TODOKEADR_SMALL)
'			receiver_adr_2_1.Font = new System.Drawing.Font(receiver_adr_2_1.Font.FontFamily, TODOKEADR_SMALL)
'			receiver_adr_2_2.Font = new System.Drawing.Font(receiver_adr_2_2.Font.FontFamily, Small_TODOKEADR_SMALL)
'			receiver_adr_3_1.Font = new System.Drawing.Font(receiver_adr_3_1.Font.FontFamily, TODOKEADR_SMALL)
'			receiver_adr_3_2.Font = new System.Drawing.Font(receiver_adr_3_2.Font.FontFamily, Small_TODOKEADR_SMALL)
'		else if len >= FONT_MID and len < FONT_SMALL then
'			receiver_adr_1_1.Font = new System.Drawing.Font(receiver_adr_1_1.Font.FontFamily, TODOKEADR_MID)
'			receiver_adr_1_2.Font = new System.Drawing.Font(receiver_adr_1_2.Font.FontFamily, Small_TODOKEADR_MID)
'			receiver_adr_2_1.Font = new System.Drawing.Font(receiver_adr_2_1.Font.FontFamily, TODOKEADR_MID)
'			receiver_adr_2_2.Font = new System.Drawing.Font(receiver_adr_2_2.Font.FontFamily, Small_TODOKEADR_MID)
'			receiver_adr_3_1.Font = new System.Drawing.Font(receiver_adr_3_1.Font.FontFamily, TODOKEADR_MID)
'			receiver_adr_3_2.Font = new System.Drawing.Font(receiver_adr_3_2.Font.FontFamily, Small_TODOKEADR_MID)
'		else		
'			receiver_adr_1_1.Font = new System.Drawing.Font(receiver_adr_1_1.Font.FontFamily, TODOKEADR_LARGE)
'			receiver_adr_1_2.Font = new System.Drawing.Font(receiver_adr_1_2.Font.FontFamily, Small_TODOKEADR_LARGE)
'			receiver_adr_2_1.Font = new System.Drawing.Font(receiver_adr_2_1.Font.FontFamily, TODOKEADR_LARGE)
'			receiver_adr_2_2.Font = new System.Drawing.Font(receiver_adr_2_2.Font.FontFamily, Small_TODOKEADR_LARGE)
'			receiver_adr_3_1.Font = new System.Drawing.Font(receiver_adr_3_1.Font.FontFamily, TODOKEADR_LARGE)
'			receiver_adr_3_2.Font = new System.Drawing.Font(receiver_adr_3_2.Font.FontFamily, Small_TODOKEADR_LARGE)
'		End If
'		
'		'お届け先名称
'		len = 0
'		len = getByteCount(receiver_nm_1_1.Text.Trim())
'		
'		if len < getByteCount(receiver_nm_2_1.Text.Trim()) Then
'			len = getByteCount(receiver_nm_2_1.Text.Trim())
'		End If
'		
'		if len >= FONT_SMALL then
'			receiver_nm_1_1.Font = new System.Drawing.Font(receiver_nm_1_1.Font.FontFamily, TODOKEADR_SMALL)
'			receiver_nm_1_2.Font = new System.Drawing.Font(receiver_nm_1_2.Font.FontFamily, Small_TODOKEADR_SMALL)
'			receiver_nm_2_1.Font = new System.Drawing.Font(receiver_nm_2_1.Font.FontFamily, TODOKEADR_SMALL)
'			receiver_nm_2_2.Font = new System.Drawing.Font(receiver_nm_2_2.Font.FontFamily, Small_TODOKEADR_SMALL)
'		else if len >= FONT_MID and len < FONT_SMALL then
'			receiver_nm_1_1.Font = new System.Drawing.Font(receiver_nm_1_1.Font.FontFamily, TODOKEADR_MID)
'			receiver_nm_1_2.Font = new System.Drawing.Font(receiver_nm_1_2.Font.FontFamily, Small_TODOKEADR_MID)
'			receiver_nm_2_1.Font = new System.Drawing.Font(receiver_nm_2_1.Font.FontFamily, TODOKEADR_MID)
'			receiver_nm_2_2.Font = new System.Drawing.Font(receiver_nm_2_2.Font.FontFamily, Small_TODOKEADR_MID)
'		else		
'			receiver_nm_1_1.Font = new System.Drawing.Font(receiver_nm_1_1.Font.FontFamily, TODOKEADR_LARGE)
'			receiver_nm_1_2.Font = new System.Drawing.Font(receiver_nm_1_2.Font.FontFamily, Small_TODOKEADR_LARGE)
'			receiver_nm_2_1.Font = new System.Drawing.Font(receiver_nm_2_1.Font.FontFamily, TODOKEADR_LARGE)
'			receiver_nm_2_2.Font = new System.Drawing.Font(receiver_nm_2_2.Font.FontFamily, Small_TODOKEADR_LARGE)
'		End If
'	
'		'ご依頼主住所
'		len = 0
'		len = getByteCount(kokyaku_adr_1_1.Text.Trim())
'		
'		if len < getByteCount(kokyaku_adr_2_1.Text.Trim()) Then
'			len = getByteCount(kokyaku_adr_2_1.Text.Trim())
'		End If
'		
'		if len < getByteCount(kokyaku_adr_3_1.Text.Trim()) Then
'			len = getByteCount(kokyaku_adr_3_1.Text.Trim())	
'		End If
'		
'		if len >= FONT_SMALL then
'			kokyaku_adr_1_1.Font = new System.Drawing.Font(kokyaku_adr_1_1.Font.FontFamily, NIOKURIADR_SMALL)
'			kokyaku_adr_1_2.Font = new System.Drawing.Font(kokyaku_adr_1_2.Font.FontFamily, Small_NIOKURIADR_SMALL)
'			kokyaku_adr_2_1.Font = new System.Drawing.Font(kokyaku_adr_2_1.Font.FontFamily, NIOKURIADR_SMALL)
'			kokyaku_adr_2_2.Font = new System.Drawing.Font(kokyaku_adr_2_2.Font.FontFamily, Small_NIOKURIADR_SMALL)
'			kokyaku_adr_3_1.Font = new System.Drawing.Font(kokyaku_adr_3_1.Font.FontFamily, NIOKURIADR_SMALL)
'			kokyaku_adr_3_2.Font = new System.Drawing.Font(kokyaku_adr_3_2.Font.FontFamily, Small_NIOKURIADR_SMALL)
'		else if len >= FONT_MID and len < FONT_SMALL then
'			kokyaku_adr_1_1.Font = new System.Drawing.Font(kokyaku_adr_1_1.Font.FontFamily, NIOKURIADR_MID)
'			kokyaku_adr_1_2.Font = new System.Drawing.Font(kokyaku_adr_1_2.Font.FontFamily, Small_NIOKURIADR_MID)
'			kokyaku_adr_2_1.Font = new System.Drawing.Font(kokyaku_adr_2_1.Font.FontFamily, NIOKURIADR_MID)
'			kokyaku_adr_2_2.Font = new System.Drawing.Font(kokyaku_adr_2_2.Font.FontFamily, Small_NIOKURIADR_MID)
'			kokyaku_adr_3_1.Font = new System.Drawing.Font(kokyaku_adr_3_1.Font.FontFamily, NIOKURIADR_MID)
'			kokyaku_adr_3_2.Font = new System.Drawing.Font(kokyaku_adr_3_2.Font.FontFamily, Small_NIOKURIADR_MID)
'		else		
'			kokyaku_adr_1_1.Font = new System.Drawing.Font(kokyaku_adr_1_1.Font.FontFamily, NIOKURIADR_LARGE)
'			kokyaku_adr_1_2.Font = new System.Drawing.Font(kokyaku_adr_1_2.Font.FontFamily, Small_NIOKURIADR_LARGE)
'			kokyaku_adr_2_1.Font = new System.Drawing.Font(kokyaku_adr_2_1.Font.FontFamily, NIOKURIADR_LARGE)
'			kokyaku_adr_2_2.Font = new System.Drawing.Font(kokyaku_adr_2_2.Font.FontFamily, Small_NIOKURIADR_LARGE)
'			kokyaku_adr_3_1.Font = new System.Drawing.Font(kokyaku_adr_3_1.Font.FontFamily, NIOKURIADR_LARGE)
'			kokyaku_adr_3_2.Font = new System.Drawing.Font(kokyaku_adr_3_2.Font.FontFamily, Small_NIOKURIADR_LARGE)
'		End If
'		
'		'ご依頼主名称
'		len = 0
'		len = getByteCount(kokyaku_nm_1_1.Text.Trim())
'		
'		if len < getByteCount(kokyaku_nm_2_1.Text.Trim()) Then
'			len = getByteCount(kokyaku_nm_2_1.Text.Trim())
'		End If
'		
'		if len >= FONT_SMALL then
'			kokyaku_nm_1_1.Font = new System.Drawing.Font(kokyaku_nm_1_1.Font.FontFamily, NIOKURINM_SMALL)
'			kokyaku_nm_1_2.Font = new System.Drawing.Font(kokyaku_nm_1_2.Font.FontFamily, Small_NIOKURINM_SMALL)
'			kokyaku_nm_2_1.Font = new System.Drawing.Font(kokyaku_nm_2_1.Font.FontFamily, NIOKURINM_SMALL)
'			kokyaku_nm_2_2.Font = new System.Drawing.Font(kokyaku_nm_2_2.Font.FontFamily, Small_NIOKURINM_SMALL)
'		else if len >= FONT_MID and len < FONT_SMALL then
'			kokyaku_nm_1_1.Font = new System.Drawing.Font(kokyaku_nm_1_1.Font.FontFamily, NIOKURINM_MID)
'			kokyaku_nm_1_2.Font = new System.Drawing.Font(kokyaku_nm_1_2.Font.FontFamily, Small_NIOKURINM_MID)
'			kokyaku_nm_2_1.Font = new System.Drawing.Font(kokyaku_nm_2_1.Font.FontFamily, NIOKURINM_MID)
'			kokyaku_nm_2_2.Font = new System.Drawing.Font(kokyaku_nm_2_2.Font.FontFamily, Small_NIOKURINM_MID)
'		else		
'			kokyaku_nm_1_1.Font = new System.Drawing.Font(kokyaku_nm_1_1.Font.FontFamily, NIOKURINM_LARGE)
'			kokyaku_nm_1_2.Font = new System.Drawing.Font(kokyaku_nm_1_2.Font.FontFamily, Small_NIOKURINM_LARGE)
'			kokyaku_nm_2_1.Font = new System.Drawing.Font(kokyaku_nm_2_1.Font.FontFamily, NIOKURINM_LARGE)
'			kokyaku_nm_2_2.Font = new System.Drawing.Font(kokyaku_nm_2_2.Font.FontFamily, Small_NIOKURINM_LARGE)
'		End If
'		
'		'商品名
'		len = 0
'		len = getByteCount(shohin_nm001_1.Text.Trim())
'		
'		if len < getByteCount(shohin_nm002_1.Text.Trim()) Then
'			len = getByteCount(shohin_nm002_1.Text.Trim())
'		End If
'		
'		if len >= HIN_SMALL then
'			shohin_nm001_1.Font = new System.Drawing.Font(shohin_nm001_1.Font.FontFamily, SHOHIN_SMALL)
'			shohin_nm001_2.Font = new System.Drawing.Font(shohin_nm001_2.Font.FontFamily, Small_SHOHIN_SMALL)
'			shohin_nm002_1.Font = new System.Drawing.Font(shohin_nm002_1.Font.FontFamily, SHOHIN_SMALL)
'			shohin_nm002_2.Font = new System.Drawing.Font(shohin_nm002_2.Font.FontFamily, Small_SHOHIN_SMALL)
'		else if len >= HIN_MID and len < HIN_SMALL then
'			shohin_nm001_1.Font = new System.Drawing.Font(shohin_nm001_1.Font.FontFamily, SHOHIN_MID)
'			shohin_nm001_2.Font = new System.Drawing.Font(shohin_nm001_2.Font.FontFamily, Small_SHOHIN_MID)
'			shohin_nm002_1.Font = new System.Drawing.Font(shohin_nm002_1.Font.FontFamily, SHOHIN_MID)
'			shohin_nm002_2.Font = new System.Drawing.Font(shohin_nm002_2.Font.FontFamily, Small_SHOHIN_MID)
'		else		
'			shohin_nm001_1.Font = new System.Drawing.Font(shohin_nm001_1.Font.FontFamily, SHOHIN_LARGE)
'			shohin_nm001_2.Font = new System.Drawing.Font(shohin_nm001_2.Font.FontFamily, Small_SHOHIN_LARGE)
'			shohin_nm002_1.Font = new System.Drawing.Font(shohin_nm002_1.Font.FontFamily, SHOHIN_LARGE)
'			shohin_nm002_2.Font = new System.Drawing.Font(shohin_nm002_2.Font.FontFamily, Small_SHOHIN_LARGE)
'		End If
'		
'		'記事
'		len = 0
'		len = getByteCount(kiji_nm_1_1.Text.Trim())
'		
'		if len < getByteCount(kiji_nm_2_1.Text.Trim()) Then
'			len = getByteCount(kiji_nm_2_1.Text.Trim())
'		End If
'		
'		if len >= KIJINM_SMALL then
'			kiji_nm_1_1.Font = new System.Drawing.Font(kiji_nm_1_1.Font.FontFamily, KIJI_SMALL)
'			kiji_nm_1_2.Font = new System.Drawing.Font(kiji_nm_1_2.Font.FontFamily, Small_KIJI_SMALL)
'			kiji_nm_2_1.Font = new System.Drawing.Font(kiji_nm_2_1.Font.FontFamily, KIJI_SMALL)
'			kiji_nm_2_2.Font = new System.Drawing.Font(kiji_nm_2_2.Font.FontFamily, Small_KIJI_SMALL)
'		else if len >= KIJINM_MID and len < KIJINM_SMALL then
'			kiji_nm_1_1.Font = new System.Drawing.Font(kiji_nm_1_1.Font.FontFamily, KIJI_MID)
'			kiji_nm_1_2.Font = new System.Drawing.Font(kiji_nm_1_2.Font.FontFamily, Small_KIJI_MID)
'			kiji_nm_2_1.Font = new System.Drawing.Font(kiji_nm_2_1.Font.FontFamily, KIJI_MID)
'			kiji_nm_2_2.Font = new System.Drawing.Font(kiji_nm_2_2.Font.FontFamily, Small_KIJI_MID)
'		else		
'			kiji_nm_1_1.Font = new System.Drawing.Font(kiji_nm_1_1.Font.FontFamily, KIJI_LARGE)
'			kiji_nm_1_2.Font = new System.Drawing.Font(kiji_nm_1_2.Font.FontFamily, Small_KIJI_LARGE)
'			kiji_nm_2_1.Font = new System.Drawing.Font(kiji_nm_2_1.Font.FontFamily, KIJI_LARGE)
'			kiji_nm_2_2.Font = new System.Drawing.Font(kiji_nm_2_2.Font.FontFamily, Small_KIJI_LARGE)
'		End If
'		
'		'フリー項目１
'		len = 0
'		len = getByteCount(free01.Text.Trim())
'		if len >= FREENM_SMALL then
'			free01.Font = new System.Drawing.Font(free01.Font.FontFamily, SmallFREE_SMALL)
'		else if len >= FREENM_MID and len < FREENM_SMALL then
'			free01.Font = new System.Drawing.Font(free01.Font.FontFamily, SmallFREE_MID)
'		else		
'			free01.Font = new System.Drawing.Font(free01.Font.FontFamily, SmallFREE_LARGE)
'		End If
'		
'		'フリー項目２
'		len = 0
'		len = getByteCount(free02.Text.Trim())
'		if len >= FREENM_SMALL then
'			free02.Font = new System.Drawing.Font(free02.Font.FontFamily, SmallFREE_SMALL)
'		else if len >= FREENM_MID and len < FREENM_SMALL then
'			free02.Font = new System.Drawing.Font(free02.Font.FontFamily, SmallFREE_MID)
'		else		
'			free02.Font = new System.Drawing.Font(free02.Font.FontFamily, SmallFREE_LARGE)
'		End If
'		
'		'フリー項目３
'		len = 0
'		len = getByteCount(free03.Text.Trim())
'		if len >= FREENM_SMALL then
'			free03.Font = new System.Drawing.Font(free03.Font.FontFamily, SmallFREE_SMALL)
'		else if len >= FREENM_MID and len < FREENM_SMALL then
'			free03.Font = new System.Drawing.Font(free03.Font.FontFamily, SmallFREE_MID)
'		else		
'			free03.Font = new System.Drawing.Font(free03.Font.FontFamily, SmallFREE_LARGE)
'		End If
'		
'		'フリー項目４
'		len = 0
'		len = getByteCount(free04.Text.Trim())
'		if len >= FREENM_SMALL then
'			free04.Font = new System.Drawing.Font(free04.Font.FontFamily, SmallFREE_SMALL)
'		else if len >= FREENM_MID and len < FREENM_SMALL then
'			free04.Font = new System.Drawing.Font(free04.Font.FontFamily, SmallFREE_MID)
'		else		
'			free04.Font = new System.Drawing.Font(free04.Font.FontFamily, SmallFREE_LARGE)
'		End If	
'			
'		'フリー項目５
'		len = 0
'		len = getByteCount(free05.Text.Trim())
'		if len >= FREENM_SMALL then
'			free05.Font = new System.Drawing.Font(free05.Font.FontFamily, FREE_SMALL)
'		else if len >= FREENM_MID and len < FREENM_SMALL then
'			free05.Font = new System.Drawing.Font(free05.Font.FontFamily, FREE_MID)
'		else		
'			free05.Font = new System.Drawing.Font(free05.Font.FontFamily, FREE_LARGE)
'		End If
'		
'		'フリー項目６
'		len = 0
'		len = getByteCount(free06.Text.Trim())
'		if len >= FREENM_SMALL then
'			free06.Font = new System.Drawing.Font(free06.Font.FontFamily, FREE_SMALL)
'		else if len >= FREENM_MID and len < FREENM_SMALL then
'			free06.Font = new System.Drawing.Font(free06.Font.FontFamily, FREE_MID)
'		else		
'			free06.Font = new System.Drawing.Font(free06.Font.FontFamily, FREE_LARGE)
'		End If
'		
'		'フリー項目７
'		len = 0
'		len = getByteCount(free07.Text.Trim())
'		if len >= FREENM_SMALL then
'			free07.Font = new System.Drawing.Font(free07.Font.FontFamily, FREE_SMALL)
'		else if len >= FREENM_MID and len < FREENM_SMALL then
'			free07.Font = new System.Drawing.Font(free07.Font.FontFamily, FREE_MID)
'		else		
'			free07.Font = new System.Drawing.Font(free07.Font.FontFamily, FREE_LARGE)
'		End If
'		
'		'フリー項目８
'		len = 0
'		len = getByteCount(free08.Text.Trim())
'		if len >= FREENM_SMALL then
'			free08.Font = new System.Drawing.Font(free08.Font.FontFamily, FREE_SMALL)
'		else if len >= FREENM_MID and len < FREENM_SMALL then
'			free08.Font = new System.Drawing.Font(free08.Font.FontFamily, FREE_MID)
'		else		
'			free08.Font = new System.Drawing.Font(free08.Font.FontFamily, FREE_LARGE)
'		End If
'		
'		'郵便局名称
'		len = 0
'		len = getByteCount(uketsuke_store_nm.Text.Trim())
'		if len >= 1 and len < SHOPNM_LARGE then
'			uketsuke_store_nm.Font = new System.Drawing.Font(uketsuke_store_nm.Font.FontFamily, SHOP_LARGE)
'		else if len >= SHOPNM_LARGE and len < SHOPNM_MID then
'			uketsuke_store_nm.Font = new System.Drawing.Font(uketsuke_store_nm.Font.FontFamily, SHOP_MID)
'		else		
'			uketsuke_store_nm.Font = new System.Drawing.Font(uketsuke_store_nm.Font.FontFamily, SHOP_SMALL)
'		End If
'
'	Catch ex as Exception
'		msgbox(ex.Message + ex.StackTrace.ToString())
'	End Try
'
'End Sub
'
'
'Private function getByteCount(ByVal str as string) as integer
'
'	'サロゲート文字で文字数判定ＯＫ
'	Dim dt As System.Globalization.StringInfo
'	Dim num As Integer
'	Dim dispnum As Integer
'
'
'	dt = New System.Globalization.StringInfo(str)
'	num = dt.LengthInTextElements
'
'	Dim by As Byte()
'
'	Dim hatena As String
'	Dim hatena_sjis As Byte()
'
'	's-jisに変換すると、変換出来ない場合があり、?になる
'	hatena = "?"
'	hatena_sjis = System.Text.Encoding.GetEncoding(932).GetBytes(hatena)
'
'	dispnum = 0
'
'	'一文字ずつ取り出す
'	For i As Integer = 0 To num - 1
'
'		by = System.Text.Encoding.GetEncoding(932).GetBytes(dt.SubstringByTextElements(i, 1))
'
'		If (Char.IsSurrogate(dt.SubstringByTextElements(i, 1))) Then
'			dispnum += 2
'		Else
'			If (dt.SubstringByTextElements(i, 1) <> hatena And hatena_sjis(0) = by(0)) Then
'				'?はこっちを通る
'				dispnum += 2
'			Else
'				dispnum += by.GetLength(0)
'			End If
'		End If
'
'	Next
'
'	return dispnum
'
'End Function
''2013.09.05 K.Takasaki@fuso 課題No199 フォント統一制御,レイアウトカスタマイズ対応,郵便局留め対応 ↑↑
]]></Script>
  <PageSettings LeftMargin="0" RightMargin="0" TopMargin="0" BottomMargin="0" Orientation="1" />
  <Parameters />
</ActiveReportsLayout>