Hello. I just thought of adding the js print function to a page im building. from what i read i know it is pretty straight forward, use window.print.
i was thinking about some of these sites that have this printing function that when a button or link is clicked a new tab is open like a preview page then on the bottom right corner there are these options to print and save and what not and i want to do something like that. but i don't know where to start.
does that preview page have to be built first? if yes, then is it built like any other page using html/php ? 4