From owner-freebsd-questions@FreeBSD.ORG Tue Dec 7 05:17:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA0AA1065697 for ; Tue, 7 Dec 2010 05:17:19 +0000 (UTC) (envelope-from mla_strick@att.net) Received: from smtp126.sbc.mail.sp1.yahoo.com (smtp126.sbc.mail.sp1.yahoo.com [69.147.65.185]) by mx1.freebsd.org (Postfix) with SMTP id 8D99A8FC18 for ; Tue, 7 Dec 2010 05:17:19 +0000 (UTC) Received: (qmail 99038 invoked from network); 7 Dec 2010 05:17:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1291699039; bh=1rIkTmASvwMEGuuTRsSYRFQuhwra/QJXArDa2n1RJsg=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Received:Date:From:Message-Id:To:Subject:Cc; b=y1JVmyuY/ADErI3oaxG1qbgjZhtBb1IlukYaHZDtP5MBZ7CDuMSglRbGwTuMC5KQr+3I94u5yj9kLmFzY3iJGFO0WxVgHpUhascaFSrNZ3pqUqWTDNDezukjeUZCf7fKA2DjPbD4XP6quMn/Gy/QuX7U1xJNNAWqG9bubEU+4nU= Received: from mist.nodomain (mla_strick@69.228.199.197 with login) by smtp126.sbc.mail.sp1.yahoo.com with SMTP; 06 Dec 2010 21:17:18 -0800 PST X-Yahoo-SMTP: ppEzeiKswBBq7wHVNDEiPbPsAwzyGELyRI8IdiDYGqsxaD5uQA-- X-YMail-OSG: U_8InzIVM1kSw9YsHI5L1lwmkZB1Kr723YzIS8I1jNroJQV Wf4uH9ZF3tuLXOLhEHB61nxeEd7rYrBLN2M1BKVNkH4W13_48hssBp3jgAgt yHs7Y2zyXJvTAn6KSqb.tcukhLRlXv_UTbF2s7l_5uQNRkTgDNl2Ib8Fu55f OoAunt2uKMEKlVUjeqTp.Xcid0S4j1EoX40eH9_sfY0CjJqAuDgqqxRd7pA4 p X-Yahoo-Newman-Property: ymail-3 Received: from mist.nodomain (localhost [127.0.0.1]) by mist.nodomain (8.14.4/8.14.4) with ESMTP id oB75HCGF012228; Mon, 6 Dec 2010 21:17:17 -0800 (PST) (envelope-from mla@mist.nodomain) Received: (from dan@localhost) by mist.nodomain (8.14.4/8.14.4/Submit) id oB75HCeO012227; Mon, 6 Dec 2010 21:17:12 -0800 (PST) (envelope-from mla) Date: Mon, 6 Dec 2010 21:17:12 -0800 (PST) From: Dan Strick Message-Id: <201012070517.oB75HCeO012227@mist.nodomain> To: freebsd-questions@freebsd.org Cc: frank@shute.org.uk Subject: Re: printing from inside Linux firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2010 05:17:19 -0000 On Sat 4 Dec 2010, Frank Shute responded to my previous question: > On Fri, Dec 03, 2010 at 07:22:34PM -0800, Dan Strick wrote: > > > > ... > > > > I tried printing to a file, but both the Linux and FreeBSD Firefox > > programs create slightly strange postscript and pdf files which seem > > to display correctly via the ghostscript and acroread programs but > > won't print correctly on my postscript printer (a Brother HL-1270N). > > Firefox produces OK postscript. Your printer setup is borked. Try > using lpr and doing away with CUPS is my advice. Then you can send ps > directly to the printer. > > Below are the important files for my postscript printer. I just > convert everything to postscript before I lpr it. I don't use CUPS. My only interest in CUPS is that modern Linux binaries often use it and I would like to know how to configure /compat/linux so that printing works. My FreeBSD system uses lpr. My printcap entry looks like this: (the printer has an ethernet interface) ps0|ps|Brother HL-1270N:\ :sh:rw:mx#30000:\ :lp=9100@br-hl-1270n:sd=/var/spool/lp/ps0:lf=/var/log/lpd-errs: I also convert everything to postscript before I lpr it. My printer setup is not borked. All postscript files other than those produced by firefox (e.g. those produced by enscript or groff -Tps) work just fine. My printer may be a little strange. I am not sure its postscript interpreter is precisely correct. Thanks, Dan Strick