Re: lpd printing problem

2011-10-25 Thread Otto Moerbeek
On Tue, Oct 25, 2011 at 09:57:50PM +0200, Stefan Unterweger wrote: > * Pascal Stumpf on Wed, Oct 12, 2011 at 05:39:48PM +0200: > > > Check your /var/log/lpd.errs. > > > Doesn't contain anything but "restarted" messages. > > > > Also, ktracing lpd with the the -i flag might give a clue to what th

Re: lpd printing problem

2011-10-25 Thread Stefan Unterweger
* Pascal Stumpf on Wed, Oct 12, 2011 at 05:39:48PM +0200: > > Check your /var/log/lpd.errs. > Doesn't contain anything but "restarted" messages. > > Also, ktracing lpd with the the -i flag might give a clue to what the > > lpd child is doing. > Apparently, it segfaults: > I remembered I had the

Re: lpd printing problem

2011-10-14 Thread Otto Moerbeek
On Fri, Oct 14, 2011 at 09:40:42AM -0400, Todd C. Miller wrote: > The (existing) abuse of toprec is a bit kludgy but this should fix > the problem for now. yes it does, also tested termcap and termlib db creation. But you are right, the code is a bit ugly, -Otto > > - todd > > Index:

Re: lpd printing problem

2011-10-14 Thread Todd C. Miller
The (existing) abuse of toprec is a bit kludgy but this should fix the problem for now. - todd Index: lib/libc/gen/getcap.c === RCS file: /home/cvs/openbsd/src/lib/libc/gen/getcap.c,v retrieving revision 1.29 diff -u -r1.29 getcap.c

Re: lpd printing problem

2011-10-14 Thread Otto Moerbeek
On Fri, Oct 14, 2011 at 01:44:09PM +0200, Pascal Stumpf wrote: > On Fri, 14 Oct 2011 11:37:29 +0200, Otto Moerbeek wrote: > > On Fri, Oct 14, 2011 at 11:28:22AM +0200, Pascal Stumpf wrote: > > > > > On Fri, 14 Oct 2011 10:24:05 +0200, Otto Moerbeek wrote: > > > > On Wed, Oct 12, 2011 at 05:39:48P

Re: lpd printing problem

2011-10-14 Thread Pascal Stumpf
On Fri, 14 Oct 2011 11:37:29 +0200, Otto Moerbeek wrote: > On Fri, Oct 14, 2011 at 11:28:22AM +0200, Pascal Stumpf wrote: > > > On Fri, 14 Oct 2011 10:24:05 +0200, Otto Moerbeek wrote: > > > On Wed, Oct 12, 2011 at 05:39:48PM +0200, Pascal Stumpf wrote: > > > > > > > On Wed, 12 Oct 2011 17:25:06

Re: lpd printing problem

2011-10-14 Thread Otto Moerbeek
On Fri, Oct 14, 2011 at 11:28:22AM +0200, Pascal Stumpf wrote: > On Fri, 14 Oct 2011 10:24:05 +0200, Otto Moerbeek wrote: > > On Wed, Oct 12, 2011 at 05:39:48PM +0200, Pascal Stumpf wrote: > > > > > On Wed, 12 Oct 2011 17:25:06 +0200, Otto Moerbeek wrote: > > > > On Wed, Oct 12, 2011 at 04:03:57P

Re: lpd printing problem

2011-10-14 Thread Pascal Stumpf
On Fri, 14 Oct 2011 10:24:05 +0200, Otto Moerbeek wrote: > On Wed, Oct 12, 2011 at 05:39:48PM +0200, Pascal Stumpf wrote: > > > On Wed, 12 Oct 2011 17:25:06 +0200, Otto Moerbeek wrote: > > > On Wed, Oct 12, 2011 at 04:03:57PM +0200, Pascal Stumpf wrote: > > > > > > > I have two printers on the lo

Re: lpd printing problem

2011-10-14 Thread Otto Moerbeek
On Wed, Oct 12, 2011 at 05:39:48PM +0200, Pascal Stumpf wrote: > On Wed, 12 Oct 2011 17:25:06 +0200, Otto Moerbeek wrote: > > On Wed, Oct 12, 2011 at 04:03:57PM +0200, Pascal Stumpf wrote: > > > > > I have two printers on the local network (laser and lexmark) and I want > > > to use lpd(8) to pri

