Recent

Author Topic: How-to print from my apk ?  (Read 2965 times)

memoguard

  • Newbie
  • Posts: 3
How-to print from my apk ?
« on: October 24, 2018, 10:31:30 pm »
Hi Guys,

i am a newbie at the forum and want to print from my apk ? (generate some pdf that my users could download)
What would be the best (easy) solution ?
i already used jsPdf from websites to print some reports, or LazReport from Lazarus, but i can't figure here if it's the same : i mean can we dynamically create lazreports and print them ???

Any answer welcome  ::) and thanks to the open-sourcers for the job
(lamw+mormot)newbie %-)

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: How-to print from my apk ?
« Reply #1 on: October 25, 2018, 12:32:33 am »

LAMW?

Ok. I will try make some demo App!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

memoguard

  • Newbie
  • Posts: 3
Re: How-to print from my apk ?
« Reply #2 on: October 25, 2018, 07:08:46 am »
That will be my dream come true jmpessoa :-) and again thanks for the job.
(lamw+mormot)newbie %-)

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: How-to print from my apk ?
« Reply #3 on: November 03, 2018, 05:50:44 am »
Hi,  memoguard!

You can try the new demo "AppIntentDemoPrinting1"
[try to launch app "PrinterShare" and  "Zenofx LocalPrint"]

Please, update from the LAMW git repo....

Thank you!

PS.  As soon as possible i'll try some solution based on the android  native APIs!
« Last Edit: November 03, 2018, 07:02:16 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

memoguard

  • Newbie
  • Posts: 3
Re: How-to print from my apk ?
« Reply #4 on: November 05, 2018, 09:48:15 am »
Thanks so much JMPessoa, i'll try as soon as possible.
(lamw+mormot)newbie %-)

 

TinyPortal © 2005-2018