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
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
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
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
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
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
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
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
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
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
jesus
6128f10523
Implemented printer RawMode Access
...
git-svn-id: trunk@9929 -
2006-09-18 19:48:02 +00:00
jesus
816204bcbc
fixes paper orientation and size, issue #7077
...
git-svn-id: trunk@9487 -
2006-06-23 06:41:28 +00:00
jesus
aac0598b39
fixed printer related problems (paper sizes, printouts now use current settings, advanced settings preserved after dialogs) in windows
...
git-svn-id: trunk@9448 -
2006-06-19 08:24:58 +00:00
jesus
56054cce54
fixed refresh list of printers returns empty list
...
git-svn-id: trunk@8549 -
2006-01-18 05:32:25 +00:00
jesus
7e79e0d25c
fixed problem with network printers with long names from Christian Ulrich
...
git-svn-id: trunk@8548 -
2006-01-18 05:21:16 +00:00
jesus
6fece2d9f5
doGetPaperName implemented for windows, fixed selecting default printer
...
git-svn-id: trunk@8348 -
2005-12-20 14:31:27 +00:00
jesus
eaac6a33da
improved win32 printers from Boguslaw Brandys
...
git-svn-id: trunk@8304 -
2005-12-13 08:27:59 +00:00
jesus
205d76944f
Fixes issues #1443,#1445 and TPageSetupDialog from Boguslaw Brandys
...
git-svn-id: trunk@8250 -
2005-12-03 21:45:49 +00:00
mattias
00d2646d1b
uses PD_RETURNDC option for printers dialogs and returned DC has all options selected by user applied from Boguslaw Brandys
...
git-svn-id: trunk@8193 -
2005-11-19 10:59:08 +00:00
vincents
a966e4a9bb
made DoEnumPrinters more robust from Ere Maijala
...
git-svn-id: trunk@7653 -
2005-09-09 13:01:39 +00:00
marc
68321456bb
* Renamed InterfaceObject to WidgetSet
...
- Removed some logs
* Changed mainloop to a callback through the interface
git-svn-id: trunk@7585 -
2005-08-28 23:38:18 +00:00
vincents
f9efe7ac15
fixed exception with special printers from Olivier
...
git-svn-id: trunk@7235 -
2005-06-13 07:56:39 +00:00
micha
c339357532
remove comment used to fix CRLF files
...
git-svn-id: trunk@7148 -
2005-05-05 19:16:06 +00:00
micha
b28d7d74b9
fix CRLF files to be LF
...
git-svn-id: trunk@7147 -
2005-05-05 19:15:08 +00:00
mattias
a94e69edd1
added winapi printer specific TWinPrinter(Printer).Handle from Olivier
...
git-svn-id: trunk@7094 -
2005-04-21 15:48:04 +00:00
mattias
73e0927f4b
improved Printer Setup dialog win32 from Olivier und Salvatore
...
git-svn-id: trunk@7052 -
2005-04-03 09:54:56 +00:00
micha
65a533af7a
fix compilation for application.handle removal
...
git-svn-id: trunk@7038 -
2005-03-30 07:48:35 +00:00