GMan Well-Known Member Licensed User Longtime User Sep 21, 2017 #1 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 | ---------------------- Click to expand... 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 ?
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 | ---------------------- Click to expand... 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 Sep 21, 2017 #2 Got it -- since its html i used the font face command and it works Upvote 0
GMan Well-Known Member Licensed User Longtime User Sep 21, 2017 #3 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
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
Erel B4X founder Staff member Licensed User Longtime User Sep 22, 2017 #4 Use a html table if you want to create a table. You can use CSS to change its style. Upvote 0
GMan Well-Known Member Licensed User Longtime User Sep 22, 2017 #5 Tried it and works. Can i print graphical elements, i.e. a horizontal oder vertical line (without the table-part) Upvote 0
Tried it and works. Can i print graphical elements, i.e. a horizontal oder vertical line (without the table-part)
Erel B4X founder Staff member Licensed User Longtime User Sep 24, 2017 #6 I assume that will print any valid html. Upvote 0