| <<<Back 1 day (to 2012/05/04) | 2012/05/05 |
Robin_Watts | marcosw: I've hit a problem with the cluster. | 00:09.44 |
| When I clusterpush mupdf, it fails with lots of timeouts. | 00:10.02 |
| but I can't see WHAT files timedout, which makes it hard for me to reproduce locally. | 00:10.19 |
| Is there any way we could improve the logging a bit? | 00:10.28 |
floam | is this as good as it gets on IRC to ask questions about PCL, GhostPCL? | 01:28.50 |
| I've got some PCL data I can send to an HP printer, and it prints in one page all good. After the last text visible stuff prints, in the data there is â(s0Pâ(s10H | 01:31.21 |
| followed by a form feed, then decimal 26 | 01:31.28 |
| when I try to convert it to a PDF with pcl6, I get a second page, with a right arrow on it. Is that expected, or a bug with something, or me using the tool incorrectly? | 01:31.59 |
| I see decimal 26 can be a right arrow, but I also thought PCL printers discard any data not trailed by a FF? | 01:33.21 |
| hm, maybe a hit? Just tried an older version of the interpreter and now I get: | 01:46.55 |
| glyph index c0000000 out of range | 01:46.59 |
| that supposed form feed, 0x0C is actually 0xC0 for some reason perhaps? | 01:47.53 |
| s/hit/hint/ | 01:48.09 |
| hm, random windows-only tool "PCLReader" I found seems to display it correctly | 01:56.24 |
| should mention, output is from a circa-1990 DOS app. Maybe it's something to do with PCL just not being perfectly backwards compatible | 01:58.54 |
aksr | is it possible to enable 'document rights' via ghostscript? | 05:24.32 |
| document==pdf | 05:25.27 |
| rights: hightlight, underline, comment | 05:26.01 |
floam | 26 is 0x1A, guess it's an EOD getting put on the end of the file there that shouldn't exist but printers don't mind. | 06:40.23 |
aksr | floam: do you know is there a way via ghostscript to give permission to annotatte or comment pdf? i want to highlight/comment/underline via other pdf reader .. | 06:44.50 |
| *annotate | 06:45.15 |
| i know it's possible to annotate http://stackoverflow.com/questions/4427034/add-comments-to-pdf-files-automagically-with-regular-expressions | 06:45.39 |
floam | I don't know much about ghostscript | 06:45.45 |
aksr | i want just to elevate permissions .. | 06:46.07 |
| too bad :) | 06:46.11 |
floam | aksr: maybe this helps http://www.commandlinefu.com/commands/view/4345/remove-security-limitations-from-pdf-documents-using-ghostscript | 06:56.25 |
aksr | floam: yes, i know for this way, thank you, but it doesn't allow commenting | 07:01.03 |
| it removes copying restriction, page extraction | 07:01.20 |
| printing etc | 07:01.42 |
| but it doesn't set | 07:02.15 |
| permission to comment | 07:02.27 |
kens | floam I am not a PCL expert, but... | 08:00.01 |
| PCL is not even compatible between current PCL pritners, never mind backwards compatible. | 08:00.21 |
| You can ignore the old warning about glyph index out of range. | 08:00.34 |
| That warning was removed, it is useful when PostScript is the input, but not when PCL is. | 08:00.54 |
| First thing to try is rendering your PCL file to a bitmap format, rather than to PDF. | 08:01.58 |
| If the bitmap isn't what you expect then you know that the PDF is not going to be. | 08:02.20 |
| This will also tell you whether the problem lies in the PCL interpreter or the PDF writer. You can then go to http://bugs.ghostscript.com and raise a bug report | 08:02.59 |
| You can attach your file there, without that we can't comment much on your problem. | 08:03.21 |
| aksr if you read our logs, I don't understand what your problem is. | 08:03.50 |
sebras | tor8 Robin_Watts: there are two patches sitting on sebras/master | 08:12.12 |
floam | kens: OK, thanks. | 08:30.10 |
kens | NP | 08:30.17 |
floam | kens: Well, when I run it with png16m I only get the first page like I should. However I just ran a completely unrelated multiple-page pcl I found on the internet through the the same process and also just got a PNG of the first page... | 08:38.53 |
kens | Did you set OutputFile=out%d.png ? | 08:39.16 |
| SO that it writes each page to a spearate file | 08:39.28 |
| separate | 08:39.32 |
| Otherwise all the pages get concatenated into a single file, which doesn't work for PNG | 08:39.54 |
floam | ah, no, thank you. Just figured they'd stack up or do something. Thanks | 08:40.48 |
kens | NP | 08:41.00 |
floam | yeah, it behaves the same way without pdfwrite on my buggy PCLs. But I'm still not really certain it's a bug with ghostpcl... Really seems more likely this 22-year old utility was doing something against the rules or is breaking due to all the emulation magic going on. | 08:45.17 |
kens | Its hard to say. | 08:45.32 |
| For me anyway | 08:45.36 |
| I'm not a PCL expert | 08:45.42 |
| However, if it behaves the same rendering, then its not the PDF writer, its the interpreter. You could open a bug report and someone who understands PCL better than me will look at it and give a reply | 08:46.20 |
floam | I could probably just use that -d{First|Last}Page option and rip off that last page, assuming this behavior sticks around. Or see if there's any way I can try to detect the situation and do it then. | 08:46.28 |
| OK. I'll give that a shot. | 08:46.40 |
kens | THe reply might be 'yes, that's a broken piece of PCL' of course... :-) | 08:47.01 |
floam | http://ghostscript.com/~tor/down/ seems to tease that there are some OS X binaries zipped up somewhere, but I can't seem to find them, is that the case? | 08:52.31 |
Robin_Watts | floam: That's an old page that shouldn't be there. | 08:59.41 |
| It was, I believe, one possible design we were considering for http://www.ghostscript.com/download/ | 09:00.22 |
floam | yeah, started to figure something like that. Google was pretty sure these files never existed. | 09:00.49 |
kens | anyone got the URL marcosw posted about meeting dates ? | 09:36.51 |
Robin_Watts | kens: just a tick. | 09:43.51 |
| http://www.doodle.com/tbe3qvutgk9rqnaa | 09:44.14 |
kens | THanks Robin | 09:44.27 |
| Someone needs to make sure Miles sees it :-) | 09:45.11 |
Robin_Watts | It went to "everybody" | 09:54.13 |
kens | ye all | 10:44.07 |
| bye | 10:44.10 |
Robin_Watts | hEY marcosw | 15:56.46 |
| Did you see my comment earlier about cluster logging for timeouts? | 15:56.59 |
aksr | is it possible to enable commenting on pdf using ghostscript? | 19:02.21 |
| where to find info on -dPermissions? | 19:12.27 |
marcosw_ | Robin_Watts: yes, I'm fixing it now. | 21:33.38 |
| Robin_Watts: it's not pretty but the email that is sent when a timeoutFail occurs now includes filenames and command lines. | 22:11.03 |
malc_ | Robin_Watts: hello, around? | 22:53.33 |
| Forward 1 day (to 2012/05/06)>>> | |