Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!pravda.aa.msen.com!spool.mu.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!lll-winken.llnl.gov!enews.sgi.com!decwrl!purdue!news.bu.edu!acs2.bu.edu!mi From: mi@bu.edu (Mikhail Teterin) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Printing on a DeskJet from FreeBSD Date: 24 Oct 1995 14:57:29 GMT Organization: Boston University Lines: 29 Message-ID: <46iusp$gga@news.bu.edu> References: <43n7o2$1c1@gap.cco.caltech.edu> <Y0001415.95Sep21093050@malibu.ts.rz.tu-bs.de> <Pine.LNX.3.91.950927220912.13750C-100000@cumulus.sky.bln.sub.org> <455bs1$opo@fu-berlin.de> <45b83k$273o@news-s01.ny.us.ibm.net> <46dviq$6v2@knobel.gun.de> NNTP-Posting-Host: acs2.bu.edu X-Newsreader: TIN [version 1.2 PL2] Some time ago (22 Oct 1995 17:38:34 GMT) honorable Andreas Klemm, residing at andreas@knobel.gun.de wrote: |Yaser Doleh (doleh@hanina.ims.advantis.com) wrote: |I recommend running the latest version 4.9.1 that runs fine here |on my FreeBSD-stable (2.1) system. |Maybe one kind soul could upload the tgz archive to ftp.freebsd.org ? |The only drayback is, that it's not configured for usage with |pkg_add. It comes with his own setup script. Well, I had to do some modifications by hands. The script I have now works to print ascii on my DeskJet, but I have not tried anything else. The problem is, that `echo' and `pr' commands are slightly different on FreeBSD and Linux. FreeBSD's (2.0.5-ALPHA) `echo' does not know -e option (to treat \<number> as a code). Also, on FreeBSD's `pr' indent's argument may not be empty, so I had to put a check if indent is requested, and if it's not, do not put `-o' to the `pr's command line at all. I can put what I have now to ftp.freebsd.org, but /etc/printcap modifi- cations shoud, I think, be done localy, and not by any setup script. The apsfilter has A LOT of comments inside of it, whic explain most of the things you have to do. Also, I never tested it for PostSrcipt-printing (ghostscript will not compile without X installed)... -mi -- hot-dog apple-pie baseball Chevrolet