Export to PDF

Hi, I need some help in scheduler export to pdf in java. I checked the above link 'http://dhtmlx.com/x/download/rfor java documentation. I called that servlet and so on… and when i press the print button, it is generating the pdf. But pdf is not having the desired data, which is showing in my scheduler.

import java.io.IOException;
import java.net.URLDecoder;
import javax.servlet.http.*;

import com.dhtmlx.scheduler.PDFWriter;

@SuppressWarnings(“serial”)
public class PDFGenerator extends HttpServlet {
public void doPost(HttpServletRequest req, HttpServletResponse resp)
throws IOException {
String xml;
xml = req.getParameter(“mycoolxmlbody”);
xml = URLDecoder.decode(xml, “UTF-8”);
PDFWriter pdf = new PDFWriter();
pdf.generate(xml, resp);
}
}

  • try to use online version, does it work ?
    ( use the next export url - http//dhtmlxscheduler.appspot.com/export/pdf )

Thank you Stanislav for your reply,

My pdf generated in both cases are the same. Actually what we did is we customized our event box to fit our needs, to display customer name and some description as shown in the attached image. We want to display our custom content in the pdf file as well. Please see both attached images for review.



PDF export doesn’t support custom html formatting in both event and scales. During export only raw text values are used.

Hi,

I have a Calendar application, I have an export button in the scheduler that exports Timeline view into pdf. I used the updated export files, but the problem is if the pdf has second page the first row of the following page is not fully shown (image1.jpg) . I used MultiCell to show the full details of the event, and change the timelineEventHeight to 17.


Please enable debug mode and provide the debug xml file.

docs.dhtmlx.com/scheduler/pdf.ht … rreporting

Hi,

Below is the xml file generated in the debug mode.

%3Cdata%20profile%3D’color’%3E%3Cscale%20mode%3D’timeline’%20today%3D’10%20Jan%202014%20-%2016%20Jan%202014’%3E%3Cx%3E%0A%3Ccolumn%3E%3C!%5BCDATA%5B10%20Jan%2C%20Fri%5D%5D%3E%3C%2Fcolumn%3E%0A%3Ccolumn%3E%3C!%5BCDATA%5B11%20Jan%2C%20Sat%5D%5D%3E%3C%2Fcolumn%3E%0A%3Ccolumn%3E%3C!%5BCDATA%5B12%20Jan%2C%20Sun%5D%5D%3E%3C%2Fcolumn%3E%0A%3Ccolumn%3E%3C!%5BCDATA%5B13%20Jan%2C%20Mon%5D%5D%3E%3C%2Fcolumn%3E%0A%3Ccolumn%3E%3C!%5BCDATA%5B14%20Jan%2C%20Tue%5D%5D%3E%3C%2Fcolumn%3E%0A%3Ccolumn%3E%3C!%5BCDATA%5B15%20Jan%2C%20Wed%5D%5D%3E%3C%2Fcolumn%3E%0A%3Ccolumn%3E%3C!%5BCDATA%5B16%20Jan%2C%20Thu%5D%5D%3E%3C%2Fcolumn%3E%3C%2Fx%3E%3Cy%3E%3Crow%3E%3C!%5BCDATA%5B%0AUQY%20885%20-%20NOEL%20LIM47-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0ATYY%20955%20-%20SIR%20CHRIS47-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0ATYY%20814%20-%20MINION31-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0AWEI-889%20-%20ALDWIN%20SATIRA53-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0ATYY%20784%20-%20SIMEON%20CEREZO45-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0AWEI-788%20-%20JORDAN%20ROMULOS53-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0ARMC%20523%20-%20RICHARD%20PELAYO24-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0ARMR%20724%20-%20ROMEO%20TATAC24-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0ATYY%20913%20-%20NOEL%20MENDEZ45-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0ATYY%20718%20-%20ADOR%20AQUINO45-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0ATYY%20912%20-%20-%20-14-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0ATYY%20922%20-%20SIMOUN%20SULLA14-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0AHIGER%20-%20JOHN%20DOExxx39-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0ABED%20987%20-%20BOB%20DYLAN24-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0APSQ%20889%20-%20CENON%20EBREO37-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0ATYY%20259%20-%20EDDIEPOLO45-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0ATYY%20738%20-%20FREDDIE%20RIZA45-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0ATYY%20917%20-%20JOHN%20NEGAPATAN49-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0ATYY%20981%20-%20JAMES%20PALMA49-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0ATYY%20658%20-%20MARVIN49-seater%5D%5D%3E%3C%2Frow%3E%3Crow%3E%3C!%5BCDATA%5B%0ATYY%20971%20-%20ARMAN%20CRUZ47-seater%5D%5D%3E%3C%2Frow%3E%3C%2Fy%3E%3C%2Fscale%3E%0A%3Cevent%20week%3D’2’%20day%3D’0’%20type%3D’event_line’%20x%3D’0.411522633744856’%20y%3D’1.2307692307692308’%20width%3D’698.1769547325102’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BREPAIR%20%0A%202014-01-03%2000%3A00%20%0A%20%20%0A%20Maintenance%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’3’%20day%3D’0’%20type%3D’event_line’%20x%3D’0.411522633744856’%20y%3D’1.2307692307692308’%20width%3D’197.76543209876544’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BRemington%20Hotel%20-%20Metro%20Manila%20tour%20%0A%202014-01-10%2009%3A00%20%0A%20Aldwin%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’3’%20day%3D’0’%20type%3D’event_line’%20x%3D’300.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BRockwell%20Pasig%20-%20Antipolo%20city%20%0A%202014-01-13%2008%3A00%20%0A%20Aldwin%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’3’%20day%3D’0’%20type%3D’event_line’%20x%3D’400.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BTAAL%20BATANGAS%20-%20TANAUAN%20BATANGAS%20-%20MANILA%20%0A%202014-01-14%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’5’%20day%3D’0’%20type%3D’event_line’%20x%3D’100.41152263374485’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BEvent%20%20%0A%202014-01-11%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’5’%20day%3D’0’%20type%3D’event_line’%20x%3D’300.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BLIPA%20CITY%20HOUSE%20OF%20TRAVEL%20%0A%202014-01-13%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’5’%20day%3D’0’%20type%3D’event_line’%20x%3D’400.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BTAAL%20BATANGAS%20%20-%20TANAUAN%20BATANGAS%20-%20MANILA%20%0A%202014-01-14%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’5’%20day%3D’0’%20type%3D’event_line’%20x%3D’600.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’98.17695473251028’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BJANDDY%20TOURS%20%0A%202014-01-16%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’6’%20day%3D’0’%20type%3D’event_line’%20x%3D’0.411522633744856’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BEvent%20%20%0A%202014-01-10%2000%3A00%20%0A%20%20%0A%20Juliet%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’6’%20day%3D’0’%20type%3D’event_line’%20x%3D’200.41152263374485’%20y%3D’1.2307692307692308’%20width%3D’197.76543209876544’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BEvent%20%20%0A%202014-01-12%2000%3A00%20%0A%20%20%0A%20Juliet%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’6’%20day%3D’0’%20type%3D’event_line’%20x%3D’400.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BEvent%20%20%0A%202014-01-14%2000%3A00%20%0A%20CATHY%20%0A%20TA%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’7’%20day%3D’0’%20type%3D’event_line’%20x%3D’0.411522633744856’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BBELLEVUE%20ALABANG%20%0A%202014-01-10%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’7’%20day%3D’0’%20type%3D’event_line’%20x%3D’100.41152263374485’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BBellevue%20Hotel%20%20%0A%202014-01-11%2001%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’7’%20day%3D’0’%20type%3D’event_line’%20x%3D’400.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’298.1769547325103’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BUS%20Embassy%20-%20Clark%20Pampanga%20%0A%202014-01-14%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’8’%20day%3D’0’%20type%3D’event_line’%20x%3D’0.411522633744856’%20y%3D’1.2307692307692308’%20width%3D’297.7654320987654’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BDIAMOND%20HOTEL-CCP%20%0A%202014-01-09%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’8’%20day%3D’0’%20type%3D’event_line’%20x%3D’400.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’298.1769547325103’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BDIAMOND%20HOTEL-CCP%20%0A%202014-01-14%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’9’%20day%3D’0’%20type%3D’event_line’%20x%3D’0.411522633744856’%20y%3D’1.2307692307692308’%20width%3D’597.7654320987655’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BEvent%20%20%0A%202014-01-04%2000%3A00%20%0A%20%20%0A%20Maintenance%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’10’%20day%3D’0’%20type%3D’event_line’%20x%3D’100.41152263374485’%20y%3D’1.2307692307692308’%20width%3D’197.76543209876544’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BQ.C%20-%20Baller%20%0A%202014-01-11%2023%3A30%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’10’%20day%3D’0’%20type%3D’event_line’%20x%3D’400.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BMETRO%20MANILA%20TOUR%20%0A%202014-01-14%2000%3A00%20%0A%20CATHY%20%0A%20TA%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’11’%20day%3D’0’%20type%3D’event_line’%20x%3D’100.41152263374485’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BEvent%20%20%0A%202014-01-11%2000%3A00%20%0A%20%20%0A%20Juliet%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’11’%20day%3D’0’%20type%3D’event_line’%20x%3D’400.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5B%20%0A%202014-01-14%2000%3A00%20%0A%20CATHY%20%0A%20TA%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’13’%20day%3D’0’%20type%3D’event_line’%20x%3D’0.411522633744856’%20y%3D’1.2307692307692308’%20width%3D’698.1769547325102’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BREPAIR%20%0A%202013-12-31%2000%3A00%20%0A%20%20%0A%20Maintenance%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’14’%20day%3D’0’%20type%3D’event_line’%20x%3D’0.411522633744856’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BROMINA%20%0A%202014-01-10%2000%3A00%20%0A%20%20%0A%20TA%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’14’%20day%3D’0’%20type%3D’event_line’%20x%3D’200.41152263374485’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BSan%20Valley%20Antipolo%20%0A%202014-01-12%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’14’%20day%3D’0’%20type%3D’event_line’%20x%3D’400.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’46.15384615384615’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BEvent%20%20%0A%202014-01-14%2000%3A00%20%0A%20CATHY%20%0A%20TA%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’14’%20day%3D’0’%20type%3D’event_line’%20x%3D’400.4115226337449’%20y%3D’40.61538461538461’%20width%3D’298.1769547325103’%20height%3D’46.15384615384615’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BNAIA%20TERMINAL%201-SOFITEL%20HOTEL%2FCITY%20TOUR%20%0A%202014-01-14%2003%3A40%20%0A%20CATHY%20%0A%20TA%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’15’%20day%3D’0’%20type%3D’event_line’%20x%3D’100.41152263374485’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BEvent%20%20%0A%202014-01-11%2000%3A00%20%0A%20%20%0A%20Juliet%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’15’%20day%3D’0’%20type%3D’event_line’%20x%3D’200.41152263374485’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BSan%20Valley%20antipolo%20%0A%202014-01-12%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’15’%20day%3D’0’%20type%3D’event_line’%20x%3D’600.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’98.17695473251028’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BNorth%20Tour%20-%20South%20Tour%20%0A%202014-01-16%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’16’%20day%3D’0’%20type%3D’event_line’%20x%3D’0.411522633744856’%20y%3D’1.2307692307692308’%20width%3D’297.7654320987654’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BNAIA%20-%20TAGAYTAY%20-%20PAGSANJAN%20FALLS%20-%20MATABUNGKAY%20%0A%202014-01-09%2011%3A00%20%0A%20FREDDIE%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’16’%20day%3D’0’%20type%3D’event_line’%20x%3D’500.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’198.1769547325103’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BDLSU%20MANILA%20-%20BALER%20%0A%202014-01-15%2023%3A30%20%0A%20JAMES%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’17’%20day%3D’0’%20type%3D’event_line’%20x%3D’100.41152263374485’%20y%3D’1.2307692307692308’%20width%3D’197.76543209876544’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BMAKATI-LAIYA%20BATANGAS%20%0A%202014-01-11%2002%3A00%20%0A%20%20%0A%20Juliet%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’17’%20day%3D’0’%20type%3D’event_line’%20x%3D’300.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BLIPA%20HOUSE%20OF%20TRAVEL%20%0A%202014-01-13%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’17’%20day%3D’0’%20type%3D’event_line’%20x%3D’600.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’98.17695473251028’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BRAFFY%20%0A%202014-01-16%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’18’%20day%3D’0’%20type%3D’event_line’%20x%3D’0.411522633744856’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BBelevue%20Hotel%20Alabang%20-%20Novali%20Sta%20Rosa%20%0A%202014-01-10%2008%3A15%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’18’%20day%3D’0’%20type%3D’event_line’%20x%3D’100.41152263374485’%20y%3D’1.2307692307692308’%20width%3D’197.76543209876544’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BEvent%20%20%0A%202014-01-11%2000%3A00%20%0A%20%20%0A%20Juliet%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’18’%20day%3D’0’%20type%3D’event_line’%20x%3D’300.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BLIPA%20CITY%20HOUSE%20OF%20TRAVEL%20%0A%202014-01-13%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’18’%20day%3D’0’%20type%3D’event_line’%20x%3D’600.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’98.17695473251028’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BRAFFY%20%0A%202014-01-16%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’19’%20day%3D’0’%20type%3D’event_line’%20x%3D’100.41152263374485’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BEvent%20%20%0A%202014-01-11%2000%3A00%20%0A%20%20%0A%20Juliet%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’19’%20day%3D’0’%20type%3D’event_line’%20x%3D’200.41152263374485’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BBELLEVUE%20ALABANG%20%0A%202014-01-12%2000%3A00%20%0A%20%20%0A%20Juliet%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’19’%20day%3D’0’%20type%3D’event_line’%20x%3D’300.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BLIPA%20CITY%20HOUSE%20OF%20TRAVEL%20%20%0A%202014-01-13%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’19’%20day%3D’0’%20type%3D’event_line’%20x%3D’600.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’98.17695473251028’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BRAFFY%20%0A%202014-01-16%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’20’%20day%3D’0’%20type%3D’event_line’%20x%3D’100.41152263374485’%20y%3D’1.2307692307692308’%20width%3D’197.76543209876544’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BJ.P%20Rizal%20Makati%20-%20Anilao%20Batangas%20%0A%202014-01-11%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’20’%20day%3D’0’%20type%3D’event_line’%20x%3D’300.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’97.76543209876543’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BLIPA%20CITY%20HOUSE%20OF%20TRAVEL%20%0A%202014-01-13%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%0A%3Cevent%20week%3D’20’%20day%3D’0’%20type%3D’event_line’%20x%3D’600.4115226337449’%20y%3D’1.2307692307692308’%20width%3D’98.17695473251028’%20height%3D’93.84615384615384’%20len%3D’0’%3E%3Cbody%20backgroundColor%3D’’%20color%3D’’%3E%3C!%5BCDATA%5BRAFFY%20%0A%202014-01-16%2000%3A00%20%0A%20%20%0A%20Raffy%5D%5D%3E%3C%2Fbody%3E%3C%2Fevent%3E%3C%2Fdata%3E

Thanks.

The same data works for me.
Check the next sample ( open generate.php in browser ) - it uses the same data and latest version of scheduler-to-pdf script.

s3.amazonaws.com/uploads.hipcha … _works.zip

Hi,

This works fine with the application, thanks for the fix. Many thanks.

While exporting to PDF, I’ve got question signs (’???’) instead of all cyrillic characters. (ASP.NET MVC)
At the runtime, in controller method Export() variable xml (see below) contains all characters, but the result pdf does not.

var xml = this.Server.UrlDecode(this.Request.Form["mycoolxmlbody"]);

What could be the reason?

As for the example page http://docs.dhtmlx.com/scheduler/samples/04_export/04_pdf.html
It’s also not working with cyrillic characters - print blanks instead of all cyrillic. :frowning:

hello,

I’ve problem with my export to pdf.

First : If there is many event (mont view), the exported page stay blank.
Second, is there a way to export to the landscape orientation ?

Thanks a lot.
Sébastien.

Hi

It’s possible to export the scheduler from local enviroment without network connection?

It’s possible to export the scheduler from local enviroment without network connection?
Nope, current version works only with network connection.
You can try to use parall.ax/products/jspdf - it can convert part of page to PDF fully on the client side.

Hi Stanislav,

No answer for my questions ? :

I’ve problem with my export to pdf.

First : If there is many event (mont view), the exported pdf page stay blank.
Second, is there a way to export to the landscape orientation ?

Thanks a lot.
Sébastien.