PDFjetPDF funziona molto bene nel generare un file PDF (testo, linee, immagini, table, ecc.)
in B4J con JFX.ShowExternalDocument è possibile visualizzare il pdf appena generato, ma come "avviare" la stampa direttamente da B4J (senza aprire il lettore, esempio acrobat reader) ?
itectec.com is your first and best source for all of the information you’re looking for. From general topics to more of what you would expect to find here, itectec.com has it all. We hope you find what you are searching for!
ma con JShell devo utilizzare "Print" ... come ?
con JShell e Acrobat Reader riesco a stampare ma il risultato non mi piace
B4X:
Dim j As Shell
j.Initialize("event", "C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe", Array As String("/t", "/s", "c:\d3report\a.pdf"))
j.run(-1)
acrobat rimane "aperto", videate che si accavallano / sporcano ... poco professionale;
lo script in VBS (avevo trovato qualcosa di simile in rete) come suggerito da star è più accetabile;
cercavo qualcosa direttamente da B4J .... tipo showexternaldocument (arg = "stampa", "nomeStampante", "numeroCopie" , ecc.)