PrinterJob only print first 2 pages of JTable

Hi,
I have a JTable in which rows have different height. I also have a class which implements Printable interface. In this class I put the JTable in a JFrame and create my own print() method. The problem is when I call
PrinterJob.print() to print the JTable only the first two pages were printed out; on the other pages I only got title name without contents. If I show the JTable before printing it by calling JFrame.setVisible(true) in the Printable class then I can print out all pages. How do I fix this problem?
Thanks.

The ExportPDF forum is http://forums.adobe.com/community/exportpdf

Similar Messages

  • Printing Issues: Keynote only prints first two pages of presentation

    I am trying to pring an 11 page Keynote presentation on an HP 4600 color laser printer. It will only print the first 2 pages.
    If I convert the presentation to PowerPoint, it prints all ages correctly. If I print a word or pages document, all pages print correctly.
    What gives with keynote?
    MacBook Pro, 2.1 GHz   Mac OS X (10.4.9)   2 GB Ram

    It is likely that there is something funky with one of the images on the page. The next step would be to delete the images one at a time to see which one it is. Once you have isolated it, you could try saving it in a different format (e.g., TIFF, or JPEG, or PNG), and see if that solves the problem.

  • HP 4315 printer only prints first page.

    HP4315 prianger only prints first page.  Canot print any more pages.

    Hi there,
    If you are running windows; Try downloading and running the print and scan doctor located here:
    http://goo.gl/Ujpib
    It can fix a lot on its own and if not give a better idea of what is going on. If not windows post back with your OS.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Why can I only print first page

    Why can I only print first page of an email wirelessly with my brother printer

    Sophie Hubble which Adobe software or service is your inquiry in reference too?

  • How do I print just 1 web page in FF 29 ? With 29 you can only change the first field ( 1 of 5, 2 of 5, 3 of 5, etc. ) That means I can only print all 5 pages,

    So I cant seem to print just the 1st of 5 pages. The default setting , 1 of 5, will print all 5 pages. The 2nd field can not be altered, as it could in previous FF versions, to 1 of 1. Therefore, I can only print all 5 pages, 2 through 5, 3 through 5, etc. WTF - I keep wasting print paper. I got the print edit add-on but that doesn't seem to help. I have been through several FF versions and do not like the format of 29.

    Actually, with the [https://addons.mozilla.org/en-US/firefox/addon/print-edit/ Print Edit addon], if I click the down arrow I get the old print format options and can do it.

  • C4680 printer will only print 1/2 page

    i have installed drivers again but still only prints 1/2 page. i first installed on dell desktop was fine went to hp desktop won't function??

    Hi there jjgtb,
    This article covers partial page prints. Select your operating system and give the steps outlined a shot and let us know if it helps.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Having trouble with the syntax when trying to only print some random pages from a multi page documen

    Having trouble with the syntax when trying to only print some random pages from a multi page document.  So far in the Print Selection Area, I have chosen "pages" and then typed 1,3-4 so as NOT to print page 2 but this does not seem to work. - Help Please

    In my updated firefox, the print button does NOT open print preview first.
    How can I access print preview function?

  • Used to be able to print multiple page pdf files on my HP 7310 all in one and then it stopped and would only print the curent page. This is tedious for long PDF docs. I am on 10.6.8 .

    Used to be ablert to print multiple page pdf files on my HP 7310 all in one printer and now I can only print the current page and therefore it takes forever printing them one by one. I am in version 10.6.8. Tried printing as image using the advanced click and that did not work either.  I have Adobe 9.0 reader installed.

    I tried this earlier, and I tried it again today.  Both times it said "Software Missing!"  and "HP Software required to connect to your printer over the network could not be found on this computer."  But when I tried to install the software (AIO_CDB_Net_Full_Win_WW_130_141.exe, which I downloaded from HP's web site), it wouldn't install, as described above.  In the diagnostic utility, I clicked "skip", and it said "Connection Verified!", and "The printer is connected to the network and the services related to the network connections have been verified and reset to a normal operating state.  Everything appears to work fine at this point.  Please doa test print to verify that the issue is resolved or click Skip to move to the next step."  I clickedthe "Test Print" button, and immediately it popped up a box that said "Test Print Failed."
    I tried again to install the HP software, and it installed, detected the printer, and asked me to select it.  I selected the printer, clicked "next", and it did its network diagnostics.  Then it said "Problem(s) found with your network" and "Problem(s) may exist with the network functions of your printer . . ."  I continued the installation without connecting to the printer.  Then I ran your network printer diagnostic tool again, and got the same result - "HP Software required to connect to youir printer over the network could not be found on this computer."

  • I can only print the current page of downloaded pdf's.  Not able to print "all".  I'm using a Macbook air.

    I can only print the current page of downloaded pdf's.  Not able to print "all".  I'm using a Macbook air.

    it says "the document could not be printed".  "There were no ages selected to print".
    I selected "all".  I always tried selecting pages "1-3".
    The only choice that works is current page.  Very strange.

  • My Deskjet990cse printer only prints the sample page but I cant get my resume to print.

    My Deskjet990cse printer only prints the sample page but I cant get my resume to print.

    Please read this post then provide some details.  What operating system? Are there any error messages on the computer screen or blinking lights on the printer?  What program are you using to print?
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Photosmart C6380 only prints the last page in documents

    My printer only prints the last page of multi page documents. To choose more than one page in a page interval in the print menu does not help, but it is possible to print all pages in a document if I only print one page at a time which takes forever for longer documents. I use Windows 7 64 bits and it used to work until the end of 2011. If I uninstall drivers and reinstall, it sometimes work for a short while and then the problem comes back. All my drivers are updated and I run the printer on wifi.

    Just to add some information: I do not get any error messages, blinking lamps or anything like that. I've got the same problem independent of file-format as it seems. I have tried word-files, pdf-files and to print from the web browser Explorer.

  • My psc2115 only prints a blank page except from toolbox in diag mode

    hi any one with an suggestions please, i have a psc 2115 all in one it goes through the motions for printing but only prints a blank page except from the laptop on a network share,  iv tried new drivers, tried microsoft fixit, tried the hp diag software, still not working, its just printing a plain page, in print preview it shows the page that its gonna print then prints a plain page. tried all the hp support and the MS technet and it still dosent work , on the network share it only works from the wifes laptop (win 7) it prints ok. on my workstation (xp pro) it prints from the toolbox diag screen it will print a diag test page. ive un-installed and reinstalled the driver iv rest factory settings, im out of ideas fro the moment, any ideas please

    Hello Burnhug 54,
    Thanks for the post.  With this one, I've included a document below that should assist with this one.  It was some very good basic t-shooting tips.  If after going through these steps, you are still getting blank pages, then be sure to check your driver from control panel and from one of your applications.  Ensure that it is indeed the PSC2115.  Good Luck!
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01892627&cc=us&dlc=en&lc=en&product=91430&tmp_t...
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=buu05210&tmp_task=solveCategory&cc=us&dlc=en&lan...
    I worked for HP but my posts and replies are my own....Thank you!
    *Say thanks by clicking the *Kudos!* which is on the left*
    *Make it easier for other people to find solutions, by marking my answer with (Accept as Solution) if it solves your issue.*

  • LR 4 only prints a blank page on Epson 2880. Print preview panes remain blank. Window 7 OS. Need help desperately!

    LR 4 only prints a blank page on Epson 2880. Print preview panes remain blank. Window 7 OS. Need help desperately!

    Bob
    Thank you for your kind consideration of my problem. Up until the software started to print blank pages the preview pane always showed the selected print within the selected layout. Something has changed. Lightroom will print to the JPEG file but only a blank page on the Epson 2880. I've been in contact with Epson support and an IT tech and they tell me the problem is with Lightroom. I'm at my wits end and thinking of upgrading but the glitch may carry over. Uninstalling and reinstalling and deleting the preferences file did nothing to rectify the situation.
    Thanks again!
    David

  • Canon printer only printing a partial page.

    I updated to 10.10.1 and my Canon MG5522 will only print part of the page and then it faults for lost of communication. I've tried deleting the Canon folders in the Library and emptying the trash. Restart the computer and installed the new printer driver from Canon for my printer. Added the printer but it would still only print a partial page. Any ideas on what to try to fix the problem. Thanks!!

    Just to be sure it is not an OS or driver fault, connect the MG to the Mac via USB. This will either create a new printer automatically or you will have to open Printers & Scanners and add the printer. Then see if you can print a full page.
    If that works, disconnect the USB cable to the MG and reconnect to the wireless access point. Then open Safari and enter the IP address of the MG as the URL. This will connect to the internal web page of the MG and here you will see the strength and quality of the wireless signal. If either is below half then try restarting your wireless router so that it picks up another channel, working on the assumption that the current channel being used is crowded.
    Also, if your wireless router provides 2.5Ghz and 5GHz channels, try disabling the 5GHz channel and restarting the Mac and MG to see if that improves the wireless stability.

  • I chose double sided printing and it only printed half the pages. it didn t ask me to flip them

    I chose doubke sided printing on my F2280 and it only printed half the pages for me. . . . .  .I didn task me to flip them round and continue and it is quite a big document to print it over again
    can you help please? : )
    Thanks

    Sometimes the wireless MagicMouse can be erratic and seem to automatically zoom in, etc.  Try going to System Preferences and detuning the sensitivity settings, see if that helps.

Maybe you are looking for