Commit Graph

336 Commits

Author SHA1 Message Date
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
Michael Pfeiffer
dcab43435a Implemented delta row compression. Added media sources. Enabled duplex mode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 19:29:07 +00:00
Michael Pfeiffer
1ee14bea49 Added DeltaRowCompression.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 19:26:27 +00:00
Michael Pfeiffer
30ec9a55ef Added 'Go to page' control. Contributed by Hartmut Reh.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 18:26:13 +00:00
Michael Pfeiffer
4259e26f8a Disabled building of PCL6 printer driver until we get permission from HP to include the jetlib\!\!\!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 18:07:48 +00:00
Michael Pfeiffer
fca41c6c35 Added Hartmut Reh to list of authors. Updated copyright information.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:55:32 +00:00
Michael Pfeiffer
d24243b3d4 Updated copyright information
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:54:15 +00:00
Michael Pfeiffer
be15dcda7f Added class PagesView for visualization of the options Reverse and Collate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:46:28 +00:00
Michael Pfeiffer
d225778e9a Added scaling ability and visualization of the options Reverse and Collate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:42:53 +00:00
Michael Pfeiffer
0826cc43ae Added first/last page buttons contributed by Dr.H.Reh.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-08 14:08:54 +00:00
Michael Pfeiffer
66a207d9bd Set upper bound for scaling factor.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-08 14:07:23 +00:00
Michael Pfeiffer
43a3d8de3f Changed the scaling ability to mimic the scaling behaviour of the Epson printer driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-08 09:12:12 +00:00
Michael Pfeiffer
dc8938772a Show current displayed page number and added ability to scale the page contents contributed by Dr.H.Reh.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 17:11:35 +00:00
Michael Pfeiffer
fe970f9d5d Added method GetScale
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 17:07:41 +00:00
Michael Pfeiffer
c387247ebe Check in for Dr.H.Reh. The usability of MarginView has been increased.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-11 09:52:39 +00:00
Michael Pfeiffer
3c39e6e0d5 Check in for Dr.H.Reh. The preview margin is set correctly and usability of MarginView has been increased.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-11 09:51:01 +00:00
Michael Pfeiffer
384bba914c Resolved race condition in methode Go of dialog windows.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-28 19:17:46 +00:00
Michael Pfeiffer
76145367cb Resolved race condition in methode Go of dialog windows.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-28 19:05:01 +00:00
Michael Pfeiffer
f0307bad5c Added class JSDSlider by Dr.H.Reh.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-28 18:57:49 +00:00
shatty
c78143962a suppress warnings on imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 02:50:13 +00:00
Michael Pfeiffer
bd6633b89b Printer supports copy command.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 19:00:42 +00:00
Michael Pfeiffer
4babd17d12 Changed return type to 'void' of function with unused return value.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 10:30:57 +00:00
Michael Pfeiffer
27e67ac456 Added comment
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 10:29:06 +00:00
Michael Pfeiffer
2c0a864ba3 Use dynamic memory allocation instead of stack allocation to avoid PPC compiler error.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 10:28:42 +00:00
shatty
d1f22925f7 address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 09:05:20 +00:00
shatty
5029115dff address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 08:55:17 +00:00
shatty
3d81352cd8 address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 05:37:52 +00:00
shatty
6040be9931 use NETWORK_LIBS for linking, define BUILDING_R5_LIBNET if necessary
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 21:10:54 +00:00
Nathan Whitehorn
b502b561b4 Fixed spelling of instantiate_transport
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-22 22:35:59 +00:00
Michael Pfeiffer
05ab7b5c32 Set the page origin to the left/top point of the printable rectangle (was page rectangle).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-10 15:44:51 +00:00
Michael Pfeiffer
fecfb1dcff Fixed bug where pages following the first physical page were omitted.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-10 15:42:47 +00:00
Michael Pfeiffer
3666645ab4 Added PDFlib lite 5.0.3
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 17:01:21 +00:00
Philippe Houdoin
0bba897b1e Don't rely on implicit link targets. We need libnet.so's getusername(), so let's
say it out loud! Especially since Oliver Tappe's gcc 2.95.3 version don't link
by default with libnet.so anymore.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 13:48:37 +00:00
Philippe Houdoin
af6dc7f61e Let's forgot about closesocket()!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 13:35:30 +00:00
Michael Pfeiffer
373fe20212 Fixed scaling problem.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-02 05:28:13 +00:00
Michael Pfeiffer
90c9b3ae9a Fixed scaling problem.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-02 05:26:45 +00:00
Michael Pfeiffer
82f24520e1 Added (untested) support for landscape orientation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 16:16:39 +00:00
Philippe Houdoin
4158964bd7 Mistaken duplicated code removed.
Use UTF-8 constants is better.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 23:22:24 +00:00
Philippe Houdoin
5b97efc5d8 Rename print_transport.cpp to <addon transport class>.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-11 08:56:02 +00:00
Philippe Houdoin
8473eaa54c Linking against libprinttransportaddon.a don't include the mandatory init/exit_transport symbols as
the add-on didn't explicitly reference them.
Switch to simply link against PrintTransportAddOn.o instead.
Rename multiple print_transport.cpp into add-on main class name.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-11 08:53:41 +00:00
Philippe Houdoin
653ca662b0 Linking against libprinttransportaddon.a don't include the mandatory init/exit_transport calls as
the add-on didn't reference them. Switch to simply link against PrintTransportAddOn.o instead.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-11 08:43:49 +00:00
Philippe Houdoin
2aa1cedffd Typo fix.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-11 08:41:29 +00:00
Philippe Houdoin
2a3661ad58 I'm so bored ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-11 08:40:19 +00:00
Philippe Houdoin
179268dc55 Follow actual InitCheck() semantics, part II.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-05 15:13:19 +00:00
Philippe Houdoin
39a650c883 Follow the *actual* InitCheck() semantics, on Alan Westbrook suggestion.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-05 15:04:33 +00:00
Philippe Houdoin
1d90c31ea2 Follow the InitCheck() model.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-04 16:39:09 +00:00
Philippe Houdoin
b3c733e933 Created an haiku-printingkit-cvs package.
Fixed a typo, the print add-ons folder name was "print" when it should be "Print".


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-26 21:57:58 +00:00
Philippe Houdoin
bc333ea2ef Fix a thread safety issue in "USB Port" transport.
Now all transports okok'ed the received init message on success.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 22:59:21 +00:00
Philippe Houdoin
986f1ba65e Conform to 'okok' message protocol.
HP JetDirect related parameters should be added to the message in future.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 15:37:30 +00:00
Philippe Houdoin
14167249da Add USB device ID query and parsing.
Now returning an 'okok' 'ed messaged filled with USB printer information.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 15:09:53 +00:00
Philippe Houdoin
4c87a6fe46 BMessage passed to add-on's init_transport() should be set to 'okok' on success.
2 years before I think about inspecting the BMessage returned by Be's transport add-ons :-(


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 15:00:37 +00:00
Philippe Houdoin
a4877eb973 Comment fix.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 22:23:36 +00:00
Philippe Houdoin
3d046cd292 Unbreak LPR & IPP print transport addons.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 00:16:57 +00:00
Philippe Houdoin
c814e51224 Fighting Copy & Paste side effects:
fix some mistaken comments referencing PDF Writer driver.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 20:43:10 +00:00
Michael Pfeiffer
62a4ea7ebc Moved PrintProcess.cpp to shared folder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-27 07:12:08 +00:00
Michael Pfeiffer
edd4c1eef7 Printer supports copy command.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-27 07:09:25 +00:00
Michael Pfeiffer
2c973bd1fc Implemented copy number of pages for printers that do not support page copy command. Check if PrintToFile dialog was canceled and return without an error.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-27 07:08:38 +00:00
Michael Pfeiffer
d3befe5f8a Return without error if user closes window.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-27 07:07:31 +00:00
Michael Pfeiffer
2ce698e886 Changed comment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 20:06:27 +00:00
Michael Pfeiffer
77348f7a0c Store page and job settings separately.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 20:05:26 +00:00
Michael Pfeiffer
863fc0b752 Store page and job settings separately. Renamed constants
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 20:05:09 +00:00
Axel Dörfler
362c1dfc8a Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 07:04:10 +00:00
Michael Pfeiffer
6647639ac6 Fixed memory leak
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 00:07:55 +00:00
Michael Pfeiffer
3b6882f17c Added ink density and dither type to halftone constructor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 00:07:17 +00:00
Michael Pfeiffer
342f6eb938 Added argument to JobData constructor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 00:01:48 +00:00
Michael Pfeiffer
329e4f9a7b Allow selection of ink density
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 00:00:18 +00:00
Michael Pfeiffer
e2d8351ac4 Added HalftoneView.cpp and PrinterDriver.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:58:49 +00:00
Michael Pfeiffer
7f5627dae3 Allow selection of halftone method and ink density
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:56:14 +00:00
Michael Pfeiffer
7566478beb Added InkDensity and DitherType; distinguish between page and job settings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:54:17 +00:00
Michael Pfeiffer
ef68644905 Shows a halftone preview.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:53:45 +00:00
Michael Pfeiffer
53045bc61b Use class PrinterDriver of libprint.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:46:35 +00:00
Michael Pfeiffer
69512fac34 Page and job setup dialogs remember latest settings. Simplified creation of a libprint printer driver. The printer add-on hook functions are implemented here. The libprint printer driver has to implement the function instantiate_printer_driver() where it creates an object of an inherited class from class PrinterDriver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:46:07 +00:00
Michael Pfeiffer
730329f797 Unified handling of color and monochrome dithering.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 08:54:26 +00:00
Michael Pfeiffer
d2c03b1bec Renamed many constants and fields according to Open BeOS coding style guide.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 17:12:00 +00:00
Michael Pfeiffer
2f6e49a929 Implemented Floyd Steinberg dithering and made it default.
Renamed many constants and fields according to Open BeOS coding style guide.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 17:10:36 +00:00
Michael Pfeiffer
7ea239b20d Implemented Floyd Steinberg dithering and made it default.
Renamed many constants and fields according to Open BeOS coding style guide.
Removed unused code that handles color spaces other than B_RGB32.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 17:09:32 +00:00
Michael Pfeiffer
beb1961c1f Link against libprint.a
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 20:03:32 +00:00
Michael Pfeiffer
46b5fade3c Bug fixes and clean up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 20:01:45 +00:00
Michael Pfeiffer
74442bbb69 Use class PrintTransport to access transport add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 19:59:45 +00:00
Michael Pfeiffer
51303ba2b9 Implemented basic color printing support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 18:50:45 +00:00
Michael Pfeiffer
aa36fbce3a Extended to dither each RGB channel separately.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 18:47:58 +00:00
Michael Pfeiffer
91c89ca37a Added color support (untested)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:54:03 +00:00
Michael Pfeiffer
1d66a57695 Include private header files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:47:20 +00:00
Michael Pfeiffer
6f9cddea93 Moved files from canon_lips folder to here
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:44:26 +00:00
Michael Pfeiffer
58707243bd Moved libprint from canon_lips folder to here
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:41:32 +00:00
Michael Pfeiffer
e2817cf10f Added shared folder to build process
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:39:53 +00:00
Michael Pfeiffer
7dda724a1d Use libprint header files in private header file folder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:38:35 +00:00
Michael Pfeiffer
cf85c4146d Moved libprint folder to ../shared
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:37:48 +00:00
Michael Pfeiffer
192de85b62 Moved files to ../shared/libprint
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:33:34 +00:00
Michael Pfeiffer
bfe3f8fdf3 Moved files into ../../shared/libprint/tools
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:31:40 +00:00
Michael Pfeiffer
54b60814b5 Moved header files to private/printer/libprint.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:29:43 +00:00
Michael Pfeiffer
9d16631b98 Use class PrintTransport to access transport add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:26:43 +00:00
Michael Pfeiffer
393fb10d6e Added class PrintTransport to simplify the usage of a print transport add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:19:16 +00:00
Michael Pfeiffer
3a35412852 Added copyright text
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:18:30 +00:00
Philippe Houdoin
d179491229 Comment out non-working file(s) package place path because of the space in
"PDF Writer" folder name...
To fix in the future.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 00:31:48 +00:00
Philippe Houdoin
81bf1b26a2 Not used anymore since we moved to text-based ressource files...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 21:57:19 +00:00
Philippe Houdoin
cecbb5fb07 Fix some warnings.
Prepare to package future PDF Writer print driver as OBOS package:
openbeos-pdf_writer-cvs...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 21:53:54 +00:00
Philippe Houdoin
4322a2b339 Was linking against BONE libbnetapi.so instead of R5 libnetapi.so...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 12:35:36 +00:00
mahlzeit
0e6141ba3b Simplified app_flags.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-22 17:41:02 +00:00
Philippe Houdoin
d220d2bb07 Remove the makefile, should not be check-in in the first place (bad * joker! ;-) )
Plus fix a warning about type mismatch...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-04 22:40:43 +00:00
Philippe Houdoin
6c5ac69ac2 Matching port type with stored attribut type.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-04 21:00:27 +00:00
Philippe Houdoin
fd17f6d4b5 Check-in a small print transport add-on for printers featuring an HP JetDirect port.
Like my all new HP deskjet 5850 ;-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-04 20:56:59 +00:00
Michael Pfeiffer
d50d38a519 Write PrinterSettings in Driver.cpp instead of Page/JobSetupWindow.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-04 20:55:09 +00:00
Michael Pfeiffer
3188e359dc Ouch, wrong actual parameter order! Allways save settings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-04 20:54:56 +00:00
Philippe Houdoin
3ae86e799a Fix printer spool path attribut name in the message we handle to transport add-on(s).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-04 13:57:46 +00:00
Philippe Houdoin
3c65e26e48 Fix the build of LPR and IPP print transport add-ons, which I've broken when moving
un-POSIX network headers files (ex: sys/socketvar.h) to private headers.
Still some warnings to fix, thought...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-29 18:07:26 +00:00
Michael Pfeiffer
c8ec7d9a9b Workaround for Dano/Zeta is required because it does not store all fields from the BMessage returned by config_job in the spool file, we add the missing fields that are stored in an attribute of the printer folder.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-27 18:22:46 +00:00
Philippe Houdoin
ab5385e386 Switching to .rdef resources.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-01 16:15:30 +00:00
Nathan Whitehorn
8f1f3e5386 Fixed PowerPC compilation... though still doesn't work with the Jamfile, owing to the need for a different C++ library (mslcpp_4_0).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-26 21:36:36 +00:00