Print page size is incorrect

Bug #630635 reported by Casey Borders on 2010-09-05
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Inkscape
Medium
Unassigned

Bug Description

If I create a graphic that is 2"x12" and send that to my plotter telling is that my paper size it 2"x12" it only prints a 2"x2" square. It seems to be setting the height of the page as both the height and width.

description: updated
description: updated
su_v (suv-lp) wrote :

Please add information about your OS and Inkscape version as well as your printer/plotter.

tags: added: printing
Changed in inkscape:
status: New → Incomplete
Casey Borders (thebeast-13) wrote :

OS: Windows Vista
Inkscape: 0.48
Plotter: Epilog Zing 24 Laser Cutter

su_v (suv-lp) on 2010-09-05
Changed in inkscape:
status: Incomplete → New
tags: added: win32
jazzynico (jazzynico) on 2012-02-08
Changed in inkscape:
importance: Undecided → Medium
GB (gbinfo) wrote :

I've experienced a similar behavior with a regular ink jet Printer: The page size is set to "A4" which matches the paper size in the normal paper feed. When I try to print that Document from Inkscape the printer insists that I need to put paper of "user defined" size in the manual feed. It seems that Inkscape ignores the page size setting and sends something different to the printer.

regards
GB

OS: Win7 x64 SP1 Pro
Inkscape: 0.48.4 r9939
Printer: Canon MX710

Craig Barnes (cjbarnes18) wrote :

CUPS reports the following when printing an A4 image.

usr/lib/cups/filter/epson-escpr : **** ERROR **** : Custom.595.28x841.89 : Unknown PageSize.

OS: Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
Inkscape: Inkscape 0.48.3.1 r9886 (Dec 29 2012)
Printer: Epson Stylus R360

tags: added: linux
Craig Barnes (cjbarnes18) wrote :

This appears to the the culprit

http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/src/ui/dialog/print.cpp#L195

Would it be possible to use the defined page size here instead of custom size?

jazzynico (jazzynico) on 2014-07-07
tags: removed: linux win32
Changed in inkscape:
status: New → Confirmed
brijesh (bridgepatel) wrote :

Hi,

We had a similar issue when printing A3 or A4 paper. Inkscape always sends paper size as custom with width and height of the paper instead of actual paper name e.g "A4 or A3". We have changed the code with following what it does if the paper size is A4 or A3 it sets papersize attribut to A4 or A3 instead of custom and if the size is not A4 or A3 it sends custom as papersize.

Hope this helps.

Regards

Brijesh

Mark Edgington (edgimar) wrote :

When saving as a pdf file, inkscape prompts for the export-area, and if "Export area is page" is checked, the resulting pdf file has the correct page-size associated with it (assuming that a standard size has been chosen in the "Document Properties" dialog, and it is not a "custom" size. The saved PDF file can be printed successfully.

For me, the issue is that my printer will not accept/print the "custom" sized print request (even if the dimensions of the custom size are exactly the size of a standard size), whereas it will accept/print a standard-sized print request. Directly printing from inkscape seems always to send a custom-sized request, but this seems strange, since behind the scenes, inkscape probably uses for printing the same code that is used to save to a pdf file.

Ideally, when the Inkscape print dialog opens, it should allow the user to specify any paper-size (defaulting to whatever is already set in "Document Properties"), and then scale the document to fit the selected paper-size. It's probably sensible to by default print only content within the page-boundary (i.e. "Export area is page"), but it might also be good to have an option that can be selected in the print dialog somewhere to choose that the "export area" is the drawing (i.e. could include content that might be outside the page boundary, in which it might need to be scaled down to fit on the target paper size).

I'm using Inkscape 0.48. The CUPS PageSize job attribute is listed as "Custom.595.28x841.89" (of a page I've attempted to print directly from Inkscape), and the document size in "Document Properties" is set to Letter.

Rick-firefang (rick-firefang) wrote :

The initial post (2"x12" pages getting cropped to 2"x2" prints on an Epilog laser printer) is fixed in merge request 407: https://gitlab.com/inkscape/inkscape/merge_requests/407

The rest of the comments (printers choking on custom page sizes) were fixed in commit eaa134e8ea9e71489af1b5090bdee122d5b8d659.

There's two different problems here: some printers don't understand landscape mode, and some printers don't understand custom page sizes.

Unfortunately, there's some mutual exclusivity here: the printers in the second case require you to use landscape mode whenever the page is wider than it is tall, and the printers in the first case require you to *never* use landscape mode.

So there's an edge case here: if you're using a printer that doesn't understand landscape mode, *and* you're using a standard page size, *and* your page is wider than it is tall, your image will be cropped. Best practice would be not to use standard page sizes on these devices, but instead set the page size to your print bed size (ie, 24"x12" on an Epilog Zing or 32"x20" on an Epilog Fusion).

Rick-firefang (rick-firefang) wrote :

For clarity, everywhere I said "laser printer" is should read "laser cutter".

Ville Ranki (ville-ranki) wrote :

Still happening on Ubuntu 18.04. This bug will soon be 10 years old.

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

Duplicates of this bug

Other bug subscribers