In good old VB one could print with something like this:
B4X:
dlg1.ShowPrinter ' <=====dialog to select printer
dim s as string
s="this is a sample"
Printer.Orientation = ori '<==== portrait/landscape
Printer.RightToLeft = rtl '<==== direction of printing
Printer.Print s
Printer.NewPage
Printer.Print "This is on a 2nd page"
Printer.EndDoc
How can I do this in B4J? - print variables (numbers, strings, etc...)
If the printer is listed in your system then i guess YES..
i just tried this and it works fine.
As i dont have a printer but a "Microsoft PrintToPDF" Printer installed; i used this one and got a pdf with the content...
But if i had any other printer then i could select them in the choose printer dialogue