You are not logged in.
Note: I did read a similar post, but the solution involved editing the PDD for a specific printer. As I read through the forum, the situation seemed different than mine.
I am trying to install a Brother HL-2270DW printer using system-config-printer. However, when I follow the steps below I receive an error.
Run system-config-printer
Press "Add" at the prompt (Reads: "There are no printers configured yet.")
Select "Network Printer" from the "Select Device" menu
Select "Find Network Printer"
Enter the 192.168.1.240 (statically assigned IP) in the box "Host", press "Find"
Select "IPP 192.168.1.240"
Select "Forward" at the bottom right hand corner
Select "Apply" on the page titled "Describe Printer" (Printer name is auto-filled with "Printer")Prompt titled "CUPS server error" reads "There was an error during the CUPS operation: 'server-error-internal-error"
The console output here.
With "LogLevel" set to "debug", the last 100 lines of /var/log/cups/error_log output here.
I have
Installed brother-hl2270dw 2.0.4_2-5 from the AUR
Added my user to the "lp" group
Verified the IPP is running on ports 80 and 631 on the printer.
Previously installed ghostscript and footmatic-db, but have since uninstalled them (the wiki suggests installing them solves a "Filter failed" error, which I'm not seeing
Solution found here, in the comment:
zxcv commented on 2019-08-31 22:29
I think there is a typo in last comment. And it should look like this:[/usr/share/cups/model]$ diff HL2280DW.ppd HL2280DW.ppd.bak
280c280
< *DefaultMargins: Corrected
---
> *DefaultMargins: Custom 282c282
< *Margins Corrected/Corrected (set with 'alignmargins'): "<</.HWMargins [0 0 0 0] /Margins [0 0]>>setpagedevice"
---
> *Margins Custom/Custom (set with 'alignmargins'): "<</.HWMargins [0 0 0 0] /Margins [0 0]>>setpagedevice"
To solve the problem, make a back up of the original file (in case you do something wrong)
sudo cp /usr/share/cups/model/HL2270DW.ppd /usr/share/cups/model/HL2270DW.ppd.bak
Open it up with your editor of choice (invoke sudo for permission to edit).
sudo nano /usr/share/cups/model/HL2270DW.ppd
Go to the bottom of the file.
Change
*DefaultMargins: Custom
into
*DefaultMargins: Corrected
And change
*Margins Custom/Custom (set with 'alignmargins'): "<</.HWMargins[0 0 0 0] /Margins[0 0]>>setpagedevice"
into
*Margins Corrected/Corrected (set with 'alignmargins'): "<</.HWMargins[0 0 0 0] /Margins[0 0]>>setpagedevice"
Last edited by ruminzal (2019-09-08 17:09:34)
Offline
Possibly the same issue as https://bbs.archlinux.org/viewtopic.php?id=248627
Offline
That was it chief, thanks. Updated post with a direct solution.
Offline