Hi!
I have a somewhat irritating problem. I´ve implemented Printable on a class that i wish to print, it can print the amount of pages that is interresting by render the graphics with an offset depending on pageIndex in the print() function (in other words I dont implement Pageable).
But how do I set the print range in in the "Print" window that is being shown when you call the myPrinterJob.print();
???
(below is a pic of what I mean)
______________________________________
print X
______________________________________
printer [ (ex Canon BJC) ]
[] print to file
Pages to print:
x All
x pages [1] - [HERE!!!]
[CANCEL] [OK]
______________________________________
Anyone. plz? // Haishen
I have a somewhat irritating problem. I´ve implemented Printable on a class that i wish to print, it can print the amount of pages that is interresting by render the graphics with an offset depending on pageIndex in the print() function (in other words I dont implement Pageable).
But how do I set the print range in in the "Print" window that is being shown when you call the myPrinterJob.print();
???
(below is a pic of what I mean)
______________________________________
print X
______________________________________
printer [ (ex Canon BJC) ]
[] print to file
Pages to print:
x All
x pages [1] - [HERE!!!]
[CANCEL] [OK]
______________________________________
Anyone. plz? // Haishen