> On Sun, Jan 31, 2010 at 2:40 PM, <[email protected]> wrote:
>
>> > On Fri, Jan 29, 2010 at 2:01 PM, <[email protected]> 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��
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Ledger-smb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel