How to suppress printing of pages with no data

Dear all,
My report consists of 3 distinct sub reports. The first two sub reports should be printed as portrait on A-4 sheet while the third one should be printed as landscape A-4 . I have put the first two sub reports layout in the main section with orientation as portrait while the third one is placed in trailer section with orientation as landscape. The printing of subreports 2 and 3 is conditional. There may be case when first two sub reports get printed while we do not have third report as there is no data in the database for the same. In this case , I am still getting a blank page corresponding to the third sub report in the final report. How do I suppress this?
Regards,
Ranjit
P.S. I am using Reports 6i

maybe, you don't understand me.
I have below jtable:
============================
I column1 name l column2 name I
============================
l data l data l
============================
l data l data l
============================
XXX
============================
I wrote:
table.setBackground(Color.black) then only data area has black colour, but XXX area hasn't black colour.
How to XXX area also has black colour?
help me, thanks very much.

Similar Messages

  • How can I print web pages with HP psc 2175 printer?

    Hi,
    I'm having difficulty printing web pages with my HP psc 2175 printer. The printer spits out many pages before the actual page I want printed and then at times it doesn't print all of the section desired.
    In fact, when I copied one page the other day, saved it as a pdf file to my computer, opened the file and the document still would not print.
    Anyone have any idea what could be happening?
    Lee

    I have a strange issue - I am also using HP Envy 100 410A and its prints fine from iPad2. But when I try to print from my Gen 1 iPad, it goes thru the motions (shows the printer, allows to select which pages to print, double sided print etc.) but the printing actually doesn't hapen.
    Any suggestions?
    Thanks

  • How to suppress printing blank pages?

    Hi all,
    I work with reports 6i and I need a tip.
    I have to build a report with two sections (main and trailer section).The main section is always filled with data, but the trailer section does not always receive data.
    When I print the report without data in the trailer section there is a blank last page. How can I suppress printing the trailer section when there is no data in it.
    Thank you for your help.
    Thomas

    Hello,
    You can test to use the parameter : BLANKPAGES
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/cmdline/common/bld_blnkpgs.htm
    Regards

  • Print multiple pages with dynamic data from same movieclip

    Hi @ all,
    like much of us i have a problem with printjob.
    I have a printjob routine, that starts a new job, then
    handles the following in a loop for printing multiple pages:
    1. update content for every page in a sprite. every loop it's
    the same sprite. the sprite is visible on stage
    2. addPage to Printjob
    after that sends the printjob to the printer
    Now the Problem:
    On Windows it runs perfectly. On Mac only the last page was
    printed. the other pages before are empty (white).
    Has anyone a idea?
    Thanks for answeres.
    Her's my code. As you can see i try to print a table on
    multiple pages. In every loop i only show the rows for the actually
    printing page:

    the printview function only updates the content in the sprite
    that will be printet on every page.
    it generates the rows of a table that will be printed on the
    actual page and return if all rows are printed (true or false)
    this is a very slim function. there is no time overflow or
    sth. like this.

  • How to send the jsp page with the data as attachment

    hi
    my application is to display all the datas from the database.In the same page. i'm having a option to select mail address from the combo box and to send the page with the same format thru mail as an attachment .
    <%      String from="192.168.10.1";
              String to=request.getParameter("to");
              System.err.println(to);
              String mailhost="localhost";
             System.err.println("hiiiiiiiii");
              try
                   System.err.println("byeeeeeee");
                   Properties prop=System.getProperties();
                   prop.put("mail.smtp.host", mailhost);
                   Session ss=Session.getInstance(prop,null);
                System.err.println("session props");
                   Message message = new MimeMessage(ss);
                   System.err.println("message");
                   message.setFrom(new InternetAddress(from));
                   System.err.println("form not null");
                   message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
                   System.err.println("from and to r set");
                   message.setSubject("Hello JavaMail Attachment");
              // Create the message part
                   BodyPart messageBodyPart = new MimeBodyPart();
              // Fill the message
                   messageBodyPart.setText("have u got the attachement?");
                   Multipart multipart = new MimeMultipart();
                   multipart.addBodyPart(messageBodyPart);
              // Part two is attachment
                   messageBodyPart = new MimeBodyPart();
                   DataSource source = new FileDataSource("C:/Program Files/Apache Software Foundation/Tomcat 5.0/webapps/MgmtTool/emsReport.jsp");
                   messageBodyPart.setDataHandler(new DataHandler(source));
                   messageBodyPart.setFileName("emsReport.jsp");
                   multipart.addBodyPart(messageBodyPart);
              // Put parts in message
                   message.setContent(multipart);
                   System.err.println("ready");
              // Send the message
                   Transport.send(message);
                   out.println("mail was sent successfully");
              catch(Exception e)
              {out.println(e);}
              %>
    by using this code i 'm sending the emsreport page as attachment
    i'm recieving only the tabular format but i cant able to get those data which are present on that page
    i dont know wat to do???
    kindly help me
    thank u in advance

    Some of the points might help you in thinking towards right direction, you might already know this but doesn't look like you are following in your code anyway.
    1. The JSP that you are emailing is uncompiled source file. It need JVM environment to be able to run on.
    2. The JSP is a view technology so try to separate the view logic from the business.
    3. Try to put entire business logic in a Bean and use that in your JSP to start off with.
    You may need to write the HttpServletResponse#content on to the Writer and then persist it on the filesystem. and then send that persisted file as an attachment.
    Have a look at http://java.sun.com/j2se/1.5.0/docs/api/java/io/Writer.html
    It provide different type of writer implementations.
    HttpServletResponse#getWriter() provides PrintWriter instance.
    Does it make sense?

  • How can I print a file with mixed page orientation in windows 8.1?

    I have a win 7 and a win 8.1 computer.  I have a file which contains both landscape and portrait pages.  The file prints correctly with the mixed orientation from the win 7 pc, but will only print with either landscape or portrait on the win 8.1 pc. 
    I am using Adobe reader XI on the win 7 pc and adobe touch on the win 8.1 pc

    ส่งจาก จดหมายของ Windows
    จาก: Pat Willener
    ส่งเมื่อ: จ. 5 มกราคม 2558 6:15
    ถึง: thang dinhvan
    How can I print a file with mixed page orientation in windows 8.1?
    reply from Pat Willener in Adobe Reader Touch for Windows 8 - View the full discussion 
    I have a win 7 and a win 8.1 computer.  I have a file which contains both landscape and portrait pages.  The file prints correctly with the mixed orientation from the win 7 pc, but will only print with either landscape or portrait on the win 8.1 pc. 
    I am using Adobe reader XI on the win 7 pc and adobe touch on the win 8.1 pc
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7064031#7064031 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7064031#7064031
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Adobe Reader Touch for Windows 8 by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • How can i print specific pages against searched word or name (in one print command) from 1000 pages

    how can i print specific pages against searched word or name (in one print command) from 1000 pages

    Thanks, Alex!
    ok, I try first approach in print4.vi, but Labview return an error (view jpg); if I cut From, To controls, the VI print all pages. The same things happen also if I trasform I32 in Variant.
    I don't try second approach, because at this time I have only one report
    I try also with VB macro: this is better (print3.vi) but.....if I use:
    Sub Print_Pages_From_To()
    ActiveDocument.ActiveWindow.PrintOut Range:=wdPrintFromTo, From:="2", To:="3"
    End Sub
    is ok; print the pages selected; if I use:
    Sub PrintPages()
    ActiveDocument.ActiveWindow.PrintOut  Pages:="2-3"  
    End Sub
    printer print all pages.
    what do you think?
    regards,
    Italo
    Attachments:
    print Problem.jpg ‏39 KB
    print4.vi ‏19 KB
    print3.vi ‏19 KB

  • How one can print a page to pocket printer from handset of nokia 40 series/

    how one can print a page to pocket printer from handset of nokia 40 series/60series/80 series
    if u have any information regarding these two question the pls send me the link

    I came across something similar recently where it printed the left hand side only!
    If I want to print an email, instead of File > Print  ( does not print properly ) I click on the print icon on my email webpage ( do not use applemail and access gmail direct) which then takes me to print preview showing the complete email which prints ok.
    Some webpages ( File>Print) do not print properly and some do. Those that do not generally have their own printer icon (path) that needs to be clicked on.
    Maybe something to do with encryption but don't know.
    Hope this helps in some way.

  • How can I print a JTable with varying sized rows?

    How can I print a JTable with varying sized rows?
    I am using java 1.5, and have made a cell renderer to display multiple lines in rows and it works well, however when I use the new print method it doesn't separate the cells onto the next page, it cuts them and will print the rest of the row on the next page. Does anyone know how I might go about making this happen?
    cheers

    I finally found out the reason, The column heights were being set through my renderer. If I hadn't viewed them in the scrollpane the row heights were set to the default height of 16 therefore when the print method was called it clipped all the rows wrong, what is weird though is that the row height printed out correctly but the clipping area was set wrong because it was getting the default value of 16 from rowHeight(row).

  • HT4356 How can we print single pages, such as 1,4 and 8 instead of printing all pages?

    On an iPad, how can we print single pages 1, 4 or  8 or 2, 4 and 7 instead of having to print all pages?

    Thanks, Alex!
    ok, I try first approach in print4.vi, but Labview return an error (view jpg); if I cut From, To controls, the VI print all pages. The same things happen also if I trasform I32 in Variant.
    I don't try second approach, because at this time I have only one report
    I try also with VB macro: this is better (print3.vi) but.....if I use:
    Sub Print_Pages_From_To()
    ActiveDocument.ActiveWindow.PrintOut Range:=wdPrintFromTo, From:="2", To:="3"
    End Sub
    is ok; print the pages selected; if I use:
    Sub PrintPages()
    ActiveDocument.ActiveWindow.PrintOut  Pages:="2-3"  
    End Sub
    printer print all pages.
    what do you think?
    regards,
    Italo
    Attachments:
    print Problem.jpg ‏39 KB
    print4.vi ‏19 KB
    print3.vi ‏19 KB

  • How can I print a pages document in book format ..order?

    How can I print a pages document in book format ..order?

    This is usually a function of the driver you're using. Have you looked in the various PDEs for black and white or grayscale? What kind of printer are you using?

  • How can I print half pages to fit in my circa desk calendar

    How can I print half pages from iCal to fit in my Circa desk calendar?

    That depends on the program, but if it's Preview, go to Page Setup... under the File menu. Select the appropriate paper size there. Then go to File > Print... and do a Preview. If the content does not fit on the page, some printer drivers will have a Scale to Fit setting. If there is none, go back to Page Setup... and manually adjust the Scale until it fits nicely when you do a Preview.

  • How can i print only pages which have been highlighted, from a multi page file?

    How can i print only pages which have been highlighted, in a multi page file.

    Ah, I see want you mean. This might not be practical for you, but if you select one instance of the highlighted text and add a [space] to the little sticky note, all of the highlighted text on that page will appear in the summary.

  • How do I print 2 pages from a pdf file and enlarge it

    how do i print 2 pages from a file and enlarge it  to email

    Hi stevebulldog,
    Do I understand correctly that you'd like to extract two pages from a PDF, and then send them via email?
    To extract pages from a PDF, you need to use Acrobat. If you don't have Acrobat, you can try it for free for 30 days. Please see http://www.adobe.com/products/acrobat.html.
    I'm not sure what you mean by "enlarge" it. When your recipient views the PDF, they can enlarge the view (zoom in on the PDF) by choosing options from the View menu in Acrobat or Reader.
    Best,
    Sara

  • How do I print selected pages from a multi page document

    How do I print selected pages from a multi page document?
    This question was solved.
    View Solution.

    Hi,
    It depends on the software you are using, what is it ? In general you can select a range or just a number of pages.
    Regards
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

Maybe you are looking for

  • Creation of a several-page PDF from an Illustrator file

    I have created a leaflet in Illustrator as two print-ready files - one artboard containing front and back pages plus one containing the inner pages. Now, the need has arisen to also publish the leaflet on the Web as a PDF containing all four pages. I

  • How to synch two different devices with two different Apple ID's without merging them?

    I have an iPhone 5 and iPad linked to my Apple id. My son just got his first iPod touch with his own Apple id. We use the same PC to backup and synch our devices. The problem I have is since he got his iPod touch, all his downloads get installed on m

  • Macbook Pro 17 shuts down in minutes even when battery is full

    Hi, this has been going on for a while, i took it to a Apple Service Center in Barcelona Spain with a friend who had the same problem, well, her MBP turned back on with a black screen and they replaced the video card for free, and when they looked at

  • Multiple items in custom form

    I'm new to Service Manager customization and try to do this task ,  I have custom management pack for our configuration items , I added a CI class "ITServer" which would have multiple harddisks, I created a Hard Disk Class and make a relationship (1

  • JVC GZ-MC500 video problem

    I am new to Mac and still learning the ropes. I am looking for a solution / program that can read the above camcorder videos files??? Files come with MOVxxxx.MOD. I've tried quicktime and it doesn't work. Thank you.