isuede

printTask, result Image have boken character.

Discussion created by isuede on Nov 22, 2012
[ATTACH=CONFIG]19487[/ATTACH]

printTask result Image have boken character.

see my attachment image.

left - bottom : "11 ? 23, 2012"  maybe  day, month, year

how can i fix that?


i use print task with follow code.

function print() {

    esri.show(m_loading);

    var printTemplate = new esri.tasks.PrintTemplate();
    printTemplate.exportOptions = {
        width: 1024,
        height: 768,
        dpi: 96
    };
    printTemplate.format = "png32";
    printTemplate.layout = "A4 Landscape";
    printTemplate.preserveScale = false;

    var printParams = new esri.tasks.PrintParameters();
    printParams.map = m_map;
    printParams.outSpatialReference = m_map.spatialReference;
    printParams.template = printTemplate;

    m_printTask.execute(printParams, function (result) {
        window.open(result.url);
        esri.hide(m_loading);
    }, function (error) {
        alert("error : " + error.message);
        esri.hide(m_loading);
    });
}

<!-- locale Korean -->
<script type="text/javascript">
    var djConfig = {
        locale: 'ko',
        parseOnLoad: true
    };
</script>

Attachments

Outcomes