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
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
> 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
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
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
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.
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
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
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.
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
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.
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
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?
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
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
>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
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
> 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
"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
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
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
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
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
23 matches
Mail list logo