This topic is locked

How can I mark a field printed after clicking print

12/4/2017 3:30:21 PM
PHPRunner General questions
P
phppinoy author

Scenario: In the view. After selecting "Print Selected" in the print icon. How do I mark the selected rows printed? I already created a field name print. Also, how do I do this if I selected to create a button?
Thanks

I
InfoCraftsman 12/11/2017



Scenario: In the view. After selecting "Print Selected" in the print icon. How do I mark the selected rows printed? I already created a field name print. Also, how do I do this if I selected to create a button?
Thanks


Try the After record processed event under the Printer-friendly page category. You should have everything you need there to make that happen. The only problem is that you're not guaranteed that it actually printed ok.

Sergey Kornilov admin 12/11/2017

@InfoCraftsman is correct, you cannot reliably tell if record was actually printed or not. You can mark it printed as soon as it were displayed on printer-friendly page using 'After record processed' event under the Printer-friendly page.