1 2006-11-17 Andreia Gaita <avidigal@novell.com>
3 * PrintingServicesWin32.cs: fix another dumb typo -
4 check proper return value from printer validity call
6 2006-11-16 Chris Toshok <toshok@ximian.com>
8 * PreviewPrintController.cs: fix typo - don't throw
9 InvalidPrinterException when it wasn't supposed to be.
11 2006-11-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
13 * PrintDocument.cs: Use QueryPageSettingsEventArgs.PageSettings
14 in PrintPageEventArgs, instead of using the default one (mimic
17 * PageSettings.cs: Implement Clone the right way (intead of using
18 the default page settings).
20 2006-11-14 Andreia Gaita <avidigal@novell.com>
21 Fixes #79835, implements PrinterSettings.IsValid, throws proper
22 InvalidPrinterException with differentiated messages.
24 * PrintingServices.cs: Declares IsPrinterValid to enable easy checking
25 if printer name is a valid printer
27 * PrintingServicesWin32.cs: Implements IsPrinterValid, caches
28 last assigned printer name and if it is valid to speed up next calls.
30 * PrintingServicesUnix.cs: Implements IsPrinterValid, caches
31 last assigned printer name and if it is valid to speed up next calls.
34 - throw InvalidPrinterException in the properties,
35 according to the docs: Color, Landscape, PaperSize, PaperSource,
37 - change the private fields above to internal, so that in the
38 constructor we can access them without triggering the exceptions
39 if there are no printers installed
41 * PrinterSettings.cs: Implement IsValid to call IsPrinterValid
44 * PreviewPrintController.cs: throw InvalidPrinterException on
45 StartPrint() if there's no valid printer configured
47 * InvalidPrinterException.cs: New private GetMessage() to customize
48 printer error message, used by constructor
50 2006-09-27 Jordi Mas i Hernandez <jordimash@gmail.com>
52 * PrintingServicesUnix.cs: Implements LoadPrinterPaperSources member,
53 simplifies GetPaperSizeName and loads paper source and size defaults
55 2006-09-27 Jordi Mas i Hernandez <jordimash@gmail.com>
57 * PrintingServices.cs: Add LoadPrinterPaperSources member
59 * PrintingServicesWin32.cs: Implements LoadPrinterPaperSources and
60 reads the default paper source and size.
62 * PrintingServicesUnix.cs: Add stub LoadPrinterPaperSources member
64 * PrinterSettings.cs: Implements PaperSourceCollection property and
65 makes default paper source and size from the system.
67 2006-08-02 Chris Toshok <toshok@ximian.com>
69 * PreviewPrintController.cs: scale the Graphics context we pass
70 back from OnStartPage such that the preview looks the way the
73 2006-07-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
75 * PrintDocument.cs: When null is passed to PrinterSettings,
76 it should be set to a new PrinterSettings instance, and should never
79 * PrinterSettings.cs: Default value for Copies should be 1. Also
80 add a space in the ToString method, to correctly show the printer
83 2006-07-26 Chris Toshok <toshok@ximian.com>
85 * PrinterSettings.cs: expose PrintFileName in the 1.1 case as an
86 internal property, so we can get at it from MWF.
88 * PrintingServicesUnix.cs: handle print to file, and also remove
89 the temp file after sending the data to the printer. fix some
90 dllimports to match the rest of system.drawing.
92 * PreviewPrintController.cs: implement this (warning, it'll eat
93 all your memory until we get a real Metafile implementation, as
94 we're storing bitmaps).
96 * PrintDocument.cs: shift the graphics context stuff around a bit
97 in Print(), so that the events after OnStartPrint are passed the
98 graphics context the controller created there, and we use the
99 return value of OnStartPage to do all drawing.
101 2006-05-20 Jordi Mas i Hernandez <jordimash@gmail.com>
103 * PrintingServices.cs: GetPrintDialogInfo definition
104 * PrintingServicesWin32.cs GetPrintDialogInfo implementation
105 * PrintingServicesUnix.cs: GetPrintDialogInfo stub
107 2006-04-14 Jordi Mas i Hernandez <jordimash@gmail.com>
109 * PrintingServicesUnix.cs: Replace cupsGetPrinters deprecated API call
111 2006-04-13 Jordi Mas i Hernandez <jordimash@gmail.com>
113 * PrintingServicesUnix.cs: Checks if cups is installed
114 * PrinterSettings.cs: PrintToFile property and ToString method
116 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
118 * PrintController.cs: corcompare fix. No public ctor in 2.0.
119 * PrinterSettings.cs: corcompare fix. Clone method isn't virtual.
121 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
123 * PrintingServicesUnix.cs: cupsGetPrinters(char***) requires to free
124 each individual string and (finally) the list. Note that this call is
127 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
129 * PrintingServicesUnix.cs: Handle not having a printer
131 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
133 * PrintingServicesWin32.cs: Simplyfied the code, removing the need
134 for pointer calculations (part of 64bit cleanup)
136 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
138 * PrintingServicesWin32.cs: Ensure Marshal.FreeHGlobal is called for
139 all unmanaged memory allocated with AllocHGlobal.
141 2006-01-15 Jordi Mas i Hernandez <jordimash@gmail.com>
143 * PrintingServicesUnix.cs: Allow setting the dpy's for the surface
145 2005-12-22 Jordi Mas i Hernandez <jordimash@gmail.com>
147 * PrintingServices.cs: Printing services abstration class
148 * PrintingServicesWin32.cs: Win32 printer driver
149 * PrintingServicesUnix.cs: Unix printer driver
150 * Margins.cs: Fixes exceptions error messages
151 * PrinterResolution.cs: Fixes
152 * PrintEventArgs.cs: New internal method
153 * PrintPageEventArgs.cs: New internal method
154 * StandardPrintController.cs: Fixes
155 * PrinterUnitConvert.cs: Fixes conversion errors
156 * PrintDocument.cs: Fixes to make it print
157 * PageSettings.cs: Take margains into account
158 * PrintController.cs: Fixes
159 * PaperSize.cs: Method to set paper Kind
160 * PrinterSettings.cs: Implements settings and fixes
163 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
165 * PrinterResolutionKind.cs: Fixes signature for .Net 2.0
166 * PaperKind.cs: Fixes signature for .Net 2.0
167 * PaperSource.cs: Fixes signature for .Net 2.0
168 * Margins.cs: Fixes signature for .Net 2.0
169 * PrinterResolution.cs: Fixes signature for .Net 2.0
170 * PrintEventArgs.cs: Fixes signature for .Net 2.0
171 * PrintAction.cs: New enum in .Net 2.0
172 * PageSettings.cs: Fixes signature for .Net 2.0
173 * PaperSourceKind.cs: Fixes signature for .Net 2.0
174 * PrintController.cs: Fixes signature for .Net 2.0
175 * Duplex.cs: Fixes signature for .Net 2.0
176 * PaperSize.cs: Fixes signature for .Net 2.0
177 * PreviewPrintController.cs: Fixes signature for .Net 2.0
178 * PrinterSettings.cs: Fixes signature for .Net 2.0
179 * PrintRange.cs: Fixes signature for .Net 2.0
181 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
183 * InvalidPrinterException.cs: Removed NotImplementedException (not
184 required) and added a demand for SerializationFormatter on the
185 GetObjectData method.
186 * PrintingPermission.cs: Throw ArgumentException if the class or
187 version attributes are missing in the supplied XML (only in 1.x).
189 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
190 * PaperKind.cs: fixes wrong enum values
192 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
194 * MarginsConverter.cs: Implemented support for InstanceDescriptor.