! 0 200 200 {325*k:N0} {bthlblqty}
{z = 26*x:N0}
{xx = 575*x:N0}
{kk = 325*(k-1):N0}
{kkk = (k-0.73)/0.27}
{Name!=null:{NameCollection = global::System.Split.SplitString(Name, z, 2)};}
{weight!=null:{weightString = weight.ToString("N3")};}
{weight!=null:{weightCollection = global::System.Split.SplitString(weightString, 7, 2)};}
{RegistrationDate!=null:{RegistrationDateString = RegistrationDate.ToString("dd.MM.yyyy hh:mm:ss")};}
{RegistrationDate!=null:{RegistrationDateCollection = global::System.Split.SplitString(RegistrationDateString, 10, 2)};}
{ExpiredDate!=null:{ExpiredDateString = ExpiredDate.ToString("dd.MM.yyyy")};}
{ExpiredDate!=null:{ExpiredDateCollection = global::System.Split.SplitString(ExpiredDateString, 10, 1)};}
{(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"))};}
{(Sum!=null)&&(CopEnable==True):{SumString = Sum.ToString("N2", new global::System.Globalization.CultureInfo("ru-RU"))};}
{(Sum!=null)&&(CopEnable==False):{SumString = Sum.ToString("N0", new global::System.Globalization.CultureInfo("ru-RU"))};}
{WhiteGap:GAP-SENSE;BAR-SENSE}
SPEED 0
CONTRAST {Contrast}
{EnableBorder!=null:{EnableBorder:BOX 10 10 {xx:N0} {325*k:N0} 5;};}
LINE 10 100 {xx:N0} 100 5
LINE {xx-248:N0} 100 {xx-248:N0} 150 5
LINE {xx-150:N0} 100 {xx-150:N0} 150 5
LINE {xx-62:N0} 100 {xx-62:N0} 150 5
LINE {xx-150:N0} {282*k-35:N0} {xx-150:N0} {282*k+15:N0} 5
TEXT MYRIAC14.CPF 0 {xx-140:N0} {259*k-22:N0} {SumString}-
BARCODE-TEXT 7 0 2
{global::Cleverence.Barcoding.EANUPC.IsEAN13orUPC(Barcode):BARCODE EAN13 1 3 {k > 0.9: 77; 50} {x > 0.8 ? 325*x-245:N0 : 15} {113*k+57:N0} {Barcode};BARCODE 128 1 3 {k > 0.9: 77; 50} {x > 0.8 ? 325*x-245:N0 : 35} {113*k+57:N0} {Barcode}}
PCX {xx-105:N0} 23 {CDATA("!<PCT.PCX")}
{NameCollection:TEXT MYRIAB11.CPF 0 30 {k < 0.73 || k>1 ? 20+#*30 : 20+#*30} {Item}
}
{RegistrationDateCollection:TEXT MYRIADC6.CPF 0 {xx-223:N0} {130+#*15} {Item}
}
{ExpiredDateCollection:TEXT MYRIADC6.CPF 0 {xx-135:N0} {130+#*15} {Item}
}
{weightCollection:TEXT MYRIADC6.CPF 0 {xx-48:N0} {130+#*15} {Item}
}
TEXT MYRIADC6.CPF 0 {xx-217:N0} {282*k-35:N0} {PriceString}-
TEXT MYRIADC7.CPF 0 {xx-238:N0} 107 УПАКОВАНО
TEXT MYRIADC7.CPF 0 {xx-127:N0} 107 ГОДЕН
TEXT MYRIADC7.CPF 0 {xx-45:N0} 107 ВЕС
TEXT MYRIADC7.CPF 0 {xx-62:N0} {282*k+5:N0} СУММА
TEXT MYRIADC7.CPF 0 {xx-227:N0} {282*k-15:N0} ЦЕНА, руб.
PRINT
