Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-25-2008, 08:39 AM
Member
 
Join Date: Jun 2008
Posts: 9
kurenai is on a distinguished road
send documents to print queue
i think this is reasonably advanced....

i have a list of the physical locations and the amount of each, of a bunch of doc files that i want to send to a printer on the network. does anyone know how i can do this? ive had a little search and still no idea.

thanks guys.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-25-2008, 09:06 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,574
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
print API may be the solution for you.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 06-25-2008, 10:36 AM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 299
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha
yes eranga is right.

You can use Java Print Service API that will do your job, check this link for more details and sample code
Java Print Service API User Guide: -
__________________
To finish sooner, take your own time....
Nivedithaaaa
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 06-25-2008, 11:03 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,574
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
You get a bunch kurenai.

Now you can do it.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 06-25-2008, 11:47 AM
Member
 
Join Date: Jun 2008
Posts: 9
kurenai is on a distinguished road
yes!thanks for the responses guys im going to have a play. be back soon.
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 06-25-2008, 05:15 PM
Member
 
Join Date: Jun 2008
Posts: 9
kurenai is on a distinguished road
guys im having a little trouble....
i dont want to print anything thats on the screen
i dont want to even open the files that i want to print.

i just want to send the print job for that file ( i have file path)
and the amount i want to print. to the printer which lets say is called "the printer"

i have had a look at the API and im still having difficulties.

... oh and if it helps i have the printer name that i want to print to.

Last edited by kurenai : 06-25-2008 at 05:49 PM.
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 06-25-2008, 07:41 PM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 299
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha
Can u tell us what type of difficulties r u facing?
__________________
To finish sooner, take your own time....
Nivedithaaaa
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 06-25-2008, 08:03 PM
Member
 
Join Date: Jun 2008
Posts: 9
kurenai is on a distinguished road
my biggest difficulty is that i dont know how to do it.
Bookmark Post in Technorati
Reply With Quote
  #9 (permalink)  
Old 06-26-2008, 04:33 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,574
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
You got all details need to do your application. Very simple explanations with example codes. If you are still saying that you don't know how to do it, there is no point to helping you.

On those example you have to change just few lines. Nothing much to do. I already test few of them working extremely fine.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #10 (permalink)  
Old 06-26-2008, 08:42 AM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 299
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha
No comments...
Totally do agree with Eranga as the examples are very simple, if u know what exactly u want in ur application u just have to do some minor changes...
__________________
To finish sooner, take your own time....
Nivedithaaaa
Bookmark Post in Technorati
Reply With Quote
  #11 (permalink)  
Old 06-26-2008, 08:47 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,574
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Yes, only few lines. May be our friend lazy to read that page and looking simple code here. I don't know why he not doing a test, just need a copy-paste.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print the text file and print preview them Java Tip java.awt 0 06-23-2008 12:04 AM
Using a queue Krmeus New To Java 0 12-10-2007 04:38 PM
Parsing XML documents using DOM JavaForums Java Blogs 0 11-19-2007 05:30 PM
Parsing XML Documents-1 (DOM and SAX) JavaForums Java Blogs 0 11-10-2007 11:41 PM
Internet Explorer is unable to open Office documents from an SSL Web site pramod@netedgecomputing.c Web Frameworks 0 07-19-2007 08:18 AM


All times are GMT +3. The time now is 02:27 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org