Print from Linux CUPS to printer on Win8.1 with server side rendering [sort of solved]

  • Thread starter Thread starter Swamp Thing
  • Start date Start date
  • Tags Tags
    Linux Windows
AI Thread Summary
A Canon LBP 6030w printer is set up on a Windows 8.1 laptop to serve as a print server for a Raspberry Pi, as Canon does not provide ARM Linux drivers. The user initially faced challenges with CUPS due to the lack of a PPD file for the printer model. It was suggested to bypass the Windows share and print directly from the Raspberry Pi using Canon's UFR II Linux driver. After installing Ubuntu alongside Windows and the appropriate drivers, the Raspberry Pi was able to automatically detect and install the printer. The user also discovered an "IPP Everywhere" option for driverless printing, simplifying the setup process.
Swamp Thing
Insights Author
Messages
1,028
Reaction score
763
I have installed a Canon LBP 6030w printer on an old Windows 8.1 laptop that I would like to use occasionally as a print server.

The main reason for this is that Canon does not provide drivers for ARM Linux, and I want to print from a Raspberry Pi.

What I have done so far is:
1. Shared the printer on the laptop, and disabled the checkbox for "Render on client".

2. Followed the steps in https://cheapwindowsvps.com/blog/ho...windows-shared-printer-a-comprehensive-guide/ to create a special user called raspicups

3. Installed smbclient (SAMBA client) on the Pi.

4. Did smbclient -L \192.168.1.21 -U raspicups to verify that the printer is visible to the Pi.

Now according to the instructions linked to in step 2, one has to use the CUPS interface on the Pi to install the printer. This involves selecting a vendor and model number. However, since Canon don't provide ARM Linux drivers for this model, the dropdown list does not include my LBP6030w.

However...
since I have disabled client side rendering on the shared printer, CUPS should not need to have drivers for it. And CUPS does offer an alternative to selecting a vendor and model, namely to select a "PPD" file. I gather from a quick search that this is a file that should tell CUPS something about the printer's features in order to create a print setup dialog, while freeing CUPS from the responsibility of rendering the pages.

I could not find a PPD file for this model, though.

Which brings me to: is there a way to hack a solution for this?
 
Last edited:
Computer science news on Phys.org
Swamp Thing said:
And CUPS does offer an alternative to selecting a vendor and model, namely to select a "PPD" file.
  1. Providing a printer through a Windows printer share is not a magic way to overcome driver problems and is only adding to your difficulties: I suggest you remove it from the equation and print directly to the printer from Raspberry Pi OS.
  2. PPD stands for "Postscript Printer Definition" and works with Postscript printers.
  3. The model you describe does not support Postscript, it only supports UFR II.
  4. Canon provides a Linux driver for UFR II at https://asia.canon/en/support/0100924010. For the Raspberry Pi OS you will want the ARM 64 Debian driver.
  5. This does not guarantee success with any particular combination of Pi OS and printer but posts on the Raspberry Pi forums do give some hopes of success.
  6. The Raspberry Pi forums (https://forums.raspberrypi.com/) are a much better place than PF to find help on getting things to work on a Raspberry Pi: they are not so good on general relativity.
 
  • Like
  • Informative
Likes FactChecker and Swamp Thing
Thank you! I had not been able to locate Debian/ARM drivers even after much searching, and I also read many different forum posts saying that Canon doesn't support this model on ARM. Probably because I was always searching for the model number (LBP 6030w) rather than the protocol (UFR II).

Although I have now installed those drivers from your link, there is one more road block. The setup utility that is part of the installation, has a list of models to select from, and mine is not listed.
 
Swamp Thing said:
there is one more road block. The setup utility that is part of the installation, has a list of models to select from, and mine is not listed.
Try them all.
Since you will be using few, if any, printer-specific features you have a good chance of success. (Carriage Return, Line Feed, Form Feed are the ones really needed.)

Cheers,
Tom
 
Tom.G said:
Try them all.

There are lots of them. The first few I tried didn't work.

Anyway, I had been meaning to install Ubuntu alongside Windows on that old laptop, so I finally did that. Next I installed the official AMD64-Linux drivers from Canon.

And now the Raspberry can find the printer over the network automagically and install it. If one wants to install manually, there is now an option called "IPP Everywhere" at the top of the Canon models dropdown that you can select for driverless printing (or to be more precise, the client is driverless while the server runs the driver).
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
i am customizing a Linux distro [arch] into love os which I am building to impress my crush. I had an idea to integrate an ai model into the Linux system so it can speak like me but romantically. but I don't know what or how to do. I don't know the basic concept of Linux but yet I am customizing my os purely relying on chat gpt and perplexity. when i ask chat gpt about this it said to fine tune an ai model and integrate to the Linux distro and my friend said for the data to be fed to the ai...

Similar threads

Replies
43
Views
5K
Replies
3
Views
2K
Back
Top