Logo TDL

Discussion in 'Tally Developer' started by rony, Apr 6, 2016.

    
  1. rony

    rony Member


    Dear experts,
    I have created a TDL for logo printing in Tally ERP 9, but the problem is that it shows nothing as result.
    TDL configuration shows tdl as active but logo is not printing , else company name, address all other field are correct.
    So please help me out to solve this problem .Please let me know where i have made mistake please help.
    Thanks a lot.
    I could not upload the file code is as under,
    [Part : CompTitleInfo]
    LeftPart : CompTitle
    RightPart : Logo
    Vertical : No
    Border : ThinBox

    [Part : CompTitle]

    Lines CompTitle, CompAddress
    Border : ThinLeft
    Vertical : Yes
    Width : 75% Page

    [Line : CompTitle]

    Field : CompTitle


    [Field : CompTitle]

    Use : Name Fiel
    Set as : @@CmpMailName
    Style : LargeBold
    Border : ThinRight
    Align : Centre
    Preprinted : Yes
    Width : 75% Page


    [Part : Logo]

    Line : LogoName


    [Line : LogoName]

    Field : Lname
    Space Bottom : 1

    [Field : Lname]

    Use : Name Field
    Set As : "XYZ"
    Align : Right
    Style : MyLargeStyle1
    Width : 20% Page

    [Style : MyLargeStyle1]
    Font : "Tallylogo"
    Height : "26"
    Bold : No
     


  2. anbhuselvan

    anbhuselvan Member


    Hi Friends,
    Please tell me how to add company logo in Normal Ledger Report Statement.
    The Company logo is presenting in "Confirmation of A/cs"

    Eg: Gateway of Tally -> Display-> Account books -> Ledger -> Ledger Voucher -> Alt + P ->backspace -> Change Report Type -> "Normal Ledger"


    Kindly share the TDL , it real help for me.

    thank,
    anbhu
     


  3. RIBU

    RIBU New Member


    Add one Part in Normal Ledger Form, then give a Graph Type attribute in Part Level. and mention logo path in Graph type.
    Then you got a result.
     


  4. anbhuselvan

    anbhuselvan Member


    Thanks for your reply... I will try with same way
     


  5. anbhuselvan

    anbhuselvan Member


    Hi Sir,
    I have used below mentioned TDL, but logo is populating with bottom of the page. Please help me the Logo need to be populate in Top of the page.

    [#Form: Normal Ledger]

    Page Break : DYBK ClPageBreak, DYBK OpPageBreak

    Local : Field : Default : Skip : Yes
    Local : Field : BR BankDate : Skip : No

    Balancing : LV ClosingBalance : @@BalancingBreak
    OpeningBal : LV OpeningBalance

    Parts : EXPSMPSimple1,LV Title, LV VchTitle, LV Body

    Option : LV WithScrTotals : NOT ($$InPrintMode OR ($$InExportMode AND NOT @@IsHTMLFormat))
    Option : LV InSamePage : ##IsMultiPage AND (NOT ##InNewPages OR ($$InExportMode AND @@IsExcelFormat))

    [Part: EXPSMPSimple1]
    ;;Width: 100% page
    Horizontal Alignment:Right
    Vertical:No
    Lines : EXPSMPSimple1
    Graph Type : "D:\TDL path\Tallylogo2.bmp"
    Invisible : If $$InPrintMode OR ($$InExportMode And $$IsSysNameEqual:HTML:##SVExportFormat) then No Else Yes
    [Line: EXPSMPSimple1]
    Field : EXPSMPSimple1
    [Field: EXPSMPSimple1]
    Set as : ""

    [#Form: LV WithScrTotals]

    Bottom Parts: LV Totals

    [#Form: LV InSamePage]

    Replace : Part : LV Body : MLV Body
    ;; Local : Collection : Vouchers of Ledger : Child of : $Name
    ;; Local : Collection : Vouchers of Ledger : Add : Filter : ExcludePurcSaleCashBank
    Local : Collection : LedForexGainLoss : Delete : Filter
    Local : Collection : LedForexGainLoss : Add : Filter : AllVouchersFilter
    Delete : Empty
     


  6. Joharfchhil

    Joharfchhil Member


    Change as per below :

    [*Part: EXPSMPSimple1]
    ;;Width: 100% page
    Horizontal Alignment:Right
    Vertical:No
    Lines : EXPSMPSimple1
    Graph Type : "D:\TDL path\Tallylogo2.bmp"
    Invisible : If $$InPrintMode OR ($$InExportMode And $$IsSysNameEqual:HTML:##SVExportFormat) then No Else Yes
    [*Line: EXPSMPSimple1]
    Field : EXPSMPSimple1
    [*Field: EXPSMPSimple1]
    Set as : ""
     


  7. anbhuselvan

    anbhuselvan Member


    Hi Sir,
    I tried the above mentioned code. but i m unable to move the logo in "top left" of the page,
    Plz help on this

    TDL Code:
    [#Form: Normal Ledger]

    Page Break : DYBK ClPageBreak, DYBK OpPageBreak

    Local : Field : Default : Skip : Yes
    Local : Field : BR BankDate : Skip : No

    Balancing : LV ClosingBalance : @@BalancingBreak
    OpeningBal : LV OpeningBalance

    Parts : EXPSMPSimple1

    Option : LV WithScrTotals : NOT ($$InPrintMode OR ($$InExportMode AND NOT @@IsHTMLFormat))
    Option : LV InSamePage : ##IsMultiPage AND (NOT ##InNewPages OR ($$InExportMode AND @@IsExcelFormat))

    [Part: EXPSMPSimple1]
    ;;Width: 100% page
    Horizontal Alignment:Right
    Vertical:No
    Lines : EXPSMPSimple1
    Graph Type : "D:\TDL path\Tallylogo2.bmp"
    Invisible : If $$InPrintMode OR ($$InExportMode And $$IsSysNameEqual:HTML:##SVExportFormat) then No Else Yes
    [Line: EXPSMPSimple1]
    Field : EXPSMPSimple1
    [Field: EXPSMPSimple1]
    Set as : ""
     


  8. anbhuselvan

    anbhuselvan Member


    Hi Sir,
    I have use same code, but logo is not populating with "Top Left",
    please correct me what i have did wrongly code.

    [#Form: Normal Ledger]

    Add: Top Parts : EXPSMPSimple1

    [Part: EXPSMPSimple1]
    ;;Width: 100% page
    Horizontal Alignment:Right
    Vertical:No
    Top Line : EXPSMPSimple1
    Graph Type : "D:\TDL path\Tallylogo2.bmp"
    Invisible : If $$InPrintMode OR ($$InExportMode And $$IsSysNameEqual:HTML:##SVExportFormat) then No Else Yes
    [Line: EXPSMPSimple1]
    Field : EXPSMPSimple1
    [Field: EXPSMPSimple1]
    Set as : ""
     


  9. anbhuselvan

    anbhuselvan Member


    Hi Sir,
    Please help me, Im able to insert logo. but the logo is displaying in bottom of the page. But i need to display the logo left top of the page. Please correct my TDL code.

    [#Form: Normal Ledger]

    Page Break : DYBK ClPageBreak, DYBK OpPageBreak

    Local : Field : Default : Skip : Yes
    Local : Field : BR BankDate : Skip : No

    Balancing : LV ClosingBalance : @@BalancingBreak
    OpeningBal : LV OpeningBalance

    Top Parts: imgpart, LV Title, LV VchTitle, LV Body
    ;Parts : LV Title, LV VchTitle, LV Body

    Option : LV WithScrTotals : NOT ($$InPrintMode OR ($$InExportMode AND NOT @@IsHTMLFormat))
    Option : LV InSamePage : ##IsMultiPage AND (NOT ##InNewPages OR ($$InExportMode AND @@IsExcelFormat))

    [#Form: LV WithScrTotals]

    Bottom Parts: LV Totals

    [#Form: LV InSamePage]

    Replace : Part : LV Body : MLV Body
    Local : Collection : LedForexGainLoss : Delete : Filter
    Local : Collection : LedForexGainLoss : Add : Filter : AllVouchersFilter
    Delete : Empty


    [Part: imgpart]
    Lines : ImgPartLine
    Graph Type : "D:\TDL path\Tallylogo2.bmp"
    [Line: ImgPartLine]
    Fields : Simple Field
     



  10. I guess this has been solved as per our chat :)
     


  11. rony

    rony Member


    Dear Members,
    No one help me out for this post. What mistake I have made in my Logo Tdl. Pl consider,
    Thanks
     



  12. This is not the complete code.
    this code is only to set the LOGO not to print the same.

    Thanks!
    http://www.aaradhyaasolutions.in/


     


  13. rony

    rony Member


    Dear Aaradhya,
    Thanks for response. I was asking about my code means thread starting code and note the above mention code.
    Thanks
     



  14. replied for your code only i guess.
    :)

    Dear experts,
    I have created a TDL for logo printing in Tally ERP 9, but the problem is that it shows nothing as result.
    TDL configuration shows tdl as active but logo is not printing , else company name, address all other field are correct.
    So please help me out to solve this problem .Please let me know where i have made mistake please help.
    Thanks a lot.
    I could not upload the file code is as under,
    [Part : CompTitleInfo]
    LeftPart : CompTitle
    RightPart : Logo
    Vertical : No
    Border : ThinBox

    [Part : CompTitle]

    Lines CompTitle, CompAddress
    Border : ThinLeft
    Vertical : Yes
    Width : 75% Page

    [Line : CompTitle]

    Field : CompTitle


    [Field : CompTitle]

    Use : Name Fiel
    Set as : @@CmpMailName
    Style : LargeBold
    Border : ThinRight
    Align : Centre
    Preprinted : Yes
    Width : 75% Page


    [Part : Logo]

    Line : LogoName


    [Line : LogoName]

    Field : Lname
    Space Bottom : 1

    [Field : Lname]

    Use : Name Field
    Set As : "XYZ"
    Align : Right
    Style : MyLargeStyle1
    Width : 20% Page

    [Style : MyLargeStyle1]
    Font : "Tallylogo"
    Height : "26"
    Bold : No
     


  15. sivam

    sivam Active Member



    Code:
    [Part: Right Logo]
                       
        Lines        : EXPINV Logo
        Graph Type    : ##SALogoPath
    Use this in your Right part. You should configure logo in F11--> F1
     


  16. mutharasan

    mutharasan Member


    Dear Rony,

    Try this code.

    [#Form : Ledger Vouchers]
    ;;Add:part : Before:LV Title : AssPhoto

    Add:part : AssPhoto


    [Part : AssPhoto]
    Graph Type : ##SALogoPath
    Line : assphoto
    height : 10% Page
    width : 10% Page

    [Line : assphoto]
    Field : assphoto

    [Field : assphoto]
    Set As : ""
     


Share This Page