On 2020-01-30, santo <
[email protected]> 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)