Re: Having trouble getting cups working

2008-04-22 Thread Reid Linnemann
Written by Andrew Falanga on 04/22/08 09:40
 HI,
 
 I've never actually tried to install cups before and last night decided to 
 give it a try because I was not having much success getting my printer 
 working using the handbook directions.  (I got it all setup correctly, 
 obviously something is incorrect but stay with me, and although I could get 
 stuff to print when I did 'cat somefile  /dev/lp0' I couldn't get anything 
 to print when I submitted to lpd.)
 
 So, I installed cups from ports, and setup my HP LaserJet 4+.  All seemed to 
 go well.  At first I had a problem with an error, something like unknown 
 application/postscript.  Anyway, some digging on the internet revealed that 
 I needed ESP Ghostscript installed.  So, I got that and that error went away. 
  
 Now, however, I still cannot get it to print.
 
 When I try to submit the printer test page from the web management interface, 
 it says, network host 'sniper' busy: will retry in X seconds.  The URI I'm 
 using for my printer is, lpd://sniper/lj4.  The printer is connected to my 
 parallel port and I think this is what I want because the other options are 
 whatever it is that cups calls JetDirect and then IPP and something else.
 
 Anyway, if someone could please point me in the correct direction I'd 
 appreciate it greatly.
 
 Thanks,
 Andy
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Your device URI should not be an lpd URI, especially since you can't
print with lpd. Use a 'parallel' URI in your case; parallel:/dev/lpt0
works for me. When you want to refer to the printer from an external
system, use ipp://hostname/printers/printername
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Having trouble getting cups working

2008-04-22 Thread David Reedy Jr
On Tuesday 22 April 2008 9:40:16 am Andrew Falanga wrote:
 HI,

 I've never actually tried to install cups before and last night
 decided to give it a try because I was not having much success
 getting my printer working using the handbook directions.  (I got it
 all setup correctly, obviously something is incorrect but stay with
 me, and although I could get stuff to print when I did 'cat
 somefile  /dev/lp0' I couldn't get anything to print when I
 submitted to lpd.)

 So, I installed cups from ports, and setup my HP LaserJet 4+.  All
 seemed to go well.  At first I had a problem with an error, something
 like unknown application/postscript.  Anyway, some digging on the
 internet revealed that I needed ESP Ghostscript installed.  So, I got
 that and that error went away. Now, however, I still cannot get it to
 print.

 When I try to submit the printer test page from the web management
 interface, it says, network host 'sniper' busy: will retry in X
 seconds.  The URI I'm using for my printer is, lpd://sniper/lj4. 
 The printer is connected to my parallel port and I think this is what
 I want because the other options are whatever it is that cups calls
 JetDirect and then IPP and something else.


I've just been dealing with the same thing the last day or two. First 
off, the uri you want is parallel:/dev/lpt0. The advise I was given 
yesterday was to add the following to /etc/devfs.conf (requires reboot)

own lpt0 root:cups
perm lpt0 0660

or to...

chown /dev/lpt0 root:cups
chmod 0660 lpt0

After making that change, the parallel port still wasn't listed as an 
available device (along with JetDirect, IPP, LPD, etc). I ended up 
resetting my /usr/local/etc/cups/cupsd.conf file to default and redid 
the settings. After restarting the cupsd I suddenly had the parallel 
and usb ports listed. I'm guessing I had a typo in my original setup.

HTH.

Dave

 Anyway, if someone could please point me in the correct direction I'd
 appreciate it greatly.

 Thanks,
 Andy
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Having trouble getting cups working

2008-04-22 Thread Andrew Falanga
On Tue, Apr 22, 2008 at 9:16 AM, Reid Linnemann [EMAIL PROTECTED] wrote:
 Written by Andrew Falanga on 04/22/08 09:40


  ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]

  Your device URI should not be an lpd URI, especially since you can't
  print with lpd. Use a 'parallel' URI in your case; parallel:/dev/lpt0
  works for me. When you want to refer to the printer from an external
  system, use ipp://hostname/printers/printername


How interesting.  I suspected something like this but the web
interface didn't show a parallel URI.  Thank you all.  I'll give this
a try tonight when I get home.

Andy


-- 
 A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Having trouble getting cups working

2008-04-22 Thread Andrew Falanga
On Tuesday 22 April 2008 09:16:42 Reid Linnemann wrote:

 Your device URI should not be an lpd URI, especially since you can't
 print with lpd. Use a 'parallel' URI in your case; parallel:/dev/lpt0
 works for me. When you want to refer to the printer from an external
 system, use ipp://hostname/printers/printername


Thank you all.  My problem, as you all know, was the URI.  I changed to using 
parallel:/dev/lpt0 and everything is working great.  This is too cool!

Because there wasn't a URI of that type listed on the administration web page, 
I didn't think to use something other than what was there.

At any rate, I'm printing from KPDF and it's really cool!  Thanks again.

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]