From owner-freebsd-questions@FreeBSD.ORG Sat Mar 31 23:11:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9AEEB16A40D for ; Sat, 31 Mar 2007 23:11:10 +0000 (UTC) (envelope-from zenzof1@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 2367913C522 for ; Sat, 31 Mar 2007 23:11:09 +0000 (UTC) (envelope-from zenzof1@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1222705ugh for ; Sat, 31 Mar 2007 16:11:08 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=MOtE9ZhZ616eHdzRv/rH0SMQk/WqyG0ro0H1QgRyAw0Iront4OvPuYSty6bTqdDTGVM6SGyRZuIiHnV38121+S3PnjV1jiWcGXaOrvjEiAla8S+41qJvqHMHkGeRaubcwddpxEohC8xfdcIQ1bUhObHULt+KjOS0rzjHb2+IeEw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ZdD04h4b5kQ9/lbjs3vBxPxmcBVWoSqu1RzcDR0dd6zg2B5sKM1LVSOiPxWE4gW6FgHO80o0Kr9RXQZQZIVpIQIoIEoSTi0yIs5TY7MwEPgt5TbVX1JF6hqJrx2hPTu/zpOMdcyB7Mt1RaqdQ5naVKMZIU9I8OMWlMxgVY4Le9o= Received: by 10.64.114.10 with SMTP id m10mr1737368qbc.1175382667036; Sat, 31 Mar 2007 16:11:07 -0700 (PDT) Received: by 10.114.194.9 with HTTP; Sat, 31 Mar 2007 16:11:06 -0700 (PDT) Message-ID: <640eadd40703311611i286c517x3de33bd38290bcd6@mail.gmail.com> Date: Sun, 1 Apr 2007 01:11:06 +0200 From: "=?ISO-8859-2?Q?Ivan_Zenzerovi=E6?=" To: freebsd-questions@freebsd.org In-Reply-To: <20070331165257.X25626@wonkity.com> MIME-Version: 1.0 References: <640eadd40703311522y43375f75v430714edba0df51b@mail.gmail.com> <20070331165257.X25626@wonkity.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Printer issue 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, 31 Mar 2007 23:11:10 -0000 Thanks, I'll try to configure it now. /etc/printcap/ # @(#)printcap 5.3 (Berkeley) 6/30/90 # $FreeBSD: src/etc/printcap,v 1.14 2004/06/06 11:46:27 schweikh Exp $ # # This enables a simple local "raw" printer, hooked up to the first # parallel port. No kind of filtering is done, so everything you pass # to the "lpr" command will be printed unmodified. # # Remember, for further print queues you're going to add, you have # to choose different spool directories (the "sd" capability below), # otherwise you will greatly confuse lpd. # # For some advanced printing, have a look at the "apsfilter" package. # It plugs into the lpd system, allowing you to print a variety of # different file types by converting everything to PostScript(tm) # format. For more information about apsfilter visit # # http://www.apsfilter.org/ # # If you don't have a PostScript(tm) printer, don't panic, but do # also install the latest "ghostscript" package for best printer support. # # Do also refer to the "printing" section of the handbook. # # http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html # # A local copy can be found under # # /usr/share/doc/handbook/handbook.{html,latin1}. # # Banner pages are now suppressed by default. Remove the :sh: capability # to turn them back on. # #lp|local line printer:\ # :sh:\ # :lp=3D/dev/lpt0:sd=3D/var/spool/output/lpd:lf=3D/var/log/lpd-errs: # # Sample remote printer. The physical printer is on machine "lphost". # You can perform any kind of local filtering directly. If you need # local filters (e.g. LF -> CR-LF conversion for HP printers), create # a filter script that sends the proper escape sequence to the printer # and then concatenates stdin to stdout. # #remote|sample remote printer:\ # :sh:\ # :rm=3Dlphost:sd=3D/var/spool/output/lphost:lf=3D/var/log/lpd-errs:\ # :if=3D/usr/local/libexec/if-script: # # Simple Russian printer with hardware CP866 character set, output filter # used for KOI8-R -> CP866 conversion # #lp|Russian local line printer:\ # :sh:of=3D/usr/libexec/lpr/ru/koi2alt:\ # :lp=3D/dev/lpt0:sd=3D/var/spool/output/lpd:lf=3D/var/log/lpd-errs: zenzo|line|HP6L|lp|Hewlett z Packard Laser Jet6L:\ :sh:sd=3D/var/spool/zenzo:\ :lp=3D/dev/lpt0:\ :if=3D/usr/local/libexec/if-simple:\ # :if=3D/usr/local/libexec/hpif: On 4/1/07, Warren Block wrote: > > On Sun, 1 Apr 2007, Ivan Zenzerovi=E6 wrote: > > > I have now another problem. I tryed to set up my printer (HP LaserJet > 6L) > > following the instructions in the handbook. Ok, the printer responds, > but > > when i try to print it only takes paper and prints eventually a line of > some > > strange signs. > > What are you trying to print? The LJ6L only handles ASCII text and PCL > control codes. Additionally, it needs to either have text formatted > with additional carriage returns or to treat linefeeds as carriage > returns. > > Many people use apsfilter from the ports to handle print conversion. I > prefer setting up my own simpler, smaller filter, like "Simulating > PostScript on Non PostScript Printers" in the Handbook "Advanced Printer > Setup" section. > > > I set it up at first on interrupt-driven mode, then on > > polled-mode, but it always takes pages and i cant stop it, I tryed > stopping > > it with lpc, but nothing. I tried with the troubleshooting section but > > nothing, no solution for my problem. > > Has anyone maybe the same printer set-up? > > It should work fine. Please post your /etc/printcap. > > -Warren Block * Rapid City, South Dakota USA --=20 ----------------------------------------------------------- "Correr, competir, eu levo isso no sangue, =E9 parte da minha vida." - Ayrt= on Senna