From owner-freebsd-questions Fri Oct 25 06:07:52 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA19813 for questions-outgoing; Fri, 25 Oct 1996 06:07:52 -0700 (PDT) Received: from zwei.siemens.at (zwei.siemens.at [193.81.246.12]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA19807 for ; Fri, 25 Oct 1996 06:07:48 -0700 (PDT) Received: from sol1.gud.siemens.co.at (root@[10.1.143.100]) by zwei.siemens.at (8.7.5/8.7.3) with SMTP id PAA24643 for ; Fri, 25 Oct 1996 15:06:09 +0200 (MET DST) Received: from ws2301.gud.siemens.co.at by sol1.gud.siemens.co.at with smtp (Smail3.1.28.1 #7 for ) id m0vGlxw-00021FC; Fri, 25 Oct 96 15:06 MET DST Received: by ws2301.gud.siemens.co.at (1.37.109.16/1.37) id AA010628751; Fri, 25 Oct 1996 15:05:52 +0200 From: "Hr.Ladavac" Message-Id: <199610251305.AA010628751@ws2301.gud.siemens.co.at> Subject: Re: printing with FreeBSD To: andrsn@andrsn.stanford.edu (Annelise Anderson) Date: Fri, 25 Oct 1996 15:05:50 +0200 (MESZ) Cc: Alf.Krause@informatik.tu-chemnitz.de, freebsd-questions@freebsd.org In-Reply-To: from "Annelise Anderson" at Oct 25, 96 00:13:27 am X-Mailer: ELM [version 2.4 PL24 ME8a] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk E-mail message from Annelise Anderson contained: > > > On Thu, 24 Oct 1996, Alf Krause wrote: > > > Hi, > > I'm a new user of FreeBSD and i have some problems to print something. > > > > I've a HP Laserjet 4P (Non Postscript) on LTP1 and a HP Deskjet 510 on > > the LPT2. > > > > I Had make some chenges in the printcap file, but it's print not > > correctly.> > > -- > > Alf -:) > > Hi Alf, > > I am including the freebsd-questions list in this reply, because I > can't print very well myself. > > There doesn't seem to be any straightforward explanation of how to > print to non-postscript printers. One solution sometimes suggested > is installing apsfilter. I think it requires ghostscript, so first > you have to install that. apsfilter is not easy to install. > > I did this and now can print to my laserjet, but only the kind of > printing I get from the dos print command. So unless I just want a > print-out of a file for information (rather than a letter or a > spreadsheet file or whatever) I use dos/windows programs for printed > output. Not very satisfactory, is it? > > Maybe someone on questions can be more helpful. There's a great > deal of information in the FreeBSD handbook on this (should be on > your hard drive somewhere) but really nothing that actually tells > you how to do it. If you want to print PostScript on a non-PostScript printer you will need some PostScript-to-your_printer converter. One of the more popular is GhostScript, being free and all. You can set your printcap so that it uses the output filter which is a shell script that calls GhostScript with the correct environment and options and spits bitmaps out. This will be automatically sent to the proper device, and you get the output. What I have is several queues: one for ASCII, one for PS, and one for DVI. They all go to the same device. lpd seems to do the right thing and does not allow queues to disturb each other (i.e. jobs come out complete and undamaged regardless to which queue they have been submitted, even concurrently.) I can mail you my printcaps on Monday. /Marino > > Mit besten gru"ssen, > > Annelise > > -- > > -------------------------------------------------------------------------- > > + -= Alf Krause =- -= Phone: +49-37323-9757 =- > > + -= Neubauring 7 =- -= Fax : +49-37323-9782 =- \|||/ > > + -= D-09638 Lichtenberg =- -= krause@transnet.de =- 0(o o)0 -- > > > >