File foomatic-filters-bzr-LSB2418.patch of Package foomatic-filters
--- ChangeLog
+++ ChangeLog 2009-05-11 14:59:21.641902385 +0200
@@ -1,3 +1,10 @@
+2008-11-19 Till Kamppeter <till.kamppeter@gmail.com>
+
+ * foomatic-rip.in: PageSetup sections were inserted after the
+ first PostScript code line of the page and not directly after
+ "%%Page ...". Discovered by the LSB testing suite
+ (http://bugs.linuxbase.org/show_bug.cgi?id=2418).
+
2008-09-05 Till Kamppeter <till.kamppeter@gmail.com>
* foomatic-rip.in: Make foomatic-rip also working with PPD file
--- foomatic-rip.in
+++ foomatic-rip.in 2008-11-19 12:13:58.000000000 +0100
@@ -3260,9 +3260,9 @@ for $file (@filelist) {
# Insert PostScript option settings
# (options for section "PageSetup".
if ($isdscjob && !$pagesetupfound) {
- $line .=
+ $line =
makepagesetupsection($dat, $optionset,
- 1);
+ 1) . $line;
$pagesetupfound = 1;
}
}