Change in Print option

Discussion in 'Tally Developer' started by Rupal Agarwal, May 18, 2022.

    
  1. Rupal Agarwal

    Rupal Agarwal Member


    Hello everyone,
    I have created a report, and now I am having issues while printing it.
    I used the bottom part code,
    but on the first page it is showing an extra space which is not required, and I want the data to continue in the blank area.
    And on the second page
    it is showing the part at the end of the page, not where my data is ending.
    Please help by guiding the way or providing the code by which I can solve these issues.

    Thank you


    DL Pg 1 of 2.jpg

    DL Pg 2 of 2.jpg
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Use Bottom line, instead of Bottom Part..........
     


  3. Rupal Agarwal

    Rupal Agarwal Member


    Thank you for replying, sir.
    Sir, the problem is that, I am printing the summary of inventory which require the repeat line method (by creating a collection). So I think a single line is not possible in this case.
    And if any alternative is available, then please guide.

    Thank you
     


  4. Rupal Agarwal

    Rupal Agarwal Member


    This is the summary
    of my code sir

    Code:
    [Form:Day report]
        Option:Day Print: $$InPrintMode
        Top Part:Day Heading   
        Part: DayDetails
        Bottom Part:Dev by
    
    [Part:Day Details]
        Top Line:IvTitle
        Line:Day Details
        Repeat:Day Details:Day Coll
        Bottom Line:Day Total
        Total:DAmt
        Scroll:Vertical
        Common Border:Yes
        Page Break:CLPB, IvTitle
       
    [Collection:Day Coll]
        Type:vouchers:vouchertype
        Child Of: $$VchTypeSales
        Belongs To:Yes
        Fetch:partyledgername, amount, vouchertypename,
    
    ;;=================================================================
    
    [!Form:Day Print]
        Part: DayDetails
        Bottom Part:Day Coll Print
       
    [Part:Day Coll Print]
        Line:IV Title 2,IV Details
        Repeat:IV details:Iv Details
        Break On : $$IsEnd:$StockItemName
       
    [Collection:Iv Details]
        Source Collection:default
        Walk:day coll
        Walk:inventory entries
        By:Stockitem:$stockitemname
        Aggr Compute:billQty:Sum:$billedQty
        aggr Compute:Disc:Sum:$Discount   
        Compute:Rate:$rate
        Fetch:billedqty, rate, Discount
        Fetch:*
     


Share This Page