Installation Manual

Table Of Contents
Bodno Manual214
© 2018 Bodno
Appendix B.2.2 - Print XML Structure
With the Web Print Server configured and ready to recieve print jobs the
last step to print using this service is sending a print job to the server.
The transmission of print jobs to the web print server will be handled by a user
developed application (see sample application files in Appendix B.2.4 - Sample
Files for the Web Print Server
The print job data must be sent to the Web Print Server in an XML structured
document. A complete XML sample is available for visualization in Appendix
B.2.3 - Web Print Job XML Sample.
The XML strucure of a print job requires the following elements:
The Bodno element specifies the beginning of a Bodno Web Print Server
document. It must always contain a login element and a cardDocument
element.
The login element contains the user name and password elements. Each
specific to the user configuration in the Bodno Web Print Server application.
These elements are mandatory.
The cardDocument element contains properties and elements with the data
specific to the print job.
The cardDocument element contains three attributes:
The filename attribute specifies the name of the .card document file to be used
in the print job.
The printer atribute specifies the printer to be used in the print job.
The printerType attribute specifies the printer group to which the printer
belongs. (not available yet)
Note: There can be multiple cardDocument elements with different attributes
and elements for the handling of multiple files and printers.
Within the cardDocument element we can specify the data to send to each
item in the .card document design by using item elements.
Besides the value to be sent to the item, each item element contains an id
property and a type property.
The id property is used to specify the item in the card design to which we want
to send the data (read more in chapter 4.4.1 - Item).
The Item IDs sent to the Web Print Job must match the IDs of the items on the
.card document file that is to be printed.
The type property specifies if the item we are trying to send data to is a text
item or an image.