Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2006

Tip: Looking for answers? Try searching our database.

Printing

Thread view: 
sara.koike@gmail.com - 20 Dec 2006 00:09 GMT
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
Daniel Pitts - 20 Dec 2006 00:29 GMT
> 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.
[quoted text clipped - 10 lines]
> 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.
Oliver Wong - 20 Dec 2006 20:25 GMT
>> 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.
[quoted text clipped - 17 lines]
> 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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.