Lines Matching defs:job
39 // Notify print_server that there is a job file waiting for printing
41 SpoolFolder::Notify(Job* job, int kind)
44 && job->IsValid() && job->IsWaiting()) {
382 Job* job = fPrinter.JobAt(i);
383 if (job->Status() == kProcessing)
384 job->SetStatus(kWaiting);
394 // Try to read the printer name from job file.
418 // Try to move job to another printer folder.
436 // try to move job file to proper directory
444 // Looks if there is a job waiting to be processed and moves
453 // true if there is a job present in fJob.
465 // job in wrong printer folder moved to apropriate one
469 // job found
511 // job - the spool job.
514 Printer::PrintThread(Job* job)
524 BEntry entry(&job->EntryRef());
529 // Tell the printer to print the spooled job
532 job->Remove(); failed = false;
535 // Set status of spooled job on error
537 job->SetStatus(kFailed);
539 job->Release();
542 // Notify print_server to process next spooled job
550 // Print thread entry, calls PrintThread with spool job.
553 // data - spool job.
561 Job* job = static_cast<Job*>(data);
562 job->GetPrinter()->PrintThread(job);
570 // Sets the status of the current spool job to "processing" and