B4J Library B4j Print JavaFX8 + 17 - stevel05    Aug 10, 2025   (37 reactions)   tags: Printing . Full source code is available.
At it's simplest, you can print a node using:
Dim P As Printer...)
PJ.PrintPage(lblTest)
PJ.EndJob
Or with dialogs:
Dim PJ As PrinterJob... B4J Tutorial Print with PrintHtml tool - Erel    Dec 9, 2013   (6 reactions) PrintHtml is a small Windows utility that you can use to print from your app. First you should download PrintHtml.exe and also the DHTML Editing Control: http://www.printhtml.com/download.php Copy PrintHtml.exe to the Objects folder of your app. http://www.b4x.com/basic4android/images/SS-2013-12-09_14.45.11.png Using jShell library we call this utility to print the html string. You can use HTML language to format the output. In the above screenshot I used a PDF printer to create a PDF... B4J Tutorial Turn your Raspberry Pi into a print Server and use it with B4J - hatzisn    Sep 25, 2024   (4 reactions) This is not a B4J tutorial but since it can be used also with B4J to print documents I post it here. Read the following link: https://www.tomshardware.com/how-to/raspberry-pi-print-server And to use CUPS to print documents through jShell in B4J read here: https://openprinting.github.io/cups/... B4J Library Printer Example - Print text with the jFX8 Printer library - stevel05    May 16, 2023   (9 reactions) This is an example of printing text using the jFX8 Print library with TextFlow and Text class... it creates multiple pages and prints them to one print job.
There are also options to break on word... in the printed node, the text is selectable in a PDF viewer.
135145
This example was printed to PDF... 135160
A straight forward print of text from a String variable. It will also print from a file... B4J Tutorial ? Printing on A4 and Letter sized paper - Peter Simpson    Nov 17, 2018   (14 reactions) Hello all, As the title say, this is a quick tutorial on how to print on A4 or Letter sized paper using the follow information provided by Steve Laming (better known as @stevel05). CLICK HERE for B4J Print JavaFX 8 I have attached two PDF files showing example printouts for both A4 and letter sized paper. It's actually extremely easy to adjust the layouts for any size paper so just give it a go, I've also attached the example project I created just for this post. A4 is the main paper... B4J Question How to send printing to Custom K3N? - amorosik    Jul 4, 2025 I need to create a procedure for sending receipts to a Custom K3N printer
Have you ever created a pr... B4J Library [B4j] Javax print wrapper for UI and non-UI apps. - stevel05    Oct 31, 2022   (9 reactions) This is a wrap of the Javax print API. It is more complex to use than the Javafx print API but does... interface which makes it easy to print the content of swing nodes. The main example app contains an example... B4J Code Snippet Print all files in a folder (*.pdf, etc.) on the standard printer via VBS (Windows) - KMatle    Nov 2, 2021   (1 reaction) I use this small vbs script to print all documents (in my case pdf files) on the standard printer (works fine in a WIN 10 production system). Call it via jShell with the folder as a parameter where the docs are. Printing PDF's is very easy as you don't need to know the installed PDF viever and it's path/parms (however you need to have a viewer installed - I have Adobe, others should... files.InvokeVerbEx ("Print") next... B4J Code Snippet B4j Print JavaFX8 Create custom paper - stevel05    Sep 28, 2022   (7 reactions)
Dim tUnits As JavaObject
tUnits.InitializeStatic("com.sun.javafx.print.Units")
Dim PrintH As JavaObject
PrintH.InitializeStatic("com.sun.javafx.print.PrintHelper")
Dim P As Paper
P.Initialize
P.SetObject(PrintH.RunMethod("createPaper",Array.../javafx.print=ALL-UNNAMED
#VirtualMachineArgs: --add-opens javafx.graphics/com.sun.javafx.print=ALL... B4J Question Warning on Jasper Report print - amorosik    Aug 29, 2024 to start printing a jasper report on the default Windows printer
The data is taken from a SqLite db... As String)As Long
Dim jasper As JasperReports
Dim report As JasperReport
Dim print... Page: 1   2   3   4   5   6   7   |