Automated Printing

49 views
Skip to first unread message

Eoprava sk

unread,
Sep 19, 2025, 12:46:27 PMSep 19
to mementodatabase
Hello  :) 

For starter sorry for my english :)

I has been some time i was asking if it ´s possible to automatically print from jasper templates. 

Can someone help me ? 

I have 2 basic templates named: 
1. Label.jrxml
2. confirmation.jrxml

1. Label - it´s printed to printer named "Labels" 
2. Confirmation printer name "Confirmation" 

confirmation - it print only one document at the time (1 doc from one memento database record) 
Label - I always print from one database record (like from one order) but here i need to count number of accessories - 
Accessories is checkboxes field - i can check multiple things, each checkbox pressed represent one printed label. 

I´m using desktop app (Windows) 
Let´s say those two are located in C:/"templatename.jrxml

I think it should work at least as an button i click it, first it send data (from one record, i don´t print multiple at the time) to "confirmation.jrxml" tepmplate and it will be printed at Confirmation printer, then (or at same time) script will count all checked checkboxes and send print command to print (let´s say 3 copies) of same label from one record 

Record i mean 1 entry in memento. 

Thank you for any help :) 

Er Mo

unread,
Sep 19, 2025, 2:30:56 PMSep 19
to mementodatabase
Hallo
Mir ist kein Befehl bekannt der in Memento einen Druck Selbstständig auslöst . Zum Drucken muss man auf " Druken " klicken , dei Vorlage auswählen oder Faforiten und in der Druckansicht bestätigen . Auch können nur Feldinhalte getruckt werden . Da währe wohl ein Anderes Programm besser das sich die Daten von Memento holt.

Hello
I'm not aware of any command that automatically triggers printing in Memento. To print, you have to click "Print," select the template or favorites, and confirm in the print view. Also, only field contents can be printed. A different program that retrieves the data from Memento would probably be better.

Ernst

Bill Crews

unread,
Sep 19, 2025, 7:02:33 PMSep 19
to Er Mo, mementodatabase
So, this kind of thing can't be done in Jasper Reports? 


--
You received this message because you are subscribed to the Google Groups "mementodatabase" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mementodataba...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mementodatabase/97f2cdd7-1f2d-42a8-b013-48e549fd69a1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages