After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 84868 - GDI Printing: Scale/Margin Problem
GDI Printing: Scale/Margin Problem
Status: RESOLVED DUPLICATE of bug 85831
Product: dia
Classification: Other
Component: win32
0.85
Other Linux
: Normal normal
: ---
Assigned To: Steffen Macke
Steffen Macke
Depends on:
Blocks:
 
 
Reported: 2002-06-11 15:03 UTC by Steffen Macke
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Steffen Macke 2002-06-11 15:03:12 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
Comment 1 Hans Breuer 2002-06-11 20:54:27 UTC
>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
Comment 2 Steffen Macke 2002-06-19 15:32:37 UTC

*** This bug has been marked as a duplicate of 85831 ***