GitHub user cerker opened a pull request:
https://github.com/apache/camel/pull/88
CAMEL-7135 Print with page orientation
see https://issues.apache.org/jira/browse/CAMEL-7135
- Added a new configuration property "orientation" to the lpr endpoint.
- The orientation property accepts the following values: "portrait",
"landscape", "reverse-portrait", "reverse-landscape".
- The default orientation is "portrait", when property is not set or set to
a wrong value.
- Implementation is according to the other configuration properties that
are passed as attributes to the Java Printing Service (MediaSIzeName, Sides).
- Added tests for printing to specific page orientations.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cerker/camel CAMEL-7135
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/88.patch
----
commit cdf0d0f914a871bf158b212007223a342291d7b9
Author: Carsten Erker <[email protected]>
Date: 2014-01-15T13:48:48Z
add configuration property for page orientation
commit 7be880b753d9028c6d2be5c08cfe33073f9cc280
Author: Carsten Erker <[email protected]>
Date: 2014-01-16T09:15:45Z
add printer tests with page orientation
----