🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15549

Selecting printers

#15549
From: Informatique
Date: Tue, 08 Jun 1999 00:00
11 lines
1218 bytes
Hi everybody,
                I use JBuilder2 with JDK1.2 on windows95 and i'd like to
select a printer by code. I use the classes java.awt.print.*. I can use the
printDialog box but i'd like to choose the printer not using this box. The
printers are linked to  a network (with a network card on my PC). How can i
use the parameters of the printDialog box?
    I'd like to know if i have to use the paths from Win.ini.
    I have ever tried the package javax.comm to select a port (but i work on
a network).
    I hope you understand what i mean.
                                                            Patrick
Technical Details
Message-ID: <7jir69$334$1@minus.oleane.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,e12151109fe00143,start
X-Google-Attributes: gidf74b3,public
From: "Informatique" <adrien.info@dial.oleane.com>
Subject: Selecting printers
Date: 1999/06/08
Message-ID: <7jir69$334$1@minus.oleane.net>
X-Deja-AN: 487015912
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
X-Complaints-To: abuse@oleane.net
X-Trace: minus.oleane.net 928837641 3172 195.25.189.195 (8 Jun 1999 10:27:21 GMT)
Organization: Guest of OLEANE
NNTP-Posting-Date: 8 Jun 1999 10:27:21 GMT
Newsgroups: borland.public.jbuilder.java.language