Mercurial > hg > xemacs-beta
comparison lisp/dialog.el @ 506:39ccc7dd8077
[xemacs-hg @ 2001-05-05 08:39:59 by ben]
Add Page Setup for Windows, take out Pretty Print.
Implement Page Setup. Handle errors properly.
Change top/bottom margin defaults to 0.5 inches.
author | ben |
---|---|
date | Sat, 05 May 2001 08:40:06 +0000 |
parents | 7039e6323819 |
children | 5bdbc721d46a |
comparison
equal
deleted
inserted
replaced
505:6495d35ba9df | 506:39ccc7dd8077 |
---|---|
278 A printer settings object. | 278 A printer settings object. |
279 | 279 |
280 Exactly one of these keywords must be given. | 280 Exactly one of these keywords must be given. |
281 | 281 |
282 The function brings up the Print dialog, where the user can | 282 The function brings up the Print dialog, where the user can |
283 select a different printer and/or change printer options. Connection | 283 select a different printer and/or change printer options. Connection |
284 name can change as a result of selecting a different printer device. If | 284 name can change as a result of selecting a different printer device. If |
285 a printer is specified, then changes are stored into the settings object | 285 a device is specified, then changes are stored into the settings object |
286 currently selected into that printer. If a settings object is supplied, | 286 currently selected into that printer. If a settings object is supplied, |
287 then changes are recorded into it, and, it it is selected into a | 287 then changes are recorded into it, and, it it is selected into a |
288 printer, then changes are propagated to that printer | 288 printer, then changes are propagated to that printer |
289 too. | 289 too. |
290 | 290 |
305 --------------------------------------------------------------------------- | 305 --------------------------------------------------------------------------- |
306 | 306 |
307 For type `page-setup': | 307 For type `page-setup': |
308 | 308 |
309 This invokes the Windows standard Page Setup dialog. | 309 This invokes the Windows standard Page Setup dialog. |
310 This dialog is usually invoked in response to the Page Setup command, and | 310 This dialog is usually invoked in response to the Page Setup command, |
311 used to choose such parameters as page orientation, print margins etc. | 311 and used to choose such parameters as page orientation, print margins |
312 Note that this dialog contains the \"Printer\" button, which invokes | 312 etc. Note that this dialog contains the \"Printer\" button, which |
313 the Printer Setup dialog (see `msprinter-print-setup-dialog') so that the | 313 invokes the Printer Setup dialog so that the user can update the |
314 user can update the printer options or even select a different printer | 314 printer options or even select a different printer as well. |
315 as well. | |
316 | 315 |
317 The keywords allowed are | 316 The keywords allowed are |
318 | 317 |
319 :device | 318 :device |
320 An 'msprinter device. | 319 An 'msprinter device. |
326 Exactly one of these keywords must be given. | 325 Exactly one of these keywords must be given. |
327 | 326 |
328 The function brings up the Page Setup dialog, where the user | 327 The function brings up the Page Setup dialog, where the user |
329 can select a different printer and/or change printer options. | 328 can select a different printer and/or change printer options. |
330 Connection name can change as a result of selecting a different printer | 329 Connection name can change as a result of selecting a different printer |
331 device. If a printer is specified, then changes are stored into the | 330 device. If a device is specified, then changes are stored into the |
332 settings object currently selected into that printer. If a settings | 331 settings object currently selected into that printer. If a settings |
333 object is supplied, then changes are recorded into it, and, it it is | 332 object is supplied, then changes are recorded into it, and, it it is |
334 selected into a printer, then changes are propagated to that printer | 333 selected into a printer, then changes are propagated to that printer |
335 too. | 334 too. |
336 | 335 |
338 see `default-msprinter-frame-plist' for the complete list. The plist | 337 see `default-msprinter-frame-plist' for the complete list. The plist |
339 is used to initialize the dialog. | 338 is used to initialize the dialog. |
340 | 339 |
341 Return value is nil if the user has canceled the dialog. Otherwise, | 340 Return value is nil if the user has canceled the dialog. Otherwise, |
342 it is a new plist, containing the new list of properties. | 341 it is a new plist, containing the new list of properties. |
342 | |
343 NOTE: The margin properties (returned by this function) are *NOT* stored | |
344 into the print-settings or device object. | |
343 | 345 |
344 The DEVICE is destroyed and an error is signaled in case of | 346 The DEVICE is destroyed and an error is signaled in case of |
345 initialization problem with the new printer. | 347 initialization problem with the new printer. |
346 | 348 |
347 See also the `print' and `print-setup' dialogs. | 349 See also the `print' and `print-setup' dialogs. |