JPS (printing services)

2002-11-07 Thread Glenn Holmer
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

Printing

2001-01-20 Thread Michael B. Allen
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

Java3D 1.2 printing problem!

2000-08-02 Thread yangyuexiang
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

Printing and fonts revisited

2000-07-12 Thread Rick Kwan
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]

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

JDK 1.2 Printing part 2

1999-11-15 Thread Greg Tomalesky
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

Re: Question about printing in Jdk 1.1

1999-11-12 Thread Jacob Nikom
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

Question about printing in Jdk 1.1

1999-11-12 Thread Eric Chao
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,

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 fre

Printing with 1.2

1999-11-11 Thread Greg Tomalesky
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]

Printing with 1.2

1999-11-11 Thread Greg Tomalesky
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]

Printing with 1.2

1999-11-11 Thread Greg Tomalesky
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]

Printing with 1.2

1999-11-11 Thread Greg Tomalesky
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]

Printing

1999-05-28 Thread awcl
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

printing in java2

1999-04-16 Thread Justin Lawler
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

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 sta

printing w/1.1.7

1999-02-24 Thread Tom McMichael
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

Re: graphics printing in printing

1999-02-17 Thread Steve Byrne
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

graphics printing in printing

1999-02-17 Thread Steve Byrne
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

Re: graphics printing in printing

1999-02-16 Thread Thomas Down
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".

graphics printing in printing

1999-02-16 Thread C.V. Rajagopal
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

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,

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

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? i

Printing in Java

1999-01-22 Thread PAX!
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

Printing Swing components.

1999-01-02 Thread Jani Mikkonen
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

Printing from applet using Netscape

1998-10-18 Thread Laura L. Evangelista
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/,]

RE: Printing from browser

1998-10-14 Thread Tar . Zoltan
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 &

Printing from browser

1998-10-14 Thread Laura L. Evangelista
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

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

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/~d

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

Printing of Graphics

1998-09-15 Thread Maarten van Leunen
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

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 you

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 c

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 h

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

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

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

Printing (the Code)

1998-08-12 Thread Laura L. Evangelista
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

Printing

1998-08-12 Thread Laura L. Evangelista
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