Commit Graph

73 Commits

Author SHA1 Message Date
juha
2791021ac9 Printers: Match Windows PageSetupDialog settings with the Unix dialog. Issue #33427, patch from AlexeyT.
git-svn-id: trunk@57517 -
2018-03-16 22:09:56 +00:00
juha
7a76a4c728 Printer4Lazarus: Fix header comments. Fix license text in CupsDyn unit to match other units and the package itself.
git-svn-id: trunk@56491 -
2017-11-25 10:20:02 +00:00
jesus
d3fb32086e Printers: don't raise exception if there are 0 printer's paper bins.
git-svn-id: trunk@54783 -
2017-04-30 19:12:18 +00:00
juha
ec91cfdc9a LCL: Use "out" parameter instead of "var" in Printer.Write() and derivatives. Issue #29950.
git-svn-id: trunk@53102 -
2016-10-12 13:37:37 +00:00
ondrej
f7158c1393 lcl: disable windows on system dialog execute
win32: fix parent window handle for system dialogs
Issue #28631

git-svn-id: trunk@51798 -
2016-03-02 05:45:52 +00:00
bart
09ff38a012 Printers (Windows): Start removing Windows 9x specific code.
ToDo:
- Get rid of the Ansi versions of the Printer_Info* data structures (used in TWinPrinter.DoGetPrinterState)
- Get rid of DeviceCapabilitiesA variant (used in TWinPrinter.DoGetPaperRect)

