Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Printing

Reply
Thread Tools

Printing

 
 
sara.koike@gmail.com
Guest
Posts: n/a
 
      12-20-2006
I need to build a capability where I can print to a local printer from
a web app where there is no user interaction required.

We originally thought about doing a print server in a central location
and use java print services to call an ip for a printer to print.

We'd prefer to not have to install all the print drivers and the
individual printer entities to the printer centrally.

Is there anyway to develop an applet that can invoke the same type of
java print services which can be triggered by a web page loading?

thx
Sara

 
Reply With Quote
 
 
 
 
Daniel Pitts
Guest
Posts: n/a
 
      12-20-2006

http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:
> I need to build a capability where I can print to a local printer from
> a web app where there is no user interaction required.
>
> We originally thought about doing a print server in a central location
> and use java print services to call an ip for a printer to print.
>
> We'd prefer to not have to install all the print drivers and the
> individual printer entities to the printer centrally.
>
> Is there anyway to develop an applet that can invoke the same type of
> java print services which can be triggered by a web page loading?
>
> thx
> Sara

Hmm... Well, if the webapp is on the same machine that the printer is
connected to, then you just print normally.

Actually, I think all you would need to do is configure the printer in
any case, and print normally.
I know there are printing capabilities in Java, take a look in the API
documents.

 
Reply With Quote
 
 
 
 
Oliver Wong
Guest
Posts: n/a
 
      12-20-2006

"Daniel Pitts" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
>
> (E-Mail Removed) wrote:
>> I need to build a capability where I can print to a local printer from
>> a web app where there is no user interaction required.
>>
>> We originally thought about doing a print server in a central location
>> and use java print services to call an ip for a printer to print.
>>
>> We'd prefer to not have to install all the print drivers and the
>> individual printer entities to the printer centrally.
>>
>> Is there anyway to develop an applet that can invoke the same type of
>> java print services which can be triggered by a web page loading?
>>
>> thx
>> Sara

> Hmm... Well, if the webapp is on the same machine that the printer is
> connected to, then you just print normally.
>
> Actually, I think all you would need to do is configure the printer in
> any case, and print normally.
> I know there are printing capabilities in Java, take a look in the API
> documents.


The keywords "no user interaction", "applet" and "print" raises a
warning for me. I think the applet would invoke a security exception unless
the user interacts by saying "Yes, I am willing to let this applet I got off
the network have control over my printer."

If this is for a LAN, I think the OP would have more luck writing this
as a (possibly webstarted) application than as an applet.

- Oliver


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
brochure printing,online yearbook,printing,books printing,publishing elie Computer Support 2 11-27-2010 12:12 PM
brochure printing,online yearbook,printing,books printing,publishing elie Computer Support 0 08-21-2007 05:52 AM
brochure printing,online yearbook,printing,books printing,publishing elie Computer Support 0 08-21-2007 05:50 AM
brochure printing,online yearbook,printing,books printing,publishing elie Computer Support 0 08-21-2007 05:28 AM
brochure printing,online yearbook,printing,books printing,publishing elie Computer Support 0 08-18-2007 10:11 AM



Advertisments