Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 1999 17:30:02 +0100 (MET)
From:      Ariel Burbaickij <Ariel.Burbaickij@mni.fh-giessen.de>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   my printcap once more .Giorgios has asked about it and some othertoo:)
Message-ID:  <Pine.GSO.4.10.9911091715140.1303-200000@sun6>
In-Reply-To: <86d7tkuxkv.fsf@localhost.hell.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---559023410-758783491-942165002=:1303
Content-Type: TEXT/PLAIN; charset=US-ASCII



On 9 Nov 1999, Giorgos Keramidas wrote:

> Alfred Perlstein <bright@wintelcom.net> writes:
> 
> > On Mon, 8 Nov 1999, Ariel Burbaickij wrote:
> > 
> > >  First of all,yes i have maanged to bring him so far as to
> > >  spit out some bytes.But on rather strange manner:i brought
> > >  it up with lpc up lp,previously it was not possible for me
> > >  to get it working with lpc start|enable all.As far as
> > >  understood it from man pages though,the function
> > >  of start|enable and up is rather identical.So
> > >  the question #1:
> > >  1)Is it a bug or a feature?What is the
> > >  expected way?What is the difference between
> > >  up and enable.
> > 
> > it seems 'start' will start lpd, while 'enable' will only
> > enable queing on the printer, it assumes you already have
> > lpd running.
> 
> Ahem, you're probably right on the spot here.  Tried that on my lpd
> tonight and -- sure thing -- it worked exactly like that.  It seems that 
> the _enable_ command tries to enable queueing without starting a daemon.
> >From /usr/src/usr.sbin/lpr/lpc/cmds.c (line 372) we read:
> 
>     /*
>      * Turn off the group execute bit of the lock file to enable queuing.
>      */
> 
> and the enable() function does just that.  Only the startpr() function a 
> few lines below starts a new daemon if one is not present.
> Ugums it this behaviour as we both have described it.
  But i am rather wondering or to quote man pages lpc(8):
  up [all |printer]Turns the queue for printer on and enables printing
  on printer.So it obviously the save bet.
  But some rows previously we read
  start [all |printer] Enables printing.Starts a spooling deamon
  This description and this behaviour given the question is:
   What is the difference then?
   Besides,i have seen that solaris and linux are fine
   out with just starting lpd daemon during startup procedures
   Both of them use as standard at least BSD lpd daemon.
   So the question is why it is not sufficent under fbsd?
   Why have i to type in lpc up all from commmand line?
   Is it a bug or a feature?
> > >  Yet to statemnet about just few bytes.
> > >  I use apsfilter and programm claims
> > >  that it could handle TIFF format but i got reverse staircase
> > >  effect while trying to print out some man pages.So question
> > >  #2 is:
> > >  How can i handle reverse staircase effect in this particular
> > >  case?
> > 
> > This is odd, manpages aren't in TIFF format.
>   Well even if they are not the effect is the same :)) I get
    reverse staircase(staircase starts on the left margin
    of a4 format after printing 1 sometimes 2 letter(s)
    on previous row)

> They certainly aren't.  At least those that I have seen so far.
> 
> > I think it would be great if you could provide us with your
> > printcap file so we can see exactly what's going on.
> 
> Oh, and please (not that I can't read it otherwise, but) it would be
> nice if you didn't use base-64 MIME encoded attachments.  Just quote
> your printcap entry.  Something like:
> 
> 	lp|Line Printer:\
> 		:sh:\
> 		:mx#0:
> I have not understood it about base-64 MIME i use mailserver
  of my collegde(i do not know wheather it has something in common 
  with your demand not to use this format ,though :))) 

> Regards.
> Best Regards
  Ariel Burbaickij
  Additional questions are as usually welcome.
> -- 
> Giorgos Keramidas, <keramida@ceid.upatras.gr>
> "What we have to learn to do, we learn by doing." [Aristotle]
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

---559023410-758783491-942165002=:1303
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=printcap
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GSO.4.10.9911091730020.1303@sun6>
Content-Description: 
Content-Disposition: attachment; filename=printcap

IyMjIyMJQCgjKXByaW50Y2FwCTUuMyAoQmVya2VsZXkpIDYvMzAvOTANCiMj
IyMjICRJZDogcHJpbnRjYXAsdiAxLjkgMTk5OC8wMi8wNCAxMjowOTowNiBh
Y2hlIEV4cCAk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LWF1dG8tbW9ub3xiajIwMCBhdXRvIG1vbm86XA0KCTpscD0vZGV2L2xw
dDA6XA0KCTpzZD0vdmFyL3Nwb29sL2JqMjAwLWE0LWF1dG8tbW9ubzpcDQoJ
OmxmPS92YXIvc3Bvb2wvYmoyMDAtYTQtYXV0by1tb25vL2xvZzpcDQoJOmFm
PS92YXIvc3Bvb2wvYmoyMDAtYTQtYXV0by1tb25vL2FjY3Q6XA0KCTppZj0v
dXNyL2xvY2FsL2Fwc2ZpbHRlci9maWx0ZXIvYXBzLWJqMjAwLWE0LWF1dG8t
bW9ubzpcDQoJOm14IzA6XA0KCTpzaDoNCiMNCnJhd3xscDN8YmoyMDAtYTQt
cmF3fGJqMjAwIGF1dG8gcmF3OlwNCgk6bHA9L2Rldi9scHQwOlwNCgk6c2Q9
L3Zhci9zcG9vbC9iajIwMC1yYXc6XA0KCTpsZj0vdmFyL3Nwb29sL2JqMjAw
LXJhdy9sb2c6XA0KCTphZj0vdmFyL3Nwb29sL2JqMjAwLXJhdy9hY2N0OlwN
Cgk6aWY9L3Vzci9sb2NhbC9hcHNmaWx0ZXIvZmlsdGVyL2Fwcy1iajIwMC1h
NC1yYXc6XA0KCTpteCMwOlwNCgk6c2g6DQo=
---559023410-758783491-942165002=:1303--


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?Pine.GSO.4.10.9911091715140.1303-200000>