Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #32274

Re: Eclipse RCP application: USB print hang

From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Eclipse RCP application: USB print hang
Date 2015-08-07 10:00 +0000
Organization A noiseless patient Spider
Message-ID <mq1vkh$ivp$1@dont-email.me> (permalink)
References <mq0fh1$dht$1@Gaia.teknon.de> <mq0jvh$ldg$1@dont-email.me> <mq1b4j$kb8$1@Gaia.teknon.de>

Show all headers | View raw


On Fri, 07 Aug 2015 04:10:59 +0000, Volker Borchert wrote:

> Martin Gregorie wrote:
> 
>> - How does virtualbox connect to the printer, i.e.
>>   - is it talking direct to the printer via a network interface?
>>   - if its connecting via the Linux spooler, is it using IPP or
>>     is it piping the printfile through lpr?
> 
> Might indeed be worth looking into. But then, why does it work from
> Wordpad?
>
Ok, just checking: I take it that printing from Wordpad does wake the 
printer from powersave.

If that's the case it follows that Wordpad and the JVM must either:
1) use different virtualbox APIs for printing
2) use the same API but with some different parameter settings

> Would need to write such an app, the one in question uses Windows
> specific native libraries, and the problem just surfaced these days...
>
Looks like that might be unnecessary. I was suggesting ways to find 
differences in the path connecting an application running in virtualbox 
to the printer and to get some idea of where the differences are located. 

If Java can't wake the printer from powersave but Wordpad can, that tends 
to show there are at least two ways for an application to connect to a 
printer within virtualbox[1]. At this point I'd have a scout round 
https://www.virtualbox.org/ and, if I couldn't find anything there, ask 
the devs if they've run into this and/or can suggest a way of debugging 
printer start-up.

[1] that wouldn't surprise me: historically printer handling has been 
something of an afterthought under MS operating systems.


-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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