Olá pessoal estou usando o Java Printing Service para imprimir nas impressoras matriciais. No entanto é muito estranho que fica com uma margem grande do lado esquerdo mesmo eu setando assim:
double width = 220.0 * fatorConverMMPt;
double height = 160.5 * fatorConverMMPt;
double margin = 0;
folha.setSize(width, height);
folha.setImageableArea(margin, margin, width, height);
Graphics2D eventoGrafico = (Graphics2D) g;
eventoGrafico.translate(format.getImageableX(), format.getImageableY());
eventoGrafico.setClip(0, 0, (int) format.getImageableWidth(), (int) format.getImageableHeight());
O que está errado?