apple / cups

Apple CUPS Sources
https://www.cups.org
Apache License 2.0
1.95k stars 464 forks source link

trying to figure out setting a custom print size #5669

Closed 22350 closed 5 years ago

22350 commented 5 years ago

I am on cups 2.2.0 I have paper that i need to do borderless printing on. 9x13

That size is not an option on GENERAL/PAPER SIZE drop down.

Can I go into the ppd file and add a line of code that puts that size in the list?

michaelrsweet commented 5 years ago

@22350 That really depends on the printer/driver. If the PPD supports custom sizes then you can define a custom size ("Custom.9x13in" at the command-line) without editing the PPD file. Whether the application supports this depends on the OS and GUI environment used...

22350 commented 5 years ago

I am on a mac. with an epson artisan 1430 currently only certain sizes are supported for "borderless" , although the physical characteristics of the printer have no limitations for this functionality.

Is CUPS using the epson ppd file or can i manually add one with the correct parameters ?

michaelrsweet commented 5 years ago

@22350 This printer uses the Epson-supplied printer driver by default, which does support custom sizes. You can create a custom size by choosing "Manage Custom Sizes..." from the paper size popup menu. Be sure to change the default margins to 0 for your new size.

22350 commented 5 years ago

@22350 This printer uses the Epson-supplied printer driver by default, which does support custom sizes. You can create a custom size by choosing "Manage Custom Sizes..." from the paper size popup menu. Be sure to change the default margins to 0 for your new size.

I have tried that, but when you create a custom size, even with zero margin, it still forces a margin. i bought a ton of paper and now i can't do borderless on it.

I could dump the art back into chrome and print from there. That used the cups driver, right?

michaelrsweet commented 5 years ago

@22350 I'm sorry to hear you are having difficulties with the Epson driver. However, since this printer depends on Epson's driver (not AirPrint or PostScript) there isn't a lot we can do here - you might be able to edit the PPD file to add another paper size (add PageSize, PageRegion, PaperDimension, and ImageableArea lines for your size) but the driver may still not honor the borderless margins. Giving Epson a call for support might be the only way to get this to work, unfortunately...

22350 commented 5 years ago

doesn't seem like they are going to be anxious to help me edit the ppd file. is there a forum that I can post for help on?

RobertKrawitz commented 5 years ago

The Gutenprint driver allows borderless printing to all media sizes on this printer, but be careful.

The reason Epson restricts borderless printing to certain media widths, IIRC, is that the printer has slots in certain places in the tray below the print head to receive ink bleed off the edge of the paper. If you print borderless on other media widths, that excess ink will spray into the tray and possibly make a mess. So you can do this with Gutenprint, but at your own risk.

Disclosure: I am the project lead for Gutenprint.

22350 commented 5 years ago

The Gutenprint driver allows borderless printing to all media sizes on this printer, but be careful.

The reason Epson restricts borderless printing to certain media widths, IIRC, is that the printer has slots in certain places in the tray below the print head to receive ink bleed off the edge of the paper. If you print borderless on other media widths, that excess ink will spray into the tray and possibly make a mess. So you can do this with Gutenprint, but at your own risk.

Disclosure: I am the project lead for Gutenprint.

@RobertKrawitz Pardon my ignorance, have installed the drivers and created new profile with this driver, but it is still putting a border on the document.