Barcode Fields data not set properly

I created barcode field in Work Order Doctype for Print format creation. In Print view barcode was shown perfectly but PDF view that Barcode was not shown.

After that i check field value in database it shown 2 ways like below screenshot:
i was query 2 document first one show svg format and second query will show data format.

Below PDF View One document was showing Barcode another was not shown in PDF View.