Mi è venuto in mente che magari postando il codice...
Codice PHP:
<html>
<body onLoad="setTimeout('window.print()',5000); setTimeout('self.close()',5000);">
<div align="center">
<APPLET
CODEBASE = "./"
ARCHIVE = "LinearBarCode.jar"
CODE = "com.idautomation.linear.BCApplet.class"
NAME = "TestApplet"
WIDTH = 100
HEIGHT = 100
HSPACE = 0
VSPACE = 0
ALIGN = top
ALT = "You must have a Java 1.1 enabled browser to view this webpage" >
<PARAM NAME = "BARCODE" VALUE = "<? echo $id; ?>">
<PARAM NAME = "CODE_TYPE" VALUE = "CODE128">
<PARAM NAME = "BAR_HEIGHT" VALUE = "2">
<PARAM NAME = "TEXT_FONT" VALUE = "ARIAL|BOLD|8">
</APPLET>
</div>
</body></html>