Print Customized Receipt

Discussion in 'Tally Developer' started by Pupesh Arora, Apr 9, 2014.

    
?

Dear Friends, Can you help me to Print the 2 copied of same receipts in single page. A4 Size

  1. Need help in Adding Logo also

    50.0%
  2. Need Help in duplicate receipt print

    50.0%
Multiple votes are allowed.
  1. Pupesh Arora

    Pupesh Arora Member


    [#Form: Receipt Color]

    Delete :pRint
    Add : Print : RCPT ACIIT
    PrintAfterSave : ##PPRCTPrintAfterSave OR ##PRCTPrintAfterSav

    [Report : RCPT ACIIT]

    Object : Voucher
    ;;PrintSet : Report Title : "ACIIT Receipt"
    Filtered : Yes
    Print : VCHPrintConfigure
    ;; ;; Empty : (NOT ##PRCTPrintEnabled) OR (NOT ##PRCTPrintAfterSave AND $$InAcceptMode) OR $$IsEmpty:$VoucherChequeName
    /*
    [Form : RCPT ACIIT]
    Parts : RcptCOmpanyAddr, RcptNoDate, Rcpt Body, RcptFoot
    Width : ##PRCTWidth inch
    Height : ##PRCTHeight inch
    ;;Space Top : ##PRCTSpaceTop inch
    Space Top: 5 mms
    Space Bottom: 0.25 inch
    ;; Space Left : 0.75 inch
    Space Right : 0.25 inch
    Width : 200 mms
    Space Left : 10 mms
    HorizontalAlign : Centre
    */


    [Form : RCPT ACIIT]
    Parts : RcptCOmpanyAddr, RcptNoDate, Rcpt Body, RcptFoot
    Width : ##PRCTWidth inch
    Height : ##PRCTHeight inch
    Space Top : ##PRCTSpaceTop inch
    HorizontalAlign : Centre





    [Part : RcptCompanyAddr]
    Lines : Rcpt Company, Rcpt Addr
    Repeat : Rcpt Addr : Company Address
    Local : Field : Simple Field : Align : Centre
    Local : Field : Simple Field : FullWidth : Yes
    HorizontalAlign : Centre

    [Line: Rcpt Company]

    Fields : Simple Field
    Local : Field : Simple Field : Set as : ##SVCurrentCompany
    Local : Field : Simple Field : Style : Normal Bold

    [Line: Rcpt Addr]

    Fields : Simple Field
    Local : Field : Simple Field : Set as : $Address
    Local : Field : Simple Field : Border : Thin Bottom : $$Line = $$NumItems

    [Part : RcptNoDate]
    Lines : Rcpt NODate
    HorizontalAlign : Centre
    Border : Thin Bottom
    SpaceBottom : 0.5

    [Line : Rcpt NoDate]
    Fields : Simple Prompt, RcptNo
    RightFields : Info Field, RcptDate
    Local : Field : Simple Prompt : Info : "No. :"
    Local : Field : Info Field : Info : "Date :"

    [Field : Rcpt No]
    Set as : $VoucherNumber
    Style : Normal Bold

    [Field: Rcpt Date]
    Set as : $$String:$Date:UniversalDate
    Style : Normal Bold

    [Part : Rcpt Body]
    Parts : Rcpt Top, Rcpt Bottom
    Vertical : Yes

    [Part : Rcpt Top]

    Lines : Rcpt Payer, Rcpt PayerAddr, Rcpt Words ;;Rcpt Thru ;;, Rcpt Remarks
    Repeat : Rcpt PayerAddr : Party Address
    Local : Field : Short Prompt : Style : Normal Italic
    Local : Field : Short Prompt : Width : 15
    HorizontalAlign : centre

    ;;$PartyLedgerName




    [Line: Rcpt Title]

    Fields : Rcpt Title
    SpaceBottom : 2

    [Field: Rcpt Title]

    Set as : "INTERIM RECEIPT"
    Wide Spaced : Yes
    Style : Large Bold
    Border : Thin Bottom
    Align : Centre
    FullWidth : Yes

    [Line: Rcpt Payer]

    Fields : Short Prompt, Rcpt Payer
    Local : Field : Short Prompt : Info : "Received with thanks from :"
    SpaceBottom : 0.25

    [Field: Rcpt Payer]

    Set as : $LedgerName ;;VoucherChequeName
    Style : Normal Bold
    ;; Border : Thin Bottom

    [Line : Rcpt PayerAddr]
    Fields : Short Prompt, Rcpt PartyAddr
    Local : Field : Info Field : Width : 17
    Local : Field : Info Field : Info : " "

    [Field : Rcpt PartyAddr]
    Set as:$Address
    ;; Border : THin Bottom

    [Line: Rcpt Words]

    Fields : Short Prompt, Rcpt Words
    Local : Field : Short Prompt : Info : "The sum of Rupees "
    SpaceBottom : 1

    [Field: Rcpt Words]

    Set as : $$InWords:#RcptAmount+" Only"

    Style : Normal Bold
    Lines : 0
    FullWidth : Yes
    ;; Border : Thin Bottom

    [Part : Rcpt Bottom]
    Parts : RcptBottomLeft, RcptBottomRight
    Vertical : No
    Local : Field : Short Prompt : Style : Normal Italic
    Local : Field : Short Prompt : Width : 15

    [Part : RcptBottomLeft]
    Lines : RcptThru1, Rcpt Thru2

    [Line: Rcpt Thru1]
    Local : Field : Short Prompt : Info : "by Cash / Cheque / D.D. No."
    Fields : Short Prompt

    [Field : Rcpt Thru1]
    Info : "by Cash / Cheque / D.D. No."

    [Line: Rcpt Thru2]
    ;; Field : Rcpt Thru2
    Fields : Short Prompt
    Local : Field : Short Prompt : Info : "in Full / part payment of "

    [Field: Rcpt Thru2]
    Info : "in Full / part payment of "

    [Part : RcptBottomRight]
    Line : Rcpt Remarks

    [Line: Rcpt Remarks]

    Fields : Rcpt Remarks
    SpaceBottom : 1

    [Field: Rcpt Remarks]

    Set as : $Narration
    Style : Normal Bold
    Lines : 0
    Width : 75 mms
    ;; Border : Full Thin Bottom

    [Part : Rcpt Foot]
    Lines : ForComp, RcptAmt, CompSign
    Border : Full Thin Top
    ;; SpaceTop: 6

    [Line : ForComp]
    Right Fields : ForComp
    SpaceBottom : 1

    [Field : ForComp]
    Set As : "For " + ##SVCurrentCompany
    Style : Normal Bold

    [Line : RcptAmt]
    Fields : AmtPrompt, RcptAmount

    [Field : AmtPrompt]
    Info : "Rs."
    Style : Normal Bold
    Align : Left

    [Field: RcptAmount]

    Use : Amount Base Field
    Set as : $$CollectionField:$Amount:1:AllLedgerEntries
    Align : Left
    Border : Thin Bottom

    [Line : CompSign]
    Fields : ChqRel, PrepCheck
    Right Fields : CompSign
    ;; Border : Thin Bottom

    [Field : ChqRel]
    Info : "Cheques are subject to realization."
    Align : Left
    Style : Small Bold

    [Field : PrepCheck]
    Info : "Accountant"
    SpaceLeft : 25 mms
    Style : Small
    Align : Left

    [Field : CompSign]
    Info : "Authorised Signatory"
    Align : Right
    Style : Small Bold
     

    Attached Files:

    HVPatel and JObimon Arackal JOhn like this.


  2. laxman

    laxman Member


    brother if mention discount with cash how in display
     


  3. Pupesh Arora

    Pupesh Arora Member


    I am new in TDL. Please help How to print all the detials in the Screen in Receipt above. i.e. if Bill reference has been selected or cost centre has been active. Also wants 2 receipt on same page A4 Size. Up and Down A5 Each
     


  4. Pupesh Arora

    Pupesh Arora Member


    Please help me to complete the above code.
     


  5. laxman

    laxman Member


    printer setting in page layout > 2 pages per Sheet and command in tally print copy 2 .
     


  6. Pupesh Arora

    Pupesh Arora Member


    I have already checked this but not working.
     


  7. Pupesh Arora

    Pupesh Arora Member


    You are right. But I want to Print Same Receipt without getting printer selection. I need to write on the 2nd Receipt i.e. duplicate or Customer Copy. In Print Layout i have to select every time to do the same and I can't modify hte title in 2nd receipt.
     


  8. Pupesh Arora

    Pupesh Arora Member


    Dear All, I have completed my Receipt Print, which I want. Can you help me to provide code to drwan border in both the recipts.
     

    Attached Files:



  9. mpal2311

    mpal2311 Active Member


    Really Great Work for a New Developer.
    Bravo!
    Keep it up.
     
    RAJESH BHANUSHALI likes this.


  10. Pupesh Arora

    Pupesh Arora Member


    Border has been added in the Receipt Print. This is the final copy.
     

    Attached Files:

    nasir and Sunder like this.


  11. Pupesh Arora

    Pupesh Arora Member


    Please help me to print Bill Wise detail and Inventory detail capture in the Receipt voucher to print in abvoe receipt.
     


  12. ALOKE DEBNATH

    ALOKE DEBNATH New Member


    Sir,

    Your TDL is great. But how to print only one copy. Please provide single copy print option and auto detect "All Cheques/DD to be drawn in favour of" company name and Judicial area.

    Thanks

    Aloke
     


  13. Pupesh Arora

    Pupesh Arora Member


    Dear Brother,

    Please remove the Duplicate receipt part given in the end of the report, also comment the same part from the mail report. You will hve single print of the same report.
     


  14. ALOKE DEBNATH

    ALOKE DEBNATH New Member


    Thanks Sir

    I have resolved the issue.
     


  15. ngirish

    ngirish New Member


    Sir, I am not getting print option. Please tell me how to enable this tdl & how to print the receipt voucher
     


  16. kamal

    kamal Member


    dear sir,
    im using single entry mode for receipt Party ledger name is not showing its showing default CASH .
     

    Attached Files:



  17. kamal

    kamal Member


    Dear sir,
    Thanks in advance
    how to show cost center details in receipt for above code
     


  18. deep kumar

    deep kumar New Member


    sir i couldn't do that for just single copy. would you please help me ? thanks
     


  19. dhenesh

    dhenesh New Member


    sir you are done great job. thank you one more request billwise show is more better
     


Share This Page