I have some trouble with PaperClips, prints in Linux and Windows views are different. The diffrenet line spacing size in Linux and Windows, and Linux prints have more papers then Windows prints.
Can I customize PaperClips (or Operation System) for getting equally prints.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately there is no getting around this. Since SWT is just using the native printing capabilities of the OS, the differences in layout behavior between Linux and Windows (and others) is merely a reflection of the different printing implementations between operating systems.
If you want cross-platform printing to be identical, I suggest you look at PDF solutions such as iText. PDFs are guaranteed to be the same on all platforms, as I understand it.
Matthew
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I have some trouble with PaperClips, prints in Linux and Windows views are different. The diffrenet line spacing size in Linux and Windows, and Linux prints have more papers then Windows prints.
Can I customize PaperClips (or Operation System) for getting equally prints.
Thanks.
Unfortunately there is no getting around this. Since SWT is just using the native printing capabilities of the OS, the differences in layout behavior between Linux and Windows (and others) is merely a reflection of the different printing implementations between operating systems.
If you want cross-platform printing to be identical, I suggest you look at PDF solutions such as iText. PDFs are guaranteed to be the same on all platforms, as I understand it.
Matthew
Thank you, Matthew!