Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print without confirmation or pass data to ActiveX control from ASP

Status
Not open for further replies.

mobbarley

IS-IT--Management
Mar 4, 2004
22
0
0
AU
Hi Guys,

I am trying to print a receipt from a webpage without any confirmation, so the javascript window.print() will not work. This will be only run from one machine in a kiosk arangement, so loading of an ocx etc is no problem.

I have got an OCX control into a webpage with a command button and when this command button is pressed it does:
Printer.Print "test document"
Printer.EndDoc

This is exactly what I want, however, i would like a function arangement so that I can pass data from an ASP page to the OCX, possibly something like PrintPage("This is the receipt").

Is this possible!?

Regards,
John R.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top