You are not logged in.
Pages: 1
I have a Canon MG6350 printer and I am using the driver from AUR (I've tried some other drivers as well, like gutenprint, but they don't seem to work at all).
https://aur.archlinux.org/packages/cnij … 6300/#news
It works fine when I print a test page but when I try to print a document from libreoffice, I first get a blank page and then I get a page with the following text:
ERROR:
typecheck
OFFENDING COMMAND:
resourcestatus
STACK:
0
-mark-
-mark-
-mark-
-mark-
This printer has worked perfectly before and the cups error log is empty.
Do anyone have a suggestion on what I can do?
Offline
try something to find more info
Command-line configuration
CUPS can be fully controlled from command-line with nice tools, i.e. the lp* and the cups* command families.
On Arch Linux, most commands support auto-completion with common shells. Also note that command-line switches cannot be grouped.
List the devices
# lpinfo -v
List the drivers
# lpinfo -m
Add a new printer
# lpadmin -p printer -E -v device -P ppd
The printer is up to you. The device can be retrieved from the 'lpinfo -v' command. Example:
# lpadmin -p HP_DESKJET_940C -E -v "usb://HP/DESKJET%20940C?serial=CN16E6C364BH" -P /usr/share/ppd/HP/hp-deskjet_940c.ppd.gz
In the following, the printer references the name you have used here to set up the printer.
Set the default printer
$ lpoptions -d printer
Check the status
$ lpstat -s
$ lpstat -p printer
Deactivate a printer
# cupsdisable printer
Activate a printer
# cupsenable printer
Remove a printer
First set it to reject all incoming entries:
# cupsreject printer
Then disable it.
# cupsdisable printer
Finally remove it.
# lpadmin -x printer
Print a file
$ lpr file
$ lpr -# 17 file # print the file 17 times
$ echo "Hello, world!" | lpr -p # print the result of a command. The -p switch adds a header.
Check the printing queue
$ lpq
$ lpq -a # on all printers
Clear the printing queue
# lprm # remove last entry only
# lprm - # remove all entries
Alternative CUPS interfaces
GNOME
You can configure and manage printers by installing system-config-printer. This program does pull in some gnome dependencies.
If your user does not have sufficient priviliges to administer the cups scheduler, system-config-printer will request the root password when it starts. You can avoid this by performing the following instructions.
1. Create a group for administering the cups scheduler:
# groupadd lpadmin
2. Add yourself to the newly created group:
# usermod -aG lpadmin username
3. Tell cups to respect the newly created group:
/etc/cups/cups-files.conf
...
SystemGroup sys root lpadmin
...
4. Restart cups org.cups.cupsd.service using systemd.
5. Log out and log in again or restart your computer.Offline
Not a SysAdmin problem. Moving to Kernel and Hardware.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1