![](https://seccdn.libravatar.org/avatar/0e482cdf263bd0e0421da766878b774c.jpg?s=120&d=mm&r=g)
On 17/02/2021 21.50, Doug McGarrett wrote:
On 2/17/21 6:10 AM, Carlos E. R. wrote:
On 17/02/2021 06.25, Doug McGarrett wrote:
On 2/16/21 4:35 PM, Carlos E.R. wrote:
On 16/02/2021 22.31, Doug McGarrett wrote:
/snip/
I would welcome some advice as to what to do at this point to get both printers working properly again, even if it is to wipe out all present configurations and start the printer setup from scratch, which I suspect might be the only logical answer. Well, explain the current symptoms when you try to print. lpq says each printer "is not ready" lpstat -r shows the scheduler is running
If it would be better to remove the printers and start this part of the system over, what is the best way to do that? If not, when what? Common, you know the drill. Run all these commands:
lpstat -a lpstat -s lpstat -t lpstat -r
and paste the result here. Don't describe what the commands say, paste it all here. And this goes for every Linux problem: paste commands used and results that show the problems, in a single sweep of the mouse.
_Apparently you haven't seen the message that I tried to send last night._
The printers are working, but there is still a problem with the epson. Maybe I forgot to post the routines I went thru--it was 3AM and I was a bit sleepy.
You didn't post it.
Here is the routine: Went to System Settings, Printers. Each printer was listed as printer paused. I reset it to printer ready (or whatever the word is) and each printer prints!
This is what I thought would happen, and this is why I wanted to see the output of those commands.
However, the epson is bitching about the paper size again, even tho all the places I have looked recently for paper size say *letter* which is 8½ x 11.
BUT: linux1:~ # egrep -i "defaultpaper|defaultpage" /etc/cups/ppd/* /etc/cups/ppd/HP_LaserJet_Pro_M201dw.ppd:*DefaultPageSize: Letter /etc/cups/ppd/HP_LaserJet_Pro_M201dw.ppd:*DefaultPageRegion: Letter /etc/cups/ppd/HP_LaserJet_Pro_M201dw.ppd:*DefaultPaperDimension: Letter /etc/cups/ppd/HP_LaserJet_Pro_M201dw.ppd.O:*DefaultPageSize: Letter /etc/cups/ppd/HP_LaserJet_Pro_M201dw.ppd.O:*DefaultPageRegion: Letter /etc/cups/ppd/HP_LaserJet_Pro_M201dw.ppd.O:*DefaultPaperDimension: Letter /etc/cups/ppd/epson.ppd:*DefaultPageSize: Letter /etc/cups/ppd/epson.ppd:*DefaultPageRegion: Letter /etc/cups/ppd/epson.ppd:*DefaultPaperDimension: A4 <<<<<<<<<<<<< /etc/cups/ppd/epson.ppd.O:*DefaultPageSize: Letter /etc/cups/ppd/epson.ppd.O:*DefaultPageRegion: Letter /etc/cups/ppd/epson.ppd.O:*DefaultPaperDimension: A4 <<<<<<<<<<<<<
Those files are printer definitions, not printer settings. Thus the wrong place to look at.
Did some research and found a partial fix: linux1:~ # lpadmin -p epson -o PageSize=Letter
Well, that's one of the commands I told you a week or two ago.
linux1:~ # egrep -i "defaultpaper|defaultpage" /etc/cups/ppd/*
No, this is pointless.
/etc/cups/ppd/HP_LaserJet_Pro_M201dw.ppd:*DefaultPageSize: Letter /etc/cups/ppd/HP_LaserJet_Pro_M201dw.ppd:*DefaultPageRegion: Letter /etc/cups/ppd/HP_LaserJet_Pro_M201dw.ppd:*DefaultPaperDimension: Letter /etc/cups/ppd/HP_LaserJet_Pro_M201dw.ppd.O:*DefaultPageSize: Letter /etc/cups/ppd/HP_LaserJet_Pro_M201dw.ppd.O:*DefaultPageRegion: Letter /etc/cups/ppd/HP_LaserJet_Pro_M201dw.ppd.O:*DefaultPaperDimension: Letter /etc/cups/ppd/epson.ppd:*DefaultPageSize: Letter /etc/cups/ppd/epson.ppd:*DefaultPageRegion: Letter /etc/cups/ppd/epson.ppd:*DefaultPaperDimension: Letter /etc/cups/ppd/epson.ppd.O:*DefaultPageSize: Letter /etc/cups/ppd/epson.ppd.O:*DefaultPageRegion: Letter /etc/cups/ppd/epson.ppd.O:*DefaultPaperDimension: A4 <<<<<<<
Tried to fix the last line by repeating the command that partially fixed it, but it still comes up A4.
You are looking at the wrong file. The file you have to look at, and I told this to you before, is /home/doug/.cups/lpoptions In my case, I have: Default cp1510n_ps InputSlot=Auto Dest cp1515n_pcl3 PageSize/Media=true Size=A4 You can just edit that file. Another file is the global one: /etc/cups/lpoptions In my case, it contains: Default cp1510n_ps PageSize=A4 Dest cp1515n_hpijs PageSize=A4 Dest cp1515n_pcl3 PageSize=A4 And again, you can simply edit it.
Almost there. I don't know why this (almost) works when the other things didn't. In CUPS where the page size is specified: Under "Set Printer Options" "General" Media size says US Letter. Just the one option.
I'll try to print a multi page document and see what happens, but I don't like a half-baked solution.
Printed a multi-page file, both one-sided and two-sided, on the Epson, and it was satisfied with the paper size.
Ok.
Looks like we have found a solution. Thanks to all who put up with this odyssey! Call this thread CLOSED!
-- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)