LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   hp laserjet 6L problem (https://www.linuxquestions.org/questions/linux-hardware-18/hp-laserjet-6l-problem-361907/)

piva.francesco 09-09-2005 07:46 PM

hp laserjet 6L problem
 
hey all,
I have a HP LaserJet 6L printer in my room which worked perfectly on the windows of my father. Now i've owned it and i got a little trouble:
when a send a job to the printer it won't just print the page, it starts printing FOR EVER, white pages.
i have already looked up many tutos on the net : http://www.gentoo.org/doc/en/printing-howto.xml, and http://www.linuxprinting.org/show_pr...HP-LaserJet_6L and http://www.linuxprinting.org/cups-doc.html... and i didn't figure out why the printer does like this.
When i run gs -h there is the correct driver running. ( )
althought when i run :

Quote:

dmesg | grep -i print
it give me this :
Quote:

seventh@tux ~ $ dmesg | grep -i print
[ 27.428139] drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
seventh@tux ~ $
and my printer is connected throught a parallel port.
i may think that the error comes from this anomaly.
and still when i run:
Quote:

tux seventh # gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=ljet4 -c "<</PageSize[Default]/ImagingBBox null>>setpagedevice" -c "<</HWResolution[Default]>>setpagedevice" -c "Default" -sOutputFile=- - | perl -p -0033 -e " s/^&l\d+[aA]/$&Default/;"
ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1
Error: /undefined in Default
Operand stack:
--nostringval-- PageSize --nostringval--
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1049/1417(ro)(G)-- --dict:0/20(G)-- --dict:68/200(L)--
Current allocation mode is local
Last OS error: 2
tux seventh #
can someone help me resolving this problem ?

thanks alot. i'd really appreciate a quick answer
by the way, i'm using a Gentoo distro.

fp

HappyTux 09-09-2005 08:05 PM

Re: hp laserjet 6L problem
 
Quote:

Originally posted by piva.francesco
hey all,
I have a HP LaserJet 6L printer in my room which worked perfectly on the windows of my father. Now i've owned it and i got a little trouble:
when a send a job to the printer it won't just print the page, it starts printing FOR EVER, white pages.




Are you sure there is still toner in the cartridge??

Quote:

i have already looked up many tutos on the net : http://www.gentoo.org/doc/en/printing-howto.xml, and http://www.linuxprinting.org/show_pr...HP-LaserJet_6L and http://www.linuxprinting.org/cups-doc.html... and i didn't figure out why the printer does like this.
When i run gs -h there is the correct driver running. ( )
althought when i run :


it give me this :
Code:

seventh@tux ~ $ dmesg | grep -i print
 [ 27.428139] drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
 seventh@tux ~ $


Now I am using CUPS and when I do the grep I get this.

Code:

>$ dmesg | grep -i print
parport0: Printer, Hewlett-Packard HP LaserJet 6L


Mine is attached to the parallel port not USB you should try to stop the usblp driver from loading and get the parport driver loading.

Quote:

and my printer is connected throught a serial port.
i may think that the error comes from this anomaly.
and still when i run:


can someone help me resolving this problem ?

thanks alot. i'd really appreciate a quick answer
by the way, i'm using a Gentoo distro.

fp
You should try to setup the printer through the http://localhost:631 CUPS interface on the parallel port #1 and make sure that you have the foomatic-ppd package whatever it is called in Gentoo installed and use that driver (on my install called "HP LaserJet 6L Foomatic/ljet4 (recommended)").

piva.francesco 09-10-2005 06:59 AM

thanks for answering, although, i've checked and I don't have any parallel port #1 -when i try to configure cups through http://localhost:631 !!
i have only serial port #1,2,3,4,5,6,7,8 ... is that the same thing? i really don't know. :s

-how do you make the printer use a spec driver?? i cannot figure out how i can do it... some more precision would be great, thanks.

-yes i still do have some toner in my cartridge. it worked before i got it up in my room...

thanks for answering... hope i can get through this problem, because it's been a while that i want to make my printer work.

fp

HappyTux 09-10-2005 09:47 AM

Quote:

Originally posted by piva.francesco
thanks for answering, although, i've checked and I don't have any parallel port #1 -when i try to configure cups through http://localhost:631 !!
i have only serial port #1,2,3,4,5,6,7,8 ... is that the same thing? i really don't know. :s

-how do you make the printer use a spec driver?? i cannot figure out how i can do it... some more precision would be great, thanks.

-yes i still do have some toner in my cartridge. it worked before i got it up in my room...

thanks for answering... hope i can get through this problem, because it's been a while that i want to make my printer work.

fp

Have you made sure that the module parport is getting loaded and you may want to check in your BIOS to make sure that the parallel port is enabled, the steps I take on Debian from the http://localhost:631/printers page in CUPS to setup the printer.

1) Click on Add Printer button.
2) Enter in root as user name and the root password in the dialog that pops up.
3) Enter in the Name, Location and Description in the page that comes up then click on Continue button.
4) The Device page is next in the Drop down menu that is there I have the choice of 3 different Parallel Port #1 one says (CANON) beside it another (EPSON) the last says (Hewlett-Packard HP LaserJet 6L) I choose this and hit Continue button.
5) Next page is model/driver I choose the HP then use Continue button.
6) Next page a huge list of HP printers I scroll down the list until I get to the selection HP LaserJet 6L Foomatic/ljet4 (recommended) (en) I select it and then use the Continue button once more.
7) CUPS tells me on the next page that printer printer_name_I_gave it has been successfully setup.
8) Go back to http://localhost:631/printers and use the Print Test Page button to print out a test page to see if it works.

