All of lore.kernel.org
 help / color / mirror / Atom feed
* [Printing-architecture] Fixes and changes on the "cups" output device of Ghostscript -Please Test!
@ 2009-04-28 19:28 Till Kamppeter
  2009-04-30 11:45 ` Till Kamppeter
  0 siblings, 1 reply; 7+ messages in thread
From: Till Kamppeter @ 2009-04-28 19:28 UTC (permalink / raw)
  To: Michael Sweet, SUFFIELD,DAVID (HP-Vancouver,ex1), shiyun.yie,
	printing-architecture@lists.linux-foundation.org, gs-devel

Hi,

I have done several fixes and enhancements on the CUPS Raster output 
device of Ghostscript, to support the Duplex-related keywords in the 
CUPS PPD extensions (all tests done with Mike Sweet's "rasterview"):


*cupsFlipDuplex:
----------------

Did not work for landscape documents. In general, the XY and YX 
components of the matrix were swapped. This broke the output with 
asymmetric resolutions (like 300x600 dpi) and back sides which are 
supposed to be rotated or Y-flipped came out blank.

*cupsBackSide:
--------------

Introduced support for this keyword which is the replacement for 
*cupsFlipDuplex:. Therefore *cupsFlipDuplex: gets generally ignored if 
*cupsBackSide: is supplied. All modes described in the PPD extensions 
are supported.

*cupsEvenDuplex:
----------------

Introduced support for this keyword. Now "*cupsEvenDuplex: True" causes 
a blank page to be appended to documents with odd numbers of pages.


All these changes I have committed to the SVN repository of Ghostscript 
and so they get part of GPL Ghostscript 8.65.

I have also created patches for Ghostscript 8.64 and uploaded them to

http://www.openprinting.org/download/printing/ghostscript-cups-patches/

The patches are

cups-device-support-cupsbackside-ppd-keyword.patch
cups-device-support-cupsevenduplex-ppd-keyword.patch

The first patch also contains the fixes for the *cupsFlipDuplex: keyword.

In addition, I have added support for having page size entries in the 
PPD which have the same width and height but differ only by the margins, 
like "A4" with normal margins and "A4.fullbleed" with zero margins. The 
fix is also uploaded to the SVN repository for Ghostscript 8.65 and the 
patch for 8.64 is this one:

cups-device-select-pagesize-margins-by-pagesize-name.patch

at the same place as the other two patches.

I will look into the "*APDuplexRequiresFlippedMargin:" keyword soon.

Please have a look into the patches and try them out. Tell me whether 
they are OK and if something does not work, please supply fixes orhelp 
me to fix it.

Thanks in advance.

    Till

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-05-20 23:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28 19:28 [Printing-architecture] Fixes and changes on the "cups" output device of Ghostscript -Please Test! Till Kamppeter
2009-04-30 11:45 ` Till Kamppeter
2009-05-04 11:17   ` Till Kamppeter
     [not found]   ` <DD6046532A44F047ACD45225E9D737B14A3FB6653D@GVW1155EXB.americas.hpqcorp.net>
2009-05-04 16:28     ` Till Kamppeter
     [not found]       ` <DD6046532A44F047ACD45225E9D737B14A40FFAF0E@GVW1155EXB.americas.hpqcorp.net>
2009-05-19 18:44         ` Till Kamppeter
     [not found]           ` <DD6046532A44F047ACD45225E9D737B14A40FFAF11@GVW1155EXB.americas.hpqcorp.net>
2009-05-19 21:36             ` Till Kamppeter
2009-05-20 23:03             ` Till Kamppeter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.