Font missing with Crystal Reports generated PDF -


i have crystal report 8.5 file, need export pdf.

that report contains field need represent bar code. achieve use truetype font.

  • if open generated pdf file on machine see bar code.
  • but if open machine doesn't have font installed, see numbers.

how can assure codebar visible on pdf if computer doesn't have font installed?

if not want include font, can generate image , call via http.

the barcode below generated using online barcode generator courtesy of wasp: http://www.waspbarcode.com/services/waspbarcode/barcodegen.ashx?symbology=code128&code=font_missing_31301980

wasp font_missing_31301980

steps report:

  1. create blank jpg using ms paint. resize without aspect ratio checked on.
  2. insert image placer holder such 50x323 png crystal report
  3. right-click on graphic , select format graphic...

format graphic...

  1. click on picture tab, click on formula, enter formula

format editor, picture tab

  1. create formula url above. want retrieve barcode data database , concatenate prefix , barcode field together:

"http://www.waspbarcode.com/services/waspbarcode/barcodegen.ashx?symbology=code128&code=" + {table.barcode_field}

report result

take care use own online barcode generator. wasp service may not work if people starting abusing service , generate many barcodes reports.

you can generate code 3 of 9 barcodes using html only, haven't tried in crystal report formula yet.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -