Report Printing Issue

Discussion in 'Tally Developer' started by Mahesh Sethi, Mar 10, 2023.

    
  1. Mahesh Sethi

    Mahesh Sethi Member


    Resp. Admin & Experts,

    I have create a report & call JPEG files in that format but bit win two jpeg images space will not reduce.

    Pls help me on the issue .

    Code & screen shoot att along with jpeg files.

    Thanks in Advance.

    Mani

    [#Menu : Gateway of Tally]
    Add : Key Item : Student Result Report : L : Display: StudentResult
    [Report : StudentResult]
    Use : DSP Template
    Form : StudentResult
    Title : Student Result Report
    [Form : StudentResult]
    Use : DSP Template
    Top Part : Studentresulttitle,StudentresultMiddle,StudentresultMiddle1 ; ;;,StudentDetails,Studentresultbottom StudentResult,
    Bottom Part : Item Pic,
    Height : 100% Page
    Width : 100% Page
    Space Top : 5 mms
    Space Bottom: .5 mms
    Space Left : 5 mms
    Space Right : 5 mms
    Button : StuExport
    Button : StuPrint
    [Button : StuExport]
    Key : Alt + E
    Action : Export Report: StudentResult
    [Button : StuPrint]
    Key : Alt + P
    Action : Print Report : StudentResult
    ;;[Part : StudentResult]
    ;; Parts : Studentresulttitle ;;,StudentDetails,Studentresultbottom
    [Part: Studentresulttitle]
    Line : Resulttop
    Image : myResourceTop
    ;;Width : 100% Page
    ;;Height : 10% Page
    Space Left : 4.5 MMS
    Space Right : 4.5 MMS
    [Line: Resulttop]
    Field : Name Field
    ;;[Field : Name Field]
    ;; Set as : ""
    ;; Width : 80% Page
    [Resource: myResourceTop]
    Source : "D:\Mani\Top1.JPEG"
    Resource Type :Jpeg
    [Part : StudentresultMiddle]
    Line : ResulttopM
    Image : myResourceTopM
    ;;Width : 100% Page
    ;;Height : 20% Page
    Space Left : 4.5 MMS
    Space Right : 4.5 MMS
    [Line: ResulttopM]
    Field : Name Field
    ;;[Field : Name Field]
    ;; Set as : ""
    ;; Width : 80% Page
    [Resource: myResourceTopM]
    Source : "D:\Mani\Middle1.JPEG"
    Resource Type :Jpeg
    ;;===========================================
    [Part : StudentresultMiddle1]
    Line : ResulttopM1
    Image : myResourceTopM1
    ;;Width : 100% Page
    ;;Height : 20% Page
    Space Left : 4.5 MMS
    Space Right : 4.5 MMS
    [Line: ResulttopM1]
    Field : Name Field
    ;;[Field : Name Field]
    ;; Set as : ""
    ;; Width : 80% Page
    [Resource: myResourceTopM1]
    Source : "D:\Mani\Middle.JPEG"
    Resource Type :Jpeg
    ;;====================Bottom Part ===========
    [Part: Item Pic]
    Line : AInvDesc1
    Image : myResource
    ;;Width : 100% Page
    ;;Height : 20% Page
    Space Left : 4.5 MMS
    Space Right : 4.5 MMS
    [Line: AInvDesc1]
    Field : Name Field
    ;;[Field : Name Field]
    ;; Set as : ""
    ;; Width : 80% Page
    [Resource: myResource]
    Source : "D:\Bottom.JPEG"
    Resource Type :Jpeg


    upload_2023-3-10_2-1-42.png
     

    Attached Files:



  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Use PART/LINE within the same definition..................

    [part : main part]
    part : part1, part2, part3......

    OR

    Use lINE within same line.......
    [line : main Line]
    line : line1, line2, line3
     


  3. Mahesh Sethi

    Mahesh Sethi Member



    Resp. Amit Sir,

    When i choose line option then more than 1 Resource will not getting.

    Pls help me

    Mani

    [#Menu : Gateway of Tally]
    Add : Key Item : After :mad:@locQuit:Result : L : Display: Result
    ;;@@locVouchers
    [Report : Result]
    Use : DSP Template
    Form : Result
    Title : Student Result Report
    [Form : Result]
    Use : DSP Template
    Top Part : Studentresulttitle ;; ; ;;,StudentDetails,Studentresultbottom StudentResult,
    Bottom Part : Item Pic,
    Height : 100% Page
    Width : 100% Page
    Space Top : .5 mms
    Space Bottom: .5 mms
    Space Left : 5 mms
    Space Right : 5 mms
    Button : StuRExport
    Button : StuRPrint
    [Button : StuRExport]
    Key : Alt + E
    Action : Export Report: Result
    [Button : StuRPrint]
    Key : Alt + P
    Action : Print Report : Result
    [Part: Studentresulttitle]
    Lines : Resulttop,ResulttopM, ;;ResulttopM1
    Image : myResourceTop
    Image : myResourceTopM (When i put two images then file will not work)
    Space Left : 4.5 MMS
    Space Right : 4.5 MMS
    [Line: Resulttop]
    Field : Name Field
    [Resource: myResourceTop]
    Source : "D:\Mani\Top1.JPEG"
    Resource Type :Jpeg
    [Line: ResulttopM]
    Field : Name Field
    [Resource: myResourceTopM]
    Source : "D:\Mani\Middle1.JPEG"
    Resource Type :Jpeg
    ;;===========================================
    ;;====================Bottom Part ===========
    [Part: Item Pic]
    Line : AInvDesc1
    Image : myResource
    ;;Width : 100% Page
    ;;Height : 20% Page
    Space Left : 4.5 MMS
    Space Right : 4.5 MMS
    [Line: AInvDesc1]
    Field : Name Field
    ;;[Field : Name Field]
    ;; Set as : ""
    ;; Width : 80% Page
    [Resource: myResource]
    Source : "D:\Mani\Bottom.JPEG"
    Resource Type :Jpeg
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Combine the resource ( 2 JPG file into 1 combined file)
     


  5. Mahesh Sethi

    Mahesh Sethi Member


    Sir,

    Can you pls give me an example.

    Thanks & Regards

    Mani
     


  6. Mahesh Sethi

    Mahesh Sethi Member


    Respected Admin & Experts,

    i have done the report print format . there is one issue , When i print it its ok but when i export it the jpeg file will remove & only fetched or call data will shown. pls help me on this issue.

    Awaiting for your replay,

    Mani

    upload_2023-3-10_21-59-21.png

    When Export Report

    upload_2023-3-10_22-1-26.png
     

    Attached Files:



Share This Page