Loads the specified file and sends the content directly to the printer. The file bytes are not rendered in any way, they are sent to the printer for the printer to interpret. In this way, postscript can be sent directly to the printer or label printing commands.
This method is synchronous; it will not return until the file load and print is complete.
|url||(String) url of the file whose contents are to be sent to the printer. The url must be absolute but may refer to local (file://) resources.|
The following simple but complete example shows how to print a label stored on the web server to a Zebra printer. The sample asssumes that some process has run on the server to generate and store the required label.