{k = height / 44.01}
{x = length / 76.01}
! 0 200 200 {325*k:N0} {bthlblqty}
SPEED 0
CONTRAST {Contrast}
{WhiteGap:GAP-SENSE;BAR-SENSE}
{z = 33*k}
{zz = 16*k}
{kk = 325*k}
{(oldPrice!=null)&&(CopEnable==True):{oldPriceString = oldPrice.ToString("N2", new global::System.Globalization.CultureInfo("ru-RU"))};}
{(oldPrice!=null)&&(CopEnable==False):{oldPriceString = oldPrice.ToString("N0", new global::System.Globalization.CultureInfo("ru-RU"))};}
{(Price!=null)&&(CopEnable==True):{PriceString = Price.ToString("N2", new global::System.Globalization.CultureInfo("ru-RU"))};}
{(Price!=null)&&(CopEnable==False):{PriceString = Price.ToString("N0", new global::System.Globalization.CultureInfo("ru-RU"))};}
{SellerString = "Продавец: "+ sellerName + " " + sellerAddress}
{sellerName!=null:{SellerCollection = global::System.Split.SplitString(SellerString, z, 3)};}
{SupplierString = "Поставщик: "+supplierName + " " +supplierAddress}
{supplierName!=null:{SupplierCollection = global::System.Split.SplitString(SupplierString, z, 2)};}
{ProducerString = "Изготовитель: "+producerName + " " + producerAddress}
{producerName!=null:{ProducerCollection = global::System.Split.SplitString(ProducerString, z, 3)};}
{Name!=null:{NameCollection = global::System.Split.SplitString(Name, zz, 2)};}
{descr!=null:{descrCollection = global::System.Split.SplitString(descr, z, 2)};}
{additionInfo!=null:{addedField1Collection = global::System.Split.SplitString(additionInfo, z, 5)};}
{EnableBorder!=null:{EnableBorder:BOX 5 5 {575*x:N0} {kk:N0} 5;};}
{SellerCollection:TEXT90 MYRIADP6.CPF 0 {20+#*17} {kk-25:N0} {Item}
}
{SupplierCollection:TEXT90 MYRIADP6.CPF 0 {90+#*17} {kk-25:N0} {Item}
}
{NameCollection:TEXT90 MYRIAB11.CPF 0 {130+#*27} {kk-25:N0} {Item}
}
{marking:TEXT90 MYRIADP8.CPF 0 195 {kk-35:N0} (0)}
{descrCollection:TEXT90 MYRIADP6.CPF 0 {230+#*17} {kk-25:N0} {Item}
}
BARCODE-TEXT 7 0 2
{global::Cleverence.Barcoding.EANUPC.IsEAN13orUPC(Barcode):VBARCODE EAN13 1 3 50 280 {kk-65:N0} {Barcode};VBARCODE 128 1 3 50 280 {kk-65:N0} {Barcode}}
{addedField1Collection:TEXT90 MYRIADP6.CPF 0 {360+#*17} {kk-25:N0} {Item}
}
{ProducerCollection:TEXT90 MYRIADP6.CPF 0 {444+#*17} {kk-25:N0} {Item}
}
{oldPrice!=null:TEXT90 MYRIAC14.CPF 0 480 {kk-190:N0} {oldPriceString};}
{oldPrice!=null:LINE 505 {kk-190:N0} 505 {kk-190-17*oldPriceString.Length:N0} 3;}
TEXT90 MYRIAB18.CPF 0 510 {kk-45:N0} {PriceString}-
PRINT
