Hi All,
Has anyone managed to print from a web/mobile client to a printer that is attached to the WAS server?
I would have thought this would be easy and in some business solutions a common requirement
The scenario we have is we have a Alpha Anywhere App running on Nexus 10 tablets. The stores person is checking in pallets of goods at the loading bay (So far so good works great)
But here is our problem... he/she needs to print off labels for the Pallets... Hmm Android Tablet ... not really printer friendly
1, Tried Google Cloud Print.... if you can get it to work(which we haven't on the tablet) it is really slow and requires a Cloud Print enabled printer or a PC running Chrome etc etc really not a good solution for a Business/Warehouse environment.
2, (I have played with Epson Print App (Printer I had, yes there is HP etc but they are all sort of the same) This is no good as we would have to save the report as a pdf then go to the print app and find the pdf, then print it... Not really an efficient solution and again, not a good solution for a Business/Warehouse environment.
3, So I thought we should be able to print the Report to a printer on the server using
This Thead (Post#20) leads you to believe it should work
http://msgboard.alphasoftware.com/al...t=report.print
But I keep getting errors like this
https://dl.dropboxusercontent.com/u/...eportPrint.PNG
"OK...." I say I will try something else...
I have tried Saving as PDF on the server.. Like this (3 different versions (copied from MB postings) but all produce the same error)
As If I could get the PDF on the server I could print them using the 3rd party tool Watch Directory www.watchdirectory.net/
This is far from ideal (I would rather print to the Printer on the WAS server) but It could work... If only I could get the
or the
to work
I have re-published teh alb files I have deleted the whole folder re-published the whole project... tried the various code n a didderent development PC and a different project.... same errors what does
What does that mean? I am at a total loss. It is 4am in the morning and I have been a this for a stupid amount of time...
Help! what am I missing???
Oh and by the way, the report prints perfectly to the browser..... so the report is fine well the browser thinks so.
Other info; I am running Windows 7 and AA Build 1856 4237
These errors happen in Working Preview, Live Preview and when published to a WAS running on a Windows 2003 server
Help! what am I missing???
If anyone can help the Blind here I would be very greatfull
Bruce
Has anyone managed to print from a web/mobile client to a printer that is attached to the WAS server?
I would have thought this would be easy and in some business solutions a common requirement
The scenario we have is we have a Alpha Anywhere App running on Nexus 10 tablets. The stores person is checking in pallets of goods at the loading bay (So far so good works great)
But here is our problem... he/she needs to print off labels for the Pallets... Hmm Android Tablet ... not really printer friendly
1, Tried Google Cloud Print.... if you can get it to work(which we haven't on the tablet) it is really slow and requires a Cloud Print enabled printer or a PC running Chrome etc etc really not a good solution for a Business/Warehouse environment.
2, (I have played with Epson Print App (Printer I had, yes there is HP etc but they are all sort of the same) This is no good as we would have to save the report as a pdf then go to the print app and find the pdf, then print it... Not really an efficient solution and again, not a good solution for a Business/Warehouse environment.
3, So I thought we should be able to print the Report to a printer on the server using
Code:
last_printer = :report.printer_override("EPSON WorkForce 630 Series") :report.print("[email protected]") :report.printer_override(last_printer)
http://msgboard.alphasoftware.com/al...t=report.print
But I keep getting errors like this
https://dl.dropboxusercontent.com/u/...eportPrint.PNG
"OK...." I say I will try something else...
Error executing Ajax callback function 'PrintOnServer' Error reported was:
Amyuni Low Level Print:
Layout name: [email protected]
Layout type: report
SQLReporting 6 - DataSource record for Layout not found.
Report Dictionary: LittleShop.alb
Dictionary found: False
Report name: TestReport
Type: REP
Amyuni Low Level Print:
Layout name: [email protected]
Layout type: report
SQLReporting 6 - DataSource record for Layout not found.
Report Dictionary: LittleShop.alb
Dictionary found: False
Report name: TestReport
Type: REP
Code:
dim fn as C fn = report.saveas("TestReport@c:\A5WebRoot\LittleShop\LittleShop.alb", "rtf", "", "", "C:\reports\test.rtf",.T.) fn = Report.SaveAs("TestReport","PDF","","","C:\Reports\\Test.pdf",.T.) report.saveas("TestReport","PDF","","",".Test.pdf")
This is far from ideal (I would rather print to the Printer on the WAS server) but It could work... If only I could get the
Code:
Report.SaveAs
Code:
a5w_report_saveAs
I have re-published teh alb files I have deleted the whole folder re-published the whole project... tried the various code n a didderent development PC and a different project.... same errors what does
SQLReporting 6 - DataSource record for Layout not found
Help! what am I missing???
Oh and by the way, the report prints perfectly to the browser..... so the report is fine well the browser thinks so.
Other info; I am running Windows 7 and AA Build 1856 4237
These errors happen in Working Preview, Live Preview and when published to a WAS running on a Windows 2003 server
Help! what am I missing???
If anyone can help the Blind here I would be very greatfull
Bruce
Comment