data from stdin to filters.

Michael Sweet msweet at apple.com
Tue Nov 10 22:07:26 PST 2009


On Nov 10, 2009, at 9:25 PM, sateesh wrote:
> Hi,
>
> In the filter rastertolabel argv[6] is NULL, it mean that print data  
> is coming from the stdin. But the actual print data is stored in a  
> d000xxx file in spool directory. filters are not getting the path to  
> this spool file in argv[6].
>
> Can anyone tell me the print data flow from scheduler to filters,  
> filters to backend. Is the print data is sent to filters through the  
> argv[6] argument or through the stdin.
>
> In my case filters used are pstops -> pstoraster -> rastertolabel.


Please read the documentation included with CUPS. The current  
documentation is here:

     http://www.cups.org/documentation.php

In short, the first filter gets the print filename in argv[6], and  
every filter the follows MUST read from stdin and DOES NOT get the  
print filename in argv[6].

___________________________________________________
Michael Sweet, Senior Printing System Engineer







More information about the cups mailing list