Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

HP LaserJet 4050 Help

  Date: Jan 04    Category: Unix / Linux / Ubuntu    Views: 598
  

I have been trying to get this LaserJet that was given to me to work.
This is where Im at.

I installed the printer via System>Printers>new printer.
It successfully saw my 4050 printer via parallel connection. After that
though it would not print. The print driver is Postscript.


abc@abc:~$ lpinfo -v
> network socket
> network beh
> network bluetooth
> direct hpfax
> direct hp:/par/HP_LaserJet_4050_Series?device=/dev/parport0
> network http
> network ipp
> network lpd
> direct parallel:/dev/lp0
> direct canon:/dev/lp0
> direct epson:/dev/lp0
> direct scsi
> serial serial:/dev/ttyS0?baud=115200
> network smb

This command echo -ne '\f' >/dev/lp0 finally got the printer to
respond but it didnt actually print anything, it just spool through a
piece of paper.


A little searching lead me to a post of some one with the exact
same problem. A user responded back:

think there are two possible solutions:
Try first: Set an allowed user
[localhost:631 http://localhost:631/printers/>] click on `Set allowed
users` and type in the names of the users allowed to use the printer. If
your login name is john and you also want to be able to print as root
type:root, john

Second (I had this problem):
[localhost:631 http://localhost:631/printers/>] click on `modify
printer` and choose for Device: LPT#1

They said to use the Assistant to do this - in Debian Etch. Looking at
the first possible solution, how do I do this as Im not really sure what
this is referring to.
I found a post that said:
# echo "Printer test" > /dev/lp0
# echo "^L" > /dev/lp0
This should print 'Printer test' and feed a sheet of paper.
But it doesnt do anything at all for me.

I did check and this print does work on linux.

Share: 

 

4 Answers Found

 
Answer #1    Answered On: Jan 04    

Go into the the printer properties and check driver information. Next to the CD
icon to add driver check if on "High Quality Image ( Gutenprint CUPS ) (exper )
is selected. You all so may want to check if hpijs, hplip, and hplip-data
installed as well.

 
Answer #2    Answered On: Jan 04    

Ok. I did what you said with the driver and I have already all of these
installed. I still cant print. I ran the command:
echo -ne '\f' >/dev/lp0
and it just spits out a piece of paper.
I also tried to print and nothing happens.

 
Answer #3    Answered On: Jan 04    

I am not totally sure if I remember correctly but /f is a form feed.

Try lp /etc/fstab or echo /etc/fstab > /dev/lp0 and see what happens, I think
that will eliminate useing the print system and goes directly to the printer.

 
Answer #4    Answered On: Jan 04    

07162007 1057 gmt-6 DST

ok. echo /etc/fstab >/dev/lp0 does nothing.
And I mean that literally.
When I hit the enter key, the cursor goes to the next line and is a odd
square. The other one just ave me command not found.

 
Didn't find what you were looking for? Find more on HP LaserJet 4050 Help Or get search suggestion and latest updates.




Tagged: