Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: CUPS -- fails better!
Date: Wed, 01 Feb 2006 08:43:50
Message-Id: 200602010938.52196.bo.andresen@gmail.com
In Reply to: Re: [gentoo-user] Re: CUPS -- fails better! by maxim wexler
1 On Tuesday 31 January 2006 18:09, maxim wexler wrote:
2 > sarawak heathen # unix2dos env-lp-test | lpr -l
3 > unix2dos: converting file env-lp-test to DOS format
4 > ...
5 > lpr: error - stdin is empty, so no job has been sent.
6
7 If you look at the man page of unix2dos you find these examples:
8
9 Get input from stdin and write output to stdout.
10 unix2dos
11
12 Convert and replace a.txt. Convert and replace b.txt.
13 unix2dos a.txt b.txt
14
15 This means that unix2dos will only print results to stdout if no arguments are
16 given and the input will then be taken from stdin. So when you give a file as
17 an argument the output of unix2dos will be printed to that file. What you
18 have to type to print the results to lpr is hence:
19
20 # cat env-lp-test | unix2dos | lpr -l
21
22 /Bo
23 --
24 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: CUPS -- fails better! maxim wexler <blissfix@×××××.com>