FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
bluetooth printers
bluetooth printers
Débuté par Noel Tanti, 02 juin 2017 14:40 - 4 réponses
Connectez-vous…
Noel Tanti
#1
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
Signaler
0
0
Fabrice Harari
#2
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
Signaler
0
0
Noel Tanti
#3
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
Signaler
0
0
DarrenF
#4
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/…
Signaler
0
0
Fabrice Harari
#5
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
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte