Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get LPRNG 3.8.12 to work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
unixpro
n00b
n00b


Joined: 21 Aug 2002
Posts: 2
Location: Richmond

PostPosted: Wed Aug 21, 2002 12:19 pm    Post subject: Can't get LPRNG 3.8.12 to work Reply with quote

I am running a DELL Laptop C600 with docking station. I am trying to establish printing capabilities; however, have been unsuccessful thus far. All other docked devices work from my floppy to my SCSI so being docked does not seem to be the problem. O' and I do get the same errors when trying this without my docking station.

Simply put it appears that my Parallel port is not being found. I have compiled into the kernel parallel port support, with PC-style hardware. The boot up messages tell me that my parallel port was found:

parport0: PC-style at 0x378 (0x778) [PCSPP(,...)
parport0: irq 7 detected

In fact with additional features turned on I can get the kernel to tell me what kind of printer is connected to the port:

parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
parport0: Printer, Hewlett-Packard HP LaserJet 1100

Now the problem, when I go through lprngtool to configure the printer it comes back and tells me that there permission is denied. /dev/parport0 is owned by root with permissions crw-------.

My printcap entry appears as follows:

##LPRNGTOOL## DEVICE filtertype=IFHP ifhp_options=status@,sync@,pagecount@,waitend@ printerdb_entry=gs_ljetplus
lp
:filter=/usr/local/libexec/filters/ifhp
:ifhp=model=gs_ljetplus,status@,sync@,pagecount@,waitend@
:lp=/dev/parport0
:lprngtooloptions=FILTERTYPE="IFHP" IFHP_OPTIONS="status@,sync@,pagecount@,waitend@" PRINTERDB_ENTRY="gs_ljetplus"
:mx=0
:rw
:sd=/var/spool/lpd/%P
:sh

The error:
Results of Configuration Validation using 'checkpc -P lp'
-----------------------------------------------------
Warning - lp: cannot open lp device '/dev/parport0' - Permission denied

If I change the permissions on /dev/parport0 I receive the following:
(/dev/parport0 permissions were manually change to crw-rw-rw-)
Results of Configuration Validation using 'checkpc -P lp'
-----------------------------------------------------
Warning - lp: cannot open lp device '/dev/parport0' - No such device

Thanks!
_________________
Eric L. Sammons, GCUX
Systems Engineer
Richmond, VA
Back to top
View user's profile Send private message
tgrauss
n00b
n00b


Joined: 30 Aug 2002
Posts: 9
Location: Tours (France)

PostPosted: Fri Aug 30, 2002 12:02 pm    Post subject: Reply with quote

I had this problem some days ago
Have you checked in : character devices -> parallel printer support in the configuration menu of the kernel ?
When I added this, it worked for me
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum