B4A Question Android Printing Framework - luke2012    
Mar 13, 2014 code is the following :
private void createWebPrintJob(WebView webView) {
PrintManager printManager = (PrintManager) this
.getSystemService(Context.PRINT_SERVICE);
PrintDocumentAdapter printAdapter...
link: The PrintManager API is only available on Android 4.4+: http://developer.android.com/reference...
link: jPrintManager As JavaObject:jPrintManager.InitializeStatic("android.print.PrintManager"...
B4A Question How print without preview with printManager - MicroDrie (first post)    
Jun 25, 2022See I want to print automatically without user interaction...
link: This is a sample to print with preview
How disabled preview and print direct ?
Sub CreatePrinterAtt...
link: If you can show with a small sample program what you want and have already achieved, we can give you...
link: Hi
How print without preview with printManager
in
https://developer.android.com/reference...
B4A Question Get File Path of Created PDF frpm WebView with Printmanager - drgottjr (first post)    
Feb 20, 2021you need a listener for print done. when the print done fires, you can save the print document. i don't think you can do it with javaobject the way you've handled the printing. if it were m...
link: Hi at all!
I create a PDF from my WebView with the following code:
Dim jwv As JavaObject = WebCov 'WebView
Dim jPrintManager As JavaObject = jwv.RunMethodJO("getContext", Null).Run...
B4A Question Print document finish - drgottjr (first post)    
Aug 30, 2024printmanager has an addPrintJobStateChangeListener() method. it signals when print job status... the change (complete, cancelled, etc). i would use inline java:
printManager.addPrintJobStateChangeListener(new PrintManager.PrintJobStateChangeListener() {
@Override
public void... so far with javaobject. once you issue the print command, the printmanager knows about the job. you can add a listener to the printmanager after calling print and handle the event you raise....
B4A Question How print to internal printer - MicroDrie (first post)    
Jun 21, 2022
The first and easy way is printmanager, search on the forum
Use the Jar (DSK) as API with javaobject
...
B4A Question How detect internal printer & how connect - aeric (first post)    
Jun 20, 2022I have answer in another thread.
Check https://www.b4x.com/android/forum/pages/results/?query=printmanager...
Spanish Imprimir a impresora interna - TILogistic (first post)    
Jun 20, 2022He visto tus publicaciones en el foro de ingles.
printmanager es la vía mas rápida de imprimir...://www.b4x.com/android/forum/pages/results/?query=printmanager
la otra es utilizar el Jar (DSK) de...
link: He visto tus publicaciones en el foro de ingles.
printmanager es la vía mas rápida de imprimir...
link: internay con el uso del printmanager, se me complica comprender como imprimir directo que es lo que quiero...
link: hacerlo me dara la ventaja de comprender como hacerlo...
De lo que pude ver con printmanager ya realice...
B4A Question Print to Internal Printer - aeric (first post)    
Jun 19, 2022
Hi
how resolved this problem, a print to internal printer.. please code sample..
Please start a new thread.
Check https://www.b4x.com/android/forum/pages/results/?query=printmanager...
Wish Printing in background - Erel (first post)    
Mar 18, 2014I don't think that it is possible to print without showing the UI. See the API: https://developer.android.com/reference/android/print/PrintManager.html...
B4A Question Calling Java Class - aeric (first post)    
Feb 12, 2025
FontSize.java
PrinterTextView.java
PrintManager.java
TicketFontSize.java
If we want to tackle...
Page: 1  
2