So I'm working on a project(web-based gatepass system) and I'm average in Web Dev, though Im on the last part of the project in which I have to print a gatepass form. I dont know how to do this, but my idea is something like getting the values from the server and plot it on the document, in which I dont know if that's how it is done. Please help.