Commit Graph

344 Commits

Author SHA1 Message Date
Michael Pfeiffer
b0678ed3e2 Removed PrintTransportAddOn.cpp from libprintutils.a.
Use kits/print/PrintTransportAddOn.cpp in transport add-ons.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 18:56:21 +00:00
Michael Pfeiffer
85e4dd94e6 Using libprintutils.a init|exit_tranport symbols were not part of the add-on.
For now copied PrintTransportAddOn.cpp from kits/print into each tranport add-on folder and use that instead.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 07:24:34 +00:00
Oliver Tappe
16d5c24e53 * merged 32bit-wchar_t branches of buildtools and haiku back into
the respective trunk

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 10:30:09 +00:00
Michael Pfeiffer
a269184003 Rotate page contents in landscape mode.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-04 07:19:51 +00:00
Axel Dörfler
7f5bbbdc56 * Removed PI, and PI2 from math.h.
* Replaced all occurences with the standard macros M_PI, and M_PI_2.
* Some coding style cleanup on the touched files, no other changes besides
  adding a missing check for a failed memory allocation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 11:58:43 +00:00
Michael Lotz
d0eaec3086 Fix more operator precedence errors. These do not do what you'd expect at first
sight. The comparison operator takes precedence over the binary ones.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 23:24:55 +00:00
Michael Lotz
fb3e35fcec Fixing all headers/namespaces/name lookup problems that hinder a GCC 4.3.2
build. I sure hope that this doesn't break the build for anyone else.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 03:05:15 +00:00
Michael Pfeiffer
380699bf25 Fixed wrong condition in assertion.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-22 04:18:52 +00:00
Karsten Heimrich
9a321797d9 * fix wrong cast
* fix r5 target build



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-21 20:21:16 +00:00
Karsten Heimrich
7cbd3ce5d8 * fix broken interface caused due to our changes to BMenuField, BTextControl
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-21 06:58:26 +00:00
Stefano Ceccherini
0f85a3eb5b renamed field variables to fit our guidelines. Also use sem_id instead of long
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 12:00:03 +00:00
Stefano Ceccherini
68fba17fe7 style changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 11:55:00 +00:00
Stefano Ceccherini
bdee0a3f6d Don't leak the BMessenger (CID 880)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 11:49:25 +00:00
Stefano Ceccherini
c9e6288649 Fixed every (hopefully) CID cases of delete where delete[] should have been used. CID 122, 123, 124, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 142, 143, 144, 147, 148, 149, 150
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-23 09:52:45 +00:00
Michael Pfeiffer
4523512663 Print jobs whose transport add-on is either "Print To File" or not set at all (in case of "Preview" printer) are not processed sequentially.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-21 20:16:24 +00:00
Karsten Heimrich
92e47f6dbc * broaden the window a bit, fixes ticket #2378 ;)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-10 23:21:59 +00:00
Karsten Heimrich
1c08970124 * make use of libprint inbuild Preview class
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-05 20:39:11 +00:00
Karsten Heimrich
df24dede80 * rename InterfaceUtils.h/cpp to BlockingWindow.h/cpp and adjust includes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-30 21:24:19 +00:00
Karsten Heimrich
1bf69d91a3 * remove all classes that where only used in pdf writer from InterfaceUtils
* get rid of three of them, i don't know why they where implemented in the first place

* fix broken scrollbar adjustment
* cleanup DocInfoWindow.h and DocInfoWindow.cpp
* make the window resizable and get rid of the tabview



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-30 20:32:10 +00:00
Karsten Heimrich
0ca6b749f4 * merge parts of libprint and libprintutils to make both indepentend
* adjust all drivers to take that into account
* fix UpdateText() signature in JSDSlider to avoid warning



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-26 22:36:01 +00:00
Karsten Heimrich
12fd6cc2e7 * move libprint sources into libs, as it is a 3rdparty lib
* move libprint headers into libs headers folder accordingly
* merge all shared folders sources into kits print, we might build later on a
  real print kit, propably also to access cups from an nicely API, atm static
