🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #54839

Re: Printing under Redhat 4.2

#54839
From: Matthew Tippett
Date: Mon, 01 Sep 1997 00:00
40 lines
1586 bytes

Forge Villella wrote:
> 
> [root@localhost forge]# cat /hello.adb | /dev/lp1
> bash: /dev/lp1: Permission denied
> when I try and print directly to the port.
As someone else alluded to use > /dev/lp1 instead

A couple of things to check also.

Is the driver in the kernel 
	dmesg | grep lp

If not add it using (as root) 
	/sbin/insmod lp

When that is done repeat the command above, it should tell you 
the ports that are in your machine.  It should look like this
	lp1 at 0x0378, (polling)

> I've also tried the other port configurations and they don't help any.
> (ie lp0,lp1,lp2,lp3; ttyS0, ttyS1, ttyS2, ttyS3)
Target the port outlined above.

> Also when using printtool I get no error message.
> When I use lpc status I get:
> lpc> status
> lp:
>         queuing is enabled
>         printing is enabled
>         13 entries in spool area
>         waiting for lp to become ready (offline ?)
To resolve this part post (or mail directly) your printcap file 
(minus comments).

> I'm using a HP DeskJet 520, running Redhat 4.2
Been there with Red Hat 4.1

Matt
Technical Details
Message-ID: <340A31CA.D77858E@dsto.defence.gov.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
X-Google-Attributes: gid102983,public
From: Matthew Tippett <matthew.tippett@dsto.defence.gov.au>
Subject: Re: Printing under Redhat 4.2
Date: 1997/09/01
Message-ID: <340A31CA.D77858E@dsto.defence.gov.au>
X-Deja-AN: 269513571
References: <5u8bu0$28c$1@goanna.cs.rmit.edu.au>
To: Forge Villella <forgev@arcadia.cs.rmit.edu.au>
Organization: ITD/DSTO 
Newsgroups: aus.computers.linux