[cups.general] CUPS without raster filter

Michael R Sweet msweet at apple.com
Wed Sep 17 10:04:50 PDT 2008


shermin wrote:
> Hi,
> I am "not"printing from command line.

In that case, the file sent to CUPS will almost certainly be
PostScript, which is what most Linux/UNIX applications generate.

> ALso i include all those in ppd file in setpage device but while reading the rasterdata from filter i need to separate  the different color bits to send those to the printer.

The PPD file needs to specify the colorspace (cupsColorSpace),
depth (cupsBitsPerColor), organization (cupsColorOrder), and
resolution (HWResolution) you need for your device.  Once you have
the raster data, it is up to your filter/backend to convert it to a
form your printer can handle.

> 
> Shermin
> 
>> shermin wrote:
>>> Hi,
>>>
>>> 1)I am trying to print one .png or bmp file using my custom usb backend and in the error log it says
>>> Started filter /usr/lib/cups/filter/pstops (PID 31245)
>>> Started filter /usr/lib/cups/filter/pstoraster (PID 31246)
>>>
>>> But while printing bmp files or image file filter started should be imagetoraster right.But for me that is not showing.
>>>
>>> What could be the reason
>> Are you printing from the command-line or from an application?
>>
>>> I am trying to send the commands to the printer in my custom usb backend.
>>> 2)Also in my vendor specific card printer i need to sent color bits to my printer rather than sending the raster data by pixels as such.Is there any method to get color bits from cups raster data???
>> Of course, just include the appropriate setpagedevice commands in your
>> PPD to change the default cupsColorSpace, cupsBitsPerColor, and
>> cupsColorOrder to match what your backend needs.
>>
>> --
>> ______________________________________________________________________
>> Michael R Sweet                        Senior Printing System Engineer
>>
> 
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups


-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list