Results 1 to 4 of 4

Thread: kwrite freezes on Ctrl-P (printing)

  1. #1

    Default kwrite freezes on Ctrl-P (printing)

    KDE Plasma 5.5.5, QT 5.5.1, kernel 4.1.36-41
    Graphic card AMD Radeon HD 7500 series using fglrx driver.

    I need help getting kwrite to print.

    kwrite has been working fine for a long time. It's been a month or more since the last time I printed anything in kwrite.
    Now, when I select print or print preview, the dialog box does NOT open the app freezes, no cursor movement.
    I can close it from the task manager bar which gives "application not responding" wait or close.

    This problem is repeatable logged in as a newly created user and also in a terminal window running as su. I also tried iceWM.

    It also freezes with a newly created (not saved) file.

    Files that freeze kwrite can be printed fine using libreoffice Writer. I can print ok in firefox & pdf's with okular.

    My printer is a networked HP laserjet managed by HPLIP.

    I have searched for complaints about kwrite printing but found nothing useful.

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,383
    Blog Entries
    1

    Default Re: kwrite freezes on Ctrl-P (printing)

    Some debugging may be necessary here. You could use gdb or strace to help with this. I'll refer you to this guide...

    https://en.opensuse.org/openSUSE:Bug...cation_crashed

  3. #3

    Default SOLVED Re: kwrite freezes on Ctrl-P (printing)

    It was a bit of a struggle since debugging a higher level of understanding and uncommon to me.

    strace produced a 3MB file. I found a clue at:
    Code:
    14557 1482098961.264733 recvfrom(13, "HTTP/1.1 100 Continue\r\n\r\nHTTP/1."..., 2048, 0, NULL, NULL) = 345
    14557 1482098961.264813 open("/etc/cups/lpoptions", O_RDONLY) = -1 ENOENT (No such file or directory)
    14557 1482098961.264859 open("/home/jon/.cups/lpoptions", O_RDONLY) = 16
    ~/.cups/lpoptions contains the printer (queue?) name that HPLIP removed because it was not created by HPLIP.
    I altered that name to match the one listed in cups and I can't believe it.......everything works just fine!

    Thank you for the help.

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,383
    Blog Entries
    1

    Default Re: kwrite freezes on Ctrl-P (printing)

    Yes, sometimes these situations can be challenging, but it can also be an opportunity to increase our understanding as well. Anyway, glad to have been of assistance, and good to know this is now resolved.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •