GNOME Bugzilla – Bug 84868
GDI Printing: Scale/Margin Problem
Last modified: 2004-12-22 21:47:04 UTC
[Logan: I'm closing the sourceforge bug tracker and transfer the bugs to gnome bugzilla] Print Bug since RC1-1 Ever since RC1-1, all versions up to 90-1 seem to be scaling printouts incorrectly. If the diagram in question is larger than a page & the print opions are set to scale things down to a single page, the program appears to miscalculate the resulting page size (it's output is too small), and the right-most edge of the diagram also reprints on a second sheet (about two character widths). I've messed with the margins, but they don't seem to be the problem. The program's idea of how big to make a Letter-sized (landscape or portrait) document is wrong. I'm printing directly from the Win GDI to an HP laser printer, using its PCL6 drivers, but in the past (under Dia 0.89 & earlier), it printed this exact diagram fine. Printouts on our inkjet also displays this behavior. --Logan
>I've messed with the margins, but they don't seem to be >the problem. The program's idea of how big to make a >Letter-sized (landscape or portrait) document is wrong. > Yupp. This is a known issue. One needs to adapt page settings in two dialogs (Dia Page Setup must match the one used in the Windoze print dialog. And IFIRC only single page printing is implemented for GDI printing. >I'm printing directly from the Win GDI to an HP laser >printer, using its PCL6 drivers, but in the past (under >Dia 0.89 & earlier), it printed this exact diagram >fine. Printouts on our inkjet also displays this behavior. > Under Dia 0.89 and earlier ??? Than you probably formerly used the PS printer, cause: 2002-01-01 Hans Breuer <hans@breuer.org> * app/command.c : optional use GDI printing on windoze * app/preferences.[hc] : add option 'prefer_psprint' to select the print engine to use (could be used for Dia/Gnome as well) * app/paginate_gdiprint.(h|cpp) : new files, which interlink the wmf plug-in with the common win32 print api. Now printing should work almost as expected from a windows program :-) PS printing should still work, but I've no access to a PS printer at the moment. Hans
*** This bug has been marked as a duplicate of 85831 ***