I'm teaching myself to use the Java Print Service API, and was able
to query my Linux workstation for available print services. Before
I went too far, I thought I'd try it on a Windows machine, but he
didn't return *any* services at all.
Does the JPS only work with IPP devices (I use CUPS on the
print jobs but AFAIK this would only allow me to print crude ASCII or
preprocessed PS files.
I would like to know if I can take advantage of the AWT's existing
printing infrastructure. Is there a way to construct my own
PrinterGraphics object that can be used with and take advantage of the
jav
Hi, Everyone
I am glad to know the availability of Java3D 1.2.
But who can tell me the difference between V1.2 and V1.1.3. Thanks a lot.
Just now, I replace the v1.1.3 with v1.2. My printUtility (print Canvas3D)
doesnot work.
I attatched my PrintableCanvas3D.java file here.
Thanks very much!
y
t to
describing what I'm seeing was from Klas Nordberg <[EMAIL PROTECTED]>,
on 09 Feb 2000, subject "Printing and fonts". He was using RC4 of
Blackdown's JDK. However, I don't see any response to his questions.
--Rick Kwan, Lightsaber Computing
[EMAIL PROTECTED]
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
Hi Gang:
First, thanks to all who responded to my first query. The article
pointed to was a big help. My next question concerns paper orientation.
Under Windoz I can set the orientation from portrait to landscape and the
printer understands. On Solaris, the pop-up dialog box does not allow th
Hi,
Here is some documentation:
"The direct color model is a color model which specifies a translation
from
pixel values to alpha, red, green, and blue components using the actual
bits
of the pixel value. This color model is similar to an X11 TrueColor
visual."
"The Abstract Window Toolkit rep
I have an image that I wanted to print... This image is constructed
using MemoryImageSource using an array of bytes, with each byte
representing a pixel.
I also have a DirectColorModal to translate the color in each pixel.
image = createImage
(new MemoryImageSource
(d.width,
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 fre
Hi Gang:
Does anyone know where I can get some examples of printing under JDK
1.2?
Thanks
Greg
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Hi Gang:
Does anyone know where I can get some examples of printing under JDK
1.2?
Thanks
Greg
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Hi Gang:
Does anyone know where I can get some examples of printing under JDK
1.2?
Thanks
Greg
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Hi Gang:
Does anyone know where I can get some examples of printing under JDK
1.2?
Thanks
Greg
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Hi Everyone.
If this been answered before my apologies. Thank you in advance for any
answers.
I have a servlets running on a Redhat Linux 5.1 m/c with apache, jserv
and postgresql. I do not run Xwindows on the server.
Is there any way to print formatted print job to a printer attched to a
linux
Hi all,
forgive me if this has been asked before as i am just new to the list.
in java 1.1.7 when you print a page, if there is any text not going
horizontaly
across the page (i.e. virtically) the text is printed at screen
resolution
and looks realy terable. The same goes for any line drawn that
> 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 sta
I wondering if anyone had info on java printing w/1.1.7
I can only find tutorials on the 1.2 jdk printing ... from
the mailing list it seems you can print from 1.1.7.
A tutorial site or better yet sample printing code would
be greatly appreciated.
Thanks,
Tom McMichael
[EMAIL PROTECTED
Thomas Down writes:
> C.V. Rajagopal wrote:
> > i have been experimenting with graphics printing in java under linux.
> >
> > when i press the print button in the print dialog box it gives an error
> > message like the following
> >
> > "Could
C.V. Rajagopal writes:
> i have been experimenting with graphics printing in java under linux.
>
> when i press the print button in the print dialog box it gives an error
> message like the following
>
> "Could not execute print commands[Ljava.lang.String:080a54
C.V. Rajagopal wrote:
> i have been experimenting with graphics printing in java under linux.
>
> when i press the print button in the print dialog box it gives an error
> message like the following
>
> "Could not execute print commands[Ljava.lang.String:080a5470".
i have been experimenting with graphics printing in java under linux.
when i press the print button in the print dialog box it gives an error
message like the following
"Could not execute print commands[Ljava.lang.String:080a5470".
but i could print it to a file
please help
linux 2
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,
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
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?
i
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 good
info about this ?
--
Pocas cosas deseariamos ardientemente
Ive tried to do some printing of Swing components and didnt
succeed in anyway. I Think i know how to print normal
graphics outputted to Graphics class but outputting components
doesnt seem to work for me at all.
Here's the code ive tried:
import java.lang.*;
import java.util.*;
i
Java people,
I'm trying to print from my applet ran in Netscape 4.05 ... My
applet is in a signed jar and uses a plugin ... Running the
applet and trying to print, I get the message (from the Java
console):
Invalidating certificate principals in [http://blah-blah-blah/,]
changes in the client java.security file. (lib/security)
Zoltan TAR
> --
> From: Laura L. Evangelista[SMTP:[EMAIL PROTECTED]]
> Sent: 1998. október 14. 9:16
> To: Java Linux
> Subject: Printing from browser
&
Java people,
I have an applet that needs to print components (reports) ... It
runs fine with appletviewer, but running it through a browser
(Netscape 4.05), I get security errors.
How can I get my applets to print from a browser?
Than'x for any help.
-- Laura
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
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/~d
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
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?
And how can I put scaling into effect? Drawing stuff despite changes
sizes?
--
Maart
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 you
"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 c
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 h
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
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
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
tjob
// Does not deal with word wrap or tabs
void printLongString (PrintJob pjob, Graphics pg, String s) {
int pageNum = 1;
int linesForThisPage = 0;
int linesForThisJob = 0;
// Note: String is immutable so won't change while printing.
if (!(pg instanceof Pr
Ljava.lang.String;@80cbe12"
This is the first time I tried the printing feature in Java
(I also tested other sample applications, but they all wouldn't
work) ... The printer (HP LaserJet 4L) is from within the (local)
network ... I am using RedHat Linux 4.2, JDK 1.1.3 ...
I hope
48 matches
Mail list logo