PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
[WM20] Android PDF
[WM20] Android PDF
Started by J1517, Mar., 06 2018 6:27 PM - No answer
Connect yourself…
J1517
#1
Posted on March, 06 2018 - 6:27 PM
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~.
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text