piva.francesco 09-10-2005 06:02 PM

well thanks a lot for making a such detailed answer. although, when I arrive at the 4th step, i don't have the choice to select Parallel Port. I Have only :
-AppSocket/HP JetDirect,
-Internet Printing Protocol (http),
-Internet Printing Protocol (ipp),
-LPD/LPR Host or Printer,
-SCSI Printer,
-Serial port #1 till 8,
-USB Port #1 till 16,
-Windows Printer via SAMBA

That's the main error I think.
can you figure out why I don't have listed the Parallel Ports? Shell I modprobe something or do any other similar operation?


thanks again for helping, even if the job isn't yet finished.


fp

HappyTux 09-10-2005 08:39 PM

Quote:

Originally posted by piva.francesco
well thanks a lot for making a such detailed answer. although, when I arrive at the 4th step, i don't have the choice to select Parallel Port. I Have only :
-AppSocket/HP JetDirect,
-Internet Printing Protocol (http),
-Internet Printing Protocol (ipp),
-LPD/LPR Host or Printer,
-SCSI Printer,
-Serial port #1 till 8,
-USB Port #1 till 16,
-Windows Printer via SAMBA

That's the main error I think.
can you figure out why I don't have listed the Parallel Ports? Shell I modprobe something or do any other similar operation?


thanks again for helping, even if the job isn't yet finished.


fp

Ok that is strange try as root modprobe parport parport_pc then run the setup again maybe even look in the dmesg to see if it detects the printer.

piva.francesco 09-11-2005 06:13 AM

well I just figured out that I got any parport modules installed on my pc, I still don't understand. How do I put this modules into my kernel?

look what happens when I run as root:
tux linux # modprobe parport
FATAL: Module parport not found.
tux linux # modprobe parport_pc
FATAL: Module parport_pc not found.
tux linux #


and just before I went here: http://www.gentoo.org/doc/en/printing-howto.xml
in order to recompile my kernel with the modules and I've follown the exact instructions...
any clue about that?

why isn't it working with me... I've always got weird problems... snif!
thanks by the way


fp

piva.francesco 09-11-2005 09:15 AM

please can someone help, I really need to make this printer work before Monday if possible.. :s :)

thanks for answering!

fp

HappyTux 09-11-2005 01:51 PM

Quote:

Originally posted by piva.francesco
well I just figured out that I got any parport modules installed on my pc, I still don't understand. How do I put this modules into my kernel?

look what happens when I run as root:
tux linux # modprobe parport
FATAL: Module parport not found.
tux linux # modprobe parport_pc
FATAL: Module parport_pc not found.
tux linux #


and just before I went here: http://www.gentoo.org/doc/en/printing-howto.xml
in order to recompile my kernel with the modules and I've follown the exact instructions...
any clue about that?

