export to PDF: print command not supported

when i inserted some print command in my excel file like new page (xls.InsertHPageBreak) or scaling (xls.PrintScale) the excel file work fine and print well but the new pdf file "forget" this command...any suggenstion?

Pdf exporting should respect the printer settings. I made a small example here which uses xls.InsertHPageBreak and xlsPrintScale and both settings are exported into the pdf:

Do you think you can modify this example to show what you are seeing?


HI Adrian, thanks for the quick answer. I was wrong, i had a margin problem and so i thought that the problem was the scaling. I solved with the  xls.SetPrintMargins method before gen pdf.

Again, thanks for the support, the product is great.