Hi,
We have a VB Script code that sends some data to the printer but now we want this to work on web application and on the client side .
The code is as following :
strPrinter is printer name
strtempfile is the name of a temporaty file ( Please see attached file . it's raw data for sending to printer )
For i = 1 To 4
strCommand = "PRINT /D:" & strPrinter & " " & strtempfile ' For // print
Shell strCommand, [login to view URL]
wait (1)
Next i
We send it as a shell (DOS) command.
You could implement it as an ActiveX , Java Appplet or Flash (Actionscript ).
What we need is a script or component that gets "printer name" and "data" from two textbox on the webpage and send the data to that printer.
Please notice that the printer is client side not on the server.
Please send pm for us including demo if it's available and also your method for implementing this feature.
Thank you.