Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I can't print since a recent upgrade. Im not entirely sure of what upgrade etc. But at the moment I have purged and reinstalled Cups and HPLIP to no avail.
I have a file called /dev/usb/lp1 but not /dev/usb/lp0 which I believe should be there.
I am a computer user not pro. So can anyone tell me where I am going wrong?
Using Ubuntu 16.04 and a HP laserjet 1100 printer with a parallel port cable to usb cable attached to my computer.
The lsusb -t option gives this detail showing it recognises a printer of some sort
Quote:
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
|__ Port 2: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
|__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 4: Dev 4, If 0, Class=Printer, Driver=usblp, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
Recent versions of cups don't like the usb printer module usblp.ko. They use libusb instead.
Blacklisting the driver used to work perfectly well but after more recent updates of cups, I found it was better not to have it built in the first place.
lsusb will only show the USB parallel port adapter.
I would expect if you unplug the adapter, restart the computer and reinsert the adapter that /dev/usb/lp0 will be created. I have not played with a USB parallel port adapter in a while. I would expect that hp-setup to automatically configure the printer.
I assume your cups printer uri is:
parallel:/dev/usb/lp0
The LJ 1100 has a legacy parallel port and is not a USB printer. Not sure why usblp is being used but it might be interfering.
URIs are just a more general version of the URLs that your browser uses. You are familiar with URLs of the type http://www.address.com. They consist of an access protocol and an address, separated by a colon and a slash. If you look at the sample URI provided by michaelk, you will see that it follows the same syntax.
If cups can't detect your printer automatically, you will need to add it by providing a suitable URI by hand.
I don't know what the latest Ubuntu add printer wizard looks like so not much help except there should be a way specify the port. Does the icon for the printer still exist?
Your earlier output in post #3 pertains to the adapter device...
Code:
Port 4: Dev 4, If 0, Class=Printer, Driver=usblp, 12M
Open a terminal window and watch the kernel output with
Code:
dmesg -w
then plug in the USB to parallel port adapter and capture the output generated.
Assuming that checks out as expected, if the printer is then attached (and powered up) it should then be able to be detected via the CUPS parallel backend (run manually)...
Your missing packages mostly seem to be for development, so you won't actually need them. But not having libcups2 or cups-client looks suspicious to me.
strangely I actually have cups-client 2.1.3.4 installed and also libcups2 2.1.3.4 because if I try to install using synaptic they are listed as installed!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.