Hi,
We are using prince via princely gem on our rails 4 application. For the last couple of days, the generated pdf is rendering in portrait mode instead of the specified landscape mode; this functionality has been working fine for years.
The CSS we are using:
Prince version:
OS version:
I posted a question on stackoverflow with more details: http://stackoverflow.com/questions/35458780/pdf-file-rendered-in-portrait-instead-of-landscape
Appreciate any help in figuring out this issue. Thanks.
We are using prince via princely gem on our rails 4 application. For the last couple of days, the generated pdf is rendering in portrait mode instead of the specified landscape mode; this functionality has been working fine for years.
The CSS we are using:
@page {
size: 8.5in 11in landscape;
margin: 5mm 5mm 5mm 5mm;
}
@page {
@bottom-right {
content: counter(page);
}
}
#pagebreak {
page-break-after: always;
}
Prince version:
% /usr/bin/prince --version
Prince 8.1 rev 4
Copyright 2002-2012 YesLogic Pty. Ltd.
Non-commercial License
OS version:
Ubuntu 11.04
I posted a question on stackoverflow with more details: http://stackoverflow.com/questions/35458780/pdf-file-rendered-in-portrait-instead-of-landscape
Appreciate any help in figuring out this issue. Thanks.