WebSphere brand IBM WebSphere Premises Server, Version 6.1.x

Print profile support

The print profile application program interface (API) supports outbound and inbound printing and provides abstract and concrete methods.

For information about the WebSphere® Premises Server Java™ API, refer to the WebSphere Premises Server API documentation.

For more information on predefined agents and their topics, refer to Predefined task agents.

Inbound printing

WebSphere Premises Server listens to the inbound print profile topics. Inbound message are processed by a message-driven bean (MDB) which updates the appropriate tables with the received information. The inbound print profile can update the status for a single tag or a print job.

The inbound API concrete method publishes a print job or tag status to these topics on the WebSphere Application Server SIBus.

Updating individual tag status
Topic name: ibmse/device_ID/RfidWrite/signal/labelprint/tag/status
Event process: Uses a MDB to send the updated status of a tag to the back-end database; updates the status column of SAGE.PRINTDATA.
Updating the print job status
Topic name: ibmse/device_ID/RfidWrite/signal/labelprint/job/status
Event process: Uses a MDB to send the updated status of a print job to the back-end database; updates the status column of SAGE.PRINTJOB.

You can also use a servlet to update the status of inbound print profile topics. The servlet can be accessed at the following URL, where Premises_Server is the host name or IP address of your WebSphere Premises Server: http://Premises_Server:9080/ibmse/eventpublish

See Configuration samples for print profile support for examples of the servlet URLs and XML for updating the print job or tag status.

Outbound printing

Print jobs submitted from Print, Verify, and Ship and bound to a printer device type (outbound print profile) publish to the following topics on the WebSphere Application Server service integration bus (SIBus). Printer vendors can use the abstract method to implement outbound printing and subscribe to these print topics using the API.

Printing a label
Topic name: ibmse/DeviceID/RfidWrite/command/labelprint/job/print
Event process: This topic accepts print requests submitted by Print, Verify, and Ship.
Canceling a print job
Topic name: ibmse/DeviceID/RfidWrite/command/labelprint/job/cancel
Event process: This topic cancels a submitted print job.
Reprinting a label
Topic name: ibmse/DeviceID/RfidWrite/command/labelprint/job/reprint
Event process: This topic reprints the label for a supplied tag URI if you request a reprint in Print, Verify, and Ship. The Print, Verify, and Ship reprint function accepts the tag URI and generates a new print job with one tag.

Library | Support | Terms of use

(c) Copyright IBM Corporation 2004, 2008. All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.