I'm trying to print a PDF report using a local installation of Alpha 5 v9. I've set up a dialog component adding it to an .a5w page as directed by the Total Web Apps series of videos.
My after validate form event is coded as follows using the print genie:
dim filter as c
dim order as c
Filter = ".T."
Order = ""
Dim filename as c
filename = session.session_folder + "tempreport.pdf"
filename = report.saveas("Member_Roster_wn@[PathAlias.ADB_Path]\member_wn.ddd","pdf",filter,order,filename,.f.)
if file.exists(filename)
currentform.RedirectTarget = session.session_url + "tempreport.pdf?" + time("hms3")
end if
I get the following error when previewing in my web browser locally -->
Errors in: event.AfterValidate code:
'Alpha Five Printer' (for creating PDF, RTF and HTML output) is not installed. Re-install Alpha Five
Being a newbie at this stuff, getting errors makes it difficult to learn and progress with this software. I've searched the forums and assume its an issue with not having the built-in Alpha Print driver (perhaps).
Forums I've looked at:
http://msgboard.alphasoftware.com/al...ad.php?t=57705
http://msgboard.alphasoftware.com/alphaforum/showthread.php?t=42190
My machine does have a networked version of Alpha 4 v8 though installed elsewhere on my system. Alpha 4 v8 uses Windows Agent to print to a standalone printer and elsewhere..... My Windows XP system also has printers installed as shown below:
The second form post above seemed to state to not have any other PDF-type printers installed on your system, yet we need to have these functioning for other uses to the best of my knowledge. I also could not locate the oemsetup.inf file in my installation but did find a amyuni.inf however under my root of C:\Alpha5 v9\a5v9 .... Following the procedure for this amyuni.inf only gave me an error message -40 ifI recall. A quick glance in this folder also reveals a InstallAmyuniPrinters.exe that might fix everything. Guess I'm reluctant to try installing this .exe file unless it will solve my problem.
Any help would be appreciated :)
My after validate form event is coded as follows using the print genie:
dim filter as c
dim order as c
Filter = ".T."
Order = ""
Dim filename as c
filename = session.session_folder + "tempreport.pdf"
filename = report.saveas("Member_Roster_wn@[PathAlias.ADB_Path]\member_wn.ddd","pdf",filter,order,filename,.f.)
if file.exists(filename)
currentform.RedirectTarget = session.session_url + "tempreport.pdf?" + time("hms3")
end if
I get the following error when previewing in my web browser locally -->
Errors in: event.AfterValidate code:
'Alpha Five Printer' (for creating PDF, RTF and HTML output) is not installed. Re-install Alpha Five
Being a newbie at this stuff, getting errors makes it difficult to learn and progress with this software. I've searched the forums and assume its an issue with not having the built-in Alpha Print driver (perhaps).
Forums I've looked at:
http://msgboard.alphasoftware.com/al...ad.php?t=57705
http://msgboard.alphasoftware.com/alphaforum/showthread.php?t=42190
My machine does have a networked version of Alpha 4 v8 though installed elsewhere on my system. Alpha 4 v8 uses Windows Agent to print to a standalone printer and elsewhere..... My Windows XP system also has printers installed as shown below:
The second form post above seemed to state to not have any other PDF-type printers installed on your system, yet we need to have these functioning for other uses to the best of my knowledge. I also could not locate the oemsetup.inf file in my installation but did find a amyuni.inf however under my root of C:\Alpha5 v9\a5v9 .... Following the procedure for this amyuni.inf only gave me an error message -40 ifI recall. A quick glance in this folder also reveals a InstallAmyuniPrinters.exe that might fix everything. Guess I'm reluctant to try installing this .exe file unless it will solve my problem.
Any help would be appreciated :)
Comment