Search Engine: Elastic

Article ID: 112689, created on Nov 3, 2011, last review on May 11, 2014

  • Applies to:
  • Business Automation 5.1
  • Business Automation 5.0


The provider added the option --charset cp1251 to the PDF conversion command in PBA-E at Top > Communication Director > Notification Manager > PDF Conversion Settings, so the command looks this way:
/usr/bin/htmldoc -t pdf13 -f @@DstName@ --webpage --charset cp1251 @@SrcName@
After such changes, customers cannot download AR documents in their Control Panel; this error message appears when they click the Download PDF button:
Error on executing external command: /usr/bin/htmldoc -t pdf13 -f lrtmp/pdfCiUuKL.pdf --webpage --charset cp1251 lrtmp/pdfCiUuKL.html


There is no "cp1251" charset for the htmldoc utility; the correct name of the charset is cp-1251.


Set the correct charset for the htmldoc in the PDF conversion command in PBA-E so that it looks like this:
/usr/bin/htmldoc -t pdf13 -f @@DstName@ --webpage --charset cp-1251 @@SrcName@

dc47a2d05ec4d64fb099e4dab79ce579 198398b282069eaf2d94a6af87dcb3ff d863a37023d0fbc15b909ef836e29214 92711db0799e8aefe8e51f12dace0496 caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF