Hi,
Thanks for your prompt reply.
Yes I am aware that the PDF is supposed to have 2 pages with the month view scales as is.
The problem is that the second page where 4th-6th February are included, is not being exported to the file.
This is the XML being generated:
<pages profile='gray'><page><scale mode='month' today='January 2013'><x>
<column><![CDATA[Monday]]></column>
<column><![CDATA[Tuesday]]></column>
<column><![CDATA[Wednesday]]></column>
<column><![CDATA[Thursday]]></column>
<column><![CDATA[Friday]]></column>
<column><![CDATA[Saturday]]></column>
<column><![CDATA[Sunday]]></column></x>
<row height='118'><![CDATA[31|01|02|03|04|05|06]]></row>
<row height='118'><![CDATA[07|08|09|10|11|12|13]]></row>
<row height='118'><![CDATA[14|15|16|17|18|19|20]]></row>
<row height='190'><![CDATA[21|22|23|24|25|26|27]]></row>
<row height='214'><![CDATA[28|29|30|31|01|02|03]]></row></scale>
<event week='3' day='5' type='event_clear' x='501.64835164835165' y='236' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE3410]]></body></event>
<event week='3' day='5' type='event_clear' x='501.64835164835165' y='260' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE5200]]></body></event>
<event week='3' day='5' type='event_clear' x='501.64835164835165' y='284' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CPS1000]]></body></event>
<event week='3' day='5' type='event_clear' x='501.64835164835165' y='308' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CSA3212]]></body></event>
<event week='4' day='0' type='event_clear' x='0' y='354' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE3013]]></body></event>
<event week='4' day='0' type='event_clear' x='0' y='378' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 MNE5201]]></body></event>
<event week='4' day='0' type='event_clear' x='0' y='402' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 13:00 ICS2206]]></body></event>
<event week='4' day='0' type='event_clear' x='0' y='426' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS1102]]></body></event>
<event week='4' day='1' type='event_clear' x='100' y='354' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE5301]]></body></event>
<event week='4' day='1' type='event_clear' x='100' y='378' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS2102]]></body></event>
<event week='4' day='1' type='event_clear' x='100' y='402' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 13:00 CPS5104]]></body></event>
<event week='4' day='1' type='event_clear' x='100' y='426' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 13:00 MNE3105]]></body></event>
<event week='4' day='1' type='event_clear' x='100' y='450' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS1001]]></body></event>
<event week='4' day='1' type='event_clear' x='100' y='474' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS5100]]></body></event>
<event week='4' day='2' type='event_clear' x='200' y='354' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS2060]]></body></event>
<event week='4' day='2' type='event_clear' x='200' y='378' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CSA3220]]></body></event>
<event week='4' day='2' type='event_clear' x='200' y='402' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 ICS2230]]></body></event>
<event week='4' day='2' type='event_clear' x='200' y='426' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS3086]]></body></event>
<event week='4' day='3' type='event_clear' x='300.54945054945057' y='354' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CPS2005]]></body></event>
<event week='4' day='3' type='event_clear' x='300.54945054945057' y='378' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CCE5103]]></body></event>
<event week='4' day='3' type='event_clear' x='300.54945054945057' y='402' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS3084]]></body></event>
<event week='4' day='4' type='event_clear' x='401.0989010989011' y='354' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE2111]]></body></event>
<event week='4' day='4' type='event_clear' x='401.0989010989011' y='378' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS3082]]></body></event>
<event week='4' day='4' type='event_clear' x='401.0989010989011' y='402' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 MNE1302]]></body></event>
<event week='4' day='4' type='event_clear' x='401.0989010989011' y='426' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CCE1210]]></body></event>
<event week='4' day='4' type='event_clear' x='401.0989010989011' y='450' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CCE3310]]></body></event>
<event week='4' day='4' type='event_clear' x='401.0989010989011' y='474' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS3052]]></body></event>
<event week='4' day='4' type='event_clear' x='401.0989010989011' y='498' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS5101]]></body></event>
<event week='4' day='5' type='event_clear' x='501.64835164835165' y='354' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS1106]]></body></event>
<event week='4' day='5' type='event_clear' x='501.64835164835165' y='378' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS2101]]></body></event>
<event week='4' day='5' type='event_clear' x='501.64835164835165' y='402' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 ICS2205]]></body></event>
<event week='4' day='5' type='event_clear' x='501.64835164835165' y='426' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 MNE3205]]></body></event>
<event week='4' day='5' type='event_clear' x='501.64835164835165' y='450' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 MNE3502]]></body></event>
<event week='5' day='0' type='event_clear' x='0' y='544' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 13:00 CCE2413]]></body></event>
<event week='5' day='0' type='event_clear' x='0' y='568' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 13:00 MNE3304]]></body></event>
<event week='5' day='0' type='event_clear' x='0' y='592' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 13:00 MNE5001]]></body></event>
<event week='5' day='0' type='event_clear' x='0' y='616' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS2052]]></body></event>
<event week='5' day='0' type='event_clear' x='0' y='640' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CSA3220]]></body></event>
<event week='5' day='0' type='event_clear' x='0' y='664' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 MNE3302]]></body></event>
<event week='5' day='1' type='event_clear' x='100' y='544' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS2061]]></body></event>
<event week='5' day='1' type='event_clear' x='100' y='568' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS2106]]></body></event>
<event week='5' day='1' type='event_clear' x='100' y='592' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS5102]]></body></event>
<event week='5' day='1' type='event_clear' x='100' y='616' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CCE2013]]></body></event>
<event week='5' day='1' type='event_clear' x='100' y='640' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CSA1017]]></body></event>
<event week='5' day='1' type='event_clear' x='100' y='664' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 ICS2211]]></body></event>
<event week='5' day='2' type='event_clear' x='200' y='544' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS3081]]></body></event>
<event week='5' day='2' type='event_clear' x='200' y='568' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CPS1002]]></body></event>
<event week='5' day='2' type='event_clear' x='200' y='592' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS1023]]></body></event>
<event week='5' day='2' type='event_clear' x='200' y='616' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CSA3221]]></body></event>
<event week='5' day='3' type='event_clear' x='300.54945054945057' y='544' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE3010]]></body></event>
<event week='5' day='3' type='event_clear' x='300.54945054945057' y='568' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE5102]]></body></event>
<event week='5' day='3' type='event_clear' x='300.54945054945057' y='592' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CCE1012]]></body></event>
<event week='5' day='3' type='event_clear' x='300.54945054945057' y='616' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS1021]]></body></event>
<event week='5' day='3' type='event_clear' x='300.54945054945057' y='640' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS5800]]></body></event>
<event week='5' day='3' type='event_clear' x='300.54945054945057' y='664' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CPS2001]]></body></event>
<event week='5' day='4' type='event_clear' x='401.0989010989011' y='544' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE1011]]></body></event>
<event week='5' day='4' type='event_clear' x='401.0989010989011' y='568' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE2015]]></body></event>
<event week='5' day='4' type='event_clear' x='401.0989010989011' y='592' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS1024]]></body></event>
<event week='5' day='4' type='event_clear' x='401.0989010989011' y='616' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS3087]]></body></event>
<event week='5' day='4' type='event_clear' x='401.0989010989011' y='640' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 13:00 CIS2103]]></body></event>
<event week='5' day='4' type='event_clear' x='401.0989010989011' y='664' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 13:00 MNE5102]]></body></event>
<event week='5' day='4' type='event_clear' x='401.0989010989011' y='688' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CCE2310]]></body></event>
<event week='5' day='4' type='event_clear' x='401.0989010989011' y='712' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CPS3222]]></body></event></page></pages> dhtmlxscheduler_pdf.js:338
[Sat Jan 19 2013 00:00:00 GMT+0100 (W. Europe Standard Time), Wed Feb 06 2013 00:00:00 GMT+0100 (W. Europe Standard Time), "month", "http://localhost:8080/scheduler-pdf/generate", "gray"]
dhtmlxscheduler_pdf.js:350
<pages profile='gray'><page><scale mode='month' today='January 2013'><x>
<column><![CDATA[Monday]]></column>
<column><![CDATA[Tuesday]]></column>
<column><![CDATA[Wednesday]]></column>
<column><![CDATA[Thursday]]></column>
<column><![CDATA[Friday]]></column>
<column><![CDATA[Saturday]]></column>
<column><![CDATA[Sunday]]></column></x>
<row height='46'><![CDATA[31|01|02|03|04|05|06]]></row>
<row height='46'><![CDATA[07|08|09|10|11|12|13]]></row>
<row height='118'><![CDATA[14|15|16|17|18|19|20]]></row>
<row height='190'><![CDATA[21|22|23|24|25|26|27]]></row>
<row height='214'><![CDATA[28|29|30|31|01|02|03]]></row></scale>
<event week='3' day='5' type='event_clear' x='501.64835164835165' y='92' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE3410]]></body></event>
<event week='3' day='5' type='event_clear' x='501.64835164835165' y='116' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE5200]]></body></event>
<event week='3' day='5' type='event_clear' x='501.64835164835165' y='140' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CPS1000]]></body></event>
<event week='3' day='5' type='event_clear' x='501.64835164835165' y='164' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CSA3212]]></body></event>
<event week='4' day='0' type='event_clear' x='0' y='210' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE3013]]></body></event>
<event week='4' day='0' type='event_clear' x='0' y='234' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 MNE5201]]></body></event>
<event week='4' day='0' type='event_clear' x='0' y='258' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 13:00 ICS2206]]></body></event>
<event week='4' day='0' type='event_clear' x='0' y='282' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS1102]]></body></event>
<event week='4' day='1' type='event_clear' x='100' y='210' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE5301]]></body></event>
<event week='4' day='1' type='event_clear' x='100' y='234' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS2102]]></body></event>
<event week='4' day='1' type='event_clear' x='100' y='258' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 13:00 CPS5104]]></body></event>
<event week='4' day='1' type='event_clear' x='100' y='282' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 13:00 MNE3105]]></body></event>
<event week='4' day='1' type='event_clear' x='100' y='306' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS1001]]></body></event>
<event week='4' day='1' type='event_clear' x='100' y='330' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS5100]]></body></event>
<event week='4' day='2' type='event_clear' x='200' y='210' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS2060]]></body></event>
<event week='4' day='2' type='event_clear' x='200' y='234' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CSA3220]]></body></event>
<event week='4' day='2' type='event_clear' x='200' y='258' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 ICS2230]]></body></event>
<event week='4' day='2' type='event_clear' x='200' y='282' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS3086]]></body></event>
<event week='4' day='3' type='event_clear' x='300.54945054945057' y='210' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CPS2005]]></body></event>
<event week='4' day='3' type='event_clear' x='300.54945054945057' y='234' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CCE5103]]></body></event>
<event week='4' day='3' type='event_clear' x='300.54945054945057' y='258' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS3084]]></body></event>
<event week='4' day='4' type='event_clear' x='401.0989010989011' y='210' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE2111]]></body></event>
<event week='4' day='4' type='event_clear' x='401.0989010989011' y='234' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS3082]]></body></event>
<event week='4' day='4' type='event_clear' x='401.0989010989011' y='258' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 MNE1302]]></body></event>
<event week='4' day='4' type='event_clear' x='401.0989010989011' y='282' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CCE1210]]></body></event>
<event week='4' day='4' type='event_clear' x='401.0989010989011' y='306' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CCE3310]]></body></event>
<event week='4' day='4' type='event_clear' x='401.0989010989011' y='330' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS3052]]></body></event>
<event week='4' day='4' type='event_clear' x='401.0989010989011' y='354' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS5101]]></body></event>
<event week='4' day='5' type='event_clear' x='501.64835164835165' y='210' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS1106]]></body></event>
<event week='4' day='5' type='event_clear' x='501.64835164835165' y='234' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS2101]]></body></event>
<event week='4' day='5' type='event_clear' x='501.64835164835165' y='258' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 ICS2205]]></body></event>
<event week='4' day='5' type='event_clear' x='501.64835164835165' y='282' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 MNE3205]]></body></event>
<event week='4' day='5' type='event_clear' x='501.64835164835165' y='306' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 MNE3502]]></body></event>
<event week='5' day='0' type='event_clear' x='0' y='400' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 13:00 CCE2413]]></body></event>
<event week='5' day='0' type='event_clear' x='0' y='424' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 13:00 MNE3304]]></body></event>
<event week='5' day='0' type='event_clear' x='0' y='448' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 13:00 MNE5001]]></body></event>
<event week='5' day='0' type='event_clear' x='0' y='472' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS2052]]></body></event>
<event week='5' day='0' type='event_clear' x='0' y='496' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CSA3220]]></body></event>
<event week='5' day='0' type='event_clear' x='0' y='520' width='90.75824175824175' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 MNE3302]]></body></event>
<event week='5' day='1' type='event_clear' x='100' y='400' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS2061]]></body></event>
<event week='5' day='1' type='event_clear' x='100' y='424' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS2106]]></body></event>
<event week='5' day='1' type='event_clear' x='100' y='448' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS5102]]></body></event>
<event week='5' day='1' type='event_clear' x='100' y='472' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CCE2013]]></body></event>
<event week='5' day='1' type='event_clear' x='100' y='496' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CSA1017]]></body></event>
<event week='5' day='1' type='event_clear' x='100' y='520' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 ICS2211]]></body></event>
<event week='5' day='2' type='event_clear' x='200' y='400' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS3081]]></body></event>
<event week='5' day='2' type='event_clear' x='200' y='424' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CPS1002]]></body></event>
<event week='5' day='2' type='event_clear' x='200' y='448' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS1023]]></body></event>
<event week='5' day='2' type='event_clear' x='200' y='472' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CSA3221]]></body></event>
<event week='5' day='3' type='event_clear' x='300.54945054945057' y='400' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE3010]]></body></event>
<event week='5' day='3' type='event_clear' x='300.54945054945057' y='424' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE5102]]></body></event>
<event week='5' day='3' type='event_clear' x='300.54945054945057' y='448' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CCE1012]]></body></event>
<event week='5' day='3' type='event_clear' x='300.54945054945057' y='472' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS1021]]></body></event>
<event week='5' day='3' type='event_clear' x='300.54945054945057' y='496' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CIS5800]]></body></event>
<event week='5' day='3' type='event_clear' x='300.54945054945057' y='520' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CPS2001]]></body></event>
<event week='5' day='4' type='event_clear' x='401.0989010989011' y='400' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE1011]]></body></event>
<event week='5' day='4' type='event_clear' x='401.0989010989011' y='424' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CCE2015]]></body></event>
<event week='5' day='4' type='event_clear' x='401.0989010989011' y='448' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS1024]]></body></event>
<event week='5' day='4' type='event_clear' x='401.0989010989011' y='472' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 09:00 CIS3087]]></body></event>
<event week='5' day='4' type='event_clear' x='401.0989010989011' y='496' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 13:00 CIS2103]]></body></event>
<event week='5' day='4' type='event_clear' x='401.0989010989011' y='520' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 13:00 MNE5102]]></body></event>
<event week='5' day='4' type='event_clear' x='401.0989010989011' y='544' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CCE2310]]></body></event>
<event week='5' day='4' type='event_clear' x='401.0989010989011' y='568' width='91.3076923076923' height='13' len='1'><body backgroundColor='' color=''><![CDATA[• 17:00 CPS3222]]></body></event></page></pages>
Please note that I didn’t have a send_xml(xml, url) method in the dhtmlxscheduler_pdf.js. This is the to_pdf(…) method available in my version:
[code]function to_pdf(start, end, view, url, mode, header, footer) {
var colors = false;
if (mode == “fullcolor”) {
colors = true;
mode = “color”;
}
mode = mode || "color";
html_regexp = new RegExp("<[^>]*>", "g");
newline_regexp = new RegExp("<br[^>]*>", "g");
var uid = scheduler.uid();
var d = document.createElement("div");
d.style.display = "none";
document.body.appendChild(d);
d.innerHTML = '<form id="' + uid + '" method="post" target="_blank" action="' + url + '" accept-charset="utf-8" enctype="application/x-www-form-urlencoded"><input type="hidden" name="mycoolxmlbody"/> </form>';
var xml = "";
if (start) {
var original_date = scheduler._date;
var original_mode = scheduler._mode;
xml = xml_top("pages", mode, header, footer);
for (var temp_date = new Date(start); +temp_date < +end; temp_date = scheduler.date.add(temp_date, 1, view)) {
scheduler.setCurrentView(temp_date, view);
xml += xml_start("page") + xml_body_header().replace("\u2013", "-") + xml_body(colors) + xml_end("page");
}
xml += xml_end("pages");
scheduler.setCurrentView(original_date, original_mode);
} else {
xml = xml_top("data", mode, header, footer) + xml_body_header().replace("\u2013", "-") + xml_body(colors) + xml_end("data");
}
document.getElementById(uid).firstChild.value = encodeURIComponent(xml);
document.getElementById(uid).submit();
d.parentNode.removeChild(d);
console.log(xml);
}[/code]
Thanks for your help and please do contact me if you need any more details