HP 52000 series ptinter

Post your general questions or comments about GhostBSD here!
NevilleGoddard
Developer
Posts: 491
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 8 times
Been thanked: 12 times

Re: HP 52000 series ptinter

Post by NevilleGoddard » Wed Nov 13, 2019 11:44 pm

Did your printer work okay with Linux or Windows? Your printer doesn't seem to be recognised. Is it connected by USB?

Georgiaboy
Posts: 45
Joined: Mon Nov 04, 2019 6:51 pm
Has thanked: 0
Been thanked: 0

Re: HP 52000 series ptinter

Post by Georgiaboy » Thu Nov 14, 2019 12:01 am

@NevilleGoddard

The printer is hooked up the the pc which is then hooked up to the router. And it did work with the Linux distros w/o any issues. It would either see in the printer device mangers or I could have the cups site install it and would work perfectly on the Linux installs. I'm wondering if that issue I had with the cups site installing the printer here isn't findng the cups/drivers needed to have the printer print properly. Know that it sounds like grasping at straws but I just got to wondering that.

I can't understand why it's turning out like this.

Thanks for helping me out on this issue.

Georgiaboy

NevilleGoddard
Developer
Posts: 491
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 8 times
Been thanked: 12 times

Re: HP 52000 series ptinter

Post by NevilleGoddard » Thu Nov 14, 2019 12:12 am

Can you please give the output of

cat /etc/devfs.rules

Georgiaboy
Posts: 45
Joined: Mon Nov 04, 2019 6:51 pm
Has thanked: 0
Been thanked: 0

Re: HP 52000 series ptinter

Post by Georgiaboy » Thu Nov 14, 2019 12:35 am

Code: Select all

[thomas@lover-of-venus ~]$ cat /etc/devfs.rules
[devfsrules_common=7]
add path 'acd[0-9]*' mode 666
add path 'ad[0-9]*' mode 666
add path 'ada[0-9]*' mode 666
add path 'cd[0-9]*' mode 666
add path 'cx23885*' mode 666
add path 'cx88*' mode 666
add path 'da[0-9]*' mode 666
add path 'dri/*' mode 666
add path 'drm/*' mode 666
add path 'dvb/*' mode 666
add path 'fd[0-9]*' mode 666
add path 'iicdev*' mode 666
add path 'lpt[0-9]*' mode 666
add path 'mmcsd[0-9]*' mode 666
add path 'pass[0-9]*' mode 666
add path 'tuner[0-9]*' mode 666
add path 'ugen[0-9]*' mode 666
add path 'ulpt[0-9]*' mode 666
add path 'unlpt[0-9]*' mode 666
add path 'usb/*' mode 666
add path 'usbctl' mode 666
add path 'uscan[0-9]*' mode 666
add path 'uvisor[0-9]*' mode 666
add path 'video[0-9]*' mode 666
add path 'xpt[0-9]*' mode 666
[thomas@lover-of-venus ~]$ 


Georgiaboy
Posts: 45
Joined: Mon Nov 04, 2019 6:51 pm
Has thanked: 0
Been thanked: 0

Re: HP 52000 series ptinter

Post by Georgiaboy » Fri Nov 15, 2019 11:22 pm

@NevilleGoddard

Is any of that any use or do you need me to look for something else as well?

Georgiaboy
Posts: 45
Joined: Mon Nov 04, 2019 6:51 pm
Has thanked: 0
Been thanked: 0

Re: HP 52000 series ptinter

Post by Georgiaboy » Sat Nov 16, 2019 11:11 pm

@NevilleGoddard

I decided to hook up the printer usb cable to the laptop. At first wasn't able to do anything. Tried cups. Got it going and it printed garbage as before. Then went back to using the HPlip trying the other three options again. Deciided to use the third option of it where you were hooking up to the wify with the usb then remove afterwards. It actually showed it bing installed, seeing my wifi and everything. But, when I got to the part where it said to do the hp-select along with the IP address that it showed I got this error message like times before. So, I unpluged it from teh printer's usb and called it quits for the night. Don't know why I keep getting this or what it's wanting.

Code: Select all

HP Linux Imaging and Printing System (ver. 3.17.11)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

warning: No display found.
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.
root@son-of-venus:~ # 

Georgiaboy
Posts: 45
Joined: Mon Nov 04, 2019 6:51 pm
Has thanked: 0
Been thanked: 0

Re: HP 52000 series ptinter

Post by Georgiaboy » Sun Nov 17, 2019 12:14 am

@NevilleGoddard

I went to /user/local/share/ppd/HP and saw a /usr/local/share/ppd/HP/hp-officejet_5200_series.ppd.gz listed there. So,, that should be picked up already when it shows conneced to the wifi and telling me to do the hp-setup xxx.xxx.x.xxx right?

Then if so far I had everything going correctly except for getting that error message when doing the last step there I have to be missing something. Correct?? But what --qt3 am I needing? This isn't making any sense.

Thanks

Georgiaboy

NevilleGoddard
Developer
Posts: 491
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 8 times
Been thanked: 12 times

Re: HP 52000 series ptinter

Post by NevilleGoddard » Sun Nov 17, 2019 4:50 am

Try
hp-setup --qt5

also when you use cups, did you try the option of providing a ppd file?

Georgiaboy
Posts: 45
Joined: Mon Nov 04, 2019 6:51 pm
Has thanked: 0
Been thanked: 0

Re: HP 52000 series ptinter

Post by Georgiaboy » Sun Nov 17, 2019 12:37 pm

Yes, but wasn't able to find. the ppd file. Later after deciding to break away from it a bit I decided to just go into the files and looked around ai this location /usr/local/share/ppd. I saw a bunch of printer ppds all in the gz format including the HP 5200 that I'm needing. Are you supposed to extract them someplace or just point the browse when providing the ppd file to that and let it extract on it's own?

Thanks

Georgiaboy

Georgiaboy
Posts: 45
Joined: Mon Nov 04, 2019 6:51 pm
Has thanked: 0
Been thanked: 0

Re: HP 52000 series ptinter

Post by Georgiaboy » Sun Nov 17, 2019 7:41 pm

@NevilleGoddard

[code
Interesting. Tried doing the hp-setup --qt5 and got the following:

Code: Select all

root@lover-of-venus:~ # hp-setup --qt5

HP Linux Imaging and Printing System (ver. 3.17.11)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


Installs HPLIP printers and faxes in the CUPS spooler. Tries to automatically determine the correct PPD file to use. Allows the printing of a testpage. Performs basic fax parameter setup.

Usage: hp-setup [MODE] [OPTIONS] [SERIAL NO.|USB bus:device|IP|DEVNODE]

[MODE]
  Run in graphical    -u or --gui (Default)                                 
  UI mode:                                                                  
  Run in interactive  -i or --interactive                                   
  mode:                                                                     

[OPTIONS]
  Automatic mode:     -a or --auto (-i mode only)                           
  To specify the      --port=<port> (Valid values are 1*, 2, and 3.         
  port on a           *default)                                             
  multi-port                                                                
  JetDirect:                                                                
  No testpage in      -x (-i mode only)                                     
  automatic mode:                                                           
  To specify a CUPS   -p<printer> or --printer=<printer> (-i mode only)     
  printer queue                                                             
  name:                                                                     
  To specify a CUPS   -f<fax> or --fax=<fax> (-i mode only)                 
  fax queue name:                                                           
  Type of queue(s)    -t<typelist> or --type=<typelist>. <typelist>: print*,
  to install:         fax* (*default) (-i mode only)                        
  To specify the      -d<device> or --device=<device> (--qt4 mode only)     
  device URI to                                                             
  install:                                                                  
  Remove printers or  -r or --rm or --remove                                
  faxes instead of                                                          
  setting-up:                                                               
  Set the language:   --loc=<lang> or --lang=<lang>. Use --loc=? or --lang=?
                      to see a list of available language codes.            
  Set the logging     -l<level> or --logging=<level>                        
  level:                                                                    
                      <level>: none, info*, error, warn, debug (*default)   
  Run in debug mode:  -g (same as option: -ldebug)                          
  This help           -h or --help                                          
  information:                                                              

[SERIAL NO.|USB ID|IP|DEVNODE]
  USB bus:device      "xxx:yyy" where 'xxx' is the USB bus and 'yyy' is the 
  (usb only):         USB device. (Note: The ':' and all leading zeros must 
                      be present.)                                          
                      Use the 'lsusb' command to obtain this information.   
  IPs (network        IPv4 address "a.b.c.d" or "hostname"                  
  only):                                                                    
  DEVNODE (parallel   "/dev/parportX", X=0,1,2,...                          
  only):                                                                    
  SERIAL NO. (usb     "serial no."                                          
  and parallel                                                              
  only):                                                                    

Examples:
  Setup using GUI     $ hp-setup                                            
  mode:                                                                     
  Setup using GUI     $ hp-setup -b usb                                     
  mode, specifying                                                          
  usb:                                                                      
  Setup using GUI     $ hp-setup 192.168.0.101                              
  mode, specifying                                                          
  an IP:                                                                    
  One USB printer     $ hp-setup -i -a                                      
  attached,                                                                 
  automatic:                                                                
  USB, IDs            $ hp-setup -i 001:002                                 
  specified:                                                                
  Network:            $ hp-setup -i 66.35.250.209                           
  Network, Jetdirect  $ hp-setup -i --port=2 66.35.250.209                  
  port 2:                                                                   
  Parallel:           $ hp-setup -i /dev/parport0                           
  USB or parallel,    $ hp-setup -i US12345678A                             
  using serial                                                              
  number:                                                                   
  USB, automatic:     $ hp-setup -i --auto 001:002                          
  Parallel,           $ hp-setup -i -a -x /dev/parport0                     
  automatic, no                                                             
  testpage:                                                                 
  Parallel, choose    $ hp-setup -i -b par                                  
  device:                                                                   

Notes:
1. If no serial number, USB ID, IP, or device node is specified, the USB and parallel busses will be probed for devices.
2. Using 'lsusb' to obtain USB IDs: (example)
	$ lsusb
	Bus 003 Device 011: ID 03f0:c202 Hewlett-Packard
	$ hp-setup --auto 003:011
	(Note: You may have to run 'lsusb' from /sbin or another location. Use '$ locate lsusb' to determine this.)
3. Parameters -a, -f, -p, or -t are not valid in GUI (-u) mode.

See Also:
hp-makeuri
hp-probe

error: option --qt5 not recognized
root@lover-of-venus:~ # 
[code]
I had extracted the hp 5200 driver gz to the proper location and then tried cups. I did the pointing to the ppd and told to open. I got an error complaining about  it being an illegal string and would use it. So went back to the wifi setup. And now am stuck in this spot. We've made a lot of progress and I do now show installed  but I jsut can't get it tu hook to the IP because of what I'm showing here. But it's better than before. 

Thanks 
Georgiaboy

Post Reply