In this document you will find:
Click here to apply changes
Value:
X:
N:
BAR_HEIGHT:
Mode: 0 1 2
some graphic configuration
Orientation (rotation angle) 0 90 180 270
Back Color: BLACK RED BLUE GREEN YELLOW CYAN GRAY WHITE ORANGE
Bar Color: BLACK RED BLUE GREEN YELLOW CYAN GRAY WHITE ORANGE
The applet parameters are:
The following is an example of the applet:
<APPLET CODEBASE = "." CODE = "com.java4less.rcode16k.rcode16kApplet" NAME = "TestApplet" WIDTH = 300 HEIGHT = 300 HSPACE = 0 VSPACE = 0 ALIGN = middle > <PARAM NAME = "BARCODE" VALUE = "This is a test"> </APPLET>
If you want to use the class directly instead of the applet you must read the javadoc file.
The parameters expceted by the servlet are the same as those for the applet. There are only 2 new parameters WIDTH and HEIGHT that are used to specify the size of the image returned by the servlet. The default size is (500,500).
if you want to test the servlet using JSWDK 1.0 you must:
Note: you can use the IMG tag in order to embed the image returned by the applet in a HTML page.