GLBasic forum

Main forum => GLBasic - en => Topic started by: Neurox on 2011-Oct-08

Title: AirPrint, the story continue...
Post by: Neurox on 2011-Oct-08
Hello everyone,
I'm still here to talk about AirPrint.
I've groped for hours to print from GLBasic through AirPrint.
But I'm like a ship stranded on the beach :(
Is anyone willing to help me?  :giveup:
I need a function that prints via AirPrint text and/or images.
I know that this is not part of our group filosofy but I are willing to pay $ 50 for the help.

Paolo
Title: Re: AirPrint, the story continue...
Post by: Neurox on 2011-Oct-11
Is there anyone who can help me? 

Title: Re: AirPrint, the story continue...
Post by: Kitty Hello on 2011-Oct-11
what do you want to print?

Could you make a temporary HTML file, show that in a browser widget and call the print with some javascript?

http://stackoverflow.com/questions/6108884/print-local-html-file-from-uiwebview-ios (http://stackoverflow.com/questions/6108884/print-local-html-file-from-uiwebview-ios) as a start
Title: Re: AirPrint, the story continue...
Post by: Neurox on 2011-Oct-14
>what do you want to print?

I want print text and graphics.

The problem with PhoneGap examples is Javascript using the C functions included into  .mm file.
Is not possible with GLBasic.

And for last...
... the javascript function "window.print" doesn't work in the iPhone's browser.
:-(