m***c 发帖数: 8 | | i****k 发帖数: 804 | 2 If you are using J2SE 1.4 and above, you can use javax.print package.
If you are using J2SE 1.3, then you are out of luck. JDK does not provide this
functionality. There are libraries on the web you can utilize to do this.
Personally, I would write a .Net or MFC based very lean utility, and have it
interact with my Java program through a socket. You could also use JNI to
bridge your Java program and the MFC printing utility. However, using a socket
keeps the platform-dependent code (printing cod
【在 m***c 的大作中提到】 : 哪位大虾知道? : 先谢了!!
| w*r 发帖数: 2421 | 3 or you can choose to use iText+UJAC to generate PDF:) I used that to do all
the nasty things dealign with WSIWG printing:)
this
socket
【在 i****k 的大作中提到】 : If you are using J2SE 1.4 and above, you can use javax.print package. : If you are using J2SE 1.3, then you are out of luck. JDK does not provide this : functionality. There are libraries on the web you can utilize to do this. : Personally, I would write a .Net or MFC based very lean utility, and have it : interact with my Java program through a socket. You could also use JNI to : bridge your Java program and the MFC printing utility. However, using a socket : keeps the platform-dependent code (printing cod
|
|