JAVA - Is there any way to send a print to Windows Spool?

Asked

Viewed 329 times

1

I wonder if there is any way to send a print to Windows Spooler via java... I tried via Socket, Printwriter and everything, but I can’t send it to Spool, only directly to the printer!!!!

  • What would be useful to pass something to Spooler and not to the printer directly ?

  • Multiple devices using the same application at the same time on the network, with a main server running the database and connected the printers (would be more than one in the case)... For print requests to run in a queue and I don’t miss any impressions...

  • Let’s assume that the company has 20 cell phones and all sending print at the same time to a single printer. That would complicate the situation, now imagine a company with 100 devices sending print requisitions at the same time!!! It would be ideal to use the server spooler to command the queue and the print sequence.... I created an android application that communicates with a Webservice in java to be able to print, but I could not send the printing pro spooler and in tests some prints were lost due to lack of this control.....

  • I got it, I was really curious since I didn’t see anything like that. thanks for explaining.

  • I don’t do much with traditional java, but if the webservice was built in java, does this oracle Docs page solve the question? https://docs.oracle.com/javase/8/docs/technotes/guides/jps/spec/jpsOverview.fm4.html

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.