Fw: Re: Google Summer of Code 2008 - joined openprinting+wine project?
htl10 at users.sourceforge.net
Thu Mar 27 15:39:23 CDT 2008
Thanks for the info... I have updated the linux foundation GSOC page with some of my ideas.
Naively, I think it is almost scriptable - get cups to dump the input as temp postscript, use wine to run win32 ghostscript (which works quite well in wine,
my first-hand experience) to render through GDI and if the printer proxy can receive
the data that way, let wine send the data out through lpX, libusb or the network... just a thought, and maybe a pipe dream :-). This is slow, but maybe viable?
I have a fair amount of mingw-cross experience, and lately rather into wine.
--- On Wed, 26/3/08, Marcel Partap <mpartap at gmx.net> wrote:
> From: Marcel Partap <mpartap at gmx.net>
> Subject: Re: Fw: Re: Google Summer of Code 2008 - joined openprinting+wine project?
> To: htl10 at users.sourceforge.net
> Cc: wine-devel at winehq.org, "Till Kamppeter" <till.kamppeter at gmail.com>
> Date: Wednesday, 26 March, 2008, 11:23 PM
> Hi Hin-Tak,
> to sum it up, I was the one working on that project and I
> hit some ehh.. problems ;)
> Anyways, my final result was that I got something out of
> the printer drivers I tried with, but
> useful results depended on something that is referred to as
> the ominous 'DIB engine'. Coincidently,
> there was another SoC project done by Jesse Allen which
> started implementing that. That code ended
> up at http://repo.or.cz/w/wine/dibdrv.git, and just as
> mine, general+AJ's consensus was to start
> merging it post-1.0. Now I didn't have time to look
> again at it up to now (uni!) but I still want to
> finish this, just not as part of a SoC project. Also I
> wouldn't recommend that to anyone, except he
> REEEAAALLY does grok all those mysterious inner-GDI
> concepts (DIB DDB DDI...) that this project
> touches. I myself have not fully reached insight of how
> best to merge the current winex11drv,
> wined3d and Jesse's dib engine, but I'll have a
> thorough look at it in the next few days. Another
> unsolved issue is whether to teach wine's internal GDI
> functions to speak DDI or rather to build a
> wineddi.drv bridge thing. I tried both approaches but there
> was no clear decision whether to use one
> or the other, with Alexandre's stance being 'once
> something actually works we can talk about that'.
> Also my code to make printer drivers work depends on some
> stuff within the localspooler code, I have
> to investigate how far Detlef got it to work regarding
> installation of drivers.
> Oh yeah and that printer proxy was only a DLL to see how
> native windows communicates with the
> drivers without getting into disassembling stuff.. the
> results scared me, astonishing levels of
> redundancy.. Anyways, even though all the bits and pieces
> of how to make native drivers actually
> work with wine are lying around, this is neither a fun nor
> a beginner's task (I know that now *g).
> That said, I'm going to look into it and hope to come
> up with something in the next few days.
> regards marcel.
> Hin-Tak Leung wrote:
> > Hi, anybody on wine-devel want to take this on and
> make this more concrete?
> > --- On Wed, 26/3/08, Till Kamppeter
> <till.kamppeter at gmail.com> wrote:
> >> From: Till Kamppeter
> <till.kamppeter at gmail.com>
> >> Subject: Re: Google Summer of Code 2008 - Some
> general instructions for reviewing the student's
> >> To: "Hin-Tak Leung"
> <hintak_leung at yahoo.co.uk>
> >> Cc: "Casey Schaufler"
> <casey at schaufler-ca.com>, "'Glen
> Petrie'" <glen.petrie at eitc.epson.com>,
> "Rik van Riel" <riel at redhat.com>,
> "Jeff Licquia" <licquia at debian.org>,
> "Jon Masters" <jonmasters at gmail.com>,
> "Jonathan Riddell" <jriddell at ubuntu.com>,
> "Josef Spillner" <spillner at kde.org>,
> Matt_Domsch at dell.com, "Pekka Enberg"
> <penberg at cs.helsinki.fi>
> >> Date: Wednesday, 26 March, 2008, 4:34 PM
> >> Hin-Tak Leung wrote:
> >>> Hi Till and the rest of the gang.
> >>> Two people had got in touch with with about
> >> IJS+PDF workflow, and I replied.
> >>> (sorry I don't check the "other"
> >> often - I probably should set up re-direction).
> >> Great!
> >>> I thought I should also mentioned that it has
> >> came to my attention in some unrelated discussion
> >> wine-devel - been doing some non-printing
> >> stuff lately - that there *was* a google summer of
> >> 2007 project for a
> >>> wine-based native printer driver proxy - this
> is the
> >> sort of thing I have had in mind
> >>> for a while and I thought it would be
> interesting to
> >> do but I don't have in-depth
> >>> windows knowledge to make it happen, but the
> >> people already did!
> >>> I just downloaded the gsoc 2007 printerproxy
> code. It
> >> seems that it is just for use
> >>> from within wine, but it just might be
> interesting to
> >> make it more general - via opvp
> >>> or IJS. We should follow up on this.
> >> If this project still requires coding, it is not
> too late
> >> to add it as
> >> project idea to the ideas pages of both the Linux
> >> Foundation and WINE
> >> (having it presented at two mentoring
> organizations raises
> >> the chances
> >> to find a student).
> >> Our ideas page is a Wiki and you can simply edit
> >> Till
> > Sent from Yahoo! Mail.
> > More Ways to Keep in Touch.
> <div id="signature">
> "Obstacles are those frightful things you see when
> you take your eyes off your goal."
> -- Henry Ford (1863-1947)
> Change the world! Vote revolution:
Sent from Yahoo! Mail.
More Ways to Keep in Touch. http://uk.docs.yahoo.com/nowyoucan.html
More information about the wine-devel