157 Commits

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