increase font size of stock item, qty, rate, discount and amount in sales and purchase vouchers

Discussion in 'Free Source Codes' started by ONKAR, Jun 11, 2019.

    
  1. ONKAR

    ONKAR Active Member


    hello, expert's and guy's see this code, and enjoy, this tdl will help you.
    if you like it then please share your thought. :):)

    see this image.

    screenshot.JPG

    see this code

    [#Field: VCH StockItem]
    Local:Style:DEFAULT:Height:13
    Color : Geranium


    [#Field: VCH Rate]
    Local:Style:DEFAULT:Height:13
    Color : Geranium


    [#Field : VCHRateUnit]
    Local:Style:DEFAULT:Height:13
    Color : Geranium


    [#Field : VCHBilledQty]
    Local:Style:DEFAULT:Height:13
    Color : Geranium


    [#Field : VCHDiscount]
    Local:Style:DEFAULT:Height:13
    Color : Geranium


    [#Field : VCHValue]
    Local:Style:DEFAULT:Height:13
    Color : Geranium


    Note: - now you can also change as per your own requirement, like change this color, add in the background , add the font and change the font size -------------- enjoy :):):):):)
     
    panam and nasir like this.


  2. gaurav gangh

    gaurav gangh New Member


    how do you increase the font size to total amount while printing in pos
    i tried modifying the basic code but that is not helping
     

    Attached Files:



  3. ONKAR

    ONKAR Active Member


    Hii @GauravGangh can you share this, so we will help you better.
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Post only the Field Code of your Total....so cause can be determined.
     


  5. gaurav gangh

    gaurav gangh New Member


    This is the code where i have made style as large bold but it is not working


    [#Line: POS InvTotal]
    Fields : POS SLNo, POS AccDesc
    Right Fields: POS InvQty, POS DSPRate, POS TotalAmount

    Local : Field : POS TotalAmount : Style : Large Bold
    Local : Field : POS SLNo : Set As : ""
    Local : Field : POS AccDesc : Set As : $$LocaleString:"Total"
    Local : Field : POS AccDesc : Align : Right
    Local : Field : POS AccDesc : SpaceRight: 2% Page
    Local : Field : POS InvQty : Set As : $$CollQtyTotal:InventoryEntries:$ActualQty
    Local : Field : POS InvQty : Width : If (@@IsIndianServiceTax AND @@IsSTTaxenabledDate_Vch) AND ##SAPOSSerTaxCatgAssessableValue Then 15% Else 25% Page
    Border : Totals
    Option : POS VAT GCC SubTotal : @@IsVchGVATApplicable
    Option : RPOS InvTotal : $$IsRemoteCompany
     


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Try this........

    [#Line: POS InvTotal]
    Fields : POS SLNo, POS AccDesc
    Right Fields: POS InvQty, POS DSPRate, POS TotalAmount

    Local : Field : POS SLNo : Set As : ""
    Local : Field : POS AccDesc : Set As : $$LocaleString:"Total"
    Local : Field : POS AccDesc : Align : Right
    Local : Field : POS AccDesc : SpaceRight: 2% Page
    Local : Field : POS InvQty : Set As : $$CollQtyTotal:InventoryEntries:$ActualQty
    Local : Field : POS InvQty : Width : If (@@IsIndianServiceTax AND @@IsSTTaxenabledDate_Vch) AND ##SAPOSSerTaxCatgAssessableValue Then 15% Else 25% Page
    Border : Totals
    Option : POS VAT GCC SubTotal : @@IsVchGVATApplicable
    Option : RPOS InvTotal : $$IsRemoteCompany

    [Field : POS TotalAmount]
    Style : Large Bold
     
    panam likes this.


  7. panam

    panam Member


     


  8. panam

    panam Member


    dear sir,
    first I really thank u for sharing valuable code.
    my query is:
    how to increase the font size of invoice total in voucher screen. please help regarding this.
     


  9. Himanshu-2002

    Himanshu-2002 Active Member


    Define The Style
    Example:
    [Style: MyFont]
    Font:"My Font Name "
    Height: 10

    Add this to your field level
    Example:
    [Field: Example]
    Style: MyFont
     
    panam likes this.


  10. rony

    rony Member


    Mr.Panam,
    Try This
    [#Field: EI ValueTotal]
    Local:Style:DEFAULT:Height:13
    Color : Geranium
    you can choose your Color and Height
    Regards
     
    panam likes this.


  11. panam

    panam Member


    Thank u for the valuable reply Himanshu and Rony sir and . it is working fine.
     


  12. panam

    panam Member


    Dear sir, how to increase font size in pos voucher and also increase font size between sub total and invoice total. kindly help me , what is the field name for it.

    [#Field : EI ValueTotal]
    Local:Style:DEFAULT:Height:18
    Color : Black

    [#Field : EI ValuesubTotal]
    Local:Style:DEFAULT:Height::14
    Color : Black

    [#Field: VCHDate]
    Local:Style:DEFAULT:Height:11
    Color : Black

    [#Field: POS TotalAmount]
    [#Field : EI ValueTotal]
    Local:Style:DEFAULT:Height:18
    Color : Black

    [#Field : EI ValuesubTotal]
    Local:Style:DEFAULT:Height:14
    Color : Black

    [#Field: VCHDate]
    Local:Style:DEFAULT:Height:11
    Color : Black

    [#Field: POS TotalAmount]
    Local:Style:DEFAULT:Height:15
    Color : Black
     

    Attached Files:



  13. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Start Tally in Developer mode..........

    Then hover your mouse or click on the field........ it will give you the field name in a TOOLTIP box.
     
    panam likes this.


  14. panam

    panam Member


    Thank u very much for your valuable reply.
     
    Last edited: Oct 12, 2020


  15. panam

    panam Member


    dear Amit sir, thank u very much. Now i am very much happy with learning new things. Now the code is working fine.

    thank you for your Precious time and support to me & all the members in this forum.
     

    Attached Files:

    Last edited: Oct 12, 2020


  16. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Good Effort...and am glad you are willing to learn and progress. Keep it up.
     
    panam likes this.


  17. panam

    panam Member


    Once again Thank U sir.
    U showed me a proper way by guiding in a right way.
     


Share This Page