Re: Printing with 1.2

1999-11-16 Thread Peter Mount
On Thu, 11 Nov 1999, Greg Tomalesky wrote: > Hi Gang: > > Does anyone know where I can get some examples of printing under JDK > 1.2? The trick is to use the java.awt.PrintJob class. Take a look at my retepPDF library. Although it's not directly printing, it extends PrintJob, so the exampl

Re: Printing with 1.2

1999-11-12 Thread Pavel Tolkachev
Hi Greg, See this two articles on Sun's site: http://developer.java.sun.com/developer/technicalArticles/Printing/Java2DPrinting/index.html, http://developer.java.sun.com/developer/technicalArticles/Printing/SwingPrinting/index.html You may need to register as Java Developer (it is free) to read

Re: printing w/1.1.7

1999-02-24 Thread David Warnock
> I wondering if anyone had info on java printing w/1.1.7 Does this help? import javax.swing.*; import javax.swing.event.*; import java.awt.*; import java.awt.event.*; import java.util.*; import java.io.*; public class PrintTest extends JFrame implements ActionListener { private static Frame

Re: Printing in Java

1999-01-24 Thread Peter T Mount
On Sat, 23 Jan 1999 [EMAIL PROTECTED] wrote: > i don't think it is in 1.1.6 APIs but 1.2 or Java2 has it std. part of > SWING. Basic printing support was introduced in 1.1.x using the java.awt.PrintJob class. I've been using this for various apps with 1.1.6 for ages. Also, my pdf generator exte

Re: Printing in Java

1999-01-23 Thread bdutta
i don't think it is in 1.1.6 APIs but 1.2 or Java2 has it std. part of SWING. >hi all !! > >I'm developing a small application in java, and I need to do some >printing. I've been looking at jdk 1.1.6 documentation, but I haven't >been able to find anything useful. Does anyone knows where is some

Re: Printing in Java

1999-01-22 Thread David Warnock
Hi, > I'm developing a small application in java, and I need to do some > printing. I've been looking at jdk 1.1.6 documentation, but I haven't > been able to find anything useful. Does anyone knows where is some good > info about this ? Does this help? import javax.swing.*; import javax.swing.

RE: Printing from browser

1998-10-14 Thread Tar . Zoltan
Sorry for my English. I had this problem a month ago. I got this solution to it: I suggest to read the Signing and Verifying JAR Files tutorial, this is a part of the Java Tutorial on java.sun.com In short: I use the Java plugin, and signed jar f

Re: Printing PostScript output, was: Re: Printing of Graphics

1998-09-18 Thread Peter T Mount
On Wed, 16 Sep 1998, Robert Dodier wrote: > Hello all, > > This doesn't really answer the original question about printing > graphics, but perhaps this will be of interest to people who need > to print graphics. > > I came across a class called PSGr and fixed it up a little -- the > result is a

Printing PostScript output, was: Re: Printing of Graphics

1998-09-16 Thread Robert Dodier
Hello all, This doesn't really answer the original question about printing graphics, but perhaps this will be of interest to people who need to print graphics. I came across a class called PSGr and fixed it up a little -- the result is attached to my homepage, http://civil.colorado.edu/~dodier.

Re: Printing of Graphics

1998-09-16 Thread Stephan Heffner
Hi Chris, > > Chris Sommers wrote: > > > > Maarten, > > Try using the swing graphics library. It has a componenet > > called JTable which is suitable. I've been using Swing under > > a different "popular" OS lately (guilt...), I like it. > > > > This begs the question - > > > > Open question to t

Re: Printing of Graphic

1998-09-15 Thread Zhichao Hong
Yes, it is very stable. I test the JTable with jdk1.1.6v4 yesterday with Postgresql-jdbc. They did much better than MS SQLserver with Windows NT.

Re: Printing of Graphics

1998-09-15 Thread David Warnock
Chris Sommers wrote: > > Maarten, > Try using the swing graphics library. It has a componenet > called JTable which is suitable. I've been using Swing under > a different "popular" OS lately (guilt...), I like it. > > This begs the question - > > Open question to the Community: is Swing availa

Re: Printing of Graphics

1998-09-15 Thread Keith T. Garner
On Tue, Sep 15, 1998 at 11:37:28, Pete Hardie said: > Chris Sommers wrote: > > This begs the question - > > > > Open question to the Community: is Swing available for > > Linux? Is it stable enough? > > It is available. I downloaded it Sunday, and have run some of > the demos. > > Stability?

Re: Printing of Graphics

1998-09-15 Thread Pete Hardie
Chris Sommers wrote: > This begs the question - > > Open question to the Community: is Swing available for > Linux? Is it stable enough? It is available. I downloaded it Sunday, and have run some of the demos. Stability? Dunno yet. SOme of the demos seemed flaky, but I don't know if it was

Re: Printing of Graphics

1998-09-15 Thread Chris Sommers
Maarten, Try using the swing graphics library. It has a componenet called JTable which is suitable. I've been using Swing under a different "popular" OS lately (guilt...), I like it. This begs the question - Open question to the Community: is Swing available for Linux? Is it stable enough? - c

Re: Printing of Graphics

1998-09-15 Thread Wim Ceulemans
>Howdie > >Anybody know any good way of using Toolkit and Graphics in order to >print Spreadsheet-kinda output? In a slightly easier way then to draw >rectangles all over the paper and draw text inside them, I hope? > Maybe you can output your data in HTML table format and then print that HTML

Re: Printing

1998-08-14 Thread Steve Byrne
Uncle George writes: > it is most likely trying to run the "lp" as in ( i tyhink) "/usr/bin/lp" > which doesnt exist there under redhat. u can symbolically link the lp's > together. That won't be enough -- the code uses the arguments that lp understands. I fixed this in 1.1.6v2 -- I can't tel

Re: Printing

1998-08-14 Thread Laura L. Evangelista
> Printing with java 1.1.6 on linux works, I don't know if it works with 1.1.3. Have you tried running the code I attached to my first post? (TestPrint.java) > The error you get is thrown if java cannot execute /usr/bin/lpr or > /usr/bin/lp. Does one of these files exist on your system? lpr exi

Re: Printing

1998-08-14 Thread Juergen Kreileder
"Laura L. Evangelista" <[EMAIL PROTECTED]> writes: > John Zukowski wrote: > > > Does the Linux JDK support printing? > > If you mean it comes with the JDK, yes ... I'm using JDK 1.1.3. > > > The error message seems to imply that it didn't come from the source in > > from the AWT book. Is this

Re: Printing

1998-08-13 Thread John Zukowski
Thanks for your message at 10:51 AM 8/14/98 -0700, Laura L. Evangelista: >John Zukowski wrote: > >> Does the Linux JDK support printing? > >If you mean it comes with the JDK, yes ... I'm using JDK 1.1.3. That's not what I am asking. The Linux JDK is a port. They have to add some of their own stuf

Re: Printing

1998-08-13 Thread Laura L. Evangelista
John Zukowski wrote: > Does the Linux JDK support printing? If you mean it comes with the JDK, yes ... I'm using JDK 1.1.3. > The error message seems to imply that it didn't come from the source in > from the AWT book. Is this something you added, or does it come from the > Linux port? The err

Re: Printing

1998-08-13 Thread John Zukowski
The program works fine under Windows and Solaris. I have not personally tested it under Linux. Does the Linux JDK support printing? The error message seems to imply that it didn't come from the source in from the AWT book. Is this something you added, or does it come from the Linux port? I'm no

Re: Printing

1998-08-12 Thread Uncle George
it is most likely trying to run the "lp" as in ( i tyhink) "/usr/bin/lp" which doesnt exist there under redhat. u can symbolically link the lp's together. Laura L. Evangelista wrote: > Sir, > > I tried to run your sample application "TestPrint" but it > wouldn't print anything ... The print