[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Printing PDF to screen bug
- Subject: Re: Printing PDF to screen bug
- From: ..hidden..
- Date: Mon, 1 Feb 2010 09:41:58 -0800
> On Sun, Jan 31, 2010 at 2:40 PM, <..hidden..> wrote:
>
>> > On Fri, Jan 29, 2010 at 2:01 PM, <..hidden..> wrote:
>> >
>> >> I encounter a bug when printing PDF to screen on an updated existing
>> >> order
>> >> (quote or invoice as well)
>> >> I get a data stream of what looks like PDF binary data.
>> >> To reproduce go to an order, select print pdf to screen.
>> >> Will print fine every time.
>> >>
>> >> Next go to the same order anew and add an item update and print pdf
>> to
>> >> screen.
>> >>
>> >
>> > What exactly are you seeing? And which browser are you running?
>> >
>> > Best Wishes,
>> > Chris Travers
>> >
>> >>
>> >> I have encountered this since sql-ledger days and now am running a
>> >> modded
>> >> version of 1.2.18
>> >>
>> >> Any ideas on this?
>> >> Thanks
>> >>
>> >>
>> >
>> Firefox and Konqueror on Gentoo and Ubuntu. I just noticed cant seem to
>> duplicate the problem on OSX 10.5 running firefox.
>> It looks like I opened a binary PDF in a text editor in the frame
>> instead
>> of the actual PDF.
>>
>
> Question:
>
> Can you use something like wireshark to grab the http headers when this
> happens? I wonder if a mime type issue is occurring but I doubt it.
>
> Best Wishes,
> Chris Travers
Actually after doing some more testing it is only Konqueror.
It could be a mime type issue.
Here is what some of the output looks like:
%PDF-1.4 %���� 4 0 obj << /Length 1046 /Filter
/FlateDecode >> stream
xڭWMo�8��WX+�r�ͽ%ut�h���(P�
�J�–RY�4�~������"��M�||of83��O^�Mu�k2�#�S����
��|I>EWߊ��!D��*7M�͚�*���?
#
P��qq,��j�����1Q���;�~�����`�>x�@�[��������Ν;���>�L.�����k׮������M�0�`08�u��I/A�V���6��(F!D@@�q㲳�/_��|��ѣG���rm?~��`���t:�^�t:�]+�wZZZ$W�Y���.\�p��Qu��\�r�g^�tiɒ%r۷oW����������i���3g��nݺ�s��{�y�{�����?w
w<< /Length1 1456 /Length2 6138 /Length3 0 /Length 6978 /Filter
/FlateDecode >> stream
xڭ�w<����m����W�
6�7�b�5�
�#��٪ڣbV��GQ�V���MK�U���������������<�\���y����46QuF8B�p�P(P743����似��$�p@B�@99
@��
����KJ�KJ���^(o��