Karsten Heimrich
c8ee6ba8fb
* do some simple checking if the printer exists and is usable at
...
all, otherwise complain or offer to make it the default printer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-24 13:23:03 +00:00
Karsten Heimrich
bd937035c7
* adjusted copyright
...
* small coding style cleanups
* made the config window a bit more font sensitive
* removed unused code in AboutRequested, since change 19593 there is no Be anymore in the about text
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-22 00:34:49 +00:00
Karsten Heimrich
77258c7702
* proper check for the what field to show the config window
...
* if there are printers but no default one, show only the printer panel without the add dialog
* adjusted the alert message accordingly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-22 00:20:26 +00:00
Karsten Heimrich
85b669320b
* make sure we show the "Printer Setup" panel in case one calls ConfigJob
...
without a previous call to ConfigPage, as this would fail without any notice...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-27 22:27:05 +00:00
Ithamar R. Adema
eb5a25ca41
Slight rework of my previous commit... now ports can be asked too ;)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-08 02:00:08 +00:00
Ithamar R. Adema
62cb58a8ef
Make print_server track Transport addons too. This is because some of the NewTransportAddOns(tm) can also autodetect devices, e.g. USB printers. For this, the print_server needs to keep those transport addons loaded at all times. This code now also enables dynamic Transport discovery for the Printer prefs, e.g. 'hey print_server GET Transport 0' or 'hey print_server GET Transport 'USB Port'' will now work too ;)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-08 00:34:53 +00:00
Jérôme Duval
9bfd424271
replaced '_RRC' with B_REFS_RECEIVED
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-29 19:25:04 +00:00
Michael Pfeiffer
820f5fa5a5
Undo last change (Search spool folder by name stored in attribute
...
'Printer Name'). In other parts of the print_server we had assumed that
printer spool directory name = printer name. So the change broke some
things.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-30 17:41:06 +00:00
Michael Pfeiffer
620f852c78
Search printer spool folder by name stored in attribute 'Printer Name'.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-29 09:03:25 +00:00
Michael Pfeiffer
da0bbaed22
Updated copyright year.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-28 06:15:01 +00:00
Michael Pfeiffer
f1bbbce435
Fixed bug #1232 . Report "Add new printer" cancellation correctly.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-20 20:31:37 +00:00
Michael Pfeiffer
ce3a2228e7
Changed __ZETA__ to B_BEOS_VERSION_DANO as suggested by Axel.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 15:46:25 +00:00
Michael Pfeiffer
f57432d8c2
Support building on Zeta with BeIDE or make.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 07:54:40 +00:00
Michael Pfeiffer
24a0bfcb01
Fix bug #1004 . The directory B_USER_PRINTERS_DIRECTORY does not exist in
...
haiku.image. It is now created when print_server or the Printers preflet
is started.
Applied coding style.
"Flattened" some nested if statements.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-01 20:39:20 +00:00
Michael Pfeiffer
fcccd8b759
Some printing related improvements:
...
* libprint based drivers can now show a preview window and show progress
window while printing contributed in part by Hartmut Reh.
* Libprint and PCL6 driver bug fixes.
* Code clean-up (removed code duplications, coding style, copyright text)
Builds under Linux. Not tested under BeOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 15:52:37 +00:00
DarkWyrm
5cb03f9fb9
Fixed some copyright year entries I accidentally mangled in the header updates. Thanks korli!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 15:58:51 +00:00
DarkWyrm
314167cd80
Header updates
...
Tweaked a couple BAlerts to be a bit more standardized
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 15:18:09 +00:00
DarkWyrm
bdb64116e9
Accidentally removed large icon with last patch. Fixed. <Puts on trout-proof suit> :^)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 14:12:50 +00:00
DarkWyrm
16785e2a19
Unmangled lines clobbered by the resource compiler (I think I got everything)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 13:39:36 +00:00
DarkWyrm
db5fdafdc7
Added some config buttons that both look better and also look clickable (like buttons should)
...
Updated the layout code to be font sensitive
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 13:04:05 +00:00
Michael Lotz
8449c78396
Fixing build of the printing package for BONE and hopefully R5 too.
...
Now printing to that old HP LaserJet 2100 over an even older LPR print server from R5 with the PCL5 driver and LPR transport...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-25 20:06:18 +00:00
Axel Dörfler
8a93edb60c
Made all server version and signatures consistent, and thus closing bug #909 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-22 17:56:02 +00:00
Jérôme Duval
6bb2fbd521
inherited is a private typedef of BWindow, said gcc4
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-14 15:18:57 +00:00
Ingo Weinhold
338b8dc301
Merged changes from branch build_system_redesign at revision 14573.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 16:27:43 +00:00
Michael Lotz
3650623d6f
Replacing broken binary resources with rdefs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 22:54:16 +00:00
Michael Pfeiffer
be79e3899d
Checked in missing function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:25:37 +00:00
Michael Pfeiffer
aabf541645
Removed default value from parameter list.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 14:41:12 +00:00
shatty
7f7f792a0e
address compiler warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 06:04:59 +00:00
shatty
2ea5445386
comment out unused kPrinterData
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 06:01:26 +00:00
Philippe Houdoin
c075a6b85c
Created an haiku-printingkit-cvs package.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-26 22:03:44 +00:00
beveloper
24b7442c3f
reordered declarations to match initialization order
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-20 19:10:50 +00:00
Axel Dörfler
0a6895778a
Fixed warning (reordered constructors).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 07:36:49 +00:00
Michael Pfeiffer
fdee402d25
Moved functions from BeUtils.cpp that require libtranslation.so into a separate source file, so that an application that uses function from BeUtils.cpp only has not to link to libtranslation.so.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:44:50 +00:00
Michael Pfeiffer
b12f37be21
Added arguments to AddFields
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 20:38:21 +00:00
Michael Pfeiffer
6797eb63d7
Added comments.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 20:37:37 +00:00
Philippe Houdoin
01172d7460
Include "unistd.h" to get rmdir() definition.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 10:55:12 +00:00
Michael Pfeiffer
4dc43683c9
File moved to servers/print/shared
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 04:32:49 +00:00
Michael Pfeiffer
1c1ba0eb0e
File moved to headers/private/print
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 04:32:28 +00:00
Michael Pfeiffer
87f0c75967
Clean up.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-26 23:32:04 +00:00
Michael Pfeiffer
1d7af7aad4
Changed GUI of configuration window a little (bitmaps will be designed by CDT).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-04 23:58:32 +00:00
Michael Pfeiffer
5def119705
Refinement of ConfigWindow.
...
Some bug fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 15:51:40 +00:00
Michael Pfeiffer
6ec7a3e7be
Made ConfigWindow position and whether it should be used persistent.
...
Small bug fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-24 15:14:32 +00:00
beveloper
9fc7164698
allow building everything without local(tree external) header files beeing
...
used for kernel or kit components
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:13:17 +00:00
Michael Pfeiffer
7b362730d7
Removed unnecessary code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 15:21:33 +00:00
Michael Pfeiffer
7977efcf98
Added ability to select printer inside of application.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 16:03:31 +00:00
Michael Pfeiffer
5108df6e12
Added scripting support to enable/disable configuration window.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 15:59:19 +00:00
Michael Pfeiffer
aba0d179c7
Handle moving of job file correctly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 15:57:55 +00:00
Michael Pfeiffer
4e776836cd
Added new source files.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 15:57:12 +00:00
Michael Pfeiffer
dda672d898
Added class AutoReply.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 15:56:40 +00:00
Michael Pfeiffer
dfb355568e
Added GetDefaultSettings().
...
Fixed start print_server from terminal only if it is not already running.
Fixed use pointers to BBitmap in application class. To prevent destruction of BBitmap without valid BApplication object, if BApplication constructor has failed.
Clean up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 16:06:43 +00:00