From owner-freebsd-hardware@FreeBSD.ORG Sun Apr 2 00:06:05 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB18516A41F for ; Sun, 2 Apr 2006 00:06:05 +0000 (UTC) (envelope-from j_guojun@lbl.gov) Received: from smtp103.sbc.mail.mud.yahoo.com (smtp103.sbc.mail.mud.yahoo.com [68.142.198.202]) by mx1.FreeBSD.org (Postfix) with SMTP id C7D4F43D70 for ; Sun, 2 Apr 2006 00:05:57 +0000 (GMT) (envelope-from j_guojun@lbl.gov) Received: (qmail 61997 invoked from network); 2 Apr 2006 00:05:57 -0000 Received: from unknown (HELO ?192.168.2.10?) (jinmtb@sbcglobal.net@68.127.175.93 with plain) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 2 Apr 2006 00:05:56 -0000 Message-ID: <442F15C6.4070409@lbl.gov> Date: Sat, 01 Apr 2006 16:07:34 -0800 From: "Jin Guojun [VFFS]" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050108 X-Accept-Language: zh, zh-CN, en MIME-Version: 1.0 To: Carlos Silva References: <442DFEE5.4040407@yourdot-mail.com> <442E82F2.8040702@bah.homeip.net> <442EACAF.4010606@yourdot-mail.com> <442EAEF1.5050307@bah.homeip.net> <442EB292.1000007@yourdot-mail.com> In-Reply-To: <442EB292.1000007@yourdot-mail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hardware@freebsd.org Subject: Re: cups X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Apr 2006 00:06:05 -0000 Carlos Silva wrote: > No, but i'll try this. > > I don't understand why lpr prints and cups not :( It is not clear how you printed via lpr. Unless you have a postscript (with .ps files) or plain text (for text only) printer, lpr will not print correctly except printing some garbages. If you used gs to convert .ps files to hp 1115 coded files, then you may use "lpr" command to print. Is this the way you printed? If so, the DeviceFILTER you used in gs option -sDEVICE=DeviceFILTER indicates the printer driver you need to use for CUPS. If CUPS has no related filter, then you need to write a filter/PDD file to invoke gs to do the conversion job for CUPS to print. It needs some work, but it is not too bad. I have a MFC 420n printer, I could not find a filter in either gs or CUPS, so I cannot use this printer under Unix/FreeBSD via lpr or CUPS :-) Since you said that you can print via lpr, then you should be able to print via CUPS. Just need a more clear picture on how you printed by using lpr. -Jin