B4J Question Formatted printing with PrintHTML

GMan

Well-Known Member
Licensed User
Longtime User
Depending on this thread from Erel
https://www.b4x.com/android/forum/threads/print-with-printhtml-tool.35492/
i am trying to print a formatted output

It should have cutting marks so i can easily cut them out with a scissor.

I have a form with 10 Textfields which i copy to the textarea and print it.

It looks really simple, something like this
________________
| GS1 | | R2 | | N2 |
----------------------
The lines are only for cutting them ut, the have to look exactly geometrical.

So, all works but could be look better

So, how can i i.e. change the Font and Style of the Output ?

And can i also print grafical objects, in this case the above and bottom cutting mark line ?
 

GMan

Well-Known Member
Licensed User
Longtime User
Got it -- since its html i used the font face command and it works
 
Upvote 0

GMan

Well-Known Member
Licensed User
Longtime User
How can i change the color of the printing ?
The cutting lines should be in lightgrey or similar, but the <font color=#554433> doesnt work
 
Upvote 0

GMan

Well-Known Member
Licensed User
Longtime User
Tried it and works.
Can i print graphical elements, i.e. a horizontal oder vertical line (without the table-part)
 
Upvote 0
Top