File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

send file to printer using java

 
Thanuja Vishwanath
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Iam helping my sister for her 10th std project. She is developing a console application wherein editor has option to create,read,delete and copy a file and publisher has options to read and print a file. Have written code for create,read,delete and copy. But stuck with the print option. Requirement is

1) when a publisher logs in and selects print option then he will be asked to enter the file name to print (file which will be send to the printer).
2) publisher is allowed only to enter the file name
3) as soon as he enters the file name, the file should be send to the printer and starts printing without opening the file.

Is it possible to do this without opening the file ie. publisher should not be allowed to edit the file. so when he enters the file name instead of opening the file, just pass the file name to the printer to print.

 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends on what the documents are and what the capabilities of your printer are. This topic and our AccessingFileFormats FAQ should get you going.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic