[SOLVED] Installation problem of Canon LBP6030W printer on debian
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Installation problem of Canon LBP6030W printer on debian
I want to use a Canon LBP6030W printer using latest debian stable (v9). This printer is connected wirelessly to my local area network.
I have installed cups.
I have downloaded driver file from canon website. Extracted the archive. Tried to run "install.sh" script, but it returned with the error "./install.sh: 355: ./install.sh: Syntax error: "(" unexpected (expecting "done")"
Then I manually installed driver .deb files in the "linux-UFRIILT-drv-v140_uken/linux-UFRIILT-drv-v140-uken/64-bit_Driver/Debian" path using the commands below:
$ lpstat -t
scheduler is running
no system default destination
device for LBP6030w-6018w: dnssd://Canon%20LBP6030w%2F6018w._printer._tcp.local/
LBP6030w-6018w accepting requests since Tue 17 Oct 2017 06:24:25 PM +03
printer LBP6030w-6018w is idle. enabled since Tue 17 Oct 2017 06:24:25 PM +03
Make sure the user is in the lp group. And lpadmin to setup the printer in cups.
URL:
localhost:631
You can manage jobs on that interface / web page. With some information about WHY it did not print. You might also check the printer, ink to low, out of paper, and other quirks can help it fail with little to no feedback to the user.
Now "lpr test.txt" command gives no error and I get two notifications on my Gnome desktop first saying "printing", second saying "printing completed", but actually nothing happens in the printer.
Have you examined the CUPS error log? (Specifically check /var/log/cups/error_log). If you want to share that output, consider uploading to https://pastebin.com/ (or similar) and post the link to it here.
FWIW, I recalled an old thread concerning a Canon printer (using a UFRII driver), and same symptoms as you're reporting. Some users have found that the 64-bit Canon drivers still depend on 32-bit libraries. The OP did find the following message in the error log following a print job (no actual printing occurring though)...
Code:
D [10/Apr/2016:15:53:17 +0200] [Job 32] Can\'t exec driver program
If you have 32bit system, printer should work now. With 64 bit i was not so lucky... here is how i got it to work
you have to add 32bit architecture support:
There was the following error in the /var/log/cups/error_log:
Code:
E [19/Oct/2017:12:07:30 +0300] [Client 8] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/LBP6030w-6018w) from localhost
To see if it will work, I have connected this printer directly using USB cable, instead of wireless connection.
But before that, I did the following, as you suggested:
I see two items of same printer in the Settings/Printers window now. The difference between them is, the model of working one is "Canon LBP6030/6040/6018L", but the model of not-working one is "Generic Text-Only Printer". This can be a clue for other users who may face similar problem. But definitely one should check cups error logs first.
I am frustrated enough so I will not spend more time to understand why it does not work wirelessly, at least in the near future. I'll just use it via USB cable. I consider this problem as solved.
Good to read that you now have it printing via USB connectivity at least.
Quote:
I see two items of same printer in the Settings/Printers window now. The difference between them is, the model of working one is "Canon LBP6030/6040/6018L", but the model of not-working one is "Generic Text-Only Printer".
A mistake while configuring? That generic config could be safely removed.
Quote:
I am frustrated enough so I will not spend more time to understand why it does not work wirelessly, at least in the near future. I'll just use it via USB cable. I consider this problem as solved.
Fair enough. Give it some time, and maybe you'll want to investigate further some time. The printer configuration is located in /etc/cups/printers.conf. AFAIU, these printers support the lpd and socket network communication protocols, so something like the following printer URI should work for network printing...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.