Increase font size in POS Sales

Discussion in 'Requests' started by SanketPorwal, Nov 12, 2020.

    
  1. SanketPorwal

    SanketPorwal New Member


    Following is the TDL that I am using to print in POS Sales in Tally ERP9. I want to increase the Font Size and make it Bold.
    [#Part: POS InvInfo]
    Add:Total:At End:pOS InvDisc
    Add:Bottom Line:MG_DiscountBottom


    [Line : MG_DiscountBottom]
    Add : Right Field : MG_Discount
    Invisible:Yes
    [Field : MG_Discount]

    Use : amount field
    Set as : $$Total:pOSInvDisc
    Print BG:yellow

    [System : Formulae]
    mgdiscamt:$$Total:pOSInvDisc
    [#Part: POS Narration]
    Add : Line : At Beginning : MGPOSDiscPrint

    [Line : MGPOSDiscPrint]

    Field : MGPOSDiscPrint

    [Field : MGPOSDiscPrint]

    Use : name field
    Set as : "You saved Rs. "+$$String:mad:@mgdiscamt+" on this purchase."
    Line : 0
    Align : Center
    Full Width : Yes
    Align:Center
     

    Attached Files:



  2. Himanshu-2002

    Himanshu-2002 Active Member


    [Field : MGPOSDiscPrint]

    Use : name field
    Set as : "You saved Rs. "+$$String:mad:@mgdiscamt+" on this purchase."
    Line : 0
    Align : Center
    Full Width : Yes
    Align:Center
    Style: Large Bold
     


  3. SanketPorwal

    SanketPorwal New Member


    Hi Himanshu,
    I tried adding
    "Style : Large Bold"
    at the end of the code, but it doesn't seems to work. The print preview is same as the one that I have attached.
     


  4. Himanshu-2002

    Himanshu-2002 Active Member


    Sir Then Define a style and use that
     


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    That will not work either..............
     


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Is this your own customized code or are you modifying a Tally code ???
     


  7. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    You will have to define it at the MAIN PART level ............
     


  8. SanketPorwal

    SanketPorwal New Member


    Hello Amit Sir,
    Yes, this is a customized code, I have posted the entire code and attached the code file as well.
     

    Attached Files:



  9. Himanshu-2002

    Himanshu-2002 Active Member


    Sir If you made this code then I am pretty sure that you know how to fix this issue
     


  10. SanketPorwal

    SanketPorwal New Member


    I have not written this code, but I am the owner of this code. The guy who made this code is currently unavailable to make this change, since it has been I guess over 2 years of the code.
     


  11. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    The solution has already been given in my earlier post. You can make the changes easily.

    This is a good learning site and am sure you will be able to do it as it is not complicated.
     


Share This Page