print

  1. H

    Android Tutorial Print Made Easy

    After understanding this approach, printing will be painless for you forever. Requirements: - Any pdf file generation tool, I used HtmlToPdf lib. - Any base64 converting tool, I used Base64EncodeDecodeImage lib. - Rawbt printing service app, it is free and most downloaded app in play market...
  2. Brian Michael

    Android Code Snippet Print or Save as PDF a Table from B4XTable

    Hello everyone, I want to share a method to be able to print or save as pdf a table from B4XTable. This code is very basic and can be adjusted for any need. You are free to play with its possibilities. In this case you will need the following libraries: -B4XTable 1.21+ -Printing 1.0+ (Link)...
  3. stevel05

    B4J Library [B4j] Javax print wrapper for UI and non-UI apps.

    This is a wrap of the Javax print API. It is more complex to use than the Javafx print API but does have a few benefits such as being usable in non-UI apps and access to java Swing printable interface which makes it easy to print the content of swing nodes. The main example app contains an...
  4. aeric

    Share My Creation Print Server (USB Thermal Receipt) running on Raspberry Pi

    This is a demo video of B4J Print Server which is a REST API Web Server. The server can run on Windows and Linux including on a Raspberry Pi OS. I have also created B4J, B4A and B4i Client app to send request to the server through GET and POST. The print data can contain ESC/POS string sent...
  5. stevel05

    B4J Code Snippet B4j Print JavaFX8 Create custom paper

    I came across this snippet when helping a user on the forum and thought it may be more widely useful: Create a Paper instance, 'Create a new Paper 'Units should be one of MM, INCH or POINT Public Sub CreatePaper(Name As String, Width As Double, Height As Double, Units As String) As Paper...
  6. KMatle

    B4J Code Snippet Print all files in a folder (*.pdf, etc.) on the standard printer via VBS (Windows)

    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...
  7. behnam_tr

    B4J Question xlutils > Can I print excel file ??

    hi with XLutils how print Excel file After creat ??? is it possible ??
  8. J

    B4J Question Poor quality of printout using jFX8print

    Hello, I am struggling with simple printing on A4 paper and also on PDF-printer using the jFX8print library. The printout has a week quality/resolution for text and barcode: As I need to scan the barcode from the printout it is essential for me to have a much better resolution. The small...
  9. KMatle

    B4J Code Snippet Print files via jShell and a VBS script (Windows only)

    I use this VBS script to print all files in a folder on the standard printer (in my case PDF-files). Windows recognizes the file type and uses the defined program (e.g. Acrobat for PDFs) to print the files. You can easily add some functions (use Google to find out how) like getting the names of...
  10. MitchBu

    Android Question Printing PDF and HTML content on the same page ?

    I use the print library to print PDF content, as described at the post below. It works just fine. https://www.b4x.com/android/forum/threads/76712/#content Now, I need to print PDF on one part of the page, and HTML on the same page. Would it be possible to do that with the print library ?
  11. MitchBu

    Android Code Snippet Print PDF library supports higher resolution

    I was trying to use the PDF printing library discussed at https://www.b4x.com/android/forum/threads/printing-and-pdf-creation.76712/ but pictures were terrible. The values posted as example are for a resolution of 72dpi, which is quite inadequate. Here is what I do to get 300dpi printing...
  12. Duque

    B4J Question Open money box

    1. with this code I can print printString = Chr(10)& Chr(10)& Chr(10) printString = printString & feed printString = printString & Chr(10)& Chr(10)& Chr(10)& Chr(10)& Chr(10) jo.RunMethod("printString",Array(printerGen,printString)) Dim by() As Byte = jo.RunMethodjo("cut",Null)...
  13. Peter Simpson

    B4J Tutorial šŸ’” Printing on A4 and Letter sized paper

    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...
  14. Martin Fdez

    Android Question Print to Internal Printer

    Hi I have an Android handheld with an internal printer, is a 3nstar Halo 5ā€³ Smart Payment Terminal (PT0505) I have an app working with Bluetooth printer but I don't know how to make it print to the internal printer. I have the SDK but Zero knowledge of Java Can you help me please?? Thanks...
Top