Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #32277
| Path | csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | v_borchert@despammed.com (Volker Borchert) |
| Newsgroups | comp.lang.java.programmer |
| Subject | Workaround found (was: Re: Eclipse RCP application: USB print hang) |
| Date | 7 Aug 2015 22:30:18 GMT |
| Organization | Private site at Eddersheim, Germany |
| Lines | 27 |
| Distribution | de |
| Message-ID | <mq3bhq$7eq$1@Gaia.teknon.de> (permalink) |
| References | <mq0fh1$dht$1@Gaia.teknon.de> |
| X-Trace | individual.net KLAITsYJxrdx4lnsKBSfzgpIMWWiK4x0AceMvFubXr7lBRlbO+ |
| Cancel-Lock | sha1:OcoSSxQ0zLNuBv17bd8t2wbMtL8= |
| Xref | csiph.com comp.lang.java.programmer:32277 |
Show key headers only | View raw
In comp.lang.java.programmer, Volker Borchert wrote: > > Using SWT 3.7.x, PaperClips, JRE 1.8.x, Windows 7 in VirtualBox on Linux, > HP USP laser printer. > > Power on printer, wait until in powersave. > Start virtual Windows. > Start RCP application. > Try to let the application print something. > Printing hangs in native StartDocW GDI API function. > Printing works after opening the printer setup/properties dialog, > even if cancelled immediately. > Printing from e.g. WordPad instead, works. Colleague accidentally hit the "Properties" button in the printer selection dialog, and even though he cancelled that immediately, printing then worked. So I added half a line of code that eventually calls GetDeviceCaps, and this seems sufficient to kick the printer sufficiently awake. I don't think this is a solution, but as a workaround, it'll do. -- "I'm a doctor, not a mechanic." Dr Leonard McCoy <mccoy@ncc1701.starfleet.fed> "I'm a mechanic, not a doctor." Volker Borchert <v_borchert@despammed.com>
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Eclipse RCP application: USB print hang v_borchert@despammed.com (Volker Borchert) - 2015-08-06 20:19 +0000
Re: Eclipse RCP application: USB print hang Martin Gregorie <martin@address-in-sig.invalid> - 2015-08-06 21:35 +0000
Re: Eclipse RCP application: USB print hang v_borchert@despammed.com (Volker Borchert) - 2015-08-07 04:10 +0000
Re: Eclipse RCP application: USB print hang Martin Gregorie <martin@address-in-sig.invalid> - 2015-08-07 10:00 +0000
Re: Eclipse RCP application: USB print hang Jeff Higgins <jeff@invalid.invalid> - 2015-08-07 09:01 -0400
Workaround found (was: Re: Eclipse RCP application: USB print hang) v_borchert@despammed.com (Volker Borchert) - 2015-08-07 22:30 +0000
Re: Workaround found (was: Re: Eclipse RCP application: USB print hang) Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2015-08-08 14:05 +0000
csiph-web