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 <[EMAIL PROTECTED]> wrote: > From: Marcel Partap <[EMAIL PROTECTED]> > Subject: Re: Fw: Re: Google Summer of Code 2008 - joined openprinting+wine > project? > To: [EMAIL PROTECTED] > Cc: [email protected], "Till Kamppeter" <[EMAIL PROTECTED]> > 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 > <[EMAIL PROTECTED]> wrote: > > > >> From: Till Kamppeter > <[EMAIL PROTECTED]> > >> Subject: Re: Google Summer of Code 2008 - Some > general instructions for reviewing the student's > applications > >> To: "Hin-Tak Leung" > <[EMAIL PROTECTED]> > >> Cc: "Casey Schaufler" > <[EMAIL PROTECTED]>, "'Glen > Petrie'" <[EMAIL PROTECTED]>, > "Rik van Riel" <[EMAIL PROTECTED]>, > "Jeff Licquia" <[EMAIL PROTECTED]>, > "Jon Masters" <[EMAIL PROTECTED]>, > "Jonathan Riddell" <[EMAIL PROTECTED]>, > "Josef Spillner" <[EMAIL PROTECTED]>, > [EMAIL PROTECTED], "Pekka Enberg" > <[EMAIL PROTECTED]> > >> 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 > the > >> IJS+PDF workflow, and I replied. > >>> (sorry I don't check the "other" > e-mail > >> often - I probably should set up re-direction). > >> Great! > >> > >>> I thought I should also mentioned that it has > just > >> came to my attention in some unrelated discussion > on > >> wine-devel - been doing some non-printing > wine-related > >> stuff lately - that there *was* a google summer of > code > >> 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 > wine > >> people already did! > >>> > http://google-summer-of-code-2007-wine.googlecode.com/ > >>> > >>> 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 > it: > >> > >> > https://www.linux-foundation.org/en/Google_Summer_of_Code > >> > >> Till > > > > > > > __________________________________________________________ > > Sent from Yahoo! Mail. > > More Ways to Keep in Touch. > http://uk.docs.yahoo.com/nowyoucan.html > > > > > -- > <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: > http://hfopi.org/vote-future > </div> __________________________________________________________ Sent from Yahoo! Mail. More Ways to Keep in Touch. http://uk.docs.yahoo.com/nowyoucan.html