why isn't it working with me... I've always got weird problems... snif!
thanks by the way


fp

If you have recompiled the kernel as per that page then you have compiled in the support for the parallel port modules so when you do the modprobe there will be no modules for it to find so that error message would be normal in this case. Try using this on your kernel config file.

Code:

>$ grep -i parport /boot/config-2.6.12.5
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_SERIAL=m
CONFIG_PARPORT_PC_FIFO=y
# CONFIG_PARPORT_PC_SUPERIO is not set
CONFIG_PARPORT_NOT_PC=y
# CONFIG_PARPORT_GSC is not set
CONFIG_PARPORT_1284=y
CONFIG_PARIDE_PARPORT=m
CONFIG_I2C_PARPORT=m
CONFIG_I2C_PARPORT_LIGHT=m

Now if you see =m then it is a module if =y then compiled into the kernel. I am not really sure where to go from here this problem seems really strange to me, one more thing you can try is holding down the power button for a few seconds and it should if I recall correctly print out a test page from the printer itself.

piva.francesco 09-12-2005 01:49 PM

AHHHH!!! I don't know how, and why, but now I have the parallel port selection available. Although, I have : Parallel Port #1 (EPSON), Parallel Port #1 (CANON) and Parallel Port #1. why don't I have the Parallel Port #1 (Hewlett-Packard HP LaserJet 6L). Do you have any clue now that I have modprobed the modules.
I feel that I'll have my printer working before Wednesday...
Thanks for your help! but I still need some more... ;)

see you

fp

HappyTux 09-12-2005 03:21 PM

Quote:

Originally posted by piva.francesco
AHHHH!!! I don't know how, and why, but now I have the parallel port selection available. Although, I have : Parallel Port #1 (EPSON), Parallel Port #1 (CANON) and Parallel Port #1. why don't I have the Parallel Port #1 (Hewlett-Packard HP LaserJet 6L). Do you have any clue now that I have modprobed the modules.
I feel that I'll have my printer working before Wednesday...
Thanks for your help! but I still need some more... ;)

see you

fp

Thats good it looks like the foomatic-ppds package is not installed you should check to see. If they are not then install them or you can if you want go to http://www.linuxprinting.org and get the .ppd you need from them and follow the instructions for the printer on their site.

piva.francesco 09-13-2005 02:37 PM

hmmmm, I have downloaded the ppd file for the HP Laserjet 6L, but I don't know where to store it, or how to use it. By the way, when I "dmesg | grep -i print" I still got the same thing :
Quote:

dmesg | grep -i print
[ 24.320820] drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
I went also on a chan to ask for some help and someone told me to change something in the bios... is that right or not? can I have some further information please?

thanks again


fp

HappyTux 09-13-2005 07:45 PM

Quote:

Originally posted by piva.francesco
hmmmm, I have downloaded the ppd file for the HP Laserjet 6L, but I don't know where to store it, or how to use it. By the way, when I "dmesg | grep -i print" I still got the same thing :

I went also on a chan to ask for some help and someone told me to change something in the bios... is that right or not? can I have some further information please?

thanks again


fp

Hi on Debian the ppd would go into the /usr/share/cups/model/ directory then you need to restart the cups daemon again on Debian you would /etc/init.d/cupsys restart hopefully it is similar on your install. Yes it does look like the parallel port is disabled in your BIOS on my computer when it boots if I hit the Delete key (looking at the screen it should tell you which one to hit) you enter the BIOS to make changes you will have to look around in the options there probably in the Advanced or Intergrated ones and make sure that the port is enabled then you save the changes and exit the BIOS to reboot.

piva.francesco 09-14-2005 08:57 AM

what is the function that I have to activate, because when I am in the BIOS I have this different choices for the Parallel Port configuration:
EPP
ECP
AT
PS/2

When I select ECP, I have a new slot that opens and asks me to choose between DMA Chanel 1 or 3.
And also there is a I/O Address that bothers me, I have a double choice: 278h and 378h.
Can you please help me at least for (hopefully) this last operation?
Thanks allot.


fp


All times are GMT -5. The time now is 01:03 AM.