<?xml version="1.0" encoding="UTF-8"?>
<ActiveReportsLayout Version="3.1" PrintWidth="6170.4" 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; ddo-char-set: 204" />
    <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="PageHeader" Name="PageHeader1" Height="0" BackColor="16777215" />
    <Section Type="Detail" Name="Detail1" Height="9370.08" ColumnDirection="1" BackColor="16777215" KeepTogether="1">
      <Control Type="AR.Image" Name="Picture1" Left="14.4" Top="77.75999" Width="6156" Height="9292.32" LineWeight="0" SizeMode="1">[encoded data, 6768 characters]</Control>
      <Control Type="AR.Field" Name="receiver_zip_1" DataField="receiver_zip_1&#xD;&#xA;" Left="1355.04" Top="1154.88" Width="151.8798" Height="178.4012" Text="9" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="receiver_zip_2" DataField="receiver_zip_2" Left="1506.24" Top="1154.88" Width="151.8798" Height="178.4012" Text="9" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_zip_3" DataField="receiver_zip_3&#xD;&#xA;" Left="1647.36" Top="1154.88" Width="151.8798" Height="178.4012" Text="9" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="receiver_zip_4" DataField="receiver_zip_4" Left="1955.52" Top="1154.88" Width="151.8798" Height="178.4012" Text="9" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="receiver_zip_6" DataField="receiver_zip_6" Left="2243.52" Top="1154.88" Width="151.8798" Height="178.4012" Text="9" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="receiver_zip_7" DataField="receiver_zip_7" Left="2394.72" Top="1154.88" Width="151.8798" Height="178.4012" Text="9" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_adr_1" DataField="receiver_adr_1" Left="133.92" Top="1340.64" Width="3929.953" Height="198.4252" Text="お届け先の住所" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="Label1" Left="136.8002" Top="2508.48" Width="1000.8" Height="165.6" Text="ご依頼主" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.75pt; text-align: center; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_zipLabel" Left="1198.08" Top="2508.48" Width="156.96" Height="178.56" Text="〒" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.75pt; text-align: center; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_adr_1" DataField="kokyaku_adr_1" Left="135.36" Top="2675.52" Width="3929.76" Height="198.72" Text="ご依頼主の住所" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="Label2" Left="2185.92" Top="138.24" Width="823.8954" Height="199.4685" Text="料金別納" Style="font-family: BIZ UDゴシック; font-size: 8.25pt; font-weight: normal; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="receiver_adr_2" DataField="receiver_adr_2" Left="133.92" Top="1517.918" Width="3929.953" Height="198.4252" Text="お届け先の住所" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="receiver_adr_3" DataField="receiver_adr_3" Left="133.92" Top="1702.397" Width="3929.953" Height="198.4253" Text="お届け先の住所" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="receiver_nm_2" DataField="receiver_nm_2" Left="135.36" Top="2301.12" Width="3540.472" Height="198.4252" Text="お届け先の名称" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_adr_2" DataField="kokyaku_adr_2" Left="135.3602" Top="2869.92" Width="3929.76" Height="198.72" Text="ご依頼主の住所" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="todoke_keisho_kbn_nm" DataField="todoke_keisho_kbn_nm" Left="3674.88" Top="2204.64" Width="374.7402" Height="289.44" Text="様" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 8.25pt; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="goirai_keisho_kbn_nm" DataField="goirai_keisho_kbn_nm" Left="3690.72" Top="3372.48" Width="374.4" Height="289.44" Text="様" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 8.25pt; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_zip_2" DataField="kokyaku_zip_2" Left="1506.24" Top="2508.48" Width="156.96" Height="178.56" Text="9" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_zip_3" DataField="kokyaku_zip_3" Left="1657.44" Top="2508.48" Width="156.96" Height="178.56" Text="9" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="zip_Label" Left="1798.56" Top="2508.48" Width="156.96" Height="178.56" Text="-" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.75pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_zip_5" DataField="kokyaku_zip_5" Left="2106.72" Top="2508.48" Width="156.96" Height="178.56" Text="9" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_zip_1" DataField="kokyaku_zip_1" Left="1355.04" Top="2508.48" Width="156.96" Height="178.56" Text="9" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_zip_4" DataField="kokyaku_zip_4" Left="1955.52" Top="2508.48" Width="156.96" Height="178.56" Text="9" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_zip_6" DataField="kokyaku_zip_6" Left="2257.92" Top="2508.48" Width="156.96" Height="178.56" Text="9" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="receiver_zip_5" DataField="receiver_zip_5" Left="2106.72" Top="1154.88" Width="151.8798" Height="178.4012" Text="9" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_zip_7" DataField="kokyaku_zip_7" Left="2394.72" Top="2508.48" Width="156.96" Height="178.56" Text="9" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_adr_3" DataField="kokyaku_adr_3" Left="136.8002" Top="3068.64" Width="3929.76" Height="198.72" Text="ご依頼主の住所" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_nm_1" DataField="kokyaku_nm_1" Left="135.3602" Top="3267.36" Width="3540.96" Height="198.72" Text="ご依頼主の名称" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_nm_2" DataField="kokyaku_nm_2" Left="135.3602" Top="3463.201" Width="3540.96" Height="198.72" Text="ご依頼主の名称" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_nm_1" DataField="receiver_nm_1" Left="133.92" Top="2102.876" Width="3540.472" Height="198.4252" Text="お届け先の名称" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="Label4" Left="2185.92" Top="138.24" Width="823.8954" Height="199.4685" Text="料金後納" Style="font-family: BIZ UDゴシック; font-size: 8.25pt; font-weight: normal; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="lbl_shohin_nm" Left="136.8" Top="3692.16" Width="417.6" Height="184.32" Text="品名" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="shohin_nm001" Left="568.8" Top="3706.56" Width="2432.16" Height="357.12" Text="品名１品名２" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; ddo-char-set: 128" />
      <Control Type="AR.Barcode" Name="shiwake_no_barcode_2" DataField="shiwake_no_barcode" Tag="" Left="293.76" Top="210.24" Width="1060.157" Height="623.6221" BarStyle="10" Text="123456" Font="ＭＳ Ｐゴシック" FontSize="6" CODE128="0;0;0" />
      <Control Type="AR.Field" Name="shiwake_no_fmt" DataField="shiwake_no_fmt" Left="1576.8" Top="374.4" Width="1653.12" Height="442.08" Text="仕分番号" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 18pt; text-align: center; text-decoration: none; text-justify: auto; vertical-align: middle; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="TextBox3" Left="1198.08" Top="1154.88" Width="156.7222" Height="178.4012" Text="〒" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="TextBox1" Left="1798.56" Top="1154.88" Width="156.722" Height="178.5601" Text="-" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="TextBox2" Left="135.36" Top="1154.88" Width="1000.8" Height="180" Text="お届け先" CanGrow="0" Style="background-color: Black; color: White; font-family: BIZ UDゴシック; font-size: 6.75pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Shape" Name="Shape1" Left="136.8" Top="2489.76" Width="1019.52" Height="184.32" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Line" Name="Line1" X1="136.8" Y1="1152" X2="4428" Y2="1152" />
      <Control Type="AR.Line" Name="Line2" X1="136.8" Y1="3689.28" X2="3024" Y2="3689.28" />
      <Control Type="AR.Line" Name="Line3" X1="136.8" Y1="2489.76" X2="4428" Y2="2489.76" />
      <Control Type="AR.Line" Name="Line4" X1="1605.6" Y1="816.48" X2="3189.6" Y2="816.48" />
      <Control Type="AR.Field" Name="TextBox9" Left="3362.4" Top="165.6" Width="1215.36" Height="172.8" Text="お問い合わせ" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="TextBox10" Left="3362.4" Top="341.28" Width="1215.36" Height="172.8" Text="荷物番号" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; text-justify: auto; vertical-align: top; white-space: nowrap; ddo-char-set: 1; ddo-font-vertical: none" CharacterSpacing="5" />
      <Control Type="AR.Line" Name="Line5" X1="3353.76" Y1="529.92" X2="4577.76" Y2="529.92" />
      <Control Type="AR.Field" Name="OKURIJO_NO1" DataField="tracking_no_fmt" Left="3353.76" Top="542.88" Width="1219.68" Height="228.96" Text="XXXX-XXXX-XXXX" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 8.25pt; text-align: center; vertical-align: middle; ddo-char-set: 128" PaddingTop="1" />
      <Control Type="AR.Line" Name="Line6" X1="2193.12" Y1="326.88" X2="3013.921" Y2="326.88" />
      <Control Type="AR.Shape" Name="Shape2" Left="152.6399" Top="894.2401" Width="672.4801" Height="227.52" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Field" Name="TextBox11" Left="152.64" Top="908.6401" Width="669.6" Height="211.68" Text="郵便局控" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.75pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="weight_nm" DataField="weight_kbn_nm" Left="2485.44" Top="927.3601" Width="372.96" Height="210.24" Text="重量" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="yupakku_Label" Left="864.0001" Top="927.36" Width="715.68" Height="210.24" Text="ゆうパック" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="motochakudai_nm" Left="1599.84" Top="927.3601" Width="871.2" Height="210.24" Text="元払" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Label" Name="yuukou_Label_1" Left="4137.12" Top="783.36" Width="898.5602" Height="123.5907" Caption="送り状有効期限：" Style="font-family: BIZ UDゴシック; font-size: 5.25pt; text-align: right; vertical-align: top; ddo-char-set: 128; ddo-font-vertical: none" />
      <Control Type="AR.Field" Name="label_yuukou_ymd_year" DataField="label_yuukou_ymd_year" Left="5027.04" Top="783.36" Width="315.3457" Height="123.5904" Text="9999" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 5.25pt; text-align: right; vertical-align: top; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Label" Name="yuukou_Label_2" Left="5331.616" Top="783.36" Width="115.9044" Height="126.992" Caption="/" Style="font-family: BIZ UDゴシック; font-size: 5.25pt; text-align: center; vertical-align: top; ddo-char-set: 128; ddo-font-vertical: none" />
      <Control Type="AR.Field" Name="label_yuukou_ymd_month" DataField="label_yuukou_ymd_month" Left="5447.521" Top="783.36" Width="162.7226" Height="123.5903" Text="99" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 5.25pt; text-align: right; vertical-align: top; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Label" Name="yuukou_Label_3" Left="5610.24" Top="783.36" Width="115.2" Height="126.72" Caption="/" Style="font-family: BIZ UDゴシック; font-size: 5.25pt; text-align: center; 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="5725.44" Top="783.36" Width="182.5529" Height="123.5903" Text="99" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 5.25pt; text-align: right; vertical-align: top; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="TextBox4" Left="141.12" Top="4076.64" Width="417.6" Height="184.32" Text="記事" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Shape" Name="Shape8" Left="136.8" Top="3692.16" Width="417.6" Height="184.32" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Field" Name="kiji_nm_1" DataField="kiji_nm_1" Left="568.8" Top="4076.64" Width="2432.16" Height="254.88" Text="記事１○○○○○○○○○○○○○○○○○○○○○●" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Barcode" Name="KokyakuQRCode" DataField="kokyaku_qr_value" Left="4913.28" Top="2676.96" Width="923.04" Height="923.04" 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.Shape" Name="Shape9" Left="4210.563" Top="2787.84" Width="604.8001" Height="575.9998" BackColor="16777215" LineStyle="2" Shape="1" RoundingRadius="9.999999" />
      <Control Type="AR.Label" Name="Label8" Left="4210.56" Top="2783.52" Width="603.3602" Height="568.7999" Caption="受領印&#xD;&#xA;サイン" Style="color: Black; font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="KokyakuQRCodeLabel" Left="4842.72" Top="2456.64" Width="1098.721" Height="194.4" Text="【引受用顧客コード】" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 5.25pt; text-align: center; vertical-align: middle; white-space: inherit; ddo-char-set: 128; ddo-font-vertical: none" />
      <Control Type="AR.Field" Name="Label_keep_mongon" Left="840.9601" Top="4363.2" Width="698.4" Height="128.1593" Text="（１年保存）" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 5pt; text-align: left; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="TextBox6" DataField="receiver_zip_2" Left="1505.27" Top="5117.762" Width="151.8798" Height="178.4012" Text="9" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="TextBox8" DataField="receiver_zip_1&#xD;&#xA;" Left="1358.39" Top="5117.762" Width="151.8798" Height="178.4012" Text="9" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="receiver_nm2_1" DataField="receiver_nm_1" Left="138.24" Top="6094.081" Width="3540.472" Height="198.4252" Text="お届け先の名称" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="receiver_nm2_2" DataField="receiver_nm_2" Left="139.6801" Top="6292.326" Width="3540.472" Height="198.4252" Text="お届け先の名称" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="goirai_keisho_kbn_nm2" DataField="goirai_keisho_kbn_nm" Left="3681.125" Top="7382.406" Width="374.4" Height="289.44" Text="様" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 8.25pt; vertical-align: top; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_zip2_7" DataField="kokyaku_zip_7" Left="2414.88" Top="6511.681" Width="156.96" Height="178.56" Text="9" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_adr2_2" DataField="kokyaku_adr_2" Left="140.6504" Top="6879.844" Width="3929.76" Height="198.72" Text="ご依頼主の住所" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="shohin_nm0012" Left="573.1201" Top="8269.921" Width="2432.16" Height="355.68" Text="品名１品名２" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="TextBox22" DataField="receiver_zip_4" Left="1944.47" Top="5117.762" Width="151.8798" Height="178.4012" Text="9" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_zip2_4" DataField="kokyaku_zip_4" Left="1955.52" Top="6511.681" Width="156.96" Height="178.56" Text="9" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="receiver_adr2_1" DataField="receiver_adr_1" Left="137.2696" Top="5293.443" Width="3929.953" Height="198.4252" Text="お届け先の住所" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="zip_label2" Left="1798.56" Top="6511.681" Width="156.96" Height="178.56" Text="-" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.75pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_zip2_1" DataField="kokyaku_zip_1" Left="1355.04" Top="6511.681" Width="156.96" Height="178.56" Text="9" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Shape" Name="Shape13" Left="155.9899" Top="4857.136" Width="672.4801" Height="227.52" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Field" Name="kokyaku_adr2_1" DataField="kokyaku_adr_1" Left="139.68" Top="6681.6" Width="3929.76" Height="198.72" Text="ご依頼主の住所" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="TextBox32" DataField="receiver_zip_7" Left="2398.07" Top="5117.762" Width="151.8798" Height="178.4012" Text="9" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="TextBox34" Left="1215.83" Top="5117.762" Width="156.7222" Height="178.4012" Text="〒" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 1" />
      <Control Type="AR.Shape" Name="Shape14" Left="136.8" Top="6504.48" Width="1019.52" Height="184.32" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Field" Name="TextBox35" Left="141.12" Top="6518.881" Width="990.7201" Height="165.6" Text="ご依頼主" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.75pt; text-align: center; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="todoke_keisho_kbn_nm2" DataField="todoke_keisho_kbn_nm" Left="3679.2" Top="6201.607" Width="374.7402" Height="289.44" Text="様" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 8.25pt; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_nm2_2" DataField="kokyaku_nm_2" Left="140.6504" Top="7473.125" Width="3540.96" Height="198.72" Text="ご依頼主の名称" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="kokyaku_adr2_3" DataField="kokyaku_adr_3" Left="142.0904" Top="7078.566" Width="3929.76" Height="198.72" Text="ご依頼主の住所" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="yupakku_Label2" Left="848.6295" Top="4890.242" Width="715.6797" Height="210.2399" Text="ゆうパック" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="motochakudai_nm2" Left="1599.84" Top="4890.24" Width="871.2" Height="210.24" Text="元払" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="TextBox42" DataField="receiver_zip_3&#xD;&#xA;" Left="1646.39" Top="5117.762" Width="151.8798" Height="178.4012" Text="9" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Barcode" Name="Barcode2" DataField="tracking_no_barcode" Left="3251.906" Top="7757.291" Width="2557.417" Height="740.9764" BarStyle="16" Text="A123456789012A" CaptionPos="2" Checksum="0" Font="ＭＳ Ｐゴシック" FontSize="5" CODE128="0;0;0" />
      <Control Type="AR.Field" Name="TextBox46" Left="1801.91" Top="5117.762" Width="156.722" Height="178.5601" Text="-" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_zip2_6" DataField="kokyaku_zip_6" Left="2247.84" Top="6511.681" Width="156.96" Height="178.56" Text="9" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_zip2_5" DataField="kokyaku_zip_5" Left="2106.72" Top="6511.681" Width="156.96" Height="178.56" Text="9" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_zip2_2" DataField="kokyaku_zip_2" Left="1506.24" Top="6511.681" Width="156.96" Height="178.5601" Text="9" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="TextBox52" Left="136.8" Top="5113.44" Width="1000.8" Height="180" Text="お届け先" CanGrow="0" Style="background-color: Black; color: White; font-family: BIZ UDゴシック; font-size: 6.75pt; text-align: center; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_adr2_3" DataField="receiver_adr_3" Left="137.2696" Top="5679.364" Width="3929.953" Height="198.4253" Text="お届け先の住所" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Line" Name="Line10" X1="136.8" Y1="8269.921" X2="3024" Y2="8269.921" />
      <Control Type="AR.Field" Name="TextBox58" Left="199.1896" Top="4871.523" Width="568.8" Height="211.6801" Text="貼付用" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.75pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="TextBox59" DataField="receiver_zip_5" Left="2095.67" Top="5117.762" Width="151.8798" Height="178.4012" Text="9" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 1" />
      <Control Type="AR.Line" Name="Line11" X1="136.8" Y1="5114.896" X2="4431.349" Y2="5114.883" />
      <Control Type="AR.Field" Name="kokyaku_nm2_1" DataField="kokyaku_nm_1" Left="140.6504" Top="7277.284" Width="3540.96" Height="198.72" Text="ご依頼主の名称" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="receiver_adr2_2" DataField="receiver_adr_2" Left="137.27" Top="5480.809" Width="3929.953" Height="198.4252" Text="お届け先の住所" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="TextBox65" Left="141.12" Top="8269.921" Width="417.6" Height="184.32" Text="品名" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="TextBox66" DataField="receiver_zip_6" Left="2246.87" Top="5117.762" Width="151.8798" Height="178.4012" Text="9" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="weight_nm2" DataField="weight_kbn_nm" Left="2485.44" Top="4885.92" Width="372.96" Height="210.24" Text="重量" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Shape" Name="Shape18" Left="136.8" Top="8268.48" Width="417.6" Height="184.32" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Field" Name="TextBox70" Left="1215.36" Top="6511.681" Width="156.96" Height="178.56" Text="〒" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.75pt; text-align: center; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_zip2_3" DataField="kokyaku_zip_3" Left="1657.44" Top="6511.681" Width="156.96" Height="178.56" Text="9" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="TextBox74" Left="4588.811" Top="6774.726" Width="1248.48" Height="378.7197" Text="お問い合わせ&#xD;&#xA;荷　物　番　号" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 7pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="TextBox75" DataField="tracking_no_fmt" Left="4584.492" Top="7167.843" Width="1248.48" Height="231.8401" Text="XXXX-XXXX-XXXX" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 8pt; text-align: center; vertical-align: middle; ddo-char-set: 128" PaddingTop="1" />
      <Control Type="AR.Label" Name="Label9" Left="126.72" Top="8814.239" Width="5220" Height="331.2" Caption="●損害賠償の限度額は原則として 30 万円です。&#xD;&#xA;●その他お取り扱いはゆうパック約款によります。&#xD;&#xA;日本郵便株式会社　〒100-8792 東京都千代田区大手町二丁目３番１号(TEL:0570-080-022)" Style="font-family: BIZ UDゴシック; font-size: 5pt; text-align: left; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="receiver_tel_1" DataField="receiver_tel" Left="2842.56" Top="1170.72" Width="1251.36" Height="170.0788" Text="15-9999-999912345678" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: left; vertical-align: top; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Label" Name="Label17" Left="2563.37" Top="1174.507" Width="286.3903" Height="158.7402" Caption="TEL:" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: right; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="receiver_tel_2" DataField="receiver_tel" Left="2849.275" Top="5132.161" Width="1251.36" Height="170.0788" Text="15-9999-999912345678" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: left; vertical-align: top; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Label" Name="Label3" Left="2568.16" Top="5134.511" Width="286.3903" Height="158.7402" Caption="TEL:" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: right; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_tel_1" DataField="kokyaku_tel" Left="2858.4" Top="2518.56" Width="1251.36" Height="170.0788" Text="15-9999-999912345678" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: left; vertical-align: top; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Label" Name="Label6" Left="2579.04" Top="2518.56" Width="286.3902" Height="158.7402" Caption="TEL:" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: right; ddo-char-set: 128" />
      <Control Type="AR.Label" Name="Label10" Left="2586.24" Top="6528.96" Width="286.3903" Height="158.7402" Caption="TEL:" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: right; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="kokyaku_tel_2" DataField="kokyaku_tel" Left="2865.6" Top="6528.96" Width="1251.36" Height="170.0788" Text="15-9999-999912345678" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: left; vertical-align: top; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Line" Name="Line13" X1="4598.89" Y1="7153.444" X2="5851.692" Y2="7153.444" />
      <Control Type="AR.Barcode" Name="Barcode3" DataField="tracking_no_barcode" Left="3251.906" Top="3689.008" Width="2557.417" Height="741.5433" BarStyle="16" Text="A123456789012A" CaptionPos="2" Checksum="0" Font="ＭＳ Ｐゴシック" FontSize="5" CODE128="0;0;0" />
      <Control Type="AR.Field" Name="cvs_nm" Left="4734.72" Top="180" Width="1179.36" Height="567.36" Text="郵便局&#xD;&#xA;受取" Style="background-color: Black; color: White; font-family: BIZ UDゴシック; font-size: 9pt; font-weight: bold; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="cvs_nm2" Left="4695.84" Top="4818.24" Width="1179.36" Height="342.72" Text="郵便局受取" Style="background-color: Black; color: White; font-family: BIZ UDゴシック; font-size: 9pt; font-weight: bold; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="convenience_information2" DataField="convenience_information" Left="137.7548" Top="5878.081" Width="4536" Height="198.72" Text="郵便局名５６７８９０あいうえおかきくけこさしすせそ【局窓口受取】" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="convenience_information1" DataField="convenience_information" Left="133.92" Top="1900.8" Width="4536" Height="198.72" Text="郵便局名５６７８９０あいうえおかきくけこさしすせそ【局窓口受取】" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="tomeokikikan" Left="4993.92" Top="1997.28" Width="925.9199" Height="338.4" Text="留置７日間" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 8pt; font-weight: bold; text-align: center; text-justify: auto; vertical-align: middle; white-space: nowrap; ddo-char-set: 1; ddo-font-vertical: none" />
      <Control Type="AR.Shape" Name="tomeokikikan_shape" Left="4988.16" Top="1997.28" Width="925.9199" Height="338.4" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Field" Name="hassomoto12" DataField="hassomoto2" Left="573.1201" Top="7974.72" Width="2432.16" Height="269.2797" Text="○○物流株式会社　東京配送センター" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="hassomoto11" DataField="hassomoto1" Left="573.1201" Top="7705.44" Width="2432.16" Height="269.28" Text="〒１２３－２２２２　東京都渋谷区千駄ヶ谷１－１－１９９９９９" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="TextBox23" Left="138.24" Top="7705.44" Width="417.6" Height="184.32" Text="発送元" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Line" Name="Line8" X1="136.8" Y1="7691.04" X2="3024" Y2="7691.04" />
      <Control Type="AR.Field" Name="kokyaku_senyo_no1" DataField="kokyaku_senyo_no" Left="1175.04" Top="8624.16" Width="1254.24" Height="168.4803" Text="ABCDE1234567890" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6.012pt; white-space: inherit; ddo-char-set: 128" />
      <Control Type="AR.Line" Name="Line18" X1="136.8" Y1="8624.16" X2="3024" Y2="8624.16" />
      <Control Type="AR.Field" Name="TextBox33" Left="122.4" Top="8625.601" Width="1015.2" Height="168.4799" Text="お客さま専用番号" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 6pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 1" />
      <Control Type="AR.Field" Name="leteral1" DataField="leteral1" Left="486.7203" Top="4363.2" Width="354.1827" Height="138.4665" Text="YR01" CanGrow="0" Style="font-family: BIZ UDゴシック; font-size: 5pt; text-align: center; vertical-align: middle; white-space: nowrap; ddo-char-set: 128" />
      <Control Type="AR.Label" Name="Label5" Left="79.2" Top="4235.041" Width="361.44" Height="334.0798" Caption="◣" Style="font-family: BIZ UDゴシック; font-size: 27.75pt; text-align: left; vertical-align: middle; ddo-char-set: 0" />
      <Control Type="AR.Field" Name="cvs_gyosya_nm1" DataField="cvs_gyosya_nm" Left="3536.64" Top="927.3601" Width="891.3599" Height="227.52" Text="通販業者名" Style="background-color: Black; color: White; font-family: BIZ UDゴシック; font-size: 6.012pt; font-weight: bold; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Field" Name="cvs_gyosya_nm2" DataField="cvs_gyosya_nm" Left="3536.64" Top="4885.92" Width="891.3599" Height="227.52" Text="通販業者名" Style="background-color: Black; color: White; font-family: BIZ UDゴシック; font-size: 6.012pt; font-weight: bold; text-align: center; vertical-align: middle; ddo-char-set: 128" />
      <Control Type="AR.Line" Name="Line9" X1="136.8" Y1="6504.48" X2="4430.88" Y2="6504.48" />
      <Control Type="AR.Shape" Name="Shape5" Left="136.8" Top="4076.64" Width="417.6" Height="184.32" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Line" Name="Line7" X1="136.8" Y1="4076.64" X2="3024" Y2="4076.64" />
      <Control Type="AR.Shape" Name="Shape17" Left="136.8" Top="7691.04" Width="417.6" Height="184.32" BackColor="16777215" RoundingRadius="9.999999" />
      <Control Type="AR.Shape" Name="Shape10" Left="136.8" Top="8624.16" Width="1015.2" Height="169.9204" BackColor="16777215" RoundingRadius="9.999999" />
    </Section>
    <Section Type="PageFooter" Name="PageFooter1" Height="0" BackColor="16777215" />
  </Sections>
  <ReportComponentTray />
  <Script><![CDATA['---フォントサイズ切替境界 変数宣言---
'名称，住所（MAX:50Byte）
const FONT_SMALL as integer = 40 
const FONT_MID as integer = 25 

'商品（MAX:100Byte）
const FONT_SHOHIN_SMALL as integer = 69
const FONT_SHOHIN_MID as integer = 51

'通販業者名
const FONT_GYOSYA_SMALL as integer = 12
const FONT_GYOSYA_MID as integer = 8

'局窓口受取郵便局名（MAX:64Byte）
const FONT_SHOPNM_SMALL as integer = 47
const FONT_SHOPNM_MID as integer = 41

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

'局窓口受取郵便局名フォント定義
const SHOPNM_LARGE as integer = 9
const SHOPNM_MID as integer = 8
const SHOPNM_SMALL as integer = 7

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

'ご依頼主名称フォント定義
const NIOKURINM_LARGE as integer = 9
const NIOKURINM_MID as integer = 8
const NIOKURINM_SMALL as integer = 7

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

'記事フォント定義
const KIJI_LARGE as double = 8
const KIJI_MID as double = 7
const KIJI_SMALL as double = 6

'通販業者名フォント定義
Const GYOSYA_LARGE As Double = 9
Const GYOSYA_MID As Double = 7
Const GYOSYA_SMALL as Double = 4

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

'お届先住所のデフォルトサイズ定義
const TODOKEADR_DEF as double = 6.012

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

'局窓口受取郵便局名デフォルトサイズ定義
const SHOPNM_DEF as double = 6.012

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

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

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

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

'通販業者名デフォルトサイズ定義
const GYOSYA_DEF as double = 6.012

''現在のRPXの設定サイズを格納する変数
''配達証欄
'お届先住所フォント定義
dim receiver_adr_1_Size as double
dim receiver_adr_2_Size as double
dim receiver_adr_3_Size as double

'局窓口受取郵便局名フォント定義
dim convenience_information1_Size as double
	
'お届先名称フォント定義
dim receiver_nm_1_Size as double
dim receiver_nm_2_Size as double

'ご依頼主住所フォント定義
dim kokyaku_adr_1_Size as double
dim kokyaku_adr_2_Size as double
dim kokyaku_adr_3_Size as double

'ご依頼主名称フォント定義
dim kokyaku_nm_1_Size as double
dim kokyaku_nm_2_Size as double

''貼付用欄
'お届先住所フォント定義
dim receiver_adr2_1_Size as double
dim receiver_adr2_2_Size as double
dim receiver_adr2_3_Size as double
	
'お届先名称フォント定義
dim receiver_nm2_1_Size as double
dim receiver_nm2_2_Size as double

'ご依頼主住所フォント定義
dim kokyaku_adr2_1_Size as double
dim kokyaku_adr2_2_Size as double
dim kokyaku_adr2_3_Size as double

'ご依頼主名称フォント定義
dim kokyaku_nm2_1_Size as double
dim kokyaku_nm2_2_Size as double

''郵便局控欄
'お届先住所フォント定義
dim receiver_adr3_1_Size as double
dim receiver_adr3_2_Size as double
dim receiver_adr3_3_Size as double
	
'お届先名称フォント定義
dim receiver_nm3_1_Size as double
dim receiver_nm3_2_Size as double

'ご依頼主住所フォント定義
dim kokyaku_adr3_1_Size as double
dim kokyaku_adr3_2_Size as double
dim kokyaku_adr3_3_Size as double

'ご依頼主名称フォント定義
dim kokyaku_nm3_1_Size as double
dim kokyaku_nm3_2_Size as double

'商品名フォント定義
dim shohin_nm001_Size as double

'記事フォント定義
dim kiji_nm_1_Size as double

'業者名フォント定義
dim cvs_gyosya_nm1_Size As Double
dim cvs_gyosya_nm2_Size As Double

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

Sub ActiveReport_ReportStart
	
	'スタート時に現在のRPXの設定サイズを取得する
	'お届先住所フォント定義
	try
		receiver_adr_1_Size = ctype(me.Detail1.Controls("receiver_adr_1"), DataDynamics.ActiveReports.TextBox).Font.Size
		receiver_adr_2_Size = ctype(me.Detail1.Controls("receiver_adr_2"), DataDynamics.ActiveReports.TextBox).Font.Size
		receiver_adr_3_Size = ctype(me.Detail1.Controls("receiver_adr_3"), DataDynamics.ActiveReports.TextBox).Font.Size
		convenience_information1_Size = ctype(me.Detail1.Controls("convenience_information1"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	
	'お届先名称フォント定義
	try
		receiver_nm_1_Size = ctype(me.Detail1.Controls("receiver_nm_1"), DataDynamics.ActiveReports.TextBox).Font.Size
		receiver_nm_2_Size = ctype(me.Detail1.Controls("receiver_nm_2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try

	'ご依頼主住所フォント定義
	try
		kokyaku_adr_1_Size = ctype(me.Detail1.Controls("kokyaku_adr_1"), DataDynamics.ActiveReports.TextBox).Font.Size
		kokyaku_adr_2_Size = ctype(me.Detail1.Controls("kokyaku_adr_2"), DataDynamics.ActiveReports.TextBox).Font.Size
		kokyaku_adr_3_Size = ctype(me.Detail1.Controls("kokyaku_adr_3"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try

	'ご依頼主名称フォント定義
	try
		kokyaku_nm_1_Size = ctype(me.Detail1.Controls("kokyaku_nm_1"), DataDynamics.ActiveReports.TextBox).Font.Size
		kokyaku_nm_2_Size = ctype(me.Detail1.Controls("kokyaku_nm_2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try

	'商品名フォント定義
	try
		shohin_nm001_Size = ctype(me.Detail1.Controls("shohin_nm001"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try

	'記事フォント定義
	try
		kiji_nm_1_Size = ctype(me.Detail1.Controls("kiji_nm_1"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try

	'通販業者名フォント定義
	try
		cvs_gyosya_nm1_Size = ctype(me.Detail1.Controls("cvs_gyosya_nm1"), DataDynamics.ActiveReports.TextBox).Font.Size
		cvs_gyosya_nm2_Size = ctype(me.Detail1.Controls("cvs_gyosya_nm2"), DataDynamics.ActiveReports.TextBox).Font.Size
	Catch ex as exception
	End Try
	
End Sub

Sub Detail1_Format
		
	'初期化処理	

	'通販業者名
	Try
		CType(Me.Detail1.Controls("cvs_gyosya_nm1"), DataDynamics.ActiveReports.TextBox).Visible = True
		CType(Me.Detail1.Controls("cvs_gyosya_nm2"), DataDynamics.ActiveReports.TextBox).Visible = True
	Catch ex As exception
	End Try
	
	'保存期間「1年保存」と印字
	try
		ctype(me.Detail1.Controls("Label_keep_mongon"), DataDynamics.ActiveReports.TextBox).Text = "（1年保存）"
	Catch ex as exception
	End Try
		
	'品名欄　2明細を結合して印字する。
	try
		CType(me.Detail1.Controls("shohin_nm001"), DataDynamics.ActiveReports.TextBox).Text = rpt.Fields("shohin_nm001").Value.tostring & rpt.Fields("shohin_nm002").Value.tostring
		CType(me.Detail1.Controls("shohin_nm0012"), DataDynamics.ActiveReports.TextBox).Text = rpt.Fields("shohin_nm001").Value.tostring & rpt.Fields("shohin_nm002").Value.tostring
	Catch ex as exception
	End Try
	
	'通販業者名なしの場合、印字しない
	If rpt.Fields("cvs_gyosya_nm").Value.ToString() = string.empty Then	
		Try
			CType(Me.Detail1.Controls("cvs_gyosya_nm1"), DataDynamics.ActiveReports.TextBox).Visible = False
			CType(Me.Detail1.Controls("cvs_gyosya_nm2"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex As exception
		End Try
	End If
		
	'////印字制御処理
	'「元払」と印字する。
	try
		ctype(me.Detail1.Controls("motochakudai_nm"), DataDynamics.ActiveReports.TextBox).Text = "元払"
		ctype(me.Detail1.Controls("motochakudai_nm2"), DataDynamics.ActiveReports.TextBox).Text = "元払"
	Catch ex as exception
	End Try

	'「郵便局受取」/「はこぽす」と印字する。
	'留置期間、はこぽすは印字しない。
	if rpt.Fields("cvs_hanbetsu_cd").Value.tostring() = "5" then
		ctype(me.Detail1.Controls("cvs_nm"), DataDynamics.ActiveReports.TextBox).Text = "はこぽす"
		ctype(me.Detail1.Controls("cvs_nm2"), DataDynamics.ActiveReports.TextBox).Text = "はこぽす"
		''ctype(me.Detail1.Controls("tomeokikikan_shape"), DataDynamics.ActiveReports.Shape).Visible = False
		''ctype(me.Detail1.Controls("tomeokikikan"), DataDynamics.ActiveReports.TextBox).Visible = False
		ctype(me.Detail1.Controls("tomeokikikan"), DataDynamics.ActiveReports.TextBox).Text = "留置３日間"
	else
		ctype(me.Detail1.Controls("cvs_nm"), DataDynamics.ActiveReports.TextBox).Text = "郵便局" & vbCrlf & "受取"
		ctype(me.Detail1.Controls("cvs_nm2"), DataDynamics.ActiveReports.TextBox).Text = "郵便局受取"
		''ctype(me.Detail1.Controls("tomeokikikan_shape"), DataDynamics.ActiveReports.Shape).Visible = True
		''ctype(me.Detail1.Controls("tomeokikikan"), DataDynamics.ActiveReports.TextBox).Visible = True
		ctype(me.Detail1.Controls("tomeokikikan"), DataDynamics.ActiveReports.TextBox).Text = "留置７日間"
	End If
	
	'「別納」，「後納」ラベルの制御
	if rpt.Fields("shiharai_houhou_kbn").Value.tostring() = "2" then

		'後納の場合、「後納」ラベルを印字
		try
			ctype(me.Detail1.Controls("Label2"), DataDynamics.ActiveReports.TextBox).Visible = False
			ctype(me.Detail1.Controls("Label4"), DataDynamics.ActiveReports.TextBox).Visible = True
		Catch ex as exception
		End Try

	Else

		'別納の場合、「別納」ラベルを印字
		try
			ctype(me.Detail1.Controls("Label2"), DataDynamics.ActiveReports.TextBox).Visible = True
			ctype(me.Detail1.Controls("Label4"), DataDynamics.ActiveReports.TextBox).Visible = False
		Catch ex as exception
		End Try

	End If
	
	'////フォント制御
	'お届け先住所（配達証欄）
	len = 0
	len = getByteCount("receiver_adr_1")

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

	if len < getByteCount("receiver_adr_3") then
		len = getByteCount("receiver_adr_3")
	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", receiver_adr_1_Size, TODOKEADR_DEF, Font_Size)
	FontSize_Set("receiver_adr_2", receiver_adr_2_Size, TODOKEADR_DEF, Font_Size)
	FontSize_Set("receiver_adr_3", receiver_adr_3_Size, TODOKEADR_DEF, Font_Size)

	'お届け先住所（貼付用欄）
	len = 0
	len = getByteCount("receiver_adr2_1")

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

	if len < getByteCount("receiver_adr2_3") then
		len = getByteCount("receiver_adr2_3")
	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_adr2_1", receiver_adr_1_Size, TODOKEADR_DEF, Font_Size)
	FontSize_Set("receiver_adr2_2", receiver_adr_2_Size, TODOKEADR_DEF, Font_Size)
	FontSize_Set("receiver_adr2_3", receiver_adr_3_Size, TODOKEADR_DEF, Font_Size)

	'お届け先名称（配達証欄）
	len = 0
	len = getByteCount("receiver_nm_1")

	if len < getByteCount("receiver_nm_2") then
		len = getByteCount("receiver_nm_2")
	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", receiver_nm_1_Size, TODOKEADR_DEF, Font_Size)
	FontSize_Set("receiver_nm_2", receiver_nm_2_Size, TODOKEADR_DEF, Font_Size)

	'お届け先名称（貼付用欄）
	len = 0
	len = getByteCount("receiver_nm2_1")

	if len < getByteCount("receiver_nm2_2") then
		len = getByteCount("receiver_nm2_2")
	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_nm2_1", receiver_nm_1_Size, TODOKEADR_DEF, Font_Size)
	FontSize_Set("receiver_nm2_2", receiver_nm_2_Size, TODOKEADR_DEF, Font_Size)
	
	'ご依頼主住所（配達証欄）
	len = 0
	len = getByteCount("kokyaku_adr_1")

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

	if len < getByteCount("kokyaku_adr_3") then
		len = getByteCount("kokyaku_adr_3")
	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", kokyaku_adr_1_Size, NIOKURIADR_DEF, Font_Size)
	FontSize_Set("kokyaku_adr_2", kokyaku_adr_2_Size, NIOKURIADR_DEF, Font_Size)
	FontSize_Set("kokyaku_adr_3", kokyaku_adr_3_Size, NIOKURIADR_DEF, Font_Size)

	'ご依頼主住所（貼付用欄）
	len = 0
	len = getByteCount("kokyaku_adr2_1")

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

	if len < getByteCount("kokyaku_adr2_3") then
		len = getByteCount("kokyaku_adr2_3")
	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_adr2_1", kokyaku_adr_1_Size, NIOKURIADR_DEF, Font_Size)
	FontSize_Set("kokyaku_adr2_2", kokyaku_adr_2_Size, NIOKURIADR_DEF, Font_Size)
	FontSize_Set("kokyaku_adr2_3", kokyaku_adr_3_Size, NIOKURIADR_DEF, Font_Size)
	
	'ご依頼主名称（配達証欄）
	len = 0
	len = getByteCount("kokyaku_nm_1")

	if len < getByteCount("kokyaku_nm_2") then
		len = getByteCount("kokyaku_nm_2")
	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", kokyaku_nm_1_Size, NIOKURINM_DEF, Font_Size)
	FontSize_Set("kokyaku_nm_2", kokyaku_nm_2_Size, NIOKURINM_DEF, Font_Size)	

	'ご依頼主名称（貼付用欄）
	len = 0
	len = getByteCount("kokyaku_nm2_1")

	if len < getByteCount("kokyaku_nm2_2") then
		len = getByteCount("kokyaku_nm2_2")
	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_nm2_1", kokyaku_nm_1_Size, NIOKURINM_DEF, Font_Size)
	FontSize_Set("kokyaku_nm2_2", kokyaku_nm_2_Size, NIOKURINM_DEF, Font_Size)	
	
	'局窓口受取郵便局名（配達証欄）
	len = 0
	len = getByteCount("convenience_information1")

	if len >= FONT_SHOPNM_SMALL then
		Font_Size = SHOPNM_SMALL
	else if len >= FONT_SHOPNM_MID and len < FONT_SHOPNM_SMALL then
		Font_Size = SHOPNM_MID
	else
		Font_Size = SHOPNM_LARGE
	End If
	FontSize_Set("convenience_information1", convenience_information1_Size, SHOPNM_DEF, Font_Size)

	'局窓口受取郵便局名（貼付用欄）
	len = 0
	len = getByteCount("convenience_information2")

	if len >= FONT_SHOPNM_SMALL then
		Font_Size = SHOPNM_SMALL
	else if len >= FONT_SHOPNM_MID and len < FONT_SHOPNM_SMALL then
		Font_Size = SHOPNM_MID
	else
		Font_Size = SHOPNM_LARGE
	End If
	FontSize_Set("convenience_information2", convenience_information1_Size, SHOPNM_DEF, Font_Size)
	
    '商品名（配達証欄）
	len = 0
	len = getByteCount("shohin_nm001")

	if len >= FONT_SHOHIN_SMALL then
		Font_Size = SHOHIN_SMALL
	else if len >= FONT_SHOHIN_MID and len < FONT_SHOHIN_SMALL then
		Font_Size = SHOHIN_MID
	else
		Font_Size = SHOHIN_LARGE
	End If
	FontSize_Set("shohin_nm001", shohin_nm001_Size, SHOHIN_DEF, Font_Size)

	'商品名（貼付用欄）
	len = 0
	len = getByteCount("shohin_nm0012")

	if len >= FONT_SHOHIN_SMALL then
		Font_Size = SHOHIN_SMALL
	else if len >= FONT_SHOHIN_MID and len < FONT_SHOHIN_SMALL then
		Font_Size = SHOHIN_MID
	else
		Font_Size = SHOHIN_LARGE
	End If
	FontSize_Set("shohin_nm0012", shohin_nm001_Size, SHOHIN_DEF, Font_Size)
	
	'記事（配達証欄）
	len = 0
	len = getByteCount("kiji_nm_1")

	if len >= FONT_SMALL then
		Font_Size = KIJI_SMALL
	else if len >= FONT_MID and len < FONT_SMALL then
		Font_Size = KIJI_MID
	else
		Font_Size = KIJI_LARGE
	End If
	FontSize_Set("kiji_nm_1", kiji_nm_1_Size, KIJI_DEF, Font_Size)

	'通販業者名
	len = 0
	len = getByteCount("cvs_gyosya_nm1")

	if len >= FONT_GYOSYA_SMALL then
		Font_Size = GYOSYA_SMALL
	else if len >= FONT_GYOSYA_MID and len < FONT_GYOSYA_SMALL then
		Font_Size = GYOSYA_MID
	else
		Font_Size = GYOSYA_LARGE
	End If
	FontSize_Set("cvs_gyosya_nm1", cvs_gyosya_nm1_Size, GYOSYA_DEF, Font_Size)
	FontSize_Set("cvs_gyosya_nm2", cvs_gyosya_nm2_Size, GYOSYA_DEF, Font_Size)

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]]></Script>
  <PageSettings LeftMargin="0" RightMargin="0" TopMargin="0" BottomMargin="0" />
  <Parameters />
</ActiveReportsLayout>