New Microsoft Word Document
New Microsoft Word Document
boolean f = false;
double margin = 2;
paper.setSize(3, 4);
job.defaultPage(format);
if (printerexists) {
try {
job.print();
} catch (Exception a) {
if (pageIndex == 0) {
PrintArea(g);
}
return pageIndex;
void PrintArea(Graphics g) {
int i = 0;
Graphics2D g2 = (Graphics2D) g;
// if (i == 0) {
// * Double.parseDouble(Table.getValueAt(i, 3).toString());
// i++;
// y2 = y2 + 12;
// y3 = y3 + 12;
// } else {
// * Double.parseDouble(Table.getValueAt(i, 3).toString());
// y2 = y2 + 12;
// y3 = y3 + 12;
// }
// }
// total = 0;