From owner-freebsd-questions Mon Mar 20 21:46: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pioneernet.net (pop3.islandtransit.org [208.240.196.29]) by hub.freebsd.org (Postfix) with ESMTP id DCB2837BACA for ; Mon, 20 Mar 2000 21:45:51 -0800 (PST) (envelope-from chip@wiegand.org) Received: from chip.homenet [208.194.173.26] by pioneernet.net (SMTPD32-6.00) id AD323E35015E; Mon, 20 Mar 2000 21:48:34 -0800 From: Chip To: Mark Ovens Subject: Re: lp daemon not running Date: Mon, 20 Mar 2000 21:40:33 -0800 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain Cc: freebsd-questions@freebsd.org References: <20000320192125.A236@parish> MIME-Version: 1.0 Message-Id: <00032021464100.00342@chip.homenet> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I don't know what the problem is, but I'm getting frustrated. I know it's not supposed to be this difficult. I printed the lptest stuff as described in the book The Complete FreeBSD, I have lpd_enable=Yes set up in the /etc/rc.conf. I have the printcap set up as follows - lp|epson|line|Epson|Epson Stylus Color 400 Printer:\ :sh:sd=/var/spool/output/lpd:\ lp=/dev/lpt0:\ :if=/usr/local/libexec/if-simple:\ :lf=/var/log/lpd-errs:mx#0: But, I now am getting the following message when I run lpq in xwindow - Warning: No daemon present. I then su to root and enter lpd and nothing seems to happen, I enter lpq again and get the same message again! I even rebooted the doggone box and still get the same message. I turned off the printer then turned it back on after a couple minutes. No good. I don't know what to do next. I have to be able to have this print from my wifes win98/linux box across the network. And samba does work, at some point the other day she was able to send a printer test page over from win98. What next? Chip www.wiegand.org On Mon, 20 Mar 2000, Mark Ovens wrote: > On Sun, Mar 19, 2000 at 04:05:37PM -0800, Chip wrote: > > The printer is an Epson Stylus Color 400. > > I printed a test file from the regular Text Editor > > and that printed fine. I then printed this email from > > KMail and the header was: > > %!PS-Adobe-1.0 EPSF-3.0 > ^^^^^^^^^^^^^^^^^^^^^ > > PostScript level 1 and EPSF is Encapsulated PS > > > It should be 1 page but printed two pages of stuff. > > But it did print the text eventually. > > It will do. the text you are trying to print *must* be there, it's > just mixed up in a ton of PostScript commands. > > You need to install ghostscript from the ports if you want anything > fancy, mind you if it's just plain text it should work OK anyway. > Which "regular Text Editor" were you using? Can you change it's > default printer to non-PostScript. > > If you go ahead and install ghostscript (which would be a good idea > anyway) take a look at http://ukug.uk.freebsd.org/~mark/printer.html > where I've documented setting up an Epson Stylus 820. The stuff on the > first page you appear to have done already but follow one of the links > at the bottom (WP8 or StarOffice) for some info on using ghostscript > with Epson printers. It's not a ghostscript tutorial but it may be > useful to get you started. > > HTH > > > I also tried to print > > an image from Image Viewer, but got the same header. > > Below is the only line in my printcap file that is not commented: > > lp|Epson|local line printer:lf=/var/log/lpd-errs:sh:lp=/dev/lpt0:sd=/var/spool/output/lpd: > > This was generated by Webmin, I suppose, I haven't > > done anything to affect printing or set up a printer. > > Hope this helps. > > > > Chip > > www.wiegand.org > > > > > > On Sun, 19 Mar 2000, Mark Ovens wrote: > > > On Sun, Mar 19, 2000 at 02:18:22PM -0800, Chip wrote: > > > > Well, it works but the print jobs are just a lot of formatting codes > > > > Seems there must be some kind of filter I need now. > > > > This happens from the local machine and from the networked > > > > windows machines. > > > > Chip > > > > www.wiegand.org > > > > > > > > > > > > On Sun, 19 Mar 2000, Mark Ovens wrote: > > > > > On Sat, Mar 18, 2000 at 10:44:54PM -0800, Chip wrote: > > > > > > I am settin up samba on my bsd box and allowing the rest of the family > > > > > > to print to it, they use win98, win95 and linux. When I tested it the > > > > > > following error showed up in the Printer Queue window: > > > > > > Warning: no daemon present > > > > > > How do I fix this? > > > > > > > > > > > Well, we'll need a bit more info first :) > > > > > > What sort of printer is it? Is there any clue as to what the > > > formatting codes are? For example, Postscript files start: > > > > > > %!PS-Adobe-2.0 > > > %%Creator: > > > > > > > > > > > Add > > > > > > > > > > lpd_enable="YES" # Run the line printer daemon. > > > > > > > > > > to /etc/rc.conf to have it start automatically at boot time. To start > > > > > it immediately (without re-booting): > > > > > > > > > > # /usr/sbin/lpd > > > > > > > > > > HTH > > > > > > > > > > > Chip W > > > > > > www.wiegand.org > > > > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > > > -- > > > > > Seminars, n.: > > > > > From "semi" and "arse", hence, any half-assed discussion. > > > > > ________________________________________________________________ > > > > > FreeBSD - The Power To Serve http://www.freebsd.org > > > > > My Webpage http://ukug.uk.freebsd.org/~mark/ > > > > > mailto:mark@ukug.uk.freebsd.org http://www.radan.com > > > > > > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > -- > > > Seminars, n.: > > > From "semi" and "arse", hence, any half-assed discussion. > > > ________________________________________________________________ > > > FreeBSD - The Power To Serve http://www.freebsd.org > > > My Webpage http://ukug.uk.freebsd.org/~mark/ > > > mailto:mark@ukug.uk.freebsd.org http://www.radan.com > > -- > Seminars, n.: > From "semi" and "arse", hence, any half-assed discussion. > ________________________________________________________________ > FreeBSD - The Power To Serve http://www.freebsd.org > My Webpage http://ukug.uk.freebsd.org/~mark/ > mailto:mark@ukug.uk.freebsd.org http://www.radan.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message