Project ID:
552504
Project Type:
Fixed
Budget:
$30-$250 USD
Project Description:
Basically you have to transform a Java graphics object into a binary bitmap matrix, and pipe it out to LPT1 printer port. You need to attach a few control codes, this would form a very very basic printer driver.
This can be a program in Java or Java(with JNI) or (C/C++ to listen on a TCP/IP port)
------
More details:
We have an application which is currently working with Jaxax print API. It prints correctly. However this is for a labelling application and the problem is the user has to keep going into the driver to change the optical sensor setting and the media size every time he wants to switch label. Which is complicated to the user. This is because the printer driver is not able to automate switching of media types. So your task is to bypass the printer driver and write directly to the printer which is on LPT1. This is the easy part.
http://www.bar-tech.com.tw/chinese/download/11943339240_TSPL_TSPL2_Programming_2008_4_10.pdf
(see page 44 for matrix size)
Here is a printer log for what our current Javax.print produces, taken from a Printer log.
http://www.poolsurf.com/printing.zip
As you can see it just basically pipes out a few control codes and then produces some BITMAPs. Your task is to reproduce this output, but without using the printer driver. The source code for our print routine is also attached, as you can see it's very simple.
Skills required:
C Programming,
Java
Additional Files:
PrintJobElement.java