parport0 error using my HP printer
Hi all,
i'm using Slackware 9.1 and i wanna try to use my HPOfficeJet G85 using parallel port. My linux box is used also as samba server so i would like to print from any MS client using the box as print server. I recompile the kernel 2.6.6 and attach to parralel print port my HP. At startup i see: kernel: parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP] kernel: parport0: irq 7 detected kernel: parport0: Printer, Hewlett-Packard OfficeJet G85 So i think it's all right. Then i install LPRNG software and create a queue. When i check if it's all right after editing printcap file using checkpc -f command, it gives to me that response: Warning - HPDeskjet: cannot open lp device '/dev/parport0' - Permission denied if i change permissione that respose: Warning - HPDeskjet: cannot open lp device '/dev/parport0' - No such device or address So when i try to print using a WindowsClient i obtein the same above result: opening device '/dev/parport0' at 2004-05-13-19:11:32.335 ## A=nobody@nettuno+188 number=188 process=228 cannot open '/dev/parport0' - 'Permission denied', attempt 1, sleeping 10 at 2004-05-13-19:11:32.336 # or with right permission: opening device '/dev/parport0' at 2004-05-13-19:22:42.358 ## A=nobody@nettuno+443 number=443 process=468 cannot open '/dev/parport0' - 'No such device or address', attempt 1, sleeping 10 at 2004-05-13-19:22:42.359 I'm going mad =/ please any good advice will be very appreciated Thanks a lot sKru |
Try (as root)
echo "hello" > /dev/lp0 |
root@nettuno:/# echo 'hello' > /dev/lp0
-bash: /dev/lp0: No such device or address |
Very interesting. Try
mknod -m 666 /dev/lp0 c 6 0 |
root@nettuno:/# mknod -m 666 /dev/lp0 c 6 0
mknod: `/dev/lp0': File exists the same thing if i use parport0 =/ Thank you very much fot your interesting about my problem, i don't know what else try. HEre i paste what kernel said at startup: nettuno kernel: parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP] nettuno kernel: parport0: irq 7 detected nettuno kernel: parport0: Printer, Hewlett-Packard OfficeJet G85 |
All times are GMT -5. The time now is 09:18 PM. |