Is there a means to print a form when it is saved?

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • Answered
Is there a means to print a form when it is saved? Or is it possible to add a PRINT button to the form so it can be printed before it is saved?
Photo of Christopher Summers

Christopher Summers

  • 190 Points 100 badge 2x thumb

Posted 1 year ago

  • 0
  • 1
Are you wanting to print while you are still in edit mode?
Photo of Christopher Summers

Christopher Summers

  • 190 Points 100 badge 2x thumb

Yes, while editing and also when adding a record.

Photo of Evan Martinez

Evan Martinez, Community Manager

  • 12,368 Points 10k badge 2x thumb
Hi Christopher,

There is not a native option to add a print button directly to the Add or Edit form of a record. The reason for this is that the record hasn't been placed in that state yet and saved to Quick Base. Once a record is saved then it is available through the native print function to be pushed out as a printable record. 
Hey Chris,

Yes, it can be easily done by a button.
Create a Formula-URL button and paste the below code into your formula.

URLRoot() & "db/" & Dbid() & "?a=printr&rid=" & [Record ID#]
Through this button, you can easily print a record during adding or editing a record.

Please let me know if you need any further help.

Thanks,

Gaurav
(Edited)
Gaurav, but for some reason, Christopher wants to print before the record is saved.
Gotcha. Sorry, I didn't read the question carefully.
Photo of Christopher Summers

Christopher Summers

  • 190 Points 100 badge 2x thumb

The staff who are completing the records need to print it so it can be faxed when requested.  A easy to see print button will help them.

Gaurav's solution will work after you save the record.
Photo of Christopher Summers

Christopher Summers

  • 190 Points 100 badge 2x thumb
I will pass on to the group that they need to "Save and Keep Working" when they want to print.
I'm curious about your use case that you want to allow users to print before they have finished entering all the data for the record.
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,204 Points 20k badge 2x thumb
Maybe it looks more like a filled in paper form and the fax recipient is accustomed to this format? 

Anyway it can be done with script if that is what the OP wants.
Photo of Christopher Summers

Christopher Summers

  • 190 Points 100 badge 2x thumb

The record is being saved.  Based on the end user request, the staff just wants a bigger, more apparent button to print.  I had shown them the print icon on the tool bar, but I think they like something that stands out.

OK, so you have your formula now from Gaurav and you can choose to color the button to make it stand out.
Photo of Christopher Summers

Christopher Summers

  • 190 Points 100 badge 2x thumb
Yes, exactly.  I had set up notifications to email addresses, but some of the recipients do not use emails to receive the forms.  So we had to revert to sending all requests via fax.  Its like a bunch of lambos behind a Tercel on a two lane highway.  Our process is based on the lowest common denominator.
Photo of Christopher Summers

Christopher Summers

  • 190 Points 100 badge 2x thumb
YEs and it works great.  Thanks for the assistance.