Operating System - HP-UX
1833903 Members
1866 Online
110063 Solutions
New Discussion

HP-UX - appending username within print document

 
William Blake
New Member

HP-UX - appending username within print document

Hi,

Using OptioDCS forms program on HP-UX 10.2. OptioDCS uses custom printer script. Script pulls print file from print queue /var/spool/lp/request/test and processes to print contents to a custom form.

OptioDCS uses a "worker" username to produce the form. Unfortunately, the original requester username is lost. I need to pickup orginal requester username for another form I'm working on.

Question: Is there an easy command that will combine the "c" (print header) and "d" (print content) files into the "d" file? The c header file contains the original username which I can map within OptioDCS and process.

Thanks in advance.
-Bill
1 REPLY 1
Bill McNAMARA_1
Honored Contributor

Re: HP-UX - appending username within print document

I think pr might be what you're looking for.

Later,
Bill
It works for me (tm)