How to Get Started with Bonrix Cloud Printer

  1. 1.

    Download the App:

    Click the image below to download the Bonrix Cloud Printer app.
    Download Bonrix Cloud Printer
  2. 2.

    Install the App:

    Open the downloaded file and follow the on-screen instructions to install the app on your device.
  3. 3.

    Generate Device ID:

    Open the app, navigate to the section to generate your Device ID, and copy it.
  4. 4.

    Verify Device ID:

    Return to this website, paste or enter your Device ID in the verification input box, and click the Verify button.
  5. 5.

    Send Data to Cloud Printer:

    After successful verification, send your desired message, JSON, image, or XML to the cloud printer using the provided interface and click the Send to Printer button.

FOR SENDING MESSAGE

FOR IMAGE UPLOAD

FOR PDF UPLOAD

FOR JSON UPLOAD

FOR XML UPLOAD

Documentation

Snippet for Verification of ID

Success Response:
{
  "isresponse": true,
  "message": "success"
}
Format for Api Testing:
GET:
https://api.cloudprinting.bonrix.in/api/1.0/web/CloudDeviceFcm/printer/<device_id>
curl --location 'https://api.cloudprinting.bonrix.in/api/1.0/web/CloudDeviceFcm/printer/<device_id>'

Snippet for file upload

Success Response:
    {
      "isresponse": true,
      "message": "success",
      "data": {
        "fcmmessage": "success/0:1720502675974771%11a40d2f11a40d2f"
      }
    }

Text

Format for Sending by Text Api Testing:
    POST:
    https://api.cloudprinting.bonrix.in/api/1.0/web/CloudDeviceFcm/printer/test/text
    Body: 
    Msg : <message>
    DeviceId : <device_id>
    SendData : data
curl --location 'https://api.cloudprinting.bonrix.in/api/1.0/web/CloudDeviceFcm/printer/test/text' \
            --header 'Content-Type: application/json' \
            --data '{
                "DeviceId": <message>,
                "SendData": "data",
                "Msg": <message>
            }'

Image uploads

Format for Upload IMAGE Api Testing:
    POST:
    https://api.cloudprinting.bonrix.in/api/1.0/web/CloudDeviceFcm/printer/test/file
    Body: 
    <Form data in Postman>
    DeviceId : <device_id>
    File : <File>
curl --location 'https://api.cloudprinting.bonrix.in/api/1.0/web/CloudDeviceFcm/printer/test/file' \
            --form 'DeviceId=<device_id>' \
            --form 'File=@"/path/to/file"'

json uploads

Format for Upload json Api Testing:
    POST:
    https://api.cloudprinting.bonrix.in/api/1.0/web/CloudDeviceFcm/printer/test/json
    Body: 
    Msg : <message>
    DeviceId : <device_id>
    SendData : jsonData
curl --location 'https://api.cloudprinting.bonrix.in/api/1.0/web/CloudDeviceFcm/printer/test/json' \
            --header 'Content-Type: application/json' \
            --data '{
                "DeviceId": <device_id>,
                "SendData": "jsonData",
                "Msg": <message>
            }'

XML

Format for Sending by XML Api Testing:
  POST:
  https://api.cloudprinting.bonrix.in/api/1.0/web/CloudDeviceFcm/printer/test/xml
  Body: 
  Msg : <message>
  DeviceId : <device_id>
  SendData : xmlData
curl --location 'https://api.cloudprinting.bonrix.in/api/1.0/web/CloudDeviceFcm/printer/test/xml' \
          --header 'Content-Type: application/json' \
          --data '{
              "DeviceId": <message>,
              "SendData": "xmlData",
              "Msg": <message>
          }'