The model is called DP8340 ... but the main problem is that it is a lineprinter. The only way I know of getting data out on a printer is by creating a graphic area a draw stuff on it .... see below ...
So, if anybody know a way of solving this problem, please help me ...
Thanks in advance
private void OnClickPrint(Object source, Event e)
Toolkit tools = Toolkit.getDefaultToolkit();
WPrintJob wpj = (WPrintJob)tools.getPrintJob(null, "Print?", null);
if(wpj != null)
Graphics g = wpj.getGraphics();
Font font = new Font("Courier", 0, 24);
if(g != null)
g.drawString("Printing!!!", 50, 50);