Re: FreeBSD port for redirecting printer

2013-03-03 Thread Matthias Apitz
El día Friday, March 01, 2013 a las 04:14:34PM +0100, Matthias Apitz escribió: > ok, at the moment only the CUPS filter do what we want directly from an > UTF-8 test file (q.e.d.) To be honestly, when we started some years ago to port our library automation system from ISO 8859-1 to UTF-8 support

Re: FreeBSD port for redirecting printer

2013-03-02 Thread Matthias Apitz
El día Saturday, March 02, 2013 a las 04:49:05PM +0100, Bernt Hansson escribió: > $ lpr -Pfoo myfile.txt > >>> > >>> And now? Big silence? Nobody wants to step-up with a proposal? :-) > >> > >> You have already proposed the correct answer. > >> > >> > >> /usr/bin/lpr -Pbar file instead of you

Re: FreeBSD port for redirecting printer

2013-03-01 Thread Matthias Apitz
El día Friday, March 01, 2013 a las 08:37:40AM -0600, Mark Felder escribió: > On Fri, 01 Mar 2013 06:51:53 -0600, Matthias Apitz > wrote: > > > I do not believe that this will work for UTF-8 coded data, but you might > > convince me (hopefully); > > If I simply do > > # lpr CUPS-UTF-8.txt >

Re: FreeBSD port for redirecting printer

2013-03-01 Thread Mark Felder
On Fri, 01 Mar 2013 06:51:53 -0600, Matthias Apitz wrote: I do not believe that this will work for UTF-8 coded data, but you might convince me (hopefully); If I simply do # lpr CUPS-UTF-8.txt I end up with an exact replica of the data within that file -- noise. If I open CUPS-UTF-8.txt

Re: FreeBSD port for redirecting printer

2013-03-01 Thread Matthias Apitz
El día Friday, March 01, 2013 a las 02:21:31PM +0100, Kurt Jaeger escribió: > Hi! > > > > If someone can provide me with this UTF-8 encoded text file I'll prove > > > whether or not it prints it. > > > > attached; Article 2 of the Declaration of Human Rights in some > > languages. Have fun >

Re: FreeBSD port for redirecting printer

2013-03-01 Thread Matthias Apitz
El día Friday, March 01, 2013 a las 06:40:24AM -0600, Mark Felder escribió: > You can print almost any file format using the base system lpr and > print/apsfilter. You really don't need CUPS to print -- even if the > destination printer doesn't understand postscript. I do not believe that thi

Re: FreeBSD port for redirecting printer

2013-03-01 Thread Mark Felder
On Wed, 27 Feb 2013 05:56:47 -0600, Matthias Apitz wrote: another issue, how do you print an UTF-8 encoded text file, containing for example Hebrew and Greek? With CUPS' lpr(1) you just say: You can print almost any file format using the base system lpr and print/apsfilter. You really don

Re: FreeBSD port for redirecting printer

2013-02-28 Thread Warren Block
On Thu, 28 Feb 2013, Matthias Apitz wrote: El día Wednesday, February 27, 2013 a las 12:56:47PM +0100, Matthias Apitz escribió: another issue, how do you print an UTF-8 encoded text file, containing for example Hebrew and Greek? With CUPS' lpr(1) you just say: $ lpr -Pfoo myfile.txt And no

Re: FreeBSD port for redirecting printer

2013-02-28 Thread Matthias Apitz
El día Thursday, February 28, 2013 a las 08:41:17AM +0100, Wojciech Puchar escribió: > > > > And now? Big silence? Nobody wants to step-up with a proposal? :-) > > > > > > my proposal for you: > > man printcap I do not see there anything about filteriing an UTF-8 encoded file; please point m

Re: FreeBSD port for redirecting printer

2013-02-28 Thread Matthias Apitz
El día Thursday, February 28, 2013 a las 07:33:24AM +0100, Bernt Hansson escribió: > 2013-02-28 07:03, Matthias Apitz skrev: > > El día Wednesday, February 27, 2013 a las 12:56:47PM +0100, Matthias Apitz > > escribió: > > > >> another issue, how do you print an UTF-8 encoded text file, containin

Re: FreeBSD port for redirecting printer

2013-02-28 Thread Matthias Apitz
El día Thursday, February 28, 2013 a las 07:33:24AM +0100, Bernt Hansson escribió: > 2013-02-28 07:03, Matthias Apitz skrev: > > El día Wednesday, February 27, 2013 a las 12:56:47PM +0100, Matthias Apitz > > escribió: > > > >> another issue, how do you print an UTF-8 encoded text file, containin

Re: FreeBSD port for redirecting printer

2013-02-27 Thread Wojciech Puchar
And now? Big silence? Nobody wants to step-up with a proposal? :-) my proposal for you: man printcap matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/

Re: FreeBSD port for redirecting printer

2013-02-27 Thread Bob Eager
On Thu, 28 Feb 2013 07:03:42 +0100 Matthias Apitz wrote: > El día Wednesday, February 27, 2013 a las 12:56:47PM +0100, Matthias > Apitz escribió: > > > another issue, how do you print an UTF-8 encoded text file, > > containing for example Hebrew and Greek? With CUPS' lpr(1) you just > > say: > >

Re: FreeBSD port for redirecting printer

2013-02-27 Thread Bernt Hansson
2013-02-28 07:03, Matthias Apitz skrev: El día Wednesday, February 27, 2013 a las 12:56:47PM +0100, Matthias Apitz escribió: another issue, how do you print an UTF-8 encoded text file, containing for example Hebrew and Greek? With CUPS' lpr(1) you just say: $ lpr -Pfoo myfile.txt And now? B

Re: FreeBSD port for redirecting printer

2013-02-27 Thread Matthias Apitz
El día Wednesday, February 27, 2013 a las 12:56:47PM +0100, Matthias Apitz escribió: > another issue, how do you print an UTF-8 encoded text file, containing > for example Hebrew and Greek? With CUPS' lpr(1) you just say: > > $ lpr -Pfoo myfile.txt And now? Big silence? Nobody wants to step-up

Re: FreeBSD port for redirecting printer

2013-02-27 Thread Matthias Apitz
El día Wednesday, February 27, 2013 a las 02:10:18PM +0100, Wojciech Puchar escribió: > > Re/ CUPS and lpd(8), I only want to mention that in real world live I'm > > the technical lead of a software company and we have around 150 big > > libraries (of Universities etc.) which run our solutions on

Re: FreeBSD port for redirecting printer

