🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #54830

Re: Printing under Redhat 4.2

#54830
From: David Gibson
Date: Sat, 30 Aug 1997 00:00
25 lines
1234 bytes
Forge Villella (forgev@arcadia.cs.rmit.edu.au) wrote:

: Hi all,

: I've been having a problem with printing under Linux.  I've Followed all the 
: steps outlined in the RedHat Linux User guide and I'm still having trouble.

: The error I'm getting is:

: [root@localhost forge]# cat /hello.adb | /dev/lp1
: bash: /dev/lp1: Permission denied

Um.. try:
	cat /hello.adb > /dev/lp1

The pipe (|) symbol is for sending data to another process (program).
You want the redirection symbol (>) which sends data to a file or device.
The Permission denied is becuase it's trying to run /dev/lp1 as a program -
which doesn't make sense.

--
David Gibson @ The Lorax	| New from Microsoft...
D.Gibson@bohm.anu.edu.au	| 	THNEED 95
				| Which everyone, Everyone, EVERYONE needs.
Technical Details
Message-ID: <5u8hib$n6n$1@clarion.carno.net.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <5u8bu0$28c$1@goanna.cs.rmit.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,c0e1812710496c7b,start
X-Google-Attributes: gid102983,public
From: david@brucehall20.anu.edu.au (David Gibson)
Subject: Re: Printing under Redhat 4.2
Date: 1997/08/30
Message-ID: <5u8hib$n6n$1@clarion.carno.net.au>
X-Deja-AN: 269039400
References: <5u8bu0$28c$1@goanna.cs.rmit.edu.au>
Organization: The Australian National University
Newsgroups: aus.computers.linux