Article View: borland.public.jbuilder.java.language
Article #8533Selecting printer programatically
From: Jim Gallagher
Date: Mon, 12 Mar 2001 19:17
Date: Mon, 12 Mar 2001 19:17
12 lines
1235 bytes
1235 bytes
Hello, I have a server application that needs to be able to print to one of several available printers. The only way I've seen to accomplish this requires displaying the printer dialog, which requires manual intervention. Is there any way to programatically get a list of printers and assign it in code to PrinterJob? Thanks, Jim Gallagher Zenia Software, Inc.
Technical Details
Message-ID:
<3AAD20B7.41238C93@earthlink.net>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!dnews!208.176.139.98Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,41ebb754c299d020,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-12 14:14:07 PST Message-ID: <3AAD20B7.41238C93@earthlink.net> Date: Mon, 12 Mar 2001 14:17:11 -0500 From: Jim Gallagher <zenia@earthlink.net> X-Mailer: Mozilla 4.61 [en] (OS/2; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Selecting printer programatically Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 208.176.139.98 X-Trace: 12 Mar 2001 14:06:34 -0800, 208.176.139.98 Lines: 12 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!dnews!208.176.139.98