Article View: borland.public.jbuilder.java.swing
Article #7665Printer settings
From: Greg Tomalesky
Date: Thu, 21 Dec 2000 01:44
Date: Thu, 21 Dec 2000 01:44
19 lines
1460 bytes
1460 bytes
Hi everyone:
The following code works just fine:
PrinterJob job = PrinterJob.getPrinterJob();
.
.
.
job.printDialog();
That is, it pops up a dialog box which allows me to (among other
things) type in the name of the printer. This also works. The problem is
that the next time I execute the above code, the printer job has
forgotten the name of my printer. Even if all I do is invoke the
printDialog() method on the same PrinterJob, it still forgets my
printer. Is there any way around this. It is the same in 1.2 as in 1.3.
Thanks
Greg Tomalesky
Technical Details
Message-ID:
<3A416080.7F2E0CAE@nfdc.net>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.online.be!fr.clara.net!heighliner.fr.clara.net!news.imp.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,ac0d48a066c9c5d6,start X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2000-12-20 17:47:40 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.online.be!fr.clara.net!heighliner.fr.clara.net!news.imp.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!not-for-mail From: Greg Tomalesky <delta4@nfdc.net> Newsgroups: borland.public.jbuilder.java.swing Subject: Printer settings Date: Wed, 20 Dec 2000 20:44:32 -0500 Organization: Another Netscape Collabra Server User Lines: 21 Message-ID: <3A416080.7F2E0CAE@nfdc.net> NNTP-Posting-Host: asc367.nfdc.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.61 [en] (X11; U; Linux 2.2.12-20 i586) X-Accept-Language: en