I hope that will solve your problem
#printqr {
position: fixed;
left: 0;
top: 0; }
Read this if you need more details: https://medium.com/@Idan_Co/the-ultimate-print-html-template-with-header-footer-568f415f6d2a
parentSelectorOf#printqr{
position: relative;
}
#printqr {
position: fixed;
left: 0;
top: 0; }