[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#715143: marked as done (/usr/bin/lp: Printing to network device - shall be working)



Your message dated Sat, 6 Jul 2013 12:07:51 +0200
with message-id <201307061207.51666.odyx@debian.org>
and subject line Re: Bug#715143: /usr/bin/lp: Printing to network device - shall be working
has caused the Debian Bug report #715143,
regarding /usr/bin/lp: Printing to network device - shall be working
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
715143: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715143
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups-client
Version: 1.4.4-7+squeeze1
Severity: normal
File: /usr/bin/lp

Hi,

Herewith the command that shall work. 

I know it is more work for you. You could really update it, or create a fork. 

I cannot help currently on cups, got too much work.

Sane CAN so SHALL CUPS too !! 2013 is our year. Network exists widely.



So, herewith what it shall work more with command:

 hp-makeuri 192.168.1.8

HP Linux Imaging and Printing System (ver. 3.10.6)
Device URI Creation Utility ver. 5.0

Copyright (c) 2001-9 Hewlett-Packard 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.

CUPS URI: hp:/net/Officejet_4500_G510g-m?ip=192.168.1.8
SANE URI: hpaio:/net/Officejet_4500_G510g-m?ip=192.168.1.8
HP Fax URI: hpfax:/net/Officejet_4500_G510g-m?ip=192.168.1.8

Done.





lp -d  "hp:/net/Officejet_4500_G510g-m?ip=192.168.1.8"   plan.pdf
lp: The printer or class was not found.




Please make -d WORK as it should

thanks a lot





-- System Information:
Debian Release: 6.0.3
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cups-client depends on:
ii  adduser                 3.112+nmu2       add and remove users and groups
ii  cups-common             1.4.4-7+squeeze1 Common UNIX Printing System(tm) - 
ii  libc6                   2.11.3-3         Embedded GNU C Library: Shared lib
ii  libcups2                1.4.4-7+squeeze1 Common UNIX Printing System(tm) - 
ii  libcupsimage2           1.4.4-7+squeeze1 Common UNIX Printing System(tm) - 
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

cups-client recommends no packages.

Versions of packages cups-client suggests:
ii  cups                    1.4.4-7+squeeze1 Common UNIX Printing System(tm) - 
ii  cups-bsd                1.4.4-7+squeeze1 Common UNIX Printing System(tm) - 
pn  cups-pt                 <none>           (no description available)
pn  gtklp                   <none>           (no description available)
pn  kdeprint                <none>           (no description available)
pn  xpp                     <none>           (no description available)

-- no debconf information

--- End Message ---
--- Begin Message ---
Control: tags -1 +moreinfo 

Le samedi, 6 juillet 2013 09.44:55, patrick a écrit :
> So, herewith what it shall work more with command:
> 
>  hp-makeuri 192.168.1.8
> 
> (…)
> CUPS URI: hp:/net/Officejet_4500_G510g-m?ip=192.168.1.8
> SANE URI: hpaio:/net/Officejet_4500_G510g-m?ip=192.168.1.8
> HP Fax URI: hpfax:/net/Officejet_4500_G510g-m?ip=192.168.1.8
> 
> Done.
> 
> lp -d  "hp:/net/Officejet_4500_G510g-m?ip=192.168.1.8"   plan.pdf
> lp: The printer or class was not found.

That's not how it works; you first need to _add_ the printer to cups:

1) Check what driver is available:

 # lpinfo -m | grep g510g
drv:///hpijs.drv/hp-officejet_4500_g510g-m-hpijs.ppd HP Officejet 4500 
g510g-m hpijs, 3.13.4

2) Create the printer
# lpadmin -p my-hp-printer -E -v "hp:/net/Officejet_4500_G510g-
m?ip=192.168.1.8" -m drv:///hpijs.drv/hp-officejet_4500_g510g-m-
hpijs.ppd

3) Print to the newly created printer
lp -d my-hp-printer plan.pdf

> Please make -d WORK as it should

I think it does work as it should, thereby closing this bugreport.

Cheers,
OdyX

--- End Message ---

Reply to: