haziel82 Posted December 20, 2006 Share Posted December 20, 2006 I'm developing a web application that needs to communicate with a Epson TM - T88IIIP printer installed at client.I nhave to capture what is displayed at the navigator window to be printed, but, in the documment, I need to send the printer some control characters, that must not appear at the window.Does anyone have an idea to solve it? Link to comment Share on other sites More sharing options...
aspnetguy Posted December 20, 2006 Share Posted December 20, 2006 you need to include some characters in the document to print that you do not want the user to see whne previewing the document???CSS can do this look into media types (@media) Link to comment Share on other sites More sharing options...
haziel82 Posted December 20, 2006 Author Share Posted December 20, 2006 Tried to.But the printer does not obey the controls char. Link to comment Share on other sites More sharing options...
justsomeguy Posted December 20, 2006 Share Posted December 20, 2006 You can't communicate directly with a printer using a web application. You will need to show the page you want to print, and then you can use Javascript window.print to open the print dialog box. But you can't communicate directly with the printer, so everything you want to send to the printer needs to be on the page you want to print. Link to comment Share on other sites More sharing options...
haziel82 Posted December 20, 2006 Author Share Posted December 20, 2006 You can't communicate directly with a printer using a web application. You will need to show the page you want to print, and then you can use Javascript window.print to open the print dialog box. But you can't communicate directly with the printer, so everything you want to send to the printer needs to be on the page you want to print.I'm already doing it.But even useing CSS to hide these control chars (those ones from &H00 to &H1F), o doing it not, the printer isn't to obey the control chars, and make the paper cuts I want. Link to comment Share on other sites More sharing options...
jesh Posted December 20, 2006 Share Posted December 20, 2006 I'm developing a web application that needs to communicate with a Epson TM - T88IIIP printer installed at client.Wait a second, when you say "client", do you mean the computer which is served the content from the webserver (as in client/server)? Or do you mean some business for whom you are developing the application (as in paying customer) and the printer is actually conntected to the server?If the printer is connected to the server, you may be able to find an API for interfacing with that printer. Link to comment Share on other sites More sharing options...
haziel82 Posted December 20, 2006 Author Share Posted December 20, 2006 Wait a second, when you say "client", do you mean the computer which is served the content from the webserver (as in client/server)?Yes. I mean the computer client, wich one is served form the computer server. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now