Connecting to printer connected to another computer.

Lisa Kachold lisakachold at obnosis.com
Sun Jul 1 04:54:45 MST 2012


Okay, this looks typical except that you don't have the full networking
part of the driver.

It's recommended that you download and install the Solution:

Completely remove hplip and hplip-data (also completely removed hpijs,
foomatic-db-hpijs and hpijs-ppds),
downloaded hplip-2.8.7.run from hplip.sourceforge.net and ran the automatic
installer.

Note that there are 7 missing "optional" dependencies which it
automatically downloaded & installed; two of these were marked as "REQUIRED
dependency for option 'network'", so attend carefully as you install.

After building, a setup wizard runs which did almost everything by itself
(but for some reason doesn't find the printer by itself -  you will have to
enter its ip address manually), whereupon it will give you a choice of 2
drivers - choose the first one that is listed (not the one called
'recommended').

Printing to this printer now should to work perfectly.

Go into the CUPS "modify printer" process to see what is are now 2 new
items listed in the "device" drop-down menu that were not there before:
HP Fax (HPLIP)
HP Printer (HPLIP)

Also, the device uri that the wizard entered is now:
hp:/net/Photosmart_C7200_series?ip=[my printer's ip address]
and the driver it is using isL
HP Photosmart c7200 series Foomatic/hpijs (en)
I was trying to use "HP PhotoSmart C7200 Foomatic/hpijs (recommended)
(en)". Note that the slight differences in upper/lowercase are not
accidental - compar';
driver




On Sat, Jun 30, 2012 at 6:57 PM, Michael Havens <bmike1 at gmail.com> wrote:

> The other computer is ubuntu. As to the log I am unsure which one you
> want. Probably /var/log/cups but I am unsure.
> This is off of the wireless computer:
>
> ~$ more /var/log/cups/access_log
> localhost - - [30/Jun/2012:16:10:54 -0700] "POST / HTTP/1.1" 200 185
> Renew-Subsc
> ription successful-ok
> localhost - - [30/Jun/2012:17:09:14 -0700] "POST / HTTP/1.1" 200 185
> Renew-Subsc
> ription successful-ok
> localhost - - [30/Jun/2012:17:09:27 -0700] "POST
> /printers/HP_Photosmart_C7200_s
> eries_Michaels-PC HTTP/1.1" 200 56997 Print-Job successful-ok
> localhost - - [30/Jun/2012:17:09:31 -0700] "POST / HTTP/1.1" 200 343
> Create-Prin
> ter-Subscription successful-ok
> localhost - - [30/Jun/2012:18:07:34 -0700] "POST / HTTP/1.1" 200 185
> Renew-Subsc
> ription successful-ok
> tail /var/log/cups/access_log
> localhost - - [30/Jun/2012:16:10:54 -0700] "POST / HTTP/1.1" 200 185
> Renew-Subscription successful-ok
> localhost - - [30/Jun/2012:17:09:14 -0700] "POST / HTTP/1.1" 200 185
> Renew-Subscription successful-ok
> localhost - - [30/Jun/2012:17:09:27 -0700] "POST
> /printers/HP_Photosmart_C7200_series_Michaels-PC HTTP/1.1" 200 56997
> Print-Job successful-ok
> localhost - - [30/Jun/2012:17:09:31 -0700] "POST / HTTP/1.1" 200 343
> Create-Printer-Subscription successful-ok
> localhost - - [30/Jun/2012:18:07:34 -0700] "POST / HTTP/1.1" 200 185
> Renew-Subscription successful-ok
> bmike1 at Michaels-Laptop:~$ more /var/log/cups/access_log
> localhost - - [30/Jun/2012:16:10:54 -0700] "POST / HTTP/1.1" 200 185
> Renew-Subsc
> ription successful-ok
> localhost - - [30/Jun/2012:17:09:14 -0700] "POST / HTTP/1.1" 200 185
> Renew-Subsc
> ription successful-ok
> localhost - - [30/Jun/2012:17:09:27 -0700] "POST
> /printers/HP_Photosmart_C7200_s
> eries_Michaels-PC HTTP/1.1" 200 56997 Print-Job successful-ok
> localhost - - [30/Jun/2012:17:09:31 -0700] "POST / HTTP/1.1" 200 343
> Create-Prin
> ter-Subscription successful-ok
> localhost - - [30/Jun/2012:18:07:34 -0700] "POST / HTTP/1.1" 200 185
> Renew-Subsc
> ription successful-ok
> bmike1 at Michaels-Laptop:~$ tail /vag/log/cups.1.gz
> tail: cannot open `/vag/log/cups.1.gz' for reading: No such file or
> directory
> bmike1 at Michaels-Laptop:~$ /var/log/cups/access_log
> bash: /var/log/cups/access_log: Permission denied
> bmike1 at Michaels-Laptop:~$ more /var/log/cups/access_log
> localhost - - [30/Jun/2012:16:10:54 -0700] "POST / HTTP/1.1" 200 185
> Renew-Subsc
> ription successful-ok
> localhost - - [30/Jun/2012:17:09:14 -0700] "POST / HTTP/1.1" 200 185
> Renew-Subsc
> ription successful-ok
> localhost - - [30/Jun/2012:17:09:27 -0700] "POST
> /printers/HP_Photosmart_C7200_s
> eries_Michaels-PC HTTP/1.1" 200 56997 Print-Job successful-ok
> localhost - - [30/Jun/2012:17:09:31 -0700] "POST / HTTP/1.1" 200 343
> Create-Prin
> ter-Subscription successful-ok
> localhost - - [30/Jun/2012:18:07:34 -0700] "POST / HTTP/1.1" 200 185
> Renew-Subsc
> ription successful-ok
> bmike1 at Michaels-Laptop:~$
>
>
>
> On Sat, Jun 30, 2012 at 6:41 PM, Lisa Kachold <lisakachold at obnosis.com>wrote:
>
>> Okay, so this is a printer shared through another computer, right?
>>
>> Youubuntu can see the printer, but it says it's not plugged in.  What is
>> the other computer?
>>
>> Can you see logs from the other computer of access attempts.
>> What is it whining about?
>>
>>
>> On Sat, Jun 30, 2012 at 5:47 PM, Michael Havens <bmike1 at gmail.com> wrote:
>>
>>> I deleted the printer yesterday (in an attempt to get it to work) and
>>> re-detected with no problem.
>>>
>>>
>>> On Sat, Jun 30, 2012 at 5:44 PM, Michael Havens <bmike1 at gmail.com> with
>>> no wrote:
>>>
>>>> but its on.... the computer it is hard wired too prints. There is no
>>>> cabling.... it is through the wifi. The laptop detected the printer
>>>> (wirelessly) so why can't it print to it (wirelessly).
>>>>
>>>>
>>>> On Sat, Jun 30, 2012 at 5:40 PM, Lisa Kachold <lisakachold at obnosis.com>wrote:
>>>>
>>>>> It says "Unplugged or turned off".
>>>>>
>>>>> That means basically it's "unplugged or turned off".  Check the
>>>>> cabling.
>>>>>
>>>>>
>>>>> On Sat, Jun 30, 2012 at 5:11 PM, Michael Havens <bmike1 at gmail.com>wrote:
>>>>>
>>>>>> #  ps -ef| grep cups
>>>>>> root       938     1  0 15:11 ?        00:00:00 /usr/sbin/cupsd -F
>>>>>> root      3379  3313  0 16:58 pts/1    00:00:00 grep --colour=auto
>>>>>> cups
>>>>>> # netstat -antp | grep 631
>>>>>> tcp        0      0 0.0.0.0:631             0.0.0.0:*
>>>>>> LISTEN      938/cupsd
>>>>>> tcp6       0      0 :::631                  :::*
>>>>>>  LISTEN      938/cupsd
>>>>>> # lpstat -p
>>>>>> printer HP_Photosmart_C7200_series disabled since Thu 28 Jun 2012
>>>>>> 06:03:36 PM MST -
>>>>>> Unplugged or turned off
>>>>>> printer HP_Photosmart_C7200_series_Michaels-PC is idle.  enabled
>>>>>> since Fri 29 Jun 2012 01:07:25 AM MST
>>>>>> printer PDF is idle.  enabled since Sat 05 May 2012 12:15:13 PM MST
>>>>>> printer Photosmart-C7200-series-Fax disabled since Wed 09 May 2012
>>>>>> 10:18:09 AM MST -
>>>>>>  Unplugged or turned off
>>>>>>
>>>>>> On Sat, Jun 30, 2012 at 4:23 PM, Lisa Kachold <
>>>>>> lisakachold at obnosis.com> wrote:
>>>>>>
>>>>>>> Hi Michael,
>>>>>>>
>>>>>>> On Sat, Jun 30, 2012 at 4:10 PM, Michael Havens <bmike1 at gmail.com>wrote:
>>>>>>>
>>>>>>>> Here's whats happening: I have a printer connected to the desktop
>>>>>>>> in my office. That prints fine.... all is good. I have a laptop that used
>>>>>>>> to print to the printer but ever since the hard driv e crashed and
>>>>>>>> I re-installed the OS it hasn't. I go to cups and go through the
>>>>>>>> printer-discovery process (and it does find it). But it will not print.
>>>>>>>>
>>>>>>>> # ps -ef }grep cups
>>>>>>> # netstat -antp | grep 631
>>>>>>> # lpstat -p
>>>>>>>
>>>>>>> See the full list of options:
>>>>>>>
>>>>>>>
>>>>>>> http://www.g-loaded.eu/2005/11/10/using-a-cups-printer-from-command-line/
>>>>>>>
>>>>>>>
>>>>>>>> --
>>>>>>>> :-)~MIKE~(-:
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> (503) 754-4452 Android
>>>>>>> (623) 239-3392 Skype
>>>>>>> (623) 688-3392 Google Voice
>>>>>>> **
>>>>>>> <http://it-clowns.com>Safeway.com
>>>>>>> Automation Engineer
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------
>>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> :-)~MIKE~(-:
>>>>>>
>>>>>> ---------------------------------------------------
>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> (503) 754-4452 Android
>>>>> (623) 239-3392 Skype
>>>>> (623) 688-3392 Google Voice
>>>>> **
>>>>> <http://it-clowns.com>Safeway.com
>>>>> Automation Engineer
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------
>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> :-)~MIKE~(-:
>>>>
>>>
>>>
>>>
>>> --
>>> :-)~MIKE~(-:
>>>
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>>
>>
>>
>>
>> --
>> (503) 754-4452 Android
>> (623) 239-3392 Skype
>> (623) 688-3392 Google Voice
>> **
>> <http://it-clowns.com>Safeway.com
>> Automation Engineer
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>
>
>
> --
> :-)~MIKE~(-:
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



-- 
(503) 754-4452 Android
(623) 239-3392 Skype
(623) 688-3392 Google Voice
**
<http://it-clowns.com>Safeway.com
Automation Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20120701/5c49f070/attachment.html>


More information about the PLUG-discuss mailing list