1. FRANCO CASTILLO
  2. PowerBuilder
  3. Monday, 8 October 2018 20:12 PM UTC

Dear, is there a solution to be able to print from Android ?, I mean from a deployed application from Appeon Mobile

FRANCO CASTILLO Accepted Answer Pending Moderation
  1. Thursday, 11 October 2018 16:52 PM UTC
  2. PowerBuilder
  3. # 1

Thank you very much Chris, now it is very clear to me, however and as a last query to close case, you know what is the code ( PB ) or command that is used to send dw.print () directly to that Android printing service (such and such is used in the example of Appeon Sales Mobile, I have searched tirelessly and I have not found it)

 

Regards, 

 

Franco C. 

 

Comment
  1. FRANCO CASTILLO
  2. Thursday, 11 October 2018 18:55 PM UTC


Again thank you very much Crich, when you refer to DC / DS.Print () is datawindow or datastore .Print () ?, in my case it generates a Error 20028, however in the APP Demo (ds.Print ()) Sales Mobile, directly triggers the Android print service, which is why I thought there is a command or configuration that requires my APP to launch the print service, do you have any idea or suggestion that could be?



Regards,



Franco C
  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 11 October 2018 20:46 PM UTC
What type of DWO are you trying to print ... Grid, Freeform, Graph, Nested, Labels, Composite, etc when you get the print error?

Also, what Android O/S version & device are you using?
  1. Helpful
  1. FRANCO CASTILLO
  2. Thursday, 11 October 2018 20:57 PM UTC
Thanks Chris, I try to .print() the Freedom type , the Sales Mobile Appeon Demo, runs and prints or works perfectly in the same phone. The versión of OS is Android 8 ( MEU 8 )



Regards,



Franco C.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 9 October 2018 21:39 PM UTC
  2. PowerBuilder
  3. # 2

Hi Franco;

Here is what I do on my Android Devices to get printing active on my device ...

  1. Go to "System Settings"
  2. Select "Printing"
  3. Select "Add Service"
  4. Select your printer's manufacturer's driver (ie: Espon)
  5. After installation - make sure driver is marked to  ON

Now you can run any PS Mobile App and print to the Android devices active printer.

HTH

Regards ... Chris

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 8 October 2018 21:16 PM UTC
  2. PowerBuilder
  3. # 3

Hi Franco;

  The normal DataWindow Print() method will work on both Apple & Android devices. The only thing you would need to do on the Android devices is first install a wireless / Bluetooth driver for your printer manufacturer. You can normally get these from the Google App Store.

  I have both an Epson and HP driver installed on my Android Tablet & Phone and they work great with my PB Mobile Apps.

HTH

Regards ... Chris

Comment
  1. FRANCO CASTILLO
  2. Tuesday, 9 October 2018 20:50 PM UTC
Dear Cris, thank you very much for the information. For a long time we have tried what you tell us and we have never done it, with several printer models, which work perfectly with other applications, but not those developed in Appeon PB, it simply throws us an error: Error 20028 and is for the reason that: dw.print () does not do it directly, this depend on an Android printing service. For these reasons, could you provide us with an example of how you did to print? or we are thinking about using your FrameWork to send the DW to a PDF and from there to send it to the printer, in this case, you could help us with documentation how to use your framework to print to PDF ( Android Devices ) ?



Regards,



Franco C.
  1. Helpful
  1. FRANCO CASTILLO
  2. Thursday, 11 October 2018 23:10 PM UTC
Dear Crish, I was able to print, but used a DataWindow Control and not a DataStore object.

Thanks for all your help.

Regards,



Ing.Franco Castillo.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Friday, 12 October 2018 13:31 PM UTC
Hi Franco;



Thanks for the feedback. If the printing problem is with a DataStore (DS) vs a DW Control (DC) - then that could be a new issue - especially on Android 8.x based devices. PowerServer 2017 currently only supports Android 7.x. However, PS2018 will support Android 8.x devices. That might address any DS printing issues. If not, please open a Support Ticket. In the meantime, at least you have a working solution by using DC's for printing.



Regards ... Chris
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.