git-svn-id: trunk@50954 -
2015-12-20 12:47:54 +00:00
juha
1efce4eaa0 Printers: Get correct owner handle for printers dialogs. Issue #28280, patch from Derit Agustin.
git-svn-id: trunk@49322 -
2015-06-12 21:42:18 +00:00
jesus
28089b25f7 Printers, win: check for PDev.DevModeSize that prevents error 204, from DaLiv, issue #27970
git-svn-id: trunk@48887 -
2015-04-29 05:08:31 +00:00
jesus
679d20a26e Printers, don't setup printer list while printer object is being destroyed, fix issue #26489
git-svn-id: trunk@46235 -
2014-09-14 17:41:24 +00:00
jesus
66134be838 printers, windows: typo & indentation
git-svn-id: trunk@45480 -
2014-06-12 02:03:36 +00:00
jesus
369715dd29 Printers, Windows: fix Paper "" not supported
git-svn-id: trunk@45479 -
2014-06-12 01:42:14 +00:00
bart
462b02e2de Components, printers: Fix wrong compiler directive for compiler version detection in r43553 #07ebd480ca
git-svn-id: trunk@43554 -
2013-12-16 21:57:25 +00:00
maxim
07ebd480ca Components, printers: fixed compilation with FPC > 2.6.2
git-svn-id: trunk@43553 -
2013-12-16 21:26:11 +00:00
bart
767b677d3b Printers (Windows): do not use a compiler directive to enable printing on Win9x systems (introduced in r39125 #de4e10c615).
Use at runtime detection to decide wether to call Ansi or Wide Windows API's and separate the used
structures into Ansi and Wide variants.
(Hiding Win9x functionality behind a compiler directive is inconsistent with current LCL behaviour)
Resolves issue #0025315.

git-svn-id: trunk@43544 -
2013-12-15 16:29:31 +00:00
jesus
e0905893f5 Printers, implements printer.fonts (windows), issue #17122
git-svn-id: trunk@43184 -
2013-10-09 04:36:52 +00:00
jesus
6d093a3d09 Printers, windows, do not open and setup printer if it's being destroyed, issue #23026
git-svn-id: trunk@43024 -
2013-09-29 04:49:22 +00:00
jesus
25b5b1428e Printers, windows, fix test for printer type
git-svn-id: trunk@42522 -
2013-08-29 23:45:25 +00:00
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
jesus
b2cfca71f8 Printers, refactored (partially reworked) bins support, implemented cups missing part
git-svn-id: trunk@41171 -
2013-05-13 14:19:13 +00:00
jesus
75719d513e Printers, implements printer bins (windows), from mtournay, issue #24414
git-svn-id: trunk@41139 -
2013-05-11 21:37:22 +00:00
jesus
5e53bcfafa Printers, fix printer dialgos titles (win), modified patch from Boguslaw Brandys, issue #14186
git-svn-id: trunk@41082 -
2013-05-09 05:47:33 +00:00
jesus
e4345672cb Printers, fix print dialog in win32 under the effect of USEUNICODE conditional, from Petr-K, issue #23771
git-svn-id: trunk@40016 -
2013-01-29 08:22:33 +00:00
jesus
8196403121 Printers, removed missed define USEUNICODE from winutilprn
git-svn-id: trunk@39227 -
2012-11-02 05:14:11 +00:00
jesus
de4e10c615 Printers, Windows unicode support (enabled by default)
git-svn-id: trunk@39125 -
2012-10-18 04:52:21 +00:00
blikblum
3c74914f9c win32: remove duplicate assignments + code cleanup in winprinters
git-svn-id: trunk@34376 -
2011-12-23 22:00:37 +00:00
paul
fec2c5b6db printers: temporary remove use of WinSpool unit because it is not yet released
git-svn-id: trunk@30302 -
2011-04-15 13:16:08 +00:00
paul
fa1cd514a0 printers: cleanup, format win32 units - use RTL and FCL when possible, use appropriate packing (fixes issue #0018870)
git-svn-id: trunk@30284 -
2011-04-13 09:32:14 +00:00
paul
2c392d68a7 components: use DefaultFormatSettings in codetools to prevent deprecated warning generation
git-svn-id: trunk@28603 -
2010-12-03 03:40:41 +00:00
mattias
dc78f11aef fixed typo cant
git-svn-id: trunk@27305 -
2010-09-11 14:06:32 +00:00
jesus
8d83a14a6d Printers, Win32, retrieve printer names as UTF8, issue #17022
git-svn-id: trunk@26980 -
2010-08-02 19:27:43 +00:00
jesus
4e77876fa2 Printers, fix printdialog to show the number of pages specified, patch by Gabriele Fain, issue #14643
git-svn-id: trunk@26152 -
2010-06-16 15:00:46 +00:00
jesus
a204eebb53 Printers, windows, check if there are printers before calling printer document properties
git-svn-id: trunk@23808 -
2010-03-01 03:32:54 +00:00
paul
cc7aa41e5b components: fix hInstance usage
git-svn-id: trunk@23710 -
2010-02-16 07:46:50 +00:00
paul
664e34e4a6 components: fix compilation
git-svn-id: trunk@23707 -
2010-02-15 11:41:02 +00:00
jesus
8d511f8bea Printers, fix printer not available problem (windows, introduced in r20675 #f5cdfcac6a)
git-svn-id: trunk@20857 -
2009-07-14 20:10:23 +00:00
jesus
f6920f782e Printers, added TPrinter.FileName property, based on patch from mtournay, issue #13718
git-svn-id: trunk@20805 -
2009-07-07 05:09:52 +00:00
jesus
f5cdfcac6a Printers, fix raw exception, issue #14013
git-svn-id: trunk@20675 -
2009-06-20 04:48:39 +00:00
vincents
443073a7a2 pinters: fixed compilation on win64
git-svn-id: trunk@19466 -
2009-04-17 09:57:10 +00:00
paul
146a3542fb win32: position printer dialogs on center of active form monitor
git-svn-id: trunk@19422 -
2009-04-14 06:42:25 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
jesus
6d7d8a64e8 printers, Sometimes setting PrinterIndex property do not select the right printer, issue #11463
git-svn-id: trunk@15485 -
2008-06-20 16:45:02 +00:00
jesus
a353f8dd84 printers, use ms recommended method to obtain default printer, issue #11301
git-svn-id: trunk@15281 -
2008-05-31 17:22:05 +00:00
jesus
35ede8b695 printers, fix selecting default printer and updating devmode (windows)
git-svn-id: trunk@15278 -
2008-05-30 15:10:51 +00:00
jesus
ab422b9665 Printers, setdc after sucessful change printer, issue #11279
git-svn-id: trunk@15265 -
2008-05-28 05:22:03 +00:00
vincents
a3230ffdcd win32 printers: cleanup
git-svn-id: trunk@15235 -
2008-05-26 14:09:18 +00:00
jesus
6bdc560d73 printers, fixes AV for qt-win32 issue #10611
git-svn-id: trunk@13724 -
2008-01-11 07:06:00 +00:00
jesus
bdd543cc78 printers, fixed AV when printing under windows
git-svn-id: trunk@13448 -
2007-12-23 20:00:33 +00:00
jesus
d270b16e7d LCL, implemented AppHandle in TWidgetset, fixed issue #9239
git-svn-id: trunk@11479 -
2007-07-12 21:09:00 +00:00
micha
d7d43ee618 fix pointer type conversions
git-svn-id: trunk@10044 -
2006-10-06 17:08:25 +00:00
jesus
82ef5fc46c printers, windows, check paper codes to match supported papers in case driver returns wrong counts (fineprint) from Andreas Schneider (\pub\bash0r)
git-svn-id: trunk@9950 -
2006-09-20 20:14:58 +00:00