Dear All, I've a TDL which print in 2 column, can anyone help me to print Barcode using TDL in 4 columns. An early reply will appreciated. thanks in advance. SPS
Dear mpal2311, Below is the code for the same: [#Form : Purchase Color] Add : Print : NSLabel [Report : NSLabel] Form : NSLabel Object : Voucher [Form : NSLabel] Part : NSLabel [Part : NSLabel] Parts : NSPart1, NSPart2 Vertical : No [Part : NSPart2] Use : NSPart1 [Part : NSPart1] Line : NSLabel Repeat : NSLabel : Inventory Entries Scroll : Vertical Width : 25% Page [Line : NSLabel] Field : NSLabel Explode : NSNLine Explode : NSMLable : $$Number:$BilledQty > = 1 [Field : NSLine] Set as : $$Line Invisible : Yes [Field : NSLabel] Use : Name Field Set as : $StockItemName Inactive : Yes [Part : NSNLine] Lines : NSNLine3, NSLName, NSNLine1, NSNLine2 [Line : NSLName] Fields : NSLine, NSLName [Field : NSLName] Use : Name Field Set as : "*" + $PartNo:Stockitem:$StockItemName + "*" Inactive : $$IsEven:$$ExplodeLevel Style : BarCode [Line : NSNLine1] Fields : NSLabel Local : Field : NSLabel : Set as : $PartNo:StockItem:$StockItemName Local : Field : NSLabel : Inactive: $$IsEven:$$ExplodeLevel [Line : NSNLine2] Fields : NSLabel Local : Field : NSLabel : Set as : $Description:StockItem:$StockItemName Local : Field : NSLabel : Inactive: $$IsEven:$$ExplodeLevel [Line : NSNLine3] Fields : Info Field, NSRate Local : Field : Info Field : Info : "Rate: " Local : Field : Info Field : Inactive: $$IsEven:$$ExplodeLevel [Field : NSRate] Use : Rate Price Field Set as : $Rate Align : Left Style : Normal Inactive : $$IsEven:$$ExplodeLevel [Part : NSMLable] Line : NSMLable [Line : NSMLable] Field : NSLabel Explode : NSNLine Explode : NSMLable : $$Number:$BilledQty > = 1+($$ExplodeLevel + $$Line) [Style : BarCode] Font : IDAutomationHC39S Height : 10
Code as below should work as desired by you. Code: [#Form : Purchase Color] Add : Print : NSLabel [Report : NSLabel] Form : NSLabel Object : Voucher [Form : NSLabel] Part : NSLabel [Part : NSLabel] Parts : NSPart1, NSPart2, NSPart1, NSPart2 Vertical : No [Part : NSPart2] Use : NSPart1 [Part : NSPart1] Line : NSLabel Repeat : NSLabel : Inventory Entries Scroll : Vertical Width : 20% Page [Line : NSLabel] Field : NSLabel Explode : NSNLine Explode : NSMLable : $$Number:$BilledQty > = 1 [Field : NSLine] Set as : $$Line Invisible : Yes [Field : NSLabel] Use : Name Field Set as : $StockItemName Inactive : Yes [Part : NSNLine] Lines : NSNLine3, NSLName, NSNLine1, NSNLine2 [Line : NSLName] Fields : NSLine, NSLName [Field : NSLName] Use : Name Field Set as : "*" + $PartNo:Stockitem:$StockItemName + "*" Inactive : $$IsEven:$$ExplodeLevel Style : BarCode [Line : NSNLine1] Fields : NSLabel Local : Field : NSLabel : Set as : $PartNo:StockItem:$StockItemName Local : Field : NSLabel : Inactive: $$IsEven:$$ExplodeLevel [Line : NSNLine2] Fields : NSLabel Local : Field : NSLabel : Set as : $Description:StockItem:$StockItemName Local : Field : NSLabel : Inactive: $$IsEven:$$ExplodeLevel [Line : NSNLine3] Fields : Info Field, NSRate Local : Field : Info Field : Info : "Rate: " Local : Field : Info Field : Inactive: $$IsEven:$$ExplodeLevel [Field : NSRate] Use : Rate Price Field Set as : $Rate Align : Left Style : Normal Inactive : $$IsEven:$$ExplodeLevel [Part : NSMLable] Line : NSMLable [Line : NSMLable] Field : NSLabel Explode : NSNLine Explode : NSMLable : $$Number:$BilledQty > = 1+($$ExplodeLevel + $$Line) [Style : BarCode] Font : IDAutomationHC39S Height : 10