LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 01-20-2013, 12:08 AM   #1
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Rep: Reputation: 146Reputation: 146
OpenBSD CUPS bugs


I tried to add a HP PhotoSmart 7350 printer in CUPS web administration on OpenBSD 5.2. It always returns an error about the printer description. CUPS says the printer description must be only up to 127 characters, and contain no spaces, nor '/' or '#.' (though the example description has spaces!) I tried with underscores, a null string, and one string of letters only and am always getting this error. I have heard of other people having this problem with letter-only strings.
 
Old 02-01-2013, 11:12 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

Perhaps installing hplip will help. It did in my case with my HP Envy.

http://hplipopensource.com/hplip-web/index.html

Here is driver support if you deem it helpful.
http://h10025.www1.hp.com/ewfrf/wc/d...72886&sw_lang=
http://h20000.www2.hp.com/bizsupport...SeriesId=72885

Which distro is giving you this issue with your HP printer?

Hope these suggestions help

Last edited by Ztcoracat; 02-01-2013 at 11:14 PM.
 
Old 02-01-2013, 11:16 PM   #3
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Original Poster
Rep: Reputation: 146Reputation: 146
I already got to the point of entering a HPLIP printer when I get this error. I stated I am using OpenBSD 5.2.
 
Old 02-01-2013, 11:36 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Got it; your running OpenBSD 5.2.-

Other folks are having a similar problem as you.
http://blog.gmane.org/gmane.comp.pri...p.user/page=79

I'm searching for the solution-

When you can; please post your error message.
 
Old 02-02-2013, 12:34 AM   #5
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Original Poster
Rep: Reputation: 146Reputation: 146
I solved the problem, or a similar one. I maybe had the wrong URI, then when I added it, it said the printer name had an error, so I followed instructions and the printer added. That gmane link above is about versions at least six years old that are not in OpenBSD 5.2, but the newsgroup they are in could be helpful.

I am having some more printing problems. When I checked there were cartridges and paper and tried a test print from the server, CUPS admin said the following.

Code:
stopped "/usr/local/libexec/cups/filter/pstotiff failed"
I am also having problems connecting to the printer from Windows, but this is a Samba problem, which I have a thread on, and I will start a new thread.
 
Old 02-02-2013, 12:44 AM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
I solved the problem, or a similar one
Glad you solved it-

I looked up your error message-

This update fixes the following regression:
A missing "\" at the end of a line in /usr/lib/cups/filter/pstotiff causes this
whole filter to fail, resulting in not being able to print on at least
Photosmart 7050. This was reported [1] by Thomas Lottmann and has now been
fixed.
Found this here:
https://bugs.mageia.org/show_bug.cgi?id=2816
 
Old 02-02-2013, 01:03 AM   #7
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Original Poster
Rep: Reputation: 146Reputation: 146
Thanks; I will try fixing that soon. Here is the thread describing my Samba problems that prevent me from accessing the printer.
 
Old 02-02-2013, 01:09 AM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by dchmelik View Post
Thanks; I will try fixing that soon. Here is the thread describing my Samba problems that prevent me from accessing the printer.
Your Welcome!

Have a good weekend!
 
Old 02-02-2013, 01:19 AM   #9
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Original Poster
Rep: Reputation: 146Reputation: 146
I opened the pstitoff file mentioned in my error message, but it does not even contain a '\' character like the thread you linked to mentions. One of the lines it mentions is blank in my version, and the other it mentions does not look like the type that should have a '\.'
 
Old 07-16-2015, 12:38 AM   #10
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Original Poster
Rep: Reputation: 146Reputation: 146
I am not using a printer with BSD right now, so I will mark this solved for my original question, and maybe the later thing is solved or I will not need to try it again.
 
  


Reply



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
1) Slow performance OpenBSD 5.0 on an old hardware 2) pkg_add cups - returns an error igadoter *BSD 3 01-29-2012 04:54 AM
LXer: OpenBSD code audit uncovers bugs, but no evidence of backdoor LXer Syndicated Linux News 0 12-23-2010 05:50 PM
LXer: OpenBSD tip: Speed up boot time if you're running CUPS LXer Syndicated Linux News 0 01-06-2009 08:52 AM
LXer: OpenBSD: CUPS runneth, plus the NetBSD live CD, (again) why I'm doing this.. LXer Syndicated Linux News 0 02-15-2008 10:00 PM
LXer: OpenBSD: Intel Core 2 Bugs LXer Syndicated Linux News 0 06-30-2007 08:47 PM

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

All times are GMT -5. The time now is 10:48 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