NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: printing from java app



Thanks for the reply.  This java app has an "open" button to open the
communication line to the printer then another button to print text to
the printer (sorry, I should have explained this before).  When I click
open, the java app throws an exception "cannot open the commuications
port."  ktrace shows output up to the point of me clicking the open
button but upon clicking the button it outputs nothing.

Jeremy

 
On Mon, 2009-03-23 at 13:19, Christos Zoulas wrote:
> In article <1237822983.10280.11.camel@v250>,
> Jeremy Smallman  <jeremy.smallman%doxsystems.com@localhost> wrote:
> >I am trying to print from a java application to a parallel printer but
> >cannot do so.  Communication from NetBSD to the printer is fine because
> >I was able to print lptest 70 5 > /dev/lpt0 successfully.  I am using
> >sun-jre15 from pkgsrc which uses linux emulation.  I was also
> >unsuccessful printing to a usb printer from the same java app, even with
> >libusb installed.  But I understand from some research that this cannot
> >be done. . .?  Is there any way to print to the parallel printer from
> >the java app?  I'm running NetBSD 4.01.  Thanks!
> 
> Can you ktrace it and see what it is trying to do?
> 
> christos
-- 
Jeremy Smallman, ITSS
DoX Systems, LLC
3454 Oak Alley Ct.
Suite 100
Toledo, OH 43606-1354
419-654-1607
http://www.doxsystems.com



Home | Main Index | Thread Index | Old Index