document must be shifted to fit in printer margins, win XP

Bug #168103 reported by Jmichae3
This bug report is a duplicate of:  Bug #178232: need enhanced print dialog. Edit Remove
4
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Low
Unassigned

Bug Description

when I use the print button or do File/Print, using the
OpenOffice.org cd graphics svg files (origin at 0,0,
image to 115,115mm), the text objects print, the curves
and circles print and the color comes out ok on my ink
jet, but the image is shifted off the left printer
margin by about 1/2"-3/4" and is shifted off the top
margin by a little more than 1/2".
version 0.44.1

Tags: printing win32
Revision history for this message
Jmichae3 (jmichae3) wrote :

Originator: YES

I just realized this is caused by inkscape not having the ability to shift
content onto the printed page into the print margins. I get some strange
uneven results compared with other software that can.

a print dialog that can optionally center the image, optionally fit into
print margins (by default), and specify a portion of the image (like the
export dialog) would be wonderful.
while this image officially starts at 0,0 the lines actually flow back
into the -20,0 range.

so maybe this is somewhat of a feature request now. for this document to
actually print correctly, all the layers must be shifted by +100 or so, and
that's too much imprecise work. better to have a print dialog that looks
similar to your export dialog.
File Added: ooo2-cd-label-osi_min.svg

Revision history for this message
nightrow (jb-benoit) wrote :

Thank you for taking the time to report this bug and helping to make Inkscape better.
 We were wondering is this still an issue for you?
Can you try with latest Inkscape release (0.45.1) ?
Thanks in advance

Changed in inkscape:
status: New → Incomplete
Revision history for this message
Jim Michaels (jmichae3-yahoo) wrote :

it still does it, even with the new version.
try printing
http://marketing.openoffice.org/art/galleries/cdart/official/ooo2-cd-label-osi_min.svg
for an example. I got it off of
http://marketing.openoffice.org/art/galleries/cdart/

this is not the only one I am having problems with. the pmg example in inkscape is one. it is truncated to the left, and it is very high on the page, right at the top. usually there is a 1/4" or 1/2" margin. I see 1/16" margin on the top and 1/4" margin on the left. most apps give me 1/2".

inkjet and Xerox wax printers often have the capability to to borderless full-bleed (full-page) printing. so the entire 8.5"x11 page is a bitmap. margins are something you must add on as an afterthought. you must take this into consideration. your print dialog needs more controls and more accurate printing. I believe it is plotting negative X and Y values into the windows bitmap, but I could be wrong.
- center on page option
- fit to page option
- x,y position in inches/points/pixels/picas relative to margin (this way I can wrestle those cd labels onto a page)
- upper left of page option
- landscape/portrait
- left margin amount in (inches/points/pixels/picas)
- right margin amount in (inches/points/pixels/picas)
- top margin amount in (inches/points/pixels/picas)
- bottom margin amount in (inches/points/pixels/picas)
- scale percentage using a double/float/real number. (this way I can wrestle those cd labels onto a page)
- CMYK separations OR color OR grayscale
- CMYK plate labels option
- negative option
- background option if there is such a thing as a background in inkscape
- corner crop marks option
- center crop marks option
- registration marks option
- optional image name

and save/restore your last settings!

nightrow (jb-benoit)
Changed in inkscape:
status: Incomplete → Confirmed
Revision history for this message
Jim Michaels (jmichae3-yahoo) wrote :

at least add margins in inches. I was incorrect about inkscape not being able to shift content on the page. while this appears to be true, my problem is I am using a standard inkjet printer (a Dell 922 multifunction) that can also do 4-color photos, meaning it can do a full page without margins. This happens to be one of the print options in the printer driver.

mine is not the only printer. nearly every inkjet printer on the market that I have seen can do this now. in fact, most of the ink printers on the market that HP offers are photo printers (using 6 colors).

I don't think a plain print button is going to cut it. but before anythng nice can happen, this printing cutoff problem really needs to be dealt with. that png page is being cut off on the left by 1 letter.
I am not sure about this, but if you have a test image with measurement markings in it, I can find out to what degree things are being cut off. maybe we can find out what windows is doing under the hood. maybe the printer responds to windows that the internal margins for this print mode are set at .07" top, .5" bottom, .25" sides (this is what MS Word resets the margins to when I set margins to 0). apparently there is some ability to query the printer driver's margins and capabilities and list of available (and the default) printers, and it is up to the programmer to query these to properly set up the bitmap drawing area. this is the way it was in Java printing while I was coding some printing stuff. I think this is where inkscape is messing up. it is not querying the printer driver and setting up the image map coordinates properly, and then drawing on the image map in the correct location. I hope this helps.

If you want this to be any kind of serious app, fix up the printing dialog if you want people to print from their cubicles - they have multiple printers and some are B&W. You have really nice large Help posters in inkscape. Why not be able to print them to a PDF writer without having to switch your default printer? I can do this with any application now. please.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.