I am Using PDFWriter to create a pdf file but when i am trying to print Greek Characters i am getting error in pdf document
Because of my app i cant use Printer Library to create a pdf. What i am doing Wrong? Thanks
B4X:
Sub CreatePDF()
If(FirstTime) Then
PDFWriter.Initialize("PDFWriter", PaperSize.A4_WIDTH, PaperSize.A4_HEIGHT)
End If
PDFWriter.setFont(Fonts.SUBTYPE, Fonts.SYMBOL)
PDFWriter.addText(40, PaperSize.A4_HEIGHT - 50, 14, "Report - ΑΝΑΦΟΡΑ")
PDFWriter.addText(40, PaperSize.A4_HEIGHT - 80, 14, "Date - ΗΜΕΡΟΜΗΝΙΑ")
PDFWriter.ConverseDocument
Sub PDFWriter_ConversionDone (Content As String)
PDFContent = Content
ProgressDialogHide
PDFWriter.outputToFile(File.DirRootExternal, "MyFile.pdf", PDFContent, "ISO-8859-1")
End Sub
Because of my app i cant use Printer Library to create a pdf. What i am doing Wrong? Thanks