From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 13:44:34 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 61B2B106566C for ; Sat, 26 Jun 2010 13:44:34 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 1DDF38FC1E for ; Sat, 26 Jun 2010 13:44:33 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o5QDiVCa058335; Sat, 26 Jun 2010 07:44:31 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o5QDiVKc058332; Sat, 26 Jun 2010 07:44:31 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 26 Jun 2010 07:44:31 -0600 (MDT) From: Warren Block To: Robert In-Reply-To: <20100626060439.576e2a09@asus64> Message-ID: References: <20100626060439.576e2a09@asus64> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Sat, 26 Jun 2010 07:44:31 -0600 (MDT) Cc: "freebsd-questions@freebsd.org" Subject: Re: Gnumeric w/network printer 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: Sat, 26 Jun 2010 13:44:34 -0000 On Sat, 26 Jun 2010, Robert wrote: > I have been having a problem for awhile and I need some help with it. I > have a Samsung network printer SCX-4725FN. It is a postscript printer. > > I am running FreeBSD 8 stable. > > FreeBSD asus64.shasta204.local 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE > #34: Fri Jun 25 21:17:41 PDT 2010 > root@asus64.shasta204.local:/usr/obj/usr/src/sys/GENERIC amd64 > > I have a simple printcap file: > > lp|samsung|Samsung SCX-4725N:\ > :lp=:rp=samsung:rm=192.168.2.2:\ > :sh:mx#0:\ > :sd=/var/spool/samsung:\ > :lf=/var/log/printer.log: rp should be the name of the queue on the printer. Some printers have a queue named "raw" that doesn't do any translation on incoming print jobs while other queues translate things like lf to cr. Some printers just ignore the queue name. rm should be the printer's DNS hostname, but since it prints it's probably resolvable. > The printer works fine with most all of the programs I use with the > exception of Gnumeric. If I try to print a spreadsheet, I get dozens of > pages with between one and four lines of garbled information. First guess: the printer's auto language switching is misidentifying the Gnumeric input as text. There may be a menu setting on the printer to make it accept everything as PS, or even a different queue to use. Second guess: the printer's PS engine can't quite handle the PS output of Gnumeric. Print to a .ps file, run that through ps2ps, and see if the result prints.