From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 13:38:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DA6656A3 for ; Mon, 12 Aug 2013 13:38:14 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5EE3E2E5D for ; Mon, 12 Aug 2013 13:38:14 +0000 (UTC) Received: by mail-lb0-f173.google.com with SMTP id 10so4856003lbf.4 for ; Mon, 12 Aug 2013 06:38:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=/lPnbTYmcvrWZdnJYGlXhPFMgDAnrnT01EtVhC30ErU=; b=NOfwphu70pD3W2i7ZgMWMVADUWhQ/Pphr7wfBZ902KxFAcT/bfVMkxq+0fUAGUrB5c VQ3uM5vIYcyyBn63EOhe91jn9wrWwIA5950AYxND0pmftYuEN0E5cb3C2ggsQeRDCwdC pSO1R4d2kk317L4pL05GPmAkScqoSo8dLAxobwCmkN07YF0ftKQ357v3ODfFfJQnRTr9 CqNegTom7kyJ6EfPdBswwC4O3OUW+8RT1JsU/3G2Hq9PnSSSTtSgT9d72urTj4LAYggX 8ytJ1gg7KQa/wVaSThto3oY+QtyEYOCnlv3Wb5oDqdGyTIK8fmP+L+Xita7ZNVCBFHHB zI0A== X-Received: by 10.152.9.37 with SMTP id w5mr11521370laa.23.1376314692292; Mon, 12 Aug 2013 06:38:12 -0700 (PDT) Received: from [192.168.1.128] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPSA id p17sm11827070lbv.11.2013.08.12.06.38.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Aug 2013 06:38:11 -0700 (PDT) Message-ID: <5208E542.5060900@gmail.com> Date: Mon, 12 Aug 2013 16:38:10 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130809 Thunderbird/17.0.8 MIME-Version: 1.0 To: Juris Kaminskis Subject: Re: Setup HP Laserjet 1120m over network with LPD References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 13:38:14 -0000 06.08.2013 22:58, Juris Kaminskis wrote: > after several trials and errors and reading through FreeBSD handbook I am > at dead end on how to proceed further, hope someone can guide me. I always use foomatic for such things, it's quite easier to set up. For example I have: hplj2420d|lp|HP LaserJet 2420|:\ :af=/usr/local/etc/foomatic/lpd/hplj2420d.ppd:\ :lf=/var/log/lp-errs:\ :ppdfile=/usr/local/etc/foomatic/lpd/hplj2420d.ppd:\ :sd=/var/spool/lpd/hplj2420d:\ :lp=/dev/ulpt0:\ :if=/usr/local/bin/foomatic-rip:\ :sh:\ :mx#0: I installed those ones: print/foomatic-db-engine print/foomatic-db-hpijs This is local setup, but I think network setup can be done almost the same way. This printer was initially set up as a network printer but after Windows 7 emerged there were numerous problems with printing anything so I grabbed the box and converted it to lpd printer. Now everything works flawlessly for years. In your case the key might be using correct filters to feed raw data to printer. Most winprinters doesn't know what ps is and require user to provide correct raw data. -- Sphinx of black quartz, judge my vow.