dhtmlxscheduler joomla plugin and pdf

In which scheduler’s mode, printing works as not expected?

added the following code:

<input type = \ "button " name = \ "Print " value = \ "Print " onclick = \ "scheduler.toPDF (‘http://bichodamaca.vet.br/server/generate.php’) \ "style = " right: 300px; width: 80px; position: absolute; top: 1px; \ ">

appears the button “print” on components, but opens a blank page without any function, the necessary files are in the root site,

gosaria to know if someone could help me

grateful.

Try to change it as

scheduler.toPDF (‘http://dhtmlxscheduler.appspot.com/export/pdf’)

Hi.
Try to turn on debug mode. To do this open file generate.php and set variable debug to true:
$debug = true;

Then try to export grid one more time. Export script will generate debug XML file in the directory with generate.php.
Could you provide it?

I pointed to this address: scheduler.toPDF (‘http://dhtmlxscheduler.appspot.com/export/pdf’) but this error occurs, set up the file that is in com_scheduler, this error occurs:

Error: Server Error
The server encountered an error and Could not complete your request.

If the problem persists, please report your problem and mention this error message and the query That Caused it.

thanks

I wonder if by chance not already have a print version in pdf joomla component
Thank you all

Try to update scheduler2pdf script from here (including dhtmlxscheduler_pdf.js)
viewtopic.php?f=6&t=20137

And try to use local php version.

If still doesn’t work could you provide link to your scheduler?

hello everyone!

I managed to print the month and a selection of several days of the month, I wonder if I can print the schedule one day in hours,

Thank you all

I’m not sure if I understand what do you mean:

Could you provide more details?

would like to print this field “column”

thanks for any help I get

Thank you all

Please, update server side of export script (it would be better to update and dhtmlxscheduler_pdf.js). The last export version prints correct unit views.
Here is the last export version:
viewtopic.php?f=6&t=20137

still did not work, I noticed that the files “pdfgenerator.php” has these codes:
$ this-> wrapper = new pdfWrapper ($ this-> sizes);
switch ($ this-> mode) {
case ‘month’:
$ this-> orientation = ‘L’;
$ this-> printMonth ();
break;
case ‘year’:
$ this-> orientation = ‘L’;
$ this-> printy ();
break;
case ‘agenda’:
case ‘map’:
$ this-> orientation = ‘P’;
$ this-> printAgenda ();
break;
case ‘matrix’:
$ this-> orientation = ‘L’;
$ this-> printMatrix ();
break;
case ‘timeline’:
$ this-> orientation = ‘L’;
$ this-> printTimeline ();
break;
case ‘week_agenda’:
$ this-> orientation = ‘P’;
$ this-> printWeekAgenda ();
break;
‘case’ day ': "
case ‘unit’:
case ‘week’:
default:
$ this-> orientation = ‘P’;
$ this-> printDayWeek ();
break;

note that in case “day, week and unit” there are no functions that axo why not print, I wonder if someone could help me.

Thank you all!

Try to turn on $debug = true; in generate.php file (in export script directory).
After that try to export scheduler. Script will generate debug_xx_xx_xx.xml file and place it in the directory with generate.php.
Attach this generated file here, please.

By the way, when scheduler is printed in “day”, “week”, “unit” view the default case is selected to execute:

$ this-> orientation = 'P';
$ this-> printDayWeek ();

this is the log after clicking print in the “days”

Thank you.

this link of the log: robertopadilha.com/com_scheduler_log.xml

It looks like I can’t open this file because 404-error occurs.
You might attach file here (pack it into zip-archive before).
By the way, attach please debug file for view which is failure during exporting.

follows the attached file
com_scheduler_log.rar (2.7 KB)

Unfortunately it’s not the same debug file which I’d like to see.
It’s scheduler’s debug file. Have a look in the directory with generate.php file.
Don’t forget to turn on debug mode for export script.
You may do it in generate.php file like here:

$debug = true;

I noticed that the impression of the day will not generate debug something I need to change these lines?

if ($ debug = true) {
error_log ($ xmlString, 3, ‘debug_.’ date ("Y_m_d__H_i_s ").’. xml ');

You have to change the follow part of code:

...
require_once './tcpdf_ext.php';
$debug = true;
$error_handler = set_error_handler("PDFErrorHandler");
...

How can i convert a pdf file to zip? I have an assignment due Thursday and the instructor asked us to upload it as a single zip file. After finishing the write-up on the paper, i will scan it and obtain a pdf file. But then i don’t know how to convert it to a zip file. Is there a free software on the Internet? Thanks!