Author: manolo
Date: 2010-02-28 13:46:37 -0800 (Sun, 28 Feb 2010)
New Revision: 7179
Log:
Setting PageSize feature how it should be (good to get qualified help)
Modified:
branches/branch-1.3-Fl_Printer/src/Fl_PS_Printer.cxx
Modified: branches/branch-1.3-Fl_Printer/src/Fl_PS_Printer.cxx
===================================================================
--- branches/branch-1.3-Fl_Printer/src/Fl_PS_Printer.cxx 2010-02-28
18:42:58 UTC (rev 7178)
+++ branches/branch-1.3-Fl_Printer/src/Fl_PS_Printer.cxx 2010-02-28
21:46:37 UTC (rev 7179)
@@ -41,14 +41,14 @@
// others (look at Fl_Printer.H} //
{462, 649}, // c5 envelope
-{312, 623}, // d1 envelope
-{541, 719},
-{595, 935},
-{1224, 790}, //Ledger landscape
-{612, 1009}, //Legal
-{612, 790}, //Letter
-{791, 1224}, //Ledger
-{297, 683} //Comm10 envelope
+{312, 623}, // dl envelope
+{541, 719}, // executive
+{595, 935}, // folio
+{1224, 790}, // Ledger landscape
+{612, 1009}, // Legal
+{612, 790}, // Letter
+{791, 1224}, // tabloid
+{297, 683} // envelope
};
@@ -331,8 +331,8 @@
fprintf(output, "%%%%Pages: %i\n", pagecount);
else
fprintf(output, "%%%%Pages: (atend)\n");
- fprintf(output, "%%%%BeginFeature: *PageSize\n" );
- fprintf(output, "%s\n", (format==A4?"a4":"letter") );
+ fprintf(output, "%%%%BeginFeature: *PageSize %s\n",
(format==A4?"A4":"Letter") );
+ fprintf(output, "<</PageSize[%d %d]>>setpagedevice\n",
page_formats[format][0], page_formats[format][1] );
fprintf(output, "%%%%EndFeature\n");
fprintf(output, "%%%%EndComments\n");
fprintf(output, prolog);
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit