Open GoogleCodeExporter opened 8 years ago
Can you send me via email an example using a remote pdf you have hosted? I
will try to replicate.
tres.finocchiaro@gmail.com
-Tres
Original comment by tres.fin...@gmail.com
on 13 Oct 2012 at 3:16
Hello,
Thank you so much for your quick reply. Just sent you an email with the sample
file attached.
Thank you!!
Brandon
Original comment by sho...@genetrack.com
on 13 Oct 2012 at 3:53
I've used the 3 provided PDF samples and was unable to reproduce the error.
Attached are the 3 html files and the 3 output XPS files.
My best guess is the problem lies in the logic that waits for the append to be
finished. If the file hasn't appended yet, it will try to print an empty
document. This append takes longer on remote sites for obvious reasons.
Also, there's some better ways to do this than those illustrated in
sample.html, I would recommend starting from loading.html and going from there.
-Tres
Original comment by tres.fin...@gmail.com
on 13 Oct 2012 at 1:40
Attachments:
Hi Tres,
Thank you for looking into this, and I am sorry about the late reply.
After getting your response, I rewrote the script and run it again on different
remote servers, and they all worked except for the production server where this
printing feature is most needed.
The weird thing is that the same script runs just fine on another remote
server. I literally moved over the script to the production server, and it
just stops working.
I tracked down the process and it looks like appending and printing are
completed without errors, but the printer won't print it. I am suspecting
that, somehow, on the production server, the PDF fiels are not really appended,
although there seem to be, according to the logs.
Is there any way to see if there is anything (any PDF content) appended to
jZebra instance? All I need is to be able to confirm that the content was
indeed appended.
Thank you,
Brandon
Original comment by sho...@genetrack.com
on 16 Oct 2012 at 6:24
One more thing, the printer I have been using was able to print out the PDF
from the script on other remote servers. Even with the production site, I can
still select it and print out some RAW input. PDF printing is the only thing
that's not working on the production server..
Original comment by sho...@genetrack.com
on 16 Oct 2012 at 6:26
It seems you have narrowed the cause to be related to the configuration on your
production server. Without access to the server, there's not much more
troubleshooting that can be done from an outside perspective.
I would recommend trying to use a command such as wget from a Linux machine
with the URL of the production PDF. It is very likely that the path to the PDF
on your production machine has some permissions or settings set up incorrectly.
-Tres
Original comment by tres.fin...@gmail.com
on 16 Oct 2012 at 6:35
Original issue reported on code.google.com by
sho...@gmail.com
on 13 Oct 2012 at 2:25