由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - 如何从Java application打开windows打印机界面?
相关主题
求助Java Image Tools or APIJAVA中文TELNET MwTerm 1.000 Final
请问个从windows通过jdbc连server的问题jre classpath
一个基本问题Be clear about one thing first
[转帖]如何才算掌握Java(J2SE篇)[转载] 有人在用NetBeans IDE么?
去做J2EE好,还是Android好?java.lang.ClassFormatError
都说c++难,难道java就容易吗?有人写java手机程序么?
Java sucks big time!Java virtual machine
安装环境最麻烦了求教:book for Java Sun Certification
相关话题的讨论汇总
话题: java话题: printing话题: socket话题: mfc话题: j2se
进入Java版参与讨论
1 (共1页)
m***c
发帖数: 8
1
哪位大虾知道?
先谢了!!
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

1 (共1页)
进入Java版参与讨论
相关主题
求教:book for Java Sun Certification去做J2EE好,还是Android好?
大家做JSP/Java开发的配置是怎样的?都说c++难,难道java就容易吗?
再问个java的蠢问题,别骂我Java sucks big time!
笨问题续:TOMCAT安装环境最麻烦了
求助Java Image Tools or APIJAVA中文TELNET MwTerm 1.000 Final
请问个从windows通过jdbc连server的问题jre classpath
一个基本问题Be clear about one thing first
[转帖]如何才算掌握Java(J2SE篇)[转载] 有人在用NetBeans IDE么?
相关话题的讨论汇总
话题: java话题: printing话题: socket话题: mfc话题: j2se