2013-02-27 Thread Matthias Apitz
El día Tuesday, February 26, 2013 a las 07:36:46PM +0100, Matthias Apitz escribió: > > > Install CUPS (from our ports), catch the incoming data on 9100 with > > > ncat(1) (from ports) and pipe the data to a "lpr -P -o raw" command > > > (of CUPS) > > No not CUPS. Not needed (i just want to s

Re: FreeBSD port for redirecting printer

2013-02-27 Thread Wojciech Puchar
lpd(8) can be annoying, but works fine for this kind of use. I concur in this case. I have a Postscript-aware HP printer that also does PCL. The usual simple shell script filter to detect PostScript allows that to auto-adjust. printcap is easy, and I love chkprintcap - exactly what i do. lpd

Re: FreeBSD port for redirecting printer

2013-02-26 Thread Bob Eager
On Tue, 26 Feb 2013 18:37:22 -0700 (MST) Warren Block wrote: > On Tue, 26 Feb 2013, Kevin Oberman wrote: > > > On Tue, Feb 26, 2013 at 12:47 PM, Wojciech Puchar < > > woj...@wojtek.tensor.gdynia.pl> wrote: > > > >> at all cost. > > >>> > >>> But for this, CUPS is your best choice. > >>> > >

Re: FreeBSD port for redirecting printer

2013-02-26 Thread Warren Block
On Tue, 26 Feb 2013, Matthias Apitz wrote: El día Tuesday, February 26, 2013 a las 06:16:37PM +0100, Wojciech Puchar escribió: i need to emulate print server on device running FreeBSD (which do other things in the same time) - as standard port 9100 not lpd. Can it be done. yes i know i can

Re: FreeBSD port for redirecting printer

2013-02-26 Thread Warren Block
On Tue, 26 Feb 2013, Kevin Oberman wrote: On Tue, Feb 26, 2013 at 12:47 PM, Wojciech Puchar < woj...@wojtek.tensor.gdynia.pl> wrote: at all cost. But for this, CUPS is your best choice. Sorry i DO WANT SIMPLE THINGS. not overcomplex windows style craps. thanks Prining is NOT simple n

Re: FreeBSD port for redirecting printer

2013-02-26 Thread Warren Block
On Tue, 26 Feb 2013, Matthias Apitz wrote: El día Tuesday, February 26, 2013 a las 07:29:44PM +0100, Wojciech Puchar escribió: - it will accept a connection even if printer is not connected - it doesn't work bidirectionally (usually not needed but anyway) Anyone knows a program from ports (o

Re: FreeBSD port for redirecting printer

2013-02-26 Thread Kevin Oberman
On Tue, Feb 26, 2013 at 12:47 PM, Wojciech Puchar < woj...@wojtek.tensor.gdynia.pl> wrote: > at all cost. >>> >> >> But for this, CUPS is your best choice. >> > > Sorry i DO WANT SIMPLE THINGS. not overcomplex windows style craps. thanks > Prining is NOT simple no matter what you might think. And

Re: FreeBSD port for redirecting printer

2013-02-26 Thread Wojciech Puchar
> > Sorry i DO WANT SIMPLE THINGS. not overcomplex windows style craps. thanks Please leave your ignorant abuse and idiotic prejudices off our lists. You cannot ask for advice and reject the standard responses, especially when you have no real justification for your point of view, other than "I

Re: FreeBSD port for redirecting printer

2013-02-26 Thread Chris Rees
On 26 Feb 2013 20:47, "Wojciech Puchar" wrote: >>> >>> at all cost. >> >> >> But for this, CUPS is your best choice. > > > Sorry i DO WANT SIMPLE THINGS. not overcomplex windows style craps. thanks Please leave your ignorant abuse and idiotic prejudices off our lists. You cannot ask for advice a

Re: FreeBSD port for redirecting printer

2013-02-26 Thread Wojciech Puchar
at all cost. But for this, CUPS is your best choice. Sorry i DO WANT SIMPLE THINGS. not overcomplex windows style craps. thanks ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send an

Re: FreeBSD port for redirecting printer

2013-02-26 Thread Matthias Apitz
El día Tuesday, February 26, 2013 a las 07:29:44PM +0100, Wojciech Puchar escribió: > >> - it will accept a connection even if printer is not connected > >> - it doesn't work bidirectionally (usually not needed but anyway) > >> > >> Anyone knows a program from ports (or not) to do this? > > > > I

Re: FreeBSD port for redirecting printer

2013-02-26 Thread Wojciech Puchar
- it will accept a connection even if printer is not connected - it doesn't work bidirectionally (usually not needed but anyway) Anyone knows a program from ports (or not) to do this? Install CUPS (from our ports), catch the incoming data on 9100 with ncat(1) (from ports) and pipe the data to a

Re: FreeBSD port for redirecting printer

2013-02-26 Thread Matthias Apitz
El día Tuesday, February 26, 2013 a las 06:16:37PM +0100, Wojciech Puchar escribió: > i need to emulate print server on device running FreeBSD (which do other > things in the same time) - as standard port 9100 not lpd. > > Can it be done. > > yes i know i can just add to inetd.conf cat >/dev/u