Commit Graph

176 Commits

Author SHA1 Message Date
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