'how to set A4 page size for ckeditor

Recently I joined to the project. the project is being made using fastapi, blacksheep, and wtforms, There are some Text Areas using ckeditor 4. and my task is to make printable documents using ckeditor. I made templates on ckeditor, the size is default window size, and when click "Print" button the written text is not fit to the A4 list. I can not find set size button for ckeditor. i am little stuck on this problem. How can I solve this? How can I create borders with A4 page format



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source