Topic Options
#37675 - 11/01/11 11:07 AM PJL ,LBR header
hassan allahham Offline
OL Newbie

Registered: 11/01/11
Posts: 1
Loc: UAE
I have a question about the print jobs ,

I need to capture the user name with each print job, which one of the following is possible and how?

1-put print job owner “username” in PJL header inside job data
2-put print job owner “username” in LPR header

3-put owner in job title in format: login.job_name or login:job_name or login/job_name or login\job_name or login_job_name;


appreciate your help,

Top
#37676 - 11/01/11 11:11 AM Re: PJL ,LBR header [Re: hassan allahham]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
Hassan,

When capturing from certain inputs, like the LPD Input or WinQueue Input, the name of the user is stored in the job info 1. After that, you can do whatever you want, and call %1 whenever you need to use the user name. So you could add some headers using the Add/Remove Text action and use %1 to call the value of the job info, and you can of course put some formatted text as well.

Hope that helps!

Regards,
Raphaël Lalonde Lefebvre

Top