i do the whole
if ( pj.printDialog() )// javax.print.attribute.standard.PageRanges( 1, pages )) )
{
pj.print();
}
thing, but as soon as i have more than a page to print, then it doesn't want to do the next bit on the second page. i was told that users are losers and if there are 9999 pages selected, then odds are good that they will ignore it and then have a hernia when the printer prints a page and then spits out 9998 blank pages.
if you can have 60 lines of data, and only 40 fit on a page, how will you change the 9999 to a 2 and also, how do you get those last 20 lines on the second page?