PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 23 → bluetooth printers
bluetooth printers
Débuté par Noel Tanti, 02 juin 2017 14:40 - 5 réponses
Posté le 02 juin 2017 - 14:40
Hi all

a client needs his pos to be transfered onto a tablet. What sort of printers work with ipads / anrdoid and windev mobile?

I know that iprintreport is not available so will need to build the chit line by line but it that the only problem?

any advice welcome.

Thanks
Noel
Posté le 02 juin 2017 - 14:52
Hi

actually, the iprintxxx functions are available only for pdf printing on mobile...

So in order to print on a physical printer, you'll need to use the printer specific SDK.

There are, AFAIK, two methods possible :
- via sockets (there is an example of code in the french windev mobile forum on pcsoft website)
- by using the JAVA SDK provided by the printer manufacturer, so what will be available in there depends of the brand/model of printer

Best regards
Posté le 02 juin 2017 - 16:39
Hi Fabrice

I do not understand why it is so complex.

thanks for you info.

Do you know if there a way, to print a generated pdf from the mobile to a printer?

Regards
Noel
Posté le 02 juin 2017 - 17:09
Noel,

Yes, it's not as easy as it should be...

These Help pages might help?

https://help.windev.com/en-US/…

https://help.windev.com/en-US/…
Posté le 02 juin 2017 - 20:44
Hi again

As far as I understand, it's that complex because there is no printing system in android (no system api), so no norm to talk of, and each printer has its own system...

Now, I don't know if it's possible to print a pdf on a bluetooth printer using its SDK (you'll have to check in the SDK in question), However, I do know that it's possible to print an image (is pdf viewed as an image at that level, I don't know).

Therefore, if you cannot use the iprintxxx functions to print a pdf, then send the pdf to the bluetooth printer, you should still be able to use the similar dxxx functions to DRAW your report in an image field, save it as jpg or png, then print that image on the printer.

But of course, at this point, it would probably be easier to directly print on the printer using its SDK.

Best regards
Posté le 08 octobre 2018 - 08:56
all the information about the Bluetooth printer have been discussed here very nicely. Bluetooth printer is one of the most latest printer and it comes with lots of additional features. Still my concept is not clear. I have searched about it from https://canonsupportnumber.org/canon-tech-support/. If you also need more information please visit this site.