Samba is being used as a print-spooler in conjunction with CUPS and a bunch of Postscript printers, fitted with A4 and A5 trays. After an upgrade from 3.4.8 to 3.5.8 we ran into following problem: Some printouts from application, intended to print on format A5, are printed out on A4, instead of A5. After reverting back to Version 3.4.8. everything was fine again Solution: We're not very deep in the sources, but found something strange, that obviously might be the cause of the error: samba-3.5.8/source3/printing/nt_printing.c: array default_forms[]: there have been some new entries defined ("A0" & "A1"). samba-3.5.8/librpc/gen_ndr/spoolss.h: The symbols "DMPAPER_*" are referring as and index to the entries in the array default_forms[]. But it seems, that the indices have not been updated correctly to match the (new and shifted) entries in default_forms[] We deleted the new entries (A0 & A1), recompiled samba, and verified correct functionality again. Gunter
Karolin, could you please revert 73bec197a91a15aa9a69c9a3868ed51bdd3674ea in 3.5. Thanks!
See also https://bugzilla.samba.org/show_bug.cgi?id=7423
(In reply to comment #1) > Karolin, could you please revert 73bec197a91a15aa9a69c9a3868ed51bdd3674ea in > 3.5. > > Thanks! Done. Re-assigning to Andreas.
This has been fixed.