🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1853

Re: How to change printer's bin in java coding for printing in different tray?

#1853
From: Tor Iver Wilhelmsen
Date: Mon, 27 Aug 2001 07:59
13 lines
1341 bytes
"jjungho@hitel.net" <jjungho@hitel.net> writes:

> I think it is possible in Java case, too.

But not necessary: You should be able to set the "tray" as a property
to the printing interface, but it's not one of Java's best documented
sides pre-1.4...

In 1.4 you would use the IPP API with DocFlavor and
javax.print.attribute.standard.MedaTray and its constants. Basically,
the printing mechanism in 1.4 has ben reworked into the ServiceUI way
of looking at things, which is more powerful but appears daunting in
the beginning.
Technical Details
Message-ID: <u7kvq7x1d.fsf@sds.no>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!129.240.148.23!uio.no!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews
References: <3b89e05d$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,1701593ce59d25ce
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-08-27 01:05:36 PST
Sender: towi@SDSA1761
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: How to change printer's bin in java coding for printing in different tray?
References: <3b89e05d$1_2@dnews>
From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no>
Date: 27 Aug 2001 09:59:58 +0200
Message-ID: <u7kvq7x1d.fsf@sds.no>
Lines: 13
X-Newsreader: Gnus v5.7/Emacs 20.7
NNTP-Posting-Host: 139.105.4.252
X-Trace: dnews 998899196 139.105.4.252 (27 Aug 2001 00:59:56 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!129.240.148.23!uio.no!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews