public override void Print(CloudPrintJob job) { Dictionary <string, string> pjlattribs = new Dictionary <string, string> { { "LUNA", job.Username }, { "ACNA", job.JobTitle }, { "JOAU", UserIDMapper.GetUserId(job.Username) } }; base.Print(job, false, true, pjlattribs, null); }
public override bool UserCanPrint(string username) { return(UserIDMapper.GetUserId(username) != null); }