• Mga7's Okular does not offer 'print' option (only 'print to file')

    From Maurice@2:250/1 to All on Sun Aug 11 18:47:20 2019
    Having just made the move onto 64-bit Plasma Mageia-7, I have encountered
    an unexpected reluctance for its Okular 1.7.0 to provide an option to
    'Print' a .pdf file (Only option shown is 'Print to file'.)

    However, if I present the same PDF file to Mga6.1's Okular, it happily
    prints it.

    What have I omitted to do?!

    --
    /\/\aurice
    (Replace "nomail.afraid" by "bcs" to reply by email)

    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Sun Aug 11 19:51:17 2019
    Subject: Re: Mga7's Okular does not offer 'print' option (only 'print to
    file')

    On Sun, 11 Aug 2019 13:47:20 -0400, Maurice <maurice@nomail.afraid.org> wrote:

    Having just made the move onto 64-bit Plasma Mageia-7, I have encountered
    an unexpected reluctance for its Okular 1.7.0 to provide an option to
    'Print' a .pdf file (Only option shown is 'Print to file'.)

    I don't have a printer, so can't test here, but try running system-config-printer to start the service etc.

    Regards, Dave Hodgins

    --
    Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for
    email replies.

    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Maurice@2:250/1 to All on Mon Aug 12 08:50:52 2019
    Subject: Re: Mga7's Okular does not offer 'print' option (only 'print to
    file')

    On Sun, 11 Aug 2019 14:51:17 -0400, David W. Hodgins wrote:

    try running system-config-printer to start the service etc.

    That didn't work; complained of missing functions.

    But then tried the 'HP Device Manager' (as root) and it printed a test
    copy and afterwards Okular was able to find the printer.

    Regards,

    --
    /\/\aurice
    (Replace "nomail.afraid" by "bcs" to reply by email)

    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Doug Laidlaw@2:250/1 to All on Tue Aug 13 06:58:49 2019
    Subject: Re: Mga7's Okular does not offer 'print' option (only 'print to
    file')

    On 12/8/19 5:50 pm, Maurice wrote:
    On Sun, 11 Aug 2019 14:51:17 -0400, David W. Hodgins wrote:

    try running system-config-printer to start the service etc.

    That didn't work; complained of missing functions.

    But then tried the 'HP Device Manager' (as root) and it printed a test
    copy and afterwards Okular was able to find the printer.

    Regards,

    What brand is your printer? Sounds like an HP. My wife's tablet is an
    HP, and runs more slowly than a 100 year old PC.

    I wonder if the hardware detection in 7 is not as good as in 6.

    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Maurice@2:250/1 to All on Tue Aug 13 12:09:42 2019
    Subject: Re: Mga7's Okular does not offer 'print' option (only 'print to
    file')

    On Tue, 13 Aug 2019 15:58:49 +1000, Doug Laidlaw wrote:

    What brand is your printer? Sounds like an HP. My wife's tablet is an
    HP, and runs more slowly than a 100 year old PC.

    I wonder if the hardware detection in 7 is not as good as in 6.

    Difficult to say, though not come across this hitch before.

    Xsane found the printer's scanner without problem.
    system-config-printer worked during earlier Mga7 testing.

    But using the HP Device Manager worked immediately, so Okular now happy
    again.

    Regards,
    --
    /\/\aurice
    (Replace "nomail.afraid" by "bcs" to reply by email)

    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Maurice@2:250/1 to All on Tue Aug 13 13:05:57 2019
    Subject: Re: Mga7's Okular does not offer 'print' option (only 'print to
    file')

    On Mon, 12 Aug 2019 07:50:52 +0000, I wrote:

    printer.

    HP1050A (when here away from base, where it is an HP5520).

    Regards,

    --
    /\/\aurice
    (Replace "nomail.afraid" by "bcs" to reply by email)

    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From TJ@2:250/1 to All on Wed Aug 14 02:43:09 2019
    Subject: Re: Mga7's Okular does not offer 'print' option (only 'print to
    file')

    On 8/11/19 1:47 PM, Maurice wrote:
    Having just made the move onto 64-bit Plasma Mageia-7, I have encountered
    an unexpected reluctance for its Okular 1.7.0 to provide an option to
    'Print' a .pdf file (Only option shown is 'Print to file'.)

    However, if I present the same PDF file to Mga6.1's Okular, it happily
    prints it.

    What have I omitted to do?!

    You haven't omitted anything. See https://bugs.mageia.org/show_bug.cgi?id=24189

    It's a bug in Mageia 7, in that cups services fail to start on some
    hardware, due to what appears to be a race condition. As it doesn't
    affect all hardware, it must be rather illusive.

    At the moment, the only workaround seems to be to start the cups
    services manually. For those who, like me, prefer GUIs over the command
    line, this can be done with MCC/System/Manage system services by
    enabling or disabling them.

    There is one other solution, not favored by most as it is rather drastic
    and probably unreliable. The problem went away for me after a major
    system hardware change/upgrade.

    TJ

    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Wed Aug 14 15:57:59 2019
    Subject: Re: Mga7's Okular does not offer 'print' option (only 'print to
    file')

    On 2019-08-14, TJ <TJ@noneofyour.business> wrote:
    On 8/11/19 1:47 PM, Maurice wrote:
    Having just made the move onto 64-bit Plasma Mageia-7, I have encountered
    an unexpected reluctance for its Okular 1.7.0 to provide an option to
    'Print' a .pdf file (Only option shown is 'Print to file'.)

    However, if I present the same PDF file to Mga6.1's Okular, it happily
    prints it.

    What have I omitted to do?!

    You haven't omitted anything. See https://bugs.mageia.org/show_bug.cgi?id=24189

    It's a bug in Mageia 7, in that cups services fail to start on some hardware, due to what appears to be a race condition. As it doesn't
    affect all hardware, it must be rather illusive.

    At the moment, the only workaround seems to be to start the cups
    services manually. For those who, like me, prefer GUIs over the command line, this can be done with MCC/System/Manage system services by
    enabling or disabling them.

    There is one other solution, not favored by most as it is rather drastic
    and probably unreliable. The problem went away for me after a major
    system hardware change/upgrade.

    The other solution is to restart the various cups programs after boot
    and then just leave the computer running for months or years.
    Of course that might be hard on a laptop.
    You could also try putting a cups restart into /etc/rc.d/rc.local. That
    starts up more of less last on the startup programs which might be late
    enough that the bug is no longer operative. (Note that cupsd runs, but cups-browsed, and cups.socket and cups.path which give failures -

    TJ

    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bobbie Sellers@2:250/1 to All on Wed Aug 14 17:50:11 2019
    Subject: Re: Mga7's Okular does not offer 'print' option (only 'print to
    file')

    On 8/14/19 7:57 AM, William Unruh wrote:
    On 2019-08-14, TJ <TJ@noneofyour.business> wrote:
    On 8/11/19 1:47 PM, Maurice wrote:
    Having just made the move onto 64-bit Plasma Mageia-7, I have encountered >>> an unexpected reluctance for its Okular 1.7.0 to provide an option to
    'Print' a .pdf file (Only option shown is 'Print to file'.)

    However, if I present the same PDF file to Mga6.1's Okular, it happily
    prints it.

    What have I omitted to do?!

    You haven't omitted anything. See
    https://bugs.mageia.org/show_bug.cgi?id=24189

    It's a bug in Mageia 7, in that cups services fail to start on some
    hardware, due to what appears to be a race condition. As it doesn't
    affect all hardware, it must be rather illusive.

    At the moment, the only workaround seems to be to start the cups
    services manually. For those who, like me, prefer GUIs over the command
    line, this can be done with MCC/System/Manage system services by
    enabling or disabling them.

    There is one other solution, not favored by most as it is rather drastic
    and probably unreliable. The problem went away for me after a major
    system hardware change/upgrade.

    The other solution is to restart the various cups programs after boot
    and then just leave the computer running for months or years.
    Of course that might be hard on a laptop.

    Not too bad with a good sturdy office laptop and a fan cooler running continuously under it.

    You could also try putting a cups restart into /etc/rc.d/rc.local. That starts up more of less last on the startup programs which might be late enough that the bug is no longer operative. (Note that cupsd runs, but cups-browsed, and cups.socket and cups.path which give failures -

    TJ
    bliss

    --
    bliss dash SF 4 ever at dslextreme dot com

    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: dis-organization (2:250/1@fidonet)
  • From Maurice@2:250/1 to All on Thu Aug 15 17:51:36 2019
    Subject: Re: Mga7's Okular does not offer 'print' option (only 'print to
    file')

    On Mon, 12 Aug 2019 07:50:52 +0000, I wrote:

    then tried the 'HP Device Manager' (as root) and it printed a test copy
    and afterwards Okular was able to find the printer.

    And all was fine last weekend, but today returning to base I find that
    Mga7
    cannot print at all! system-config-printer et al can FIND the printer
    (HP Photosmart 5520) but 'cannot find PPD file', so absolutely stymied...

    HP Device Manager says "No installed HP devices found'.
    If I go to its "Setup Device" it shows the precise printer name, but
    the
    'PPD file' line says (with yellow hiliting) "(Not found..>" and if I
    broswe
    its list of PPD files and select the correct one, if I hit Next it just reverts to the previous window "PPD not found"! (The file is there in /usr/share/ppd/hp...)

    Similar impasse if 'CUPS interface' selected, and also get nowhere with system-config-printer.

    Just done s/w update on Mga7 but no change. *Can no longer print*!!!
    Can only print if revert to Mga6.1. This is seriously WEIRD.

    Suggestions very welcome :-(
    --
    /\/\aurice
    (Replace "nomail.afraid" by "bcs" to reply by email)

    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Thu Aug 15 18:09:45 2019
    Subject: Re: Mga7's Okular does not offer 'print' option (only 'print to
    file')

    Well, if the ppd file is there copy it into /etc/cups/ppd with the name
    you ave to your printer.

    It sounds like a permission problem. Are you running the setup as root?


    On 2019-08-15, Maurice <maurice@nomail.afraid.org> wrote:
    On Mon, 12 Aug 2019 07:50:52 +0000, I wrote:

    then tried the 'HP Device Manager' (as root) and it printed a test copy
    and afterwards Okular was able to find the printer.

    And all was fine last weekend, but today returning to base I find that
    Mga7
    cannot print at all! system-config-printer et al can FIND the printer
    (HP Photosmart 5520) but 'cannot find PPD file', so absolutely stymied...

    HP Device Manager says "No installed HP devices found'.
    If I go to its "Setup Device" it shows the precise printer name, but
    the
    'PPD file' line says (with yellow hiliting) "(Not found..>" and if I
    broswe
    its list of PPD files and select the correct one, if I hit Next it just reverts to the previous window "PPD not found"! (The file is there in /usr/share/ppd/hp...)

    Similar impasse if 'CUPS interface' selected, and also get nowhere with system-config-printer.

    Just done s/w update on Mga7 but no change. *Can no longer print*!!!
    Can only print if revert to Mga6.1. This is seriously WEIRD.

    Suggestions very welcome :-(

    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Maurice@2:250/1 to All on Thu Aug 15 18:33:20 2019
    Subject: Re: Mga7's Okular does not offer 'print' option (only 'print to
    file')

    On Thu, 15 Aug 2019 16:51:36 +0000, I wrote:

    *Can no longer print*!!!

    Seems to have been a hiccup with CUPS. Have just done:

    # service cups start

    cups.service - CUPS Scheduler
    Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: disabled)
    Active: active (running) since Thu 2019-08-15 18:23:22 BST; 22s ago
    Docs: man:cupsd(8)
    Main PID: 12000 (cupsd)
    Status: "Scheduler is running..."
    Memory: 1.8M
    CGroup: /system.slice/cups.service
    └─12000 /usr/sbin/cupsd -l

    Aug 15 18:23:22 pc18.mab.test systemd[1]: Starting CUPS Scheduler...
    Aug 15 18:23:22 pc18.mab.test cupsd[12000]: CreateProfile failed:
    org.freedesktop.DBus.Error.ServiceUnknown:The name
    org.freedesktop.ColorManager was not>
    Aug 15 18:23:22 pc18.mab.test cupsd[12000]: CreateProfile failed:
    org.freedesktop.DBus.Error.ServiceUnknown:The name
    org.freedesktop.ColorManager was not>
    Aug 15 18:23:22 pc18.mab.test cupsd[12000]: CreateDevice failed:
    org.freedesktop.DBus.Error.ServiceUnknown:The name
    org.freedesktop.ColorManager was not >
    Aug 15 18:23:22 pc18.mab.test systemd[1]: Started CUPS Scheduler.
    lines 1

    and all of a sudden printing works again...

    Wonder what's gpoing on about CUPS...

    --
    /\/\aurice
    (Replace "nomail.afraid" by "bcs" to reply by email)

    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Maurice@2:250/1 to All on Fri Aug 16 11:39:34 2019
    Subject: Re: Mga7's Okular does not offer 'print' option (only 'print to
    file')

    On Thu, 15 Aug 2019 17:33:20 +0000, I wrote:

    Seems to have been a hiccup with CUPS

    As TJ reported earlier in here:

    See
    https://bugs.mageia.org/show_bug.cgi?id=24189

    It's a bug in Mageia 7, in that cups services fail to start on some hardware,

    But I didn't see it when checking out the pre-reldease Mga7 on same
    hardware, so I suspect some subsequent change for the worse...

    Is there a simple way of restarting CUPS automatically at power-up?

    --
    /\/\aurice
    (Replace "nomail.afraid" by "bcs" to reply by email)

    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Jim Beard@2:250/1 to All on Fri Aug 16 14:05:23 2019
    Subject: Re: Mga7's Okular does not offer 'print' option (only 'print to
    file')

    On Thu, 15 Aug 2019 17:33:20 +0000, Maurice wrote:

    On Thu, 15 Aug 2019 16:51:36 +0000, I wrote:

    *Can no longer print*!!!

    Seems to have been a hiccup with CUPS. Have just done:

    # service cups start

    cups.service - CUPS Scheduler
    Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: disabled)
    Active: active (running) since Thu 2019-08-15 18:23:22 BST; 22s ago
    Docs: man:cupsd(8)
    Main PID: 12000 (cupsd)
    Status: "Scheduler is running..."
    Memory: 1.8M CGroup: /system.slice/cups.service
    └─12000 /usr/sbin/cupsd -l

    Aug 15 18:23:22 pc18.mab.test systemd[1]: Starting CUPS Scheduler...
    Aug 15 18:23:22 pc18.mab.test cupsd[12000]: CreateProfile failed:
    org.freedesktop.DBus.Error.ServiceUnknown:The name
    org.freedesktop.ColorManager was not>
    Aug 15 18:23:22 pc18.mab.test cupsd[12000]: CreateProfile failed:
    org.freedesktop.DBus.Error.ServiceUnknown:The name
    org.freedesktop.ColorManager was not>
    Aug 15 18:23:22 pc18.mab.test cupsd[12000]: CreateDevice failed:
    org.freedesktop.DBus.Error.ServiceUnknown:The name
    org.freedesktop.ColorManager was not >
    Aug 15 18:23:22 pc18.mab.test systemd[1]: Started CUPS Scheduler.
    lines 1

    and all of a sudden printing works again...

    Wonder what's gpoing on about CUPS...

    There are a couple of bugs for CUPS. https://bugs.mageia.org/show_bug.cgi?id=24189 deals mainly with Cauldron
    but seems to affect Mageia 7 in some instances as well. A manual restart appears to get things working in some cases.





    --
    UNIX is not user-unfriendly, it merely expects users to be computer-
    friendly.

    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Fri Aug 16 16:04:38 2019
    Subject: Re: Mga7's Okular does not offer 'print' option (only 'print to
    file')

    On 2019-08-16, Maurice <maurice@nomail.afraid.org> wrote:
    On Thu, 15 Aug 2019 17:33:20 +0000, I wrote:

    Seems to have been a hiccup with CUPS

    As TJ reported earlier in here:

    See
    https://bugs.mageia.org/show_bug.cgi?id=24189

    It's a bug in Mageia 7, in that cups services fail to start on some
    hardware,

    But I didn't see it when checking out the pre-reldease Mga7 on same hardware, so I suspect some subsequent change for the worse...

    That is possible, but since it is only on certain hardware, or is a race condition which only activates on certain setups, it is really hard to
    debug.

    Is there a simple way of restarting CUPS automatically at power-up?

    Try putting
    systemctl restart cups
    into /etc/rc.d/rc.local
    (if it does not exist, make it, with a
    #!/bin/sh
    on the first line.)
    and make sure it (rc.local) is executable.
    I do not know that this will work, but rc.local tends to get run toward
    the end of the boot process, and perhaps the problem gets cleared up by
    then.
    Since only people who have the problem can test this out, I have no idea
    if this works.


    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From TJ@2:250/1 to All on Sat Aug 17 13:11:21 2019
    Subject: Re: Mga7's Okular does not offer 'print' option (only 'print to
    file')

    On 8/16/19 9:05 AM, Jim Beard wrote:
    ..

    There are a couple of bugs for CUPS. https://bugs.mageia.org/show_bug.cgi?id=24189 deals mainly with Cauldron
    but seems to affect Mageia 7 in some instances as well. A manual restart appears to get things working in some cases.





    When that bug was filed, Mageia 7 WAS Cauldron. The bug may or may not
    affect the current Cauldron.

    TJ

    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Maurice@2:250/1 to All on Sat Aug 17 15:35:00 2019
    Subject: Re: Mga7's Okular does not offer 'print' option (only 'print to
    file')

    On Fri, 16 Aug 2019 15:04:38 +0000, William Unruh wrote:

    Try putting systemctl restart cups into /etc/rc.d/rc.local....

    TVM, William!

    Have noted that and will use if the non-CUPS situation returns, which -
    so
    far - has not (now specifically checking after each reboot).

    Regards,
    --
    /\/\aurice
    (Replace "nomail.afraid" by "bcs" to reply by email)

    --- MBSE BBS v1.0.7.12 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)