--- rastertopwg.c.org	2011-07-28 16:25:15.965794608 +0900
+++ rastertopwg.c	2011-07-28 16:30:01.539557161 +0900
@@ -191,7 +191,7 @@
     }
 
     memset(line, white, linesize);
-    for (y = page_top; y > 0; y --)
+    for (y = page_bottom; y > 0; y --)
       if (!cupsRasterWritePixels(outras, line, outheader.cupsBytesPerLine))
       {
 	_cupsLangPrintFilter(stderr, "ERROR", _("Error sending raster data."));
