Line 11: |
Line 11: |
| | | |
| | | |
− | * Thing is we don't technically do a pdf conversion, CUPS comes with an emulator of the print engine, and prints to the PDF (cups-pdf | + | * |
| + | |
| + | Thing is we don't technically do a pdf conversion, CUPS comes with an emulator of the print engine, and prints to the PDF (cups-pdf |
| modules to be specific to create a virtual printer). And we do this | | modules to be specific to create a virtual printer). And we do this |
| because we would like for the teacher to review it. | | because we would like for the teacher to review it. |
Line 22: |
Line 24: |
| | | |
| | | |
− | * Yep, student can cancel his request, I forgot adding it. With The function cupsCancelJob() the student can cancel the job before his | + | * |
| + | |
| + | Yep, student can cancel his request, I forgot adding it. With The function cupsCancelJob() the student can cancel the job before his |
| request goes to server (or before it can be printed to pdf). | | request goes to server (or before it can be printed to pdf). |
| But after actually entering the web folder, It would become a bit complex. I would have to do this: | | But after actually entering the web folder, It would become a bit complex. I would have to do this: |
Line 29: |
Line 33: |
| 3) send suitable message back | | 3) send suitable message back |
| | | |
− | * No, no. There is ABSOLUTELY no need to interact with sugar activities, in the cups folder we have a file with the list of mime types | + | * |
| + | |
| + | No, no. There is ABSOLUTELY no need to interact with sugar activities, in the cups folder we have a file with the list of mime types |
| accepted. We would also append the server supported CUPS Mimes to | | accepted. We would also append the server supported CUPS Mimes to |
| the clients CUPS. | | the clients CUPS. |