LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 10-20-2021, 02:51 AM   #1
swgeek
LQ Newbie
 
Registered: Sep 2011
Posts: 18

Rep: Reputation: Disabled
HP 2055 usb printer does not work


Hi Folks;
I am a linux user, and have been using Linux since 1998. I have gotten OpenBSD installed, with fvwm, and later xfce4. Got networking working, and a variety of ports installed (firefox, libreoffice, texlive, a variety of editors and utilities). Printing to an HP 2055dn on usb has got me stumped. Installed cups, et all. Can install the HP. Does not work (shows "processing" and never prints. One problem is disabling ulpt. Nothing in any of the posts I have read works. ulpt still shows up in dmesg. First problem, I guess is that: disable ulpt. Second need is to give the wheel group control over cups.
later
swgeek
 
Old 10-20-2021, 03:42 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Location: Walsall, UK
Posts: 2,692
Blog Entries: 6

Rep: Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276
Have you installed hplip? https://www.openprinting.org/printer...serJet_P2055dn
 
Old 10-20-2021, 05:00 AM   #3
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: debian IceWM
Posts: 5,583

Rep: Reputation: Disabled
All files under /etc/cuos are owned by root. This is intentional.
 
1 members found this post helpful.
Old 10-20-2021, 08:50 AM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Location: Walsall, UK
Posts: 2,692
Blog Entries: 6

Rep: Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276Reputation: 2276
Regarding ulpt(4), I suggest searching the mailing lists. I assume you've read the docs for the CUPS port and that's where the info on disabling it has come from? You should also read the docs for the HPLIP port. It's a few years since I tried printing on OpenBSD, so can't provide much more in the way of specifics.

As I recall, not every USB printer needed it disabled and it can be problematic to disable it normally (without rebuilding the kernel) as KARL tends to undo it.

Can you connect the printer via ethernet instead? May save you a lot of unnecessary grief...

You might have more luck at either daemonforums.org or the openbsd-ports and openbsd-misc mailing lists (search the archives first).

Last edited by cynwulf; 10-20-2021 at 08:53 AM.
 
1 members found this post helpful.
Old 10-20-2021, 10:21 PM   #5
swgeek
LQ Newbie
 
Registered: Sep 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
may try ethernet
 
Old 10-21-2021, 08:11 AM   #6
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 249

Rep: Reputation: 114Reputation: 114
The admin must disable the ultp(4) driver when connecting the printer via USB. In -current, this is done easily with a new facility (post-7.0) called bsd.re-config(5). In 7.0 or previously, this must be done manually with config(8), such as:
Code:
# config -e -o /bsd.new /bsd
OpenBSD 7.0 (GENERIC...
...
...
Enter 'help' for information
ukc> disable ulpt
xxx ulpt disabled
quit
Saving modified kernel.
# cp /bsd /bsd.old
# mv /bsd.new /bsd
 
1 members found this post helpful.
Old 10-21-2021, 07:19 PM   #7
swgeek
LQ Newbie
 
Registered: Sep 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
ok, the config -e -o ..... worked ulpt is disabled. Can see printer through cups admin page (localhost:631). Printer shows "paused" on computer. If you resume printer, it shows "idle", when you print a test page, it shows cannot send. If you diagnose, it says queue is not enabled, go to menu -> system -> print settings, and enable it. When I go there enable is checked, and I (as a member of the wheel group) have no control. 1st question: how to give wheel group control over printing / cups and 2.) any further suggestions?
Swgeek
 
Old 10-21-2021, 07:52 PM   #8
swgeek
LQ Newbie
 
Registered: Sep 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
quick question system-config-printer is owned by root and is in group "bin". how does one give control to the wheel group?
 
Old 10-21-2021, 11:15 PM   #9
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 249

Rep: Reputation: 114Reputation: 114
You may have some luck by reviewing CUPS error logs, which may show more information than the minimalist messages presented through the cups web interface. Error logs are stored under /var/log/cups/.
 
Old 10-21-2021, 11:40 PM   #10
swgeek
LQ Newbie
 
Registered: Sep 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
Gave up and set it up as a network printer. Played with drivers a bit, and it works fine. Please suggest that any noob set up printers via Network, as USB printing is a real PITA. Thanks
swgeek
 
Old 10-22-2021, 02:05 AM   #11
swgeek
LQ Newbie
 
Registered: Sep 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
This is getting silly. Got the network printer working can print a test page, print from libreoffice,etc. Okular, my normal pdf viewer / printer program just crashes when you open "print view" and prints nothing when you attempt to print. Libreoffice draw will open a pdf but prints garbage in places, and is therefore unusable. All the other programs that I have found for viewing and printing pdfs work through lpr / lpd which according to what I have read CANNOT run on a system running cups. I am more than a bit frustrated, any suggestions?
swgeek
 
Old 10-22-2021, 09:15 AM   #12
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 249

Rep: Reputation: 114Reputation: 114
I use CUPS with a networked HP printer. I have CUPS installed primarily because of applications that use GTK services for printing. I don't have an issue with Libreoffice because of that integration. For PDF printing, I use evince, which has the same GTK integration.

My HP tools: hpijs for my printer's PPD file, hplip-gui for printer management, and hpcups, which is a dependency of hplip.

My CUPS tools include the GTK backends: cups, cups-filters, cups-libs, gtk+2-cups, and gtk+3-cups.
 
1 members found this post helpful.
Old 10-22-2021, 11:00 AM   #13
swgeek
LQ Newbie
 
Registered: Sep 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
ok, will give it one more shot.
 
Old 10-22-2021, 11:25 AM   #14
swgeek
LQ Newbie
 
Registered: Sep 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
uninstalled evince-light, installed evince, along with utilities mentioned -> worked

Last edited by swgeek; 10-22-2021 at 03:38 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] WGU-210 wireless usb, work in ubuntu, does not work in mint 18 sdowney717 Linux - Hardware 6 08-27-2017 03:52 PM
USB printer was working but after cancelling a job, 'usb' does not appear in CUPS VeggyDawson Linux - Hardware 2 06-08-2009 09:37 AM
CUPS printer will not share to windows client - printer does not have correct drivers Hotchips Linux - Server 2 07-22-2007 03:56 AM
Java does not work, I DLed Java and it still does not work M$ISBS Linux - Newbie 0 04-15-2007 09:20 PM
Scanner/Printer Combo Unit - Scanner Works - Printer Does Not rrrssssss Linux - Hardware 1 03-04-2007 11:49 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 06:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration