LPRng Reference Manual: 5 Sep 2003 (For LPRng-3.8.22)
Prev | Chapter 21. Remote Logger Operation | Next

# 21.6. Job Status Messages - UPDATE

Update messages are used to report changes in the queue contents, such as job arrival.

        Decode: update=host=h4.private%0aidentifier=papowell@h4+676%0anumber=
         ...
        host=h4.private
        identifier=papowell@h4+676
        number=676
        printer=t1
        process=1677
        update_time=1999-03-23-20:51:17.197
        value=bnrname=papowell%0acf_esc_image=Apapowell@h4+676%250aCA%250aD1999-03-
          ...

This update message reports the arrival of a new job at the queue. The value field reports the control file contents:

        cf_esc_image=Apapowell@h4+676%0aCA%0aD1999-03-23-20:51:17.151%0aHh4.as
           tart.com%0aJ/tmp/hi%0aLpapowell%0aPpapowell%0aQt1%0aN/tmp/hi%0afdfA676h4.as
           tart.com%0aUdfA676h4.private%0a
        class=A
        date=1999-03-23-20:51:17.151
        file_hostname=h4.private
        fromhost=h4.private
        held=0x0
        hf_name=/var/tmp/LPD/t1/hfA676
        hold_class=0x0
        hold_time=0x0
        identifier=papowell@h4+676
        job_time=0x36f86f45
        jobname=/tmp/hi
        logname=papowell
        number=676
        priority=A
        queuename=t1
        size=3
        transfername=cfA676h4.private
        update_time=1999-03-23-20:51:17.187

The update_time field in the section above is the time that the job information was last updated. The cf_esc_image value is the URL escaped control file information.

Prev | Home | Next
LPD Messages | Up | Printer Status Messages - PRSTATUS