I want a site user to be able to print a "souvenir certificate" with their name embedded.
I've tried numerous approaches, but trial and error is producing more error than useful joy. There's going to be a bit more to this when I'm done, but I want to start on the right path, which I haven't found yet.
I presume the following functional steps:
Display a form. Included in the formatted text, the form contains one "current date" {now} field and a field to manually add data to- the user's name - and an "update" button.
When the update button is clicked, it verifies the form has the name data added and..
(a) if incorrect, returns the default form and focuses the incorrect field for completion
(b) if correct, proceeds to step 3Presents the completed form as a new window (or in the same window), with a button that says "print"
When the print button is pushed, it prints the form on the users default printer (or opens the client's print dialog box for them to print the form).
"Certificate" font is courier new throughout, no graphics, but is formatted like a letter (from/to head w/date -{now}-, several paragraphs of text, closing signature).
To quote Jimmy Buffet, "It's so dang simple, like the jitter-bug, it plumb escapes me.."
I prefer html/5 if possible - simpler is better (maintainance in the future may be performed by others even less knowledgeable than I), and not opening a security hole to my server.