unixpro n00b
Joined: 21 Aug 2002 Posts: 2 Location: Richmond
|
Posted: Wed Aug 21, 2002 12:19 pm Post subject: Can't get LPRNG 3.8.12 to work |
|
|
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 |
|