There are three steps to automatically printing a document in ASP.NET from the ActiveX Viewer Control.
<OBJECT id=arv codeBase=bin/arview2.cab#version=-1,-1,-1,-1 height=0 width=0 classid=CLSID:8569d715-ff88-44ba-8d1d-ad3e59543dde>
[DISABLEDSCRIPT] sub window_onload() arv.datapath = "temp.rdf" end sub
sub arv_loadcompleted() arv.PrintReport False end sub [/DISABLEDSCRIPT]