Barcode Printing Vertical

Discussion in 'Tally Developer' started by K Vinod Kumar, Feb 15, 2013.

    
  1. K Vinod Kumar

    K Vinod Kumar New Member


    I want to print bar codes for a purchase invoice. The format should be as follows :

    ABC ITEM
    1234-90-456 (Part No)
    !!!!!!!!!!!!!!! (Bar Code)
    MRP : 9999.99

    If we use Repeat, the fields would be printed in Horizontal format. I want the same to be printed in vertical, so that that above format is achieved.

    Kindly advice.

    Regards
    Vinod
     
    Amol Ashok Bhalgat likes this.


  2. admin

    admin Administrator Staff Member


    In the repeated Line, u can write 4 Lines and each contains 1 field.

    Ex:

    [Part: My Part]
    Line: My Line
    Repeat : My Line: My Repeat
    Scroll: Vertical

    [Line: My Line]
    Line: My Line1,My Line2,My Line3,My Line4

    [Line: My Line1]
    Field: My Field1


    [Line: My Line2]
    Field: My Field2

    Like this...
     
    Pritam Krishna likes this.



  3. Dear Mr. K Vinod Kumar, could you please provide me the code which prints bar code in Horizontal Format ?
    I want to print my price label in horizontal format not in vertical format.
     


  4. Nirav Merchant

    Nirav Merchant Active Member


    what u want to print - Item name ? anything else pls be specific
     



  5. I want to print Item name in Horizontal format.
     
    Vinoth Chandran likes this.


  6. Vinoth Chandran

    Vinoth Chandran New Member


    Dear members, Please provide me the code which prints bar code in Horizontal Format ?
     


  7. kirantikare

    kirantikare Member


    DearMr.Vinod please share your barcode which prints horizontally
    Thanks in advance
     


  8. Vinoth Chandran

    Vinoth Chandran New Member


    Any body, tell me which part is make Bar code print horizontally? and what is the function or attribute use.
     



  9. Hello Admin,

    I have tried the steps Suggested by you

    [Part: My Part]
    Line: My Line
    Repeat : My Line: My Repeat
    Scroll: Vertical

    [Line: My Line]
    Line: My Line1,My Line2,My Line3,My Line4

    [Line: My Line1]
    Field: My Field1


    [Line: My Line2]
    Field: My Field2
    But now the thing is few My Qty is 1 the same get repeated on all the field please find the below Screen Shot

    Please Help.
     

    Attached Files:



  10. admin

    admin Administrator Staff Member


    Send you code to info@veenuscybersoft.com
     



  11. Hello Admin I have sent the Code to above email. please check and reply.
     



  12. Hello Admin is there any updates about Barcode Printing
     


  13. NaraSimhulu Devalam

    NaraSimhulu Devalam New Member



    Hi Muddasar Shaikh & K Vinod Kumar

    Can u try this
     

    Attached Files:




  14. Hello, Narasinhulu Devalam

    Thanks for the reply Well if the Qty is 1 Then also it is Printing 8 Lables.
     

    Attached Files:



  15. NaraSimhulu Devalam

    NaraSimhulu Devalam New Member



    Hi Shaikh

    Can u try this one...
     

    Attached Files:



  16. Nirav Merchant

    Nirav Merchant Active Member


    Hi Try this logic should work - not full code


    [part: MyLabel]

    line: MylabelNameRate
    repeat: MylabelNameRate: Sorted InventoryEntries ;; stock item collection
    scroll: vertical

    [line: mylabelnamerate]
    ;; here in F12 Config u can define a variable if it is set to yes will print that line below barcode
    ;; also u need to have barcode font

    line:MyLabelName
    Add : Option : MyLabelNameRate Show Rate : ##ShowRate
    Add : Option : MyLabelNameRate Show MRP : ##ShowMRP
    Add : Option : MyLabelNameRate Show Desc : ##ShowDesc
    Add : Option : MyLabelNameRate Barcode : $Barcode:Company:##SvCurrentCompany=yes

    [!Line : MyLabelNameRate Barcode ]

    add : Line : At Beginning : MyLabelBarcode

    [!Line : MyLabelNameRate Show MRP]

    add : Line : At End: MyLabelMRP


    [!Line : MyLabelNameRate Show Rate]

    Add : Line : At End : mylabelRate


    [!Line : MyLabelNameRate Show Desc ]

    Add : Line : At End : mylabeldesc


    [line: mylabelBarcode]

    space top: 0.5
    field: BarCodemylabelname, BarCodemylabelname1 , BarCodemyLabelname2
    Local: Field : Default : Width : ##LabelWidth


    [field: BarCodemylabelname]

    use: Short Name Field
    set as: @ItemName
    ItemName : If $$IsEmpty:($StkAlias:StockItem:$StockItemName) then "("+$StockItemName + ")" +
    else "("+($StkAlias:StockItem:$StockItemName)+")"

    Style : BarCode
    Width : @@ShortNameWidth+@@AmountWidth+1


    [#Object : StockItem]

    StkAlias: $$Alias


    [field: BarCodemylabelname1]

    use: short name field
    set as:mad:ItemName
    ItemName : If $$IsEmpty:($StkAlias:StockItem:$StockItemName) then "("+$StockItemName + ")" +
    else "("+($StkAlias:StockItem:$StockItemName)+")"

    inactive: $billedqty=1or @@your>$billedqty
    Style: BarCode
    Width: @@ShortNameWidth+@@AmountWidth+1

    [field: BarCodemylabelname2]

    use: short name field
    set as: @ItemName
    ItemName : If $$IsEmpty:($StkAlias:StockItem:$StockItemName) then "("+$StockItemName + ")" +
    else "("+($StkAlias:StockItem:$StockItemName)+")"

    inactive: $billedqty=1 or $billedqty=2or @@others>$billedqty
    Style: BarCode

    Width: @@ShortNameWidth+@@AmountWidth+1
    ;; also give formula to chk explode level - depends on how many barcode u want to print in single line
    [system: formula]
    my: $$explodelevel+$$explodelevel+$$explodelevel+1

    your: @@my+1

    others:mad:@your+1
     


  17. Nirav Merchant

    Nirav Merchant Active Member


    Hi Try this logic should work - not full code


    [part: MyLabel]

    line: MylabelNameRate
    repeat: MylabelNameRate: Sorted InventoryEntries ;; stock item collection
    scroll: vertical

    [line: mylabelnamerate]
    ;; here in F12 Config u can define a variable if it is set to yes will print that line below barcode
    ;; also u need to have barcode font

    line:MyLabelName
    Add : Option : MyLabelNameRate Show Rate : ##ShowRate
    Add : Option : MyLabelNameRate Show MRP : ##ShowMRP
    Add : Option : MyLabelNameRate Show Desc : ##ShowDesc
    Add : Option : MyLabelNameRate Barcode : $Barcode:Company:##SvCurrentCompany=yes

    [!Line : MyLabelNameRate Barcode ]

    add : Line : At Beginning : MyLabelBarcode

    [!Line : MyLabelNameRate Show MRP]

    add : Line : At End: MyLabelMRP


    [!Line : MyLabelNameRate Show Rate]

    Add : Line : At End : mylabelRate


    [!Line : MyLabelNameRate Show Desc ]

    Add : Line : At End : mylabeldesc


    [line: mylabelBarcode]

    space top: 0.5
    field: BarCodemylabelname, BarCodemylabelname1 , BarCodemyLabelname2
    Local: Field : Default : Width : ##LabelWidth


    [field: BarCodemylabelname]

    use: Short Name Field
    set as: @ItemName
    ItemName : If $$IsEmpty:($StkAlias:StockItem:$StockItemName) then "("+$StockItemName + ")" +
    else "("+($StkAlias:StockItem:$StockItemName)+")"

    Style : BarCode
    Width : @@ShortNameWidth+@@AmountWidth+1


    [#Object : StockItem]

    StkAlias: $$Alias


    [field: BarCodemylabelname1]

    use: short name field
    set as:mad:ItemName
    ItemName : If $$IsEmpty:($StkAlias:StockItem:$StockItemName) then "("+$StockItemName + ")" +
    else "("+($StkAlias:StockItem:$StockItemName)+")"

    inactive: $billedqty=1or @@your>$billedqty
    Style: BarCode
    Width: @@ShortNameWidth+@@AmountWidth+1

    [field: BarCodemylabelname2]

    use: short name field
    set as: @ItemName
    ItemName : If $$IsEmpty:($StkAlias:StockItem:$StockItemName) then "("+$StockItemName + ")" +
    else "("+($StkAlias:StockItem:$StockItemName)+")"

    inactive: $billedqty=1 or $billedqty=2or @@others>$billedqty
    Style: BarCode

    Width: @@ShortNameWidth+@@AmountWidth+1
    ;; also give formula to chk explode level - depends on how many barcode u want to print in single line
    [system: formula]
    my: $$explodelevel+$$explodelevel+$$explodelevel+1

    your: @@my+1

    others:mad:@your+1
     


  18. Vinoth Chandran

    Vinoth Chandran New Member




    Hello, Nirav sir,

    i can't understand ur code, hw to expand this.
    can you help me sir.
     


  19. Vishesh

    Vishesh New Member


    I want to print the additional description of items in barcode format.
    Please help me.
     


  20. Kiran Tikare

    Kiran Tikare New Member


    narasimhulu, kindly let me know where is space reducer between each barcode.
    thank you in advance
     


  21. Kiran Tikare

    Kiran Tikare New Member


    please let me know how to reduce space between the two labels...... thanks
     


  22. Kiran Tikare

    Kiran Tikare New Member


    please let me know how to reduce space between the two labels......
    thanks
     


  23. Kiran Tikare

    Kiran Tikare New Member


    please let me know how to reduce space between the two labels......
    thanks
     


  24. TCreat

    TCreat New Member


    hi narasimhulu
    i want barcode with 4 column with user define value
     


  25. SINTO PARAVA

    SINTO PARAVA Member


    thank you
     


Share This Page