Hi,
I need to print some labels from PocketPC. Window CE does not have printing capabilities, so I want generate html on my tomcat server and then somehow to sent it to network printer directly.
Is it possible?
I already did, but I understand that I should to create
some printable object, like applete and send to printer.
My question, if it is possible to change output content type of JSP to "application/postscript" or "application/pcl" and send it to printer by it IP address.
Yes, but you need to use the javax.printing package ... and it would only execute on the server. If you need to print from the client you need either some VB/VBScript/Javascript or something, or indeed an applet ...
You can't send data from the webserver to a printer on the clientside...
I wonder why it's so hard for some people to get rid of the idea that they can control the client computer (or in this case network) directly from a webserver...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.