FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
[WM20] Android PDF
[WM20] Android PDF
Débuté par J1517, 06 mar. 2018 18:27 - Aucune réponse
Connectez-vous…
J1517
#1
Posté le 06 mars 2018 - 18:27
Here is a code to create a PDF on android an also write something on it.
//Here you create the PDF
iDestination
(
iGenericPDF
,
CompleteDir
(
SysDirStorageCard
(
)
) +
"document.pdf"
)
//From here you are adding text on the pdf
iPrint
(
iFont
(
2
) +
"Text in font 2"
)
//Skip page to be on page 2
iSkipPage
(
)
// Customer name on the first line at 50 mm from the border
iPrint
(
iXPos
(
50
) +
"JUAS JUAS"
)
//End of printing on the document
iEndPrinting
(
)
PCSoft web support code doesn't put you those codes together they only say to you that you need to print with codes but I really don´t know what codes until I search something on the forums a while ago and I want to see if that codes runs on Android so in the end I need to search for it so now I put this for everyone that want to create PDF on android. The bad thing is that you need to create a report using iPrint so you need to calculated the distantce but well you know its better something than nothing~.
Signaler
0
0
→ Revenir à WINDEV Mobile 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