* move all shared headers into private print, also pr_server.h from interface
* adjust build to work with the changed folder layout



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-22 20:30:14 +00:00
Karsten Heimrich
9b41970442 * hide the license key field as it is only supported in the commercial pdflib version
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-13 21:47:20 +00:00
Karsten Heimrich
d903f7e019 * fix some longjump warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-13 11:16:15 +00:00
Karsten Heimrich
0ef072a3f9 * missing include, remove some whitespaces
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-13 11:13:50 +00:00
Karsten Heimrich
a80e05e225 * fixes for ticket #2378
* adjust ui code to be more font sensitive
* add/ rename some of the utils message manipulation functions
* use ReadAttrString instead of ReadAttr to get the printer name



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-13 11:11:43 +00:00
Karsten Heimrich
4db0488ead * reordered MarinView.h, MarginView.cpp
* rename private functions to use underscore
* rename some public functions to match the usual style
* adjust pdf/ preview driver to use the renamed functions
* we where leaking a single message in _ConstructGui, otherwise no functional change
  


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-12 21:09:49 +00:00
Michael Pfeiffer
d7693ead7f Closed ticket #2281. Method Link in class LocalLink shadowed destructor of parent class Link.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-14 09:19:54 +00:00
Jérôme Duval
e6b421a98e fix misuse of ... with B_UTF8_ELLIPSIS
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-29 21:48:36 +00:00
Karsten Heimrich
ae824ff9c8 * less code in the window ctor
* draw margins around the content
* always center the preview in its window



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-30 01:22:06 +00:00
Karsten Heimrich
77b6a3f51b * code and style cleanup, no functional change...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-29 16:26:18 +00:00
Karsten Heimrich
55883aeef0 * implemented zoom in/ out using the option key and plus or minus
* implemented moving the page while holding the secondary mouse button down 
* implemented zoom in/ out with primary mouse button (press SHIFT to zoom out)
* show an appropriate cursor depending on the action when you press a mouse button


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-29 14:22:30 +00:00
Karsten Heimrich
b4bacb2a8a * some more cleanup
* remove doubled code, MarginView should have OrientationChanged(...) or something
 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-28 18:56:26 +00:00
Karsten Heimrich
5226ccb689 * build fix and some more debug output
* fix broken ui look in Job Setup on R5
* fix initialized page size msg field only seen on R5
* remember orientation setting to avoid always swapping it 

thanks Michael for pointing this out  :)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-26 23:39:34 +00:00
Karsten Heimrich
c83ee60a7b * fixed typo in PreviewDriver
* also always add the resolution to the config message



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-25 00:26:55 +00:00
Michael Pfeiffer
66a7a5c0d9 BeIDE build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-24 15:54:00 +00:00
Karsten Heimrich
1879dc35bf * some code cleanup
* adjusted copyright header
* remove PrinterSetupWindow, simply return the printer name
* some better interface layout, center windows on screen, etc...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-24 11:30:20 +00:00
Michael Pfeiffer
80339607f9 Get first and last page from job settings instead of print_file_header. In print_filer_header first_page is an offset into the spool file (the field is unused or reserved on BeOS R5 and is always -1) and page_count is the number of pages in the spool file. In the job settings first/last page is the page number of the first/last page as specified in the page setup dialog.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-23 18:01:13 +00:00
Karsten Heimrich
e1656f01ae * build fix, removed leftover debug var...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-23 16:17:52 +00:00
Karsten Heimrich
96d23158ea * some small cleanup
* fFirstPage should be of type off_t



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-23 16:01:03 +00:00
Karsten Heimrich
76f2895ed9 * fixed mixup of resize and drawing flags
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-22 00:11:51 +00:00
Ithamar R. Adema
f2f3c67292 Use new transport callbacks from printer preference.... transport addons now choose what to publish in the printers pref add printer dialog...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-11 23:48:05 +00:00
Michael Pfeiffer
3fc0398b6f Removed duplicate code. MarginView is already in libprintutils.a.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-29 07:53:10 +00:00
Michael Pfeiffer
79d7211056 Write more detailed error message in case font cannot be embedded (closes #1584).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-29 07:50:12 +00:00
Jérôme Duval
7ebabb8644 more on gcc4 build fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-15 23:03:15 +00:00
Michael Pfeiffer
afc8f551f8 Bug in app_server prevents text drawing inside clipping region.
Don't constrain clipping region until bug has been fixed.
Printing to Preview printer driver works now again from StyledEdit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-17 08:33:38 +00:00
Ingo Weinhold
7e8ac2903b * Prefixed the variables NETWORK_LIBS, NETAPI_LIB, and
SELECT_UNAME_ETC_LIB with TARGET_ and introduced HAIKU_* and HOST_*
  counterparts.
* Use HOST_NETWORK_LIBS for building remote_disk_server.
* Also got rid of {R5,BONE,DANO,HAIKU}_COMPATIBLE.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-12 22:15:10 +00:00
Michael Pfeiffer
eb85607872 Bug #1092 (PCL6: Second page upside down in duplex mode) fixed by Dr.
Hartmut Reh.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-08 18:33:59 +00:00
Michael Pfeiffer
3177724f8c * return invalid BFile on cancellation for backwards compatibility with
BeOS R5.
* style changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-31 16:40:15 +00:00
Michael Pfeiffer
66486a1b7d Avoid memory access to deleted object.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-31 16:38:48 +00:00
Michael Pfeiffer
ff8e5cd851 The Haiku 'Save File Dialog' returns NULL in case of cancelation contrary to BeOS R5. Now NULL is check too. Fixes issue #1068.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-30 18:31:21 +00:00
Michael Pfeiffer
e4ee835fc2 Fixed bug #1231. Update text rectangle when view is resized.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-20 19:48:33 +00:00
Axel Dörfler
66eba86f4b * Applied patch by Jonas Sundstrom: fixed the usage of B_UTF8_ELLIPSIS hopefully
everywhere in the tree.
* Added the ellipsis to "About Haiku" in Deskbar as well.
* Minor cleanup of Deskbar's StatusView.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-16 16:34:09 +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
5d1514bdd9 Replace ostringstream with BString.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 07:58:54 +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
Ingo Weinhold
1acbe440b8 Removed the obsolete second argument ("relpath") of the Addon rule and
shuffled "isExecutable" to the end. The new order favors the common use
cases. Adjusted all Addon invocations and while at it also removed
separate LinkAgainst invocations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-07 01:27:19 +00:00
François Revol
95ae312c38 Maybe your gcc doesn't caer, but otehr's do: error: virtual outside class declaration
Fixed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-24 16:03:24 +00:00
Jérôme Duval
1056069a24 fix warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-22 20:39:18 +00:00
Michael Pfeiffer
602ac50b9f Fixed broken build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-20 22:51:56 +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
e23b0decad Some label tweaks and grammar fixes
More Alt+W modal window shortcuts
Made a couple of OK buttons the default button
Added a few ellipses to some buttons which open windows


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 16:23:19 +00:00
DarkWyrm
4580005679 More alerts which are a bit more standard and family-friendly. :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 15:43:12 +00:00
DarkWyrm
a722aa3c66 Font sensitivity fixes to several places
Fixed Ink Density slider -- Minimum value should be on the left
Added the Alt+W shortcut to the Job setup dialog because R5 modal windows won't do this
Made some labels less technical

This window really needs some general layout work to fix font sensitivity issues, but this should be livable for the moment


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 15:01:22 +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
Oliver Tappe
6b376d6055 * fixed all compilation issues of printkit-stuff with gcc4 on Linux
* removed leagcy _sstream-header, we now use sstream, as both compilers provide it



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-23 22:57:37 +00:00
Jérôme Duval
d03f6d5c29 some more gcc4 fixes for print addons
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-23 22:39:57 +00:00
Oliver Tappe
ada60fd8cc * fixed wrong order of libraries, libprint.a is using libstdc++, so it needs to
be passed *before* libstdc++, otherwise the linker that comes with gcc4 
  complains.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-23 21:50:37 +00:00
Axel Dörfler
61edba289e Replaced libstdc++.r4 with $(TARGET_LIBSTDC++) - this should fix the build for some targets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-08 10:46:38 +00:00
Axel Dörfler
1f66b01946 LPR had the same problem (SocketStream2.o does not exist anymore).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-07 19:15:36 +00:00
Axel Dörfler
70dd6916db Fixed build (was still trying to link against SocketStream2.cpp).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-07 19:13:56 +00:00
Michael Pfeiffer
926f124731 Got rid of WIN32 related source code. Someone, please build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-07 18:59:59 +00:00
Axel Dörfler
8c603fe7c6 Build fixes for Haiku - is this WIN32 stuff really needed, or can we get rid of it?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-07 16:35:16 +00:00
Philippe Houdoin
4bd2b6b203 We now support space in destination path Package argument.
Long overdue commit resting on my disk...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-03 21:16:44 +00:00
Michael Pfeiffer
ee47c06033 Set protocol class in PCL6 header correctly (untested; hopefully this does not break anything).
Rewrote description of protocol classes.
Set 300 DPI as default resolution.
Uncommented protocol class 3.0 as driver does not support any new features of it.
Removed second enumeration ProtocolClass from PCL6Cap.h; it is already declared in PCL6Writer.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 21:22:15 +00:00
Michael Pfeiffer
2e84c057c0 Made window resizable and increased min. window size.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 21:00:14 +00:00
Michael Pfeiffer
4a6c604ad4 Clean up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-14 19:08:35 +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
Philippe Houdoin
c0440b532f Now using BNodeInfo class to set MIME type, following korli suggestion.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 11:09:40 +00:00
Philippe Houdoin
1ae9567747 We *do* know for sure it's a PDF document, so let's set the MIME type ourself.
In the process, we also add "Title" and "Creator" attributes to PDF files generated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 09:30:52 +00:00
Andrew Bachmann
1ac083d932 add NETAPI_LIB and use it to build HP JetDirect printer transport
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-02 22:19:07 +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
5fc71589cf Implemented RLE compression
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:45:24 +00:00
Michael Pfeiffer
e2bfe39dea Unrolled most inner loop of ColorRasterizer::MergePlaneBuffersToCurrentLine to gain a total speed up of about 5 percent.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:43:59 +00:00
Michael Pfeiffer
b2086ea837 Removed debugging code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:39:33 +00:00
Michael Pfeiffer
367817c939 Added function pack_bits_size().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:34:21 +00:00
Michael Pfeiffer
5d4b78560b Rewrote get_valid_rect because it contained bugs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 17:33:16 +00:00
Michael Pfeiffer
2e86189f50 Added color dithering to reduce the size of data to be sent to printer by about 800 percent.
Added Add Printer dialog that allows the selection of the protocol class.
Made some features dependent on the chosen protocol class.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 18:38:01 +00:00
Michael Pfeiffer
8c0bf01979 Added Add Printer dialog.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 18:22:40 +00:00
Philippe Houdoin
0bd6021a12 The port BTextControl is now inited to default HP JetDirect protocol port number (9100).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 11:41:52 +00:00
Philippe Houdoin
8ea80fd27a NETWORK_LIBS awareness: now link automaticly against right network target's libraries.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 15:02:53 +00:00
Michael Pfeiffer
17f76af5ea Set default values for printable/paper/physical rect.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 12:28:25 +00:00
Michael Pfeiffer
fdb0d9ef11 Added ability to set a page margin (re-uses MarginView from PDF writer).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 14:26:52 +00:00
Michael Pfeiffer
2aa7d54a51 Fixed bugs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 20:33:03 +00:00
Michael Pfeiffer
2e5cdc1e26 Removed misleading comment
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 16:54:41 +00:00
Michael Pfeiffer
cc4218ac28 Added Page Selection. Proper layouting of the controls in the page and setup dialogs is left open for a newbe to do :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 16:22:06 +00:00
Michael Pfeiffer
c7e1cfc1d4 Build PCL6 again as we have a replacement for jetlib
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 16:16:30 +00:00
Michael Pfeiffer
b1a3ccb885 Replaced jetlib.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 12:02:10 +00:00
Michael Pfeiffer
d647d0afe9 Implemented Delta Row Compression.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 12:01:25 +00:00
Michael Pfeiffer
a6d74a56c6 Increased window size to fit all controls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 11:50:52 +00:00
Michael Pfeiffer
e5ac55c714 Fixed bug that occured when duplex mode is selected.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 11:50:00 +00:00