Date: Sun, 1 Apr 2007 01:11:06 +0200 From: "=?ISO-8859-2?Q?Ivan_Zenzerovi=E6?=" <zenzof1@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Printer issue Message-ID: <640eadd40703311611i286c517x3de33bd38290bcd6@mail.gmail.com> In-Reply-To: <20070331165257.X25626@wonkity.com> References: <640eadd40703311522y43375f75v430714edba0df51b@mail.gmail.com> <20070331165257.X25626@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <wblock@wonkity.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?640eadd40703311611i286c517x3de33bd38290bcd6>