Menu

too long file names will make print spooler crash

Help
yonizaf
2013-12-29
2013-12-29
  • yonizaf

    yonizaf - 2013-12-29

    When trying to send a file with filename longer than 118 characters, the driver will crash and take the spooler with it. All printers will be unavailable until you delete the print job and restart the spooler.

    This was tested on windows 7 32 bit and windows 8.1 64 bit.

    Use case: When printing from the new gmail "preview" feature (using either Mozilla Firefox or Internet Explorer), the file name of the created document is about 130+ chars.
    When using Google Chrome, the temporary filename is shorter, so it does not crash.

    Steps to reproduce:
    1. Log-in to a gmail account From Firefox/IE (if you aren't already)
    2. Send or receive a supported attachment (.pdf, .doc etc.)
    3. Open the mail and click on the attachment itself to see the preview (not the "download" or "save to drive" buttons).
    4. Click on the print button (bottom left or right of the preview window)
    5. Choose the Winprint Hylafax printer and print.
    6. Enjoy.

    or simply rename a non-empty text document to a long enough name, and try to print it from notepad etc.

     
  • Michal Havranek

    Michal Havranek - 2013-12-29

    You have absolutely right. I have fixed it (in v1.4.1.0).

    https://sourceforge.net/projects/wphfforwin7/files/latest/download

    thank you, Michal

     

    Last edit: Michal Havranek 2013-12-29
  • yonizaf

    yonizaf - 2013-12-29

    Thank you. It seems to be fixed indeed. And that was quite fast too..

     

Log in to post a comment.