[cups.general] "Test Page "printing
Michael R Sweet
msweet at apple.com
Mon Aug 18 08:06:23 PDT 2008
shermin wrote:
> Hi,
> When i click "Print Test page",cups is calling the print_device() in backend.In that function there is one argument, file descriptor print_fd.From where this value is loading in to that function.?
It comes from main(), which will pass either 0 (stdin) or the file
descriptor for the file on the command-line (in current CUPS the next
free file descriptor is usually 5, but NEVER depend on a specific
number, use the one you are given!)
--
______________________________________________________________________
Michael R Sweet Senior Printing System Engineer
More information about the cups
mailing list