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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The .PrintOut function in VB with Flash MX

Status
Not open for further replies.

jacktripper

Programmer
Dec 5, 2001
124
US

I have a Flash MX application that pulls data from an Access Database, posts the data to an ASP file, and the ASP then automatically prints the CR forms using the following code:

Session("oRpt").printout false, 1, false

On my personal development computer, it works just great. I have installed CR and RAS on our server, installed the same printer, set up all the stuff, but it doesn't print anything. I also don't get any error messages. Its as if its passing the printer a 0 value.

To test it out, I set up the ASP using an ActiveX component to View the Report in the Browser, and that also works fine on the Server. The report comes into the browser, is populated with the right data, and if I hit the PRINT BUTTON in the ActiveX Viewer of the report, It Prints right.

Its just seems that my report.printout function won't work on the Server, and only works on my local dev server.

Any thoughts? Ideas? Are there other commands I need besides the .printout? Other parameters?
 
Oh, and I am using CR 9.0, the most recent version. Actually, its a demo version.
 
It just occurred to me that perhaps the report.PrintOut Method of a Demo version of CR will not allow it to be printed over a NetWork IIS printer without being registered. Thoughts?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top