B4J Question simple print - is it possible?

boten

Active Member
Licensed User
Longtime User
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...)
 

DonManfred

Expert
Licensed User
Longtime User
its posible print with epson tmu 220?
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
 
Upvote 0
Top