Commit Graph

188 Commits

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