• Mageia7.1 can not print pdf files...

    From santo@2:250/0 to All on Thu Jan 30 08:21:06 2020
    Hi all I need to print a pdf file but I have not found the way how under M7.1 With M6 it went without a glitch. My system is updated, I followed all the steps
    and downloaded all pkgs requested.
    Did some google research for commands to check printer status and found this one :

    [santo@localhost ~]$ lpq
    Hewlett-Packard-HP-LaserJet-Professional-P1108 is ready
    Rank Owner Job File(s) Total Size
    1st unknown 1 unknown 1024 bytes
    2nd unknown 2 unknown 1024 bytes
    3rd santo 3 Phonetics.pdf 228352 bytes

    I think unknown 1 and 2 refers to previous attempt to print the file ( Okular The printer remains idle and do not receive any error message...is welcome
    TIA
    Santo

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/0@fidonet)
  • From Bit Twister@2:250/0 to All on Thu Jan 30 13:31:21 2020
    On Thu, 30 Jan 2020 08:21:06 +0000 (UTC), santo wrote:
    Hi all I need to print a pdf file but I have not found the way how under
    M7.1
    With M6 it went without a glitch. My system is updated, I followed all the
    steps
    and downloaded all pkgs requested.
    Did some google research for commands to check printer status and found this
    one :

    [santo@localhost ~]$ lpq
    Hewlett-Packard-HP-LaserJet-Professional-P1108 is ready
    Rank Owner Job File(s) Total Size
    1st unknown 1 unknown 1024 bytes
    2nd unknown 2 unknown 1024 bytes
    3rd santo 3 Phonetics.pdf 228352 bytes

    I think unknown 1 and 2 refers to previous attempt to print the file (
    Okular )
    The printer remains idle and do not receive any error message...is welcome

    No idea about your setup. but I suggest that you need to verify cups service
    is up and running, get into cups admin, delete any pring jobs. scan/setup
    your printer, then try printing your document.

    Cups admin access is at https://localhost:631/ and you will need to
    enter root and root's password.


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/0@fidonet)
  • From santo@2:250/0 to All on Thu Jan 30 13:40:55 2020


    Cups admin access is at https://localhost:631/ and you will need to
    enter root and root's password.

    Cups admin showed only
    localhost

    I changed it to localhost:631
    then tring to print got message that I needed to download
    and install a plug in missing from a trusted HP site.
    Did that and now I could print.
    Thanks :)
    Santo

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/0@fidonet)
  • From TJ@2:250/0 to All on Thu Jan 30 19:17:10 2020
    On 1/30/20 8:40 AM, santo wrote:


    Cups admin access is at https://localhost:631/ and you will need to
    enter root and root's password.

    Cups admin showed only
    localhost

    I changed it to localhost:631
    then tring to print got message that I needed to download
    and install a plug in missing from a trusted HP site.
    Did that and now I could print.
    Thanks :)
    Santo


    Strange. I have a Laserjet CP1215. It too needs a plugin, but when I
    installed it using system-config-printer (from MCC) the plugin was
    installed for me.

    TJ

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/0@fidonet)
  • From William Unruh@2:250/0 to All on Thu Jan 30 21:08:41 2020
    On 2020-01-30, santo <nanci@auroville.org.in> wrote:
    Hi all I need to print a pdf file but I have not found the way how under
    M7.1
    With M6 it went without a glitch. My system is updated, I followed all the
    steps
    and downloaded all pkgs requested.
    Did some google research for commands to check printer status and found this
    one :

    [santo@localhost ~]$ lpq
    Hewlett-Packard-HP-LaserJet-Professional-P1108 is ready
    Rank Owner Job File(s) Total Size
    1st unknown 1 unknown 1024 bytes
    2nd unknown 2 unknown 1024 bytes
    3rd santo 3 Phonetics.pdf 228352 bytes

    I think unknown 1 and 2 refers to previous attempt to print the file (
    Okular )
    The printer remains idle and do not receive any error message...is welcome TIA
    Santo

    Of course it is hard to gain any relevant information from this. I would
    advise cancelling the three print jobs
    (as root, do
    lprm 1 2 3
    Then send a pdf file to the printer. But first set up error logging.

    In /etc/cups/cupsd.conf
    LogLevel debug
    In /etc/cups/cups-files.conf
    ErrorLog /var/log/cups/error_log
    PageLog /var/log/cups/page_log
    AccessLog /var/log/cups/access_log

    (The defaults of all of these is syslog, which is the journallog which
    might be OK, but burries the large logs into the huge other stuff from
    other programs)

    Restart cups, and then try to print a pdf file.
    Do
    grep '[Job' /var/log/error_log|less
    to get a more detailed listing of the progress of the job you are trying
    to figure out what happened.

    In order that your /var/log not get overwhelmed with printer logs,
    create (if it does not already exist) /etc/logrotate.d/cups and put in /var/log/cups/*_log {
    missingok
    notifempty
    sharedscripts
    }

    This will rotate the cups logs weekly and save the last 4 weeks of logs.
    (You can adjust that in /etc/logrotate.conf if you want to keep less or
    more).

    These debug logs will give a far better clue as to what could be
    happening. (It may also be that jobs 1 and 2 froze the printer/printing
    system, not allowing any other jobs to work, and by eraseing them you
    free up the system and it works.)




    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/0@fidonet)
  • From santo@2:250/0 to All on Fri Jan 31 10:50:46 2020
    On Thu, 30 Jan 2020 21:08:41 +0000, William Unruh wrote:

    On 2020-01-30, santo <nanci@auroville.org.in> wrote:
    Hi all I need to print a pdf file but I have not found the way how under M7.1
    With M6 it went without a glitch. My system is updated, I followed all the steps
    and downloaded all pkgs requested.
    Did some google research for commands to check printer status and found this one :

    [santo@localhost ~]$ lpq
    Hewlett-Packard-HP-LaserJet-Professional-P1108 is ready
    Rank Owner Job File(s) Total Size
    1st unknown 1 unknown 1024 bytes
    2nd unknown 2 unknown 1024 bytes
    3rd santo 3 Phonetics.pdf 228352 bytes

    I think unknown 1 and 2 refers to previous attempt to print the file ( Okular )
    The printer remains idle and do not receive any error message...is welcome >> TIA
    Santo

    Of course it is hard to gain any relevant information from this. I would advise cancelling the three print jobs
    (as root, do
    lprm 1 2 3
    Then send a pdf file to the printer. But first set up error logging.

    In /etc/cups/cupsd.conf
    LogLevel debug
    In /etc/cups/cups-files.conf
    ErrorLog /var/log/cups/error_log
    PageLog /var/log/cups/page_log
    AccessLog /var/log/cups/access_log

    (The defaults of all of these is syslog, which is the journallog which
    might be OK, but burries the large logs into the huge other stuff from
    other programs)

    Restart cups, and then try to print a pdf file.
    Do
    grep '[Job' /var/log/error_log|less
    to get a more detailed listing of the progress of the job you are trying
    to figure out what happened.

    In order that your /var/log not get overwhelmed with printer logs,
    create (if it does not already exist) /etc/logrotate.d/cups and put in /var/log/cups/*_log {
    missingok
    notifempty
    sharedscripts
    }

    This will rotate the cups logs weekly and save the last 4 weeks of logs.
    (You can adjust that in /etc/logrotate.conf if you want to keep less or more).

    These debug logs will give a far better clue as to what could be
    happening. (It may also be that jobs 1 and 2 froze the printer/printing system, not allowing any other jobs to work, and by eraseing them you
    free up the system and it works.)

    thanks for the input...I know it was not much info
    but really did not know where to look before...
    Meanwhile the problem was solved...

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/0@fidonet)