Re: lpd printing problem

2011-10-12 Thread Garance A Drosihn
On 10/12/11 10:03 AM, Pascal Stumpf wrote: I have two printers on the local network (laser and lexmark) and I want to use lpd(8) to print on them. It seems to me that lpd is having some sort of local problem (it does not even create lock and status files in the spool directories, and both lpr and

Re: lpd printing problem

2011-10-12 Thread Pascal Stumpf
On Wed, 12 Oct 2011 17:25:06 +0200, Otto Moerbeek wrote: > On Wed, Oct 12, 2011 at 04:03:57PM +0200, Pascal Stumpf wrote: > > > I have two printers on the local network (laser and lexmark) and I want > > to use lpd(8) to print on them. It seems to me that lpd is having some > > sort of local probl

Re: lpd printing problem

2011-10-12 Thread Otto Moerbeek
On Wed, Oct 12, 2011 at 04:03:57PM +0200, Pascal Stumpf wrote: > I have two printers on the local network (laser and lexmark) and I want > to use lpd(8) to print on them. It seems to me that lpd is having some > sort of local problem (it does not even create lock and status files in > the spool di

Re: lpd printing problem

2011-10-12 Thread patrick keshishian
On Wed, Oct 12, 2011 at 7:03 AM, Pascal Stumpf wrote: > I have two printers on the local network (laser and lexmark) and I want > to use lpd(8) to print on them. It seems to me that lpd is having some > sort of local problem (it does not even create lock and status files in > the spool directories

lpd printing problem

2011-10-12 Thread Pascal Stumpf
I have two printers on the local network (laser and lexmark) and I want to use lpd(8) to print on them. It seems to me that lpd is having some sort of local problem (it does not even create lock and status files in the spool directories, and both lpr and lpq do not see the daemon). But some info fi

Re: lpd printing

2010-05-07 Thread Predrag Punosevac
On 2010-05-07, Chris Bennett wrote: > On 05/07/10 16:59, Frank Bax wrote: >> I've never printed from my OpenBSD desktop. >> I've used lpd on Windows to print to HP printers with "HP JetDirect". >> >> I read the recent thread about lpd/postscript. >> >> Will I be able to use lpd to print to any "HP

Re: lpd printing

2010-05-07 Thread Robert
Hi, I have a HP 1515n, which is pretty similar. You can print directly to it (over LAN) without apsfilter etc. Simply add an entry in /etc/printcap like this: (rm = your printer IP) lp:\ :sd=/var/spool/output:\ :mx#0:\ :sh:\ :rm=192.168.0.100:\ :rp=lp: Also enable lpd in /

Re: lpd printing

2010-05-07 Thread Jona Joachim
On 2010-05-07, Chris Bennett wrote: > On 05/07/10 16:59, Frank Bax wrote: >> I've never printed from my OpenBSD desktop. >> I've used lpd on Windows to print to HP printers with "HP JetDirect". >> >> I read the recent thread about lpd/postscript. >> >> Will I be able to use lpd to print to any "HP

Re: lpd printing

2010-05-07 Thread Chris Bennett
On 05/07/10 16:59, Frank Bax wrote: I've never printed from my OpenBSD desktop. I've used lpd on Windows to print to HP printers with "HP JetDirect". I read the recent thread about lpd/postscript. Will I be able to use lpd to print to any "HP JetDirect" printer? I'm looking at getting an HP 15

Re: lpd printing

2010-05-07 Thread Greg Thomas
On Fri, May 7, 2010 at 2:59 PM, Frank Bax wrote: > I've never printed from my OpenBSD desktop. > I've used lpd on Windows to print to HP printers with "HP JetDirect". > > I read the recent thread about lpd/postscript. > > Will I be able to use lpd to print to any "HP JetDirect" printer? > Yes, H

lpd printing

2010-05-07 Thread Frank Bax
I've never printed from my OpenBSD desktop. I've used lpd on Windows to print to HP printers with "HP JetDirect". I read the recent thread about lpd/postscript. Will I be able to use lpd to print to any "HP JetDirect" printer? I'm looking at getting an HP 1518ni colour laser. Does "HP postscri