Some question about function StartPage() in Rastertohp.c

Zhang xin anonymous at easysw.com
Wed Nov 16 18:03:09 PST 2005


> Yes, that should work.  CUPS will figure out the best filter(s) to
> run in front of yours and then provide you with raster data as
> defined in your PPD file.

> GDI or host-based printers are generally undocumented.  You may find
> information on linuxprinting.org for specific models, however the
> printer manufacturer is your best source of information (good luck!)

Sorry to reply you so lately,and in these days we try our best to find some resources about GDI printer,it's so hardly that we have make no progress on it:(but thanks for your help mostly.we will go on our trip,although there so many difficulties.

and we now have some questions on the code in Rastettohp.c from line 389 to line 406. in line 398:
    BitBuffer = malloc(ColorBits * ((header->cupsWidth + 7) / 8));
we wondered why ColorBits have relations weith cupsWidth ? what's the meaning of cupsWidth?
thanks alot




More information about the cups-devel mailing list