|
And to really complicate things.. it is even worse trying to print from a browser. I haven't tried it with Netscape, but Microsoft starts a NEW copy of the applet when you press the print button. Leads to some very interesting, but useless results. Nick Geert Van Landeghem <gvl@reynderseti.be>@midrange.com on 07/31/2000 08:55:17 AM Please respond to JAVA400-L@midrange.com Sent by: owner-java400-l@midrange.com To: "'JAVA400-L@midrange.com'" <JAVA400-L@midrange.com> cc: Subject: RE: Prototyping problems Martyn, Unfortunately printing in Java and on the AS/400 are two different things... If you want to create AS/400 spooled files using java you can use the print support from the AS/400 toolbox for Java. You'll find classes to create, delete, view spoolfiles on the AS/400... (I still prefer to generate spoolfiles on the AS/400 using RPGIV. It's the easiest way on the AS/400) If you want to create spoolfiles under WindowsNT you can use printing support from the JDK. You'll find a?section dedicated to print support in the Java2dguide. (Chapter 7) You'll find classes?like PrintJob, Book, PageFormat, ... to help you create the desired output I don't know if you'll have this support on the AS/400 with JDK1.2 You'll have to ask this at the guys?of the Toronto Lab... -------------------------------------------------------------------------------------- Geert Van Landeghem Reynders Etiketten gvl@reynderseti.be (Office) hydra@vt4.net (Home) -----Original Message----- From: Martyn Oswin [mailto:MartynOswin@CompuServe.com] Sent: zaterdag 29 juli 2000 10:28 To: JAVA400-L@midrange.com Subject: Prototyping problems Hi folks, Two questions for you today: Question 1 I have several tutorials/books about programming in Java, yet none mention printing. Obviously a language as large as Java must support printing, so how do I go about it? Has anyone got a simple example that they would like to share? I am interested in printing on the AS/400 and also in a Windows NT environment. Ideally using the same class, so I'm really looking for a generic solution, but any examples, either AS/400 Tool Box related, or otherwise would be gratefully appreciated. Question 2 How do people generally undertake prototyping with Java? From my limited experience it seems pretty impossible if you just use the JDK. What do you guys use? I don't have VisualAge although I am trying to get my hands on an evaluation copy. I work in the UK and it isn't that easy trying to buy a copy from a retail outlet, unlike the States were you can buy it from Amazon, etc. Are there any other tools that I should be aware of? That's all for today...thanks again! Regards Martyn Oswin 3 Counties Consulting Ltd Business: 0115 9230140 Mobile?? :? 0378 833290 E_Mail?? :? MartynOswin@CompuServe.Com +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.