{k = height / 44.01}
{x = length / 76.01}
{length<70:{offset = (76 - length + 20) * 2};{offset = 0}}
! {offset:N0} 200 200 {325*k:N0} {bthlblqty}
{z = 25*x:N0}
{zz = 45*x:N0}
{(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"))};}
{Name!=null:{NameCollection = global::System.Split.SplitString(Name, z, k < 0.9 ? 1 : 2)};}
{descr!=null:{descrCollection = global::System.Split.SplitString(descr, zz, 2)};}
{marking!=null:{markingCollection = global::System.Split.SplitString(marking, zz, 1)};}
{WhiteGap:GAP-SENSE;BAR-SENSE}
SPEED 0
CONTRAST {Contrast}
{kk = 325*(k-1)}
{kkk = (k-0.73)/0.27}
{xx = x < 0.8 || x > 1 ? 20 : 20+20*(x-0.8)/0.2}
{EnableBorder!=null:{EnableBorder:BOX 10 10 {575*x:N0} {325*k:N0} 5;};}
{sellerName:TEXT MYRIADP8.CPF 0 20 18 (0)}
TEXT MYRIADP7.CPF 0 {475+(575*(x-1)):N0} 18 {data:dd.MM.yyyy}
{NameCollection:TEXT MYRIAB12.CPF 0 {xx:N0} {k < 0.73 || k>1 ? 40+#*30 : 40+10*kkk+#*30:N0} {Item}
}
{markingCollection:TEXT MYRIADP8.CPF 0 {xx+2:N0} {k < 0.73 || k>1 ? 112 : 111*k-9+20*kkk:N0} {Item}}
{descrCollection:TEXT MYRIADP8.CPF 0 {xx+8:N0} {k < 0.73 || k>1 ? 124+#*17 : 130*k-6+#*17+30*kkk:N0} {Item}
}
BARCODE-TEXT 7 0 2
{global::Cleverence.Barcoding.EANUPC.IsEAN13orUPC(Barcode):BARCODE EAN13 1 3 50 {370+(575*(x-1)):N0} {227+kk:N0} {Barcode};BARCODE 128 0.1 1 50 {300+(575*(x-1)):N0} {227+kk:N0} {Barcode}}
{oldPrice!=null:TEXT MYRIAC14.CPF 0 {xx+30:N0} {210+kk:N0} {oldPriceString};}
{oldPrice!=null:LINE {xx+25:N0} {232+kk:N0} {xx+30+17*oldPriceString.Length} {232+kk:N0} 3;}
TEXT MYRIAB18.CPF 0 {xx:N0} {240+kk:N0} {PriceString}-
{producerCountry:TEXT MYRIADP7.CPF 0 20 {295+kk:N0} Производство: (0)}
FORM
PRINT
