We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've tried your example named 'PrintingExample.java'. It prints , but prints half of the barcode. Codes
public class PrintingExample {
public static void main(String[] args) { try { String barcodedata="123456789"; Barcode b = BarcodeFactory.createCode128(barcodedata); b.setResolution(300); b.setBarHeight(30); b.setBarWidth(1); Point p = new Point(10, 10); b.setLocation(p); b.setFont(new Font(Font.SANS_SERIF, Font.PLAIN, 9)); b.setDrawingText(true); b.setDrawingQuietSection(true); PrinterJob job = PrinterJob.getPrinterJob(); job.setPrintable(b); if (job.printDialog()) { job.print(); } } catch (Exception e) { e.printStackTrace(); } }
}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've tried your example named 'PrintingExample.java'. It prints , but prints half of the barcode.
Codes
public class PrintingExample {
}
Any help will be appreciated
The text was updated successfully, but these errors were encountered: