Company Logo

Discussion in 'Tally Developer' started by DEEPAK B, Nov 22, 2022.

    
  1. DEEPAK B

    DEEPAK B Member


    Hi
    This is my first TDL created.
    In This I am not able to get My Company logo on Left Side of my Company Name
    Please Guide me
    See Image 1 I want Image to come on Left of my Company Name

    If i am using Following Code in
    [Part:MICS Invoice Company Details]
    Line: MICS Company Name, MICS Company Address, MICS CMP Contact Details
    Border: Thick Cover
    Line:MICS Company Name
    Graph type : ##SAlogopath

    Result Then Logo appears but my Company Name Disappear (See Image 2)

    Below is my Code Please guide me to sort this problem

    Code:
    [Part:MICS Invoice Company Details]
    Line: MICS Company Name, MICS Company Address, MICS CMP Contact Details
    Border: Thick Cover
    
    [Line: MICS Company Name]
    Field: Name Field
    Local: Field: Name Field: Set as: @@CmpMailName
    Local: Field: Name Field: Style:MICSD
    Local: Field: Name Field: Full Width: Yes
    Local: Field: Name Field: Space Left: 30
    Space Top: 0.25
    [Line:MICS Company Address]
    Field: Name Field
    Local: Field: Name Field: Set as: $$FullList:CompanyAddress:$Address
    Local: Field: Name Field: Width:95
    Local: Field: Name Field: Style:MICS9
    Local: Field: Name Field: Line:0
    Local: Field: Name Field: Space Left: 30
    
    [Line:MICS CMP Contact Details]
    Field: Medium Prompt, Simple Field, Simple Prompt, Name Field
    Local: Field: Medium Prompt: Set as: "MSME No"
    Local: Field: medium Prompt: Space Left: 30
    Local: Field: Medium Prompt: Style: MICS9
    Local: Field: Simple Field: Style: MICS9
    Local: Field: Simple Field: Set As: $misc cmp msme:Company:##SVCurrentCompany
    Local: Field: Simple Field: Set as: $CMPMSMENUMBERUDF:company:##svcurrentcompany
    Local: Field: Simple Prompt: Set as: "PAN No."
    Local: Field: Simple Prompt: Style: MICS9
    Local: Field: Simple Prompt: Space Left: 10
    Local: Field: Name Field: Style: MICS9
    Local: Field: Name Field: Set as: $IncomeTaxNumber:Company:##SVCurrentCompany
    
     

    Attached Files:



  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    The structure i wrong.....

    Use it as under:
    [part : MICS CMP Header]
    Part: MICS Logo, MICS Invoice Company Details
    Vertical : No

    [Part : mics logo] --- here define your logo definitions, size, etc

    [part : MICS Invoice Company Details] --- as it is defined by you.
     


  3. DEEPAK B

    DEEPAK B Member


    Sir I tried but logo is not coming
    below is my code where did I when wrong I tried 2 ways

    1 Way
    [part : MICS CMP Header]
    Part: MICS Logo, MICS Invoice Company Details
    Vertical : No

    [part:MICS LOGO]
    Line : 0
    Graph Type: $SAlogoPath:Company:##SVCurrentCompany
    Height : 12% Screen

    2nd way
    Code:
    [!Form:MICS MICS Invoice]
    Delete   : Print
    Add   : Print : MICS Custom Invoice
    [Report :MICS Custom Invoice]
    Use           : Printed Invoice
    Delete: Form        : Printed Invoice
    Form     : MICS Custom Invoice
    [Form:MICS Custom Invoice]
    Space Top   : 0.25 inch
    Space Right : 0.25 inch
    Space Left  : 0.50 inch
    Space Bottom: 0.25 inch
    
    Part: MICS Opening Page Break, MICS Invoice Body
    
    Bottom Part:MICS GST analisys Bankdetails ledgerentries, MICSInvoiceAmtwordandamount, MICSSingnatureClosingBalanceTerms,+
    MICSJuri;;MICS Invoice Total, MICS Sing Off, MICS Terms, MICS Age, MICS Jurisdiction
    
    
    [Part:MICS Closing Page Break]
    Lines  :MICS Closing Page Break Line
    
    [Line: MICS Closing Page Break Line]
      Fields  : Simple Field
      Local  : Field: Simple Field : Set As : "Continued..."
      Local  : Field: Simple Field : FullWidth : Yes
      Local  : Field: Simple Field : Align  : Right
      Border  : Full Thin Top
    
    [Part:MICS Opening Page Break]
    Part: MICS Invoice Title, MICS Invoice Company Details, MICS Invoice Customer Details, MICS Custom Message,MICS Body Coloumns Title
    
    Vertical: Yes
    [Part: MICS Invoice Title]
    Line: MICS Invoice Title
    Border: Thick Cover
    [Line:MICS Invoice Title]
      Field: Simple Field
      Local: Field: Simple Field: Set as: "TAX INVOICE"
      Local: Field: Default: Align: Center
      Local: Field: Simple Field: Full Width: Yes
    ;;  Local: Field: Name Field: Set as:If @@GetCopyNum = 1 Then "ORIGINAL FOR RECIPIENT" Else +
                                       If @@GetCopyNum = 2 Then $$LocaleString:"DUPLICATE FOR SUPPLIER" Else +
                                       If @@GetCopyNum = 3 Then $$LocaleString:"TRIPLICATE FOR TRANSPOTER" Else +
                                       If @@GetCopyNum = 4 Then $$LocaleString:"EXTRA COPY" Else $$LocaleString:"EXTRA COPY"
            
      Space Top: 0.25
    ;;  Local: Field: Name Field: Style: Medium Bold
    ;;  Space Bottom: 0.25
    [part : MICS CMP Header]
    Part: MICS Logo, MICS Invoice Company Details
    Vertical : No
    
    [part:MICS LOGO]
    Width:20% page
    Line:LogoPart
    HorizontalAlign:Left
    Height:20 mms
    GraphType:"D:\CCD SRC\documents\LOGO.jpg"                   
    
    [Line:LogoPart]
    Field:NameField
    
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Kindly try to learn a little..... most of your code is not original, it is okay, but you must also learn from it............

    Learn with the default invoice print code of Tally and see how they have placed their logo..... implement your code in the same way.........
     


  5. Hems

    Hems Member


    सर
    क्या कंपनी नाम और address वाली जगह हम पूरी एक image सेट नही कर सकते ( उस image में लोगो और कंपनी का नाम address etc. सब हो

    Default में तो लोगो की size बहुत कम ही होती हैं।लोगो वाली इमेज vertically इनवॉइस के कंपनी टाइटल वाले भाग को पूरा कवर कर ले ।

    ये कैसे होगा सर ।
     


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    kar sakte hai ..... rectangulr image ke liye woh hisaab se part ka size bana lo...... possible hai
     


  7. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    bahut log.... logo, name aur address blank rakhte hai....apne invoice mei aur .... letterhed mei iss tarh se setting ka print karva lete hi..... isse ... printing ke time, woh blank jagah pe logo aur co name aur address aa jata hai
     


  8. DEEPAK B

    DEEPAK B Member


    Sirji I Did it
    only Just to Beautify I want my Company name beside logo I have tried but in vain

    My Code

    [Part:Mics Cmp Header]
    part:Mics Logo,MICS Invoice Company Details

    [Part : mics logo]
    Vertical:No
    Lines: LogoPart
    Graph Type: ##SALogoPath
    Height: 20 mms
    Width:100 mms
    Space Left : 1
    Border: ThichLeft

    [Line:LogoPart]
    Field:EXPINV Logo

    [Part:MICS Invoice Company Details]
    Line: MICS Company Name, MICS Company Address, MICS CMP Contact Details
    Border: Thick Cover

    [Line: MICS Company Name]
    Field: Name Field, Simple Field, Simple Field
    Local: Field: Name Field: Set as: @@CmpMailName
    Local: Field: Name Field: Style:MICSD
    Local: Field: Name Field: Full Width: Yes
    Space Top: 0.25


    its coming as below
    upload_2022-11-24_16-21-9.png
     


  9. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Congrats...........
    decrease the width of logo part.
     


  10. DEEPAK B

    DEEPAK B Member


    Thanks once again
     


Share This Page