How to set custom page size for webcontent print


#1

Hello good day, is there way to set the page size for webcontent print method?

I also added this to the css

@page {
  size: 150mm 210mm;
}

but the paper size is still in A4 I think.

page content is in the 150mm x 120mm but got a huge margin because of the paper size.

I will appreciate any advice that will come, thanks.