I need to develop something that can print in A3 and A4 formats, exactly the same as that site:
Note that by clicking on the print icon it first resizes to the correct format and then when you click Print, it shows the preview exactly how it wants to print, with the map only, centralized and in the required format.
Being honest, I have no basis on how to do this, because I never did. I'm using Javascript with Leaflet, how should I proceed? I still have no backend language, but are still deciding between developing using Java or Python, unfortunately that decision is not mine. I would like you to give me only one north of what to do and how to do and if possible any examples, some plugin or framework that I can use it for such.
Thank you !!