I'm sure this is similar to other bugs, but a little searching on launchpad didn't find anything.
First, my document's only layer does NOT have a transform element.
I make a few paths, combine some of them (but not all) and put them all in a group.
I duplicate the group, move it down the page to the bottom, and shrink it's size a bit.
The group now has a transform element - something like (0,676).
Now I print, directly from Inkscape. The duplicated group appears in the wrong
place on the page. Some other text on the page that is not in a group and does
not have a transform element also prints in the wrong place on the page.
Of course, when I try to duplicate this in a simple test file, it prints fine.
Scaled group doesn't print right
Re: Scaled group doesn't print right
PS Sometimes when I do things like this, when I print 5 or more pages come out of the printer. Some are blank and some have symbol characters on them at the top of the page.
Re: Scaled group doesn't print right
PPS If I save to PDF it looks fine there, and prints fine.
Re: Scaled group doesn't print right
Kjohrf wrote:(…) First, my document's only layer does NOT have a transform element.
I make a few paths, combine some of them (but not all) and put them all in a group.
I duplicate the group, move it down the page to the bottom, and shrink it's size a bit.
The group now has a transform element - something like (0,676).
Now I print, directly from Inkscape. The duplicated group appears in the wrong
place on the page. Some other text on the page that is not in a group and does
not have a transform element also prints in the wrong place on the page.
Of course, when I try to duplicate this in a simple test file, it prints fine.
Does the file in question have a 'viewBox' attribute for the top-level <svg> element?
Last edited by ~suv on Wed Aug 25, 2010 4:42 am, edited 1 time in total.
Re: Scaled group doesn't print right
~suv wrote:Does the file in question have a 'viewBox' attribute for the top-level <svg> element?
No. Only height, width, version, id, inkscape:version and sodipodi:docname.
Re: Scaled group doesn't print right
Kjohrf wrote:I duplicate the group, move it down the page to the bottom, and shrink it's size a bit.
The group now has a transform element - something like (0,676).
'(0,676)' is not scaling the group - it is moving (translating) it down by 676 px.
Scaling would create a transform attribute like
Code: Select all
matrix(0.76470588,0,0,0.72727273,21.176471,103.63636)
Re: Scaled group doesn't print right
Attached is a version that prints wrong. It doesn't print 5 pages, but the path and text print too high.
Hope this helps... Thanks for looking!
Hope this helps... Thanks for looking!
- Attachments
-
- scaledGroup.svg
- (7.55 KiB) Downloaded 233 times
Re: Scaled group doesn't print right
Tested in all (limited) print variants I have available (Inkscape 0.48 on OS X 10.5.8):
The only and minor (known) issue I encountered is when printing with the bitmap backend (complete page is offset by about -5mm,5mm relative to the lower left corner).
Nothing in the file is unusual AFAICT - this seems to be an issue specific to either the GTK+ port for Windows (provides the print dialog basics) or the exchange between Inkscape's print output (PostScript) and your specific printer driver. Maybe someone with a similar configuration (platform, printer) can test your file?
- B&W Laser printer (brother HL-2035)
- vector backend
- bitmap backend
- Print to file > PDF
- Print to file > PostScript
The only and minor (known) issue I encountered is when printing with the bitmap backend (complete page is offset by about -5mm,5mm relative to the lower left corner).
Nothing in the file is unusual AFAICT - this seems to be an issue specific to either the GTK+ port for Windows (provides the print dialog basics) or the exchange between Inkscape's print output (PostScript) and your specific printer driver. Maybe someone with a similar configuration (platform, printer) can test your file?
Re: Scaled group doesn't print right
Thanks - only have one Windows XP system I run Inkscape on.
Interesting... My problems were on a hp LaserJet 1200 (B/W).
I just tried it on my color hp deskjet 940c and it printed fine.
Guess it's a driver issue then?
Thanks again!
Interesting... My problems were on a hp LaserJet 1200 (B/W).
I just tried it on my color hp deskjet 940c and it printed fine.
Guess it's a driver issue then?
Thanks again!
Re: Scaled group doesn't print right
Woo-ah. I downloaded the hp PCL 6 driver (that's from 2002)
and I think that fixed the problem!
and I think that fixed the problem!