Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2001 18:45:05 -0700 (PDT)
From:      Ed Alley <alley1@llnl.gov>
To:        jslivko@4evermail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: apsfilter & LaserJet 4L and StarOffice
Message-ID:  <200110070145.f971j5P05384@jordan.llnl.gov>

next in thread | raw e-mail | index | archive | help

On Sat, 06 Oct 2001 14:55:53 -0400
"Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu> wrote:

> On Saturday, October 06, 2001 14:47:05 -0400, "Jonathan M.Slivko" 
> <jslivko@4evermail.com> wrote:
> +-----
> | lpc: connect: No such file or directory
> +--->8
> 
> /usr/sbin/lpd isn't running.  Start it manually and copy and edit the 
> appropriate line from /etc/defaults/rc.conf to /etc/rc.conf.
> 
> vpn35:5001 Z$ grep lpd /etc/rc.conf
> lpd_enable="YES"
> 
> -- 
> brandon s. allbery  [os/2][linux][solaris][freebsd]   allbery@kf8nh.apk.net
> system administrator   [JAPH][WAY too many hats]        allbery@ece.cmu.edu
> electrical and computer engineering                                   KF8NH
> carnegie mellon university     [linux: proof of the million monkeys theory]
> 
>

On Sat, Oct 06, 2001 Jonathan Slivko <jslivko@4evermail.com> wrote:

> Thanks! OK, the problem that now exists is that the printer now prints 1 line
> on the printer 

It sounds like you need to read about printer input filters in the handbook.
What is happening is that the "UNIX-style" newline at the end of a line of text
is not sufficient to cause the printer to return to column #1. The input
filter can add the carrage return to the line, or wrap your text in PCL
or whatever.

> ... (which it thinks is a generic printer) and not what it should be
> printing, which is either a netscape document or a StarOffice document. Any ideas
> there? ...

Probably sending Postscript down the pipe. Is your printer configured to read Postscript?

> ... It's my feeling that the printer thats being called is "lp" not "ljet4".
> How do I correct that? -- Jonathan

"lp" is a name or alias for an entry in your printcap file.

Look at manpage: printcap(5) to see how to configure printing. The handbook is
also helpful here. Basically, /etc/printcap instructs lpd on how to handle
your print request: what filters to run it through, whether you want a
burst page, accounting, etc.. If your printer is not configured for
Postscript (for instance) and you want to print Postscript, then you
need to set up an input filter that converts Postscript to your printer
language (probably PCL).

- -- 
Jonathan M. Slivko <jslivko@4evermail.com>
Head Systems Administrator, 4EverMail Hosting Services
http://www.4evermail.com -- Are YOU ready for the new Internet?

------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110070145.f971j5P05384>