React : print paper size issue

Viewed 845

We have found an issue with sales receipt print, which should accommodate its content to desired paper size, here that is (width 88mm, height: 279mm). But in any paper size we choose from print preview window, it doesnt change its content , and hence we see detail text in very small size. Visual representation of data needs to be fixed for dynamic paper size

ZoomIn image enter image description here

Currently our angular application takes proper content representation for different paper size, angular is using typescripts HTMLIFrameElement interface snapshot of angular print which should be the reference

enter image description here

Solutions we tried as below:

Can we use HTMLIFrameElement interface in react component print, if yes, how?

0 Answers
Related