From owner-freebsd-questions Sun Jul 7 18:45:20 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA14768 for questions-outgoing; Sun, 7 Jul 1996 18:45:20 -0700 (PDT) Received: from central.picker.com (central.picker.com [144.54.31.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id SAA14760 for ; Sun, 7 Jul 1996 18:45:17 -0700 (PDT) Received: from ct.picker.com by central.picker.com with smtp (Smail3.1.28.1 #3) id m0ud5LZ-0004rjC; Sun, 7 Jul 96 21:42 EDT Received: from elmer.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA20501; Sun, 7 Jul 96 21:41:59 EDT Received: by elmer.picker.com (SMI-8.6/SMI-SVR4) id VAA16006; Sun, 7 Jul 1996 21:43:47 -0400 From: rhh@ct.picker.com (Randall Hopper) Message-Id: <199607080143.VAA16006@elmer.picker.com> Subject: Re: Printing under Netscape To: fadorn19@idt.liberty.com (Fred Adorno) Date: Sun, 7 Jul 1996 21:43:46 -0400 (EDT) Cc: questions@freebsd.org In-Reply-To: <31DF636C.41C67EA6@idt.liberty.com> from "Fred Adorno" at Jul 7, 96 00:12:44 am Reply-To: rhh@ct.picker.com Organization: Picker International, CT Division X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*] 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 >Now that I got netscape working under X-Windows why can't I print a file >that is legible. Do I need to get a PS-Adobe reader or driver >installed? Yes. To my knowledge, postscript is all that's supported on the UNIX versions. If your printer supports PostScript, just create a print queue (/etc/printcap) to it and set the Netscape print command to: lpr -P If not, given that your printer is supported by GhostScript, you can pretty easily create a postscript print queue that kicks off ghostscript and translates the Postscript into the commands your printer will handle. For this, you'd still set your netscape print command to the same thing -- but your print queue would be set up differently. Here's what I use for printing on my HP Laserjet 4P (w/o PostScript SIMM :-): PRINT_COMMAND: lpr -Pps /etc/printcap entries: lp|LJ4P RAW:\ :lp=/dev/lpt0:sd=/var/spool/lpd/lp:lf=/var/log/lpd-errs:\ :mx#0:ff=\033E:fo:sh:tr=\033E: text|LJ4P TEXT (UNIX->DOS EOL text conversion & PC-8 [not Roman-8] Fontset):\ :lp=/dev/lpt0:sd=/var/spool/lpd/text:lf=/var/log/lpd-errs:\ :mx#0:ff=\033E\033&k2G\033(10U:fo:sh:tr=\033E: ps|LJ4P POSTSCRIPT (Ghostscript PS->PCL conversion):\ :lp=/dev/null:sd=/var/spool/lpd/ps:lf=/var/log/lpd-errs:\ :of=/opt/bin/gslj:\ :mx#0:sf:sh: /opt/bin/gslj script: #!/bin/sh TMPDIR=/usr/tmp PRINTER=lp GSLIB=/usr/local/lib/ghostscript/fonts PATH=/usr/local/bin:/usr/bin:$PATH export TMPDIR PRINTER GSLIB PATH exec gs -q -sDEVICE=ljet4 -dNOPAUSE -sOutputFile=\|lpr gslp.ps - Randall Hopper rhh@ct.picker.com