Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!darwin.sura.net!newsserver.jvnc.net!gmd.de!mururoa!veit From: veit@mururoa.gmd.de (Holger Veit) Subject: Re: Remember the old banner? Message-ID: <1993May4.064036.26142@gmd.de> Sender: veit@mururoa (Holger Veit) Nntp-Posting-Host: mururoa Organization: GMD, Sankt Augustin, Germany References: <1993Apr26.171737.352@ziff.com> Date: Tue, 4 May 1993 06:40:36 GMT Lines: 51 In article <1993Apr26.171737.352@ziff.com>, Scott Bronson <bronson@soda.berkeley.edu> writes: |> Does anyone remember the OLD banner? The one that prints its characters |> horizontally? I really really need the source for it so I can port it |> to a non-Unix environment. Unfortunately, everywhere I have checked |> has only the sources to the new banner that prints gigantic characters |> vertically. |> |> ###### |> # # ## # # # # ###### ##### |> # # # # ## # ## # # # # |> ###### # # # # # # # # ##### # # |> # # ###### # # # # # # # ##### |> # # # # # ## # ## # # # |> ###### # # # # # # ###### # # |> |> ^^ I want this ^^ |> |> ### ## |> ### ## ### |> ############################# ###### |> ############################# ######## |> ############################# ###### |> ############################# ### |> ### |> |> ^^ Not this. ^^ |> |> Thanks so much for any help that you would be able to offer! |> |> - Scott I think the original banner was AT&T copyrighted. But there is the code to print large characters available in the Berkeley lpd daemon, because it can print a 'banner page'. Try to locate the source of 'lpd', for instance from NET/2, or in the 386bsd source tree in /usr/src/usr.sbin/lpr/lpd in files 'printjob.c' and 'lpdchar.c'. The main routine which accomplishes printing of this is 'scan_out'. You have to remove lot of code which does not belong to it, of course, to get a working 'banner'. Hope that helps Holger -- Dr. Holger Veit | INTERNET: Holger.Veit@gmd.de | | / GMD-SET German National Research | Phone: (+49) 2241 14 2448 |__| / Center for Computer Science | Fax: (+49) 2241 14 2342 | | / P.O. Box 13 16 | Three lines Signature space | |/ Schloss Birlinghoven | available for rent. Nearly DW-5205 St. Augustin, Germany | unused, good conditions