Marcel Partap [EMAIL PROTECTED] wrote:
+static const struct builtin_form builtin_forms[] = {
+{{'L','e','t','t','e','r',0}, {{216000,279000}, {0,0,216000,279000}, 0,
FORM_BUILTIN}},
+{{'A','3',0}, {{297000,42}, {0,0,297000,42}, 0, FORM_BUILTIN}},
+{{'A','4',0},
I guess this info should be fetched from the printer, not hard coded.
No no there are indeed builtin forms:
(from http://www.unixwiz.net/techtips/winspooler-forms.html)
FORM_INFO_1.Flags
Each form can be one of three types: FORM_BUILTIN, FORM_PRINTER and FORM_USER.
Builtin forms are an
inherent