Search found 30 matches
- 2025-01-08 11:13
- Forum: General Questions
- Topic: [Software] [SOLVED] Cancel -a fails to clear printer queue
- Replies: 29
- Views: 3627
Re: [Software] [SOLVED] Cancel -a fails to clear printer queue
I suspect I managed to do it. Thanks
- 2025-01-07 20:26
- Forum: General Questions
- Topic: [Software] [SOLVED] Cancel -a fails to clear printer queue
- Replies: 29
- Views: 3627
Re: [Software] Cancel -a fails to clear printer queue
Glad to add SOLVED to subject line, but no idea to do it. I can't edit the line
- 2025-01-07 17:24
- Forum: General Questions
- Topic: [Software] [SOLVED] Cancel -a fails to clear printer queue
- Replies: 29
- Views: 3627
Re: [Software] Cancel -a fails to clear printer queue
Thank you for asking. I did Debian upgrades for for many years rather than new installs. So forgot to install bsd-cups rather than lpr,.
- 2025-01-07 15:56
- Forum: System and Network configuration
- Topic: [Solved] Unable to locate network printer
- Replies: 4
- Views: 857
SOLVED Re: The command lp prints but not lpr
I simply had to install cups-bsd versus lpr. Doing upgrades rather than install allowed me to forget the need.
- 2025-01-07 14:32
- Forum: System and Network configuration
- Topic: [Solved] Unable to locate network printer
- Replies: 4
- Views: 857
The command lp prints but not lpr
I'm to install a laser printer on newly installed bookworm.
The problem is that I can print with $ lp but not with # lpr:
$ lpq -a retrurns nothing,.
The problem is that I can print with $ lp but not with # lpr:
Code: Select all
$ lpr
lpr: lp: unknown printer
Code: Select all
$ lpstat -d
system default destination: HP_LaserJet_Pro_M428f-M429f_
Code: Select all
$ lpr -P HP_LaserJet_Pro_M428f-M429f_
[nothing returned]
- 2025-01-06 13:23
- Forum: System and Network configuration
- Topic: [Solved] Unable to locate network printer
- Replies: 4
- Views: 857
[Solved] Unable to locate network printer
For a new installation of Debian I install printing. My printer is HP_LaserJet_Pro_M428f_M429f_8264A8, which supports wireless connection. It is
not connected by USB
I install cups and hplip. I visit the CUPS interface at localhost:631 and find that CUPS detected my printer automatically.
Queue Name Description Make and Model HP_LaserJet_Pro_M428f_M429f_8264A8 HP_LaserJet_Pro_M428f_M429f_8264A8 HP LaserJet Pro M428f-M429f, driverless, cups-filters.128.17
I modify the printer to make it ...
not connected by USB
I install cups and hplip. I visit the CUPS interface at localhost:631 and find that CUPS detected my printer automatically.
Queue Name Description Make and Model HP_LaserJet_Pro_M428f_M429f_8264A8 HP_LaserJet_Pro_M428f_M429f_8264A8 HP LaserJet Pro M428f-M429f, driverless, cups-filters.128.17
I modify the printer to make it ...
- 2025-01-06 12:40
- Forum: General Questions
- Topic: [Software] [SOLVED] Cancel -a fails to clear printer queue
- Replies: 29
- Views: 3627
Re: [Software] Cancel -a fails to clear printer queue
My investigation of the problem led into paths remote from queue issues, and I will start a new thread: Unable to locate printer
- 2025-01-03 20:14
- Forum: System and Network configuration
- Topic: [SOLVED] Locked out by exim
- Replies: 8
- Views: 1885
Re: Locked out by emacs
Yes sorry! So many the number of things broken seems to multiply and I'm loosing my mind.
- 2024-12-31 19:15
- Forum: General Questions
- Topic: [Software] [SOLVED] Cancel -a fails to clear printer queue
- Replies: 29
- Views: 3627
Re: [Software] Cancel -a fails to clear printer queue
But the question regarding your post also remains:
[
I don't see how to check the origin of lprm
with the apt list command. What it returns is simply the version and status of the packages.
- 2024-12-31 18:31
- Forum: General Questions
- Topic: [Software] [SOLVED] Cancel -a fails to clear printer queue
- Replies: 29
- Views: 3627
Re: [Software] Cancel -a fails to clear printer queue
I don't understand your question. Is it what installs lprm or what installs lpqrm? I don't see how to check the origin of lprm
with the apt list command. What it returns is simply the version and status of the packages. The lprm command appeared
in 3.0BSD. But neither bsdutils nor bsdextrautils dragged it in.
with the apt list command. What it returns is simply the version and status of the packages. The lprm command appeared
in 3.0BSD. But neither bsdutils nor bsdextrautils dragged it in.
- 2024-12-31 18:12
- Forum: System and Network configuration
- Topic: [SOLVED] Locked out by exim
- Replies: 8
- Views: 1885
Re: Locked out by emacs
Temtatively SOLVED. Thanks blackbird! My main machine email now seems to work.
But some things I don't understand. I happily send and receive mail on my laptop with
the following permissions for the mail directory (although the laptop runs Devuan, not Debian):
$ ls -la /var | grep mail
drwxrwxr-x root mail
Following your suggestion, I changed the permissions for the mail directory on my main
machine to read:
$ ls -la /var | grep mail
drwxrwsrwt 2 root mail 4096 Dec 31 12:56 mail
The ...
But some things I don't understand. I happily send and receive mail on my laptop with
the following permissions for the mail directory (although the laptop runs Devuan, not Debian):
$ ls -la /var | grep mail
drwxrwxr-x root mail
Following your suggestion, I changed the permissions for the mail directory on my main
machine to read:
$ ls -la /var | grep mail
drwxrwsrwt 2 root mail 4096 Dec 31 12:56 mail
The ...
- 2024-12-31 13:03
- Forum: General Questions
- Topic: [Software] [SOLVED] Cancel -a fails to clear printer queue
- Replies: 29
- Views: 3627
Re: [Software] Cancel -a fails to clear printer queue
The command $ strace -o log.txt no longer has any return and so there is nothing to paste :
$ strace -o log.txt lpq
Warning: no daemon present
Rank Owner Job Files Total Size
The command cancel -a has no effect, but I discover the command $ lprm haines that does
remove my jobs, and so I was able to clear the queue successfully. However when I
do $ lpr test.txt. the job gets stuck in the queue:
$ lpq
Warning: no daemon present
Rank Owner Job Files Total Size
1st haines 10 test.txt 5 ...
$ strace -o log.txt lpq
Warning: no daemon present
Rank Owner Job Files Total Size
The command cancel -a has no effect, but I discover the command $ lprm haines that does
remove my jobs, and so I was able to clear the queue successfully. However when I
do $ lpr test.txt. the job gets stuck in the queue:
$ lpq
Warning: no daemon present
Rank Owner Job Files Total Size
1st haines 10 test.txt 5 ...
- 2024-12-30 16:30
- Forum: System and Network configuration
- Topic: [SOLVED] Locked out by exim
- Replies: 8
- Views: 1885
[SOLVED] Locked out by exim
For a new installation of Debian, I installed exiim4, fetchmail and mutt as well. I cannot receive mail because exim locks me out. Here are some lines from the exim log file:
2024-12-30 00:21:07 Start queue run: pid=1114523
2024-12-30 00:21:07 1tRTX6-004EuV-0e Message is frozen
...
2024-12-30 00:21:07 1tS8DD-004fwO-28 <= <> R=1tRc6v-004dlL-2p U=Debian-exim P=local S=2247
2024-12-30 00:21:07 1tS8DD-004fwO-28 == /var/mail/haines <haines@iskra.histomat.net> R=userforward T=address_file defer (13 ...
2024-12-30 00:21:07 Start queue run: pid=1114523
2024-12-30 00:21:07 1tRTX6-004EuV-0e Message is frozen
...
2024-12-30 00:21:07 1tS8DD-004fwO-28 <= <> R=1tRc6v-004dlL-2p U=Debian-exim P=local S=2247
2024-12-30 00:21:07 1tS8DD-004fwO-28 == /var/mail/haines <haines@iskra.histomat.net> R=userforward T=address_file defer (13 ...
- 2024-12-27 12:14
- Forum: General Questions
- Topic: [Software] [SOLVED] Cancel -a fails to clear printer queue
- Replies: 29
- Views: 3627
Re: [Software] Cancel -a fails to clear printer queue
The $ strace -o log.txt lpq produced copious output. Some files in /etc missing, but they were commented witn "F_OK". I note these lines"
setresgid(-1, 1000, -1) = 0
openat(AT_FDCWD, "lock", O_RDONLY|O_NONBLOCK|O_NOFOLLOW) = -1 EACCES (Permission denied)
...
setresuid(-1, 1000, -1) = 0
newfstatat(1, "", {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x13), ...}, AT_EMPTY_PATH) = 0
write(1, "Warning: no daemon present\n", 27) = 27
...
[the permission denied message is repeated several times ...
setresgid(-1, 1000, -1) = 0
openat(AT_FDCWD, "lock", O_RDONLY|O_NONBLOCK|O_NOFOLLOW) = -1 EACCES (Permission denied)
...
setresuid(-1, 1000, -1) = 0
newfstatat(1, "", {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x13), ...}, AT_EMPTY_PATH) = 0
write(1, "Warning: no daemon present\n", 27) = 27
...
[the permission denied message is repeated several times ...
- 2024-12-26 21:11
- Forum: General Questions
- Topic: [Software] [SOLVED] Cancel -a fails to clear printer queue
- Replies: 29
- Views: 3627
Re: [Software] Clear -a fails to clear printer queue
$ strace -o log.txt lpq
Warning: no daemon present
Rank Owner Job Files
Where is the lpq log fiie? locate finds hundreds of log.txt files (many backups accessible)
$ sudo systemctl status cups
● cups.service - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.service; enabled; preset: enabled)
Active: active (running) since Thu 2024-12-26 00:00:02 EST; 15h ago
TriggeredBy: ○ cups.path
● cups.socket
Docs: man:cupsd(8)
Main PID: 943821 (cupsd)
Status: "Scheduler is running ...
Warning: no daemon present
Rank Owner Job Files
Where is the lpq log fiie? locate finds hundreds of log.txt files (many backups accessible)
$ sudo systemctl status cups
● cups.service - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.service; enabled; preset: enabled)
Active: active (running) since Thu 2024-12-26 00:00:02 EST; 15h ago
TriggeredBy: ○ cups.path
● cups.socket
Docs: man:cupsd(8)
Main PID: 943821 (cupsd)
Status: "Scheduler is running ...
- 2024-12-26 19:34
- Forum: General Questions
- Topic: [Software] [SOLVED] Cancel -a fails to clear printer queue
- Replies: 29
- Views: 3627
Re: [Software] Clear -a fails to clear printer queue
Thanks, arzgi. I was already in lpadmin group. I made my printer server default. but I presume this is to enable wireless printing. In any case,
$ cancel -a has no effect. $ lpq still tells me no daemon is present. I restarted cups and lpd to no effect. What daemon is lpq referring to?
$ cancel -a has no effect. $ lpq still tells me no daemon is present. I restarted cups and lpd to no effect. What daemon is lpq referring to?
- 2024-12-26 14:54
- Forum: General Questions
- Topic: [Software] [SOLVED] Cancel -a fails to clear printer queue
- Replies: 29
- Views: 3627
Re: [Software] Clear -a fails to clear printer queue
The hplip package was already installed.
Wireless easier to set up? I looked at the documentation and was a bit overwhelmed. So many choices! I'd like several machines to access my printer, including my wife's Mac and a Windows machines. How do I know if my printer supports IPP Everywhere? I'm told that a CUPS generated PPD uses the everywhere model and can be identified from the *PCFileName "ippeve.ppd" line in the PPD. Where is this PPD?
Why do I need a driverless print queue? I'm told to ...
Wireless easier to set up? I looked at the documentation and was a bit overwhelmed. So many choices! I'd like several machines to access my printer, including my wife's Mac and a Windows machines. How do I know if my printer supports IPP Everywhere? I'm told that a CUPS generated PPD uses the everywhere model and can be identified from the *PCFileName "ippeve.ppd" line in the PPD. Where is this PPD?
Why do I need a driverless print queue? I'm told to ...
- 2024-12-26 13:51
- Forum: General Questions
- Topic: [Software] [SOLVED] Cancel -a fails to clear printer queue
- Replies: 29
- Views: 3627
Re: [Software] Clear -a fails to clear printer queue
No, printer supports wifeless but is actually wired.
- 2024-12-25 18:49
- Forum: General Questions
- Topic: [Software] [SOLVED] Cancel -a fails to clear printer queue
- Replies: 29
- Views: 3627
Re: [Software] Clear -a fails to clear printer queue
My printer is HP LaserJet Pro MFP M428fdw
Yes I restarted CUPS
When I do $ lpq -a I'm told this:
What daemon is here referred to?
That "$ clear -a" was a typo. When I run $ cancel -a there is no feedback and the jobs in queue are not removed.
Yes I restarted CUPS
When I do $ lpq -a I'm told this:
Code: Select all
lp:
Warning: no daemon present
That "$ clear -a" was a typo. When I run $ cancel -a there is no feedback and the jobs in queue are not removed.
- 2024-12-25 18:07
- Forum: General Questions
- Topic: [Software] User cannot run texhash
- Replies: 1
- Views: 702
[Software] User cannot run texhash
I installed TeXLive in my user directory in /home.
I verify the installation location:
$ kpsewhich -var-value=TEXMFHOME
/home/haines/texmf
I can run texhash as root without problem but cannot run it as user
$ texhash
texhash: /usr/local/share/texmf: directory not writable. Skipping...
texhash: /var/lib/texmf: directory not writable. Skipping...
texhash: /var/lib/texmf: directory not writable. Skipping...
texhash: /var/lib/texmf: directory not writable. Skipping...
texhash: Done ...
I verify the installation location:
$ kpsewhich -var-value=TEXMFHOME
/home/haines/texmf
I can run texhash as root without problem but cannot run it as user
$ texhash
texhash: /usr/local/share/texmf: directory not writable. Skipping...
texhash: /var/lib/texmf: directory not writable. Skipping...
texhash: /var/lib/texmf: directory not writable. Skipping...
texhash: /var/lib/texmf: directory not writable. Skipping...
texhash: Done ...