Commit Graph

50 Commits

Author SHA1 Message Date
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
mattias
89190707c1 LCL: exploded some With-blocks for fpc 3.1.1
git-svn-id: trunk@50237 -
2015-11-06 18:35:28 +00:00
juha
d2fcc0de8c LCL: Move PrinterCanvas BeginDoc, NewPage and EndDoc to public section.
git-svn-id: trunk@48970 -
2015-05-08 10:34:19 +00:00
jesus
e4ca357f5d LCL: Added TPrinter.Write(ansistring) method, by LacaK, issue #27869
git-svn-id: trunk@48770 -
2015-04-17 17:38:27 +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
ae6aba0c87 Printers, use finalization handler to free printer avoiding AV, issue #23859
git-svn-id: trunk@43187 -
2013-10-09 06:28:11 +00:00
jesus
e0905893f5 Printers, implements printer.fonts (windows), issue #17122
git-svn-id: trunk@43184 -
2013-10-09 04:36:52 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +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
6d24d264ef LCL, fix cups printer properties dialog title, issue #20191
git-svn-id: trunk@32243 -
2011-09-09 20:49:37 +00:00
maxim
c1bf5ff2e4 LCL, printers: fix typos in Exception messages and comments, fixes bug #18950
git-svn-id: trunk@29918 -
2011-03-19 21:38:31 +00:00
jesus
94774d56fb LCL, fix recursion on getting default paper name, issue #16496
git-svn-id: trunk@25492 -
2010-05-18 01:13:27 +00:00
jesus
6a922e35dd LCL, reworked how the printer obtains it's default canvas class
git-svn-id: trunk@24483 -
2010-04-07 07:09:23 +00:00
jesus
14e8e2cf01 LCL+Printers, patch to allow cupsprinter to use another class of TPrinterCanvas, from Petr Kristan, issue #16101
git-svn-id: trunk@24216 -
2010-03-25 21:21:55 +00:00
jesus
dc2a5b26a1 Printers, Added default list of papers in case there are no printers, fixes to cups dialogs
git-svn-id: trunk@23779 -
2010-02-24 21:21:37 +00:00
jesus
2563355d3d LCL, fix default values for paper dimensions in TPrinterCanvas which fix boundingbox problem in postscriptcanvas
git-svn-id: trunk@23387 -
2010-01-05 21:36:31 +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
0a1f6d9523 LCL, implemented per page orientation/boundingbox, fix issue #13626
git-svn-id: trunk@19744 -
2009-05-01 16:52:53 +00:00
paul
f02c53c71c merge lcl-smartlink branch:
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line

lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line

changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line

fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line

Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line

Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line

merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line

cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line

finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line

register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line

remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line

Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line

Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line

Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line

Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy 
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line

moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line

corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line

removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line

qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line

Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line

wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------

git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
jesus
5350a5ecf5 LCL, fix TPrinterCanvas left and top margins, implements getting paper's physical width and height
git-svn-id: trunk@19227 -
2009-04-05 07:14:31 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +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
34f9100000 LCL, fix typos and postscriptcanvas Y margin
git-svn-id: trunk@15815 -
2008-07-18 21:16: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
mattias
dc980d9b8a cups printing: added warnings
git-svn-id: trunk@9948 -
2006-09-20 19:37:29 +00:00
mattias
92a59e706f added example to add IDE help for the sources of a package
git-svn-id: trunk@9941 -
2006-09-19 22:25:33 +00:00
jesus
6128f10523 Implemented printer RawMode Access
git-svn-id: trunk@9929 -
2006-09-18 19:48:02 +00:00
jesus
8c58074886 added printer initialization after populating printers list
git-svn-id: trunk@9492 -
2006-06-23 19:36:26 +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
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
jesus
8f3f7091ba fix current paper won't change if is the same as the default one
git-svn-id: trunk@9209 -
2006-04-30 00:46:49 +00:00
jesus
cac3bd154d fixed Printer.Refresh double printer list (from Darek)
git-svn-id: trunk@8420 -
2006-01-03 08:42:02 +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
8aa48b484f fixed PaperRect if orientation is different than poPortrait
git-svn-id: trunk@8328 -
2005-12-15 22:05:26 +00:00
jesus
eaac6a33da improved win32 printers from Boguslaw Brandys
git-svn-id: trunk@8304 -
2005-12-13 08:27:59 +00:00
jesus
634147ddfb fixed printers memleak from Boguslaw Brandys
git-svn-id: trunk@8295 -
2005-12-11 22:29:24 +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
jesus
26272265eb fixed printing small fonts, and showprefix (bugs #1336,#1414)
git-svn-id: trunk@8126 -
2005-11-10 15:32:28 +00:00
mattias
f9c8897739 added abstractg TPrinter exception
git-svn-id: trunk@7596 -
2005-08-30 17:31:17 +00:00
mattias
80c38a6712 added gtk1 check for current desktop on focussing windows from Andrew Haines
git-svn-id: trunk@6974 -
2005-03-17 10:10:51 +00:00
mattias
27d716057f printers: added property XDPI and YPDI, renamed ExecuteSetup+ExecuteProperties to PrintDialog+PrinterSetup from Olivier
git-svn-id: trunk@6918 -
2005-03-07 23:40:18 +00:00
mattias
04863229c8 implemented the fpCanvas support for the LCL - Compile with -dUseFPCanvas
git-svn-id: trunk@6535 -
2005-01-10 18:44:44 +00:00
mattias
d6ec9d4553 fixed printer height, width without selected printer from Olivier
git-svn-id: trunk@6233 -
2004-11-11 18:49:58 +00:00
mattias
68955cf841 fixed designer selecting hidden controls and postscriptprinter improvements from Olivier
git-svn-id: trunk@6109 -
2004-10-04 08:49:56 +00:00
mattias
be7257c846 printers update from Olivier
git-svn-id: trunk@6107 -
2004-10-03 13:58:59 +00:00
mattias
62604373bd added new printers.pas from Olivier G
git-svn-id: trunk@6106 -
2004-10-02 16:53:52 +00:00
mattias
1e211748ee fixed some win32 intf warnings
git-svn-id: trunk@4335 -
2003-06-28 16:20:19 +00:00
mattias
c24d389ecc added Tonys printer units
git-svn-id: trunk@3211 -
2002-08-19 15:15:19 +00:00