Script Includes and Init
Include and initialize the Print Button Widget scripts on the page it will be instantiated.
Include the Print Button script
Include the following <script> tag using the partnerId issued to you to import the Print Button library onto your page.
<script src="https://api.infiniteobjects.com/print-button/{partnerId}/client.js"></script>
Endpoints
Environment
Endpoint
Initialize the widget with your API key
Include this script somewhere in your <head>
and pass in your API key.
<script>
window.ioPrintButton = window.ioPrintButton || [];
window.ioPrintButton.push(["apiKey", YOUR_IO_API_KEY]);
</script>
Last updated