Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using a HP 1000 J110 connected to a server which I access via ssh. I use lsusb and it appears there. Then, I Pasted the PPD on the /etc/cups/ppd/ folder... Is the ppd my pc uses to print when attached directly to the PC.

I Use lpstat -p

and it shows the printer there :

printer DESKJET-1000-J110 is idle.  enabled since Fri 22 Mar 2013 08:05:33 PM UTC

Then i use:

lp -d DESKJET-1000-J110 filetoprint.txt

request id is DESKJET-1000-J110-111 (1 file(s))

and it appears that the file is sent to print, and actually appear as completed, but it just doesn't print anything.

Also tryed with HPLip And when trying to run hp-setup -i it says:

error: No device selected/specified or that supports this functionality.

I checked and this printer IS supported by hplip.

What am I missing? ..

share|improve this question
    
Is it out of paper or toner or something? –  Michael Hampton Mar 25 '13 at 21:39
    
Did you try to install hplip? hplip is the hp official drivers. You can find it on debian repository. –  Brigo Mar 26 '13 at 1:52
    
@Brigo Yes. I already tryied Hplip... it says: error: No device selected/specified or that supports this functionality. .. And i checked and This printer IS supported by hplip.. –  AAlvz Mar 26 '13 at 18:31
add comment

2 Answers

up vote 1 down vote accepted

The solution was not that complicated. I used the following code: (Erased before the existing printers using lpadmin -x PrinterName)

To view my URI:

lpinfo -v

I got this:

:~# lpinfo -v
network http
network socket
direct scsi
network lpd
network ipp
serial serial:/dev/ttyS0?baud=115200
direct usb://HP/Deskjet%201000%20J110%20series?serial=CN19S21RWB05D2
network beh

The direct usb part is the URI.

I had already a ppd file. So I copied it to /etc/cups/ppd/

Then I added the printer using:

:~# lpadmin -p Deskjet-1000-J110-series -E -v usb://HP/Deskjet%201000%20J110%20series?serial=CN19S21RWB05D2 -m /etc/cups/ppd/Deskjet-1000-J110-series.ppd 

I got this error: lpadmin: Unable to copy PPD file!

As it was already specified (the ppd file) .. I ran a test

lp -d Deskjet-1000-J110-series fileToPrint

And.. printed...

share|improve this answer
add comment

Running hp-check -t will give you more information about the status of the printer -- specifically, the DISCOVERED USB DEVICES and INSTALLED CUPS PRINTER QUEUES.

Have you verified to ensure that cups is running?

% /sbin/service cups status
cupsd (pid  1453) is running...

How are you verifying that the file has been sent and appear[s] as completed?

share|improve this answer
    
Cups is running fine. I Have another printer here and I can print fine with it. Just having troubles with the HP1000. Also i know that the file is completed because after sending to print I try to cancel the last job and it says cancel: cancel-job failed: Job #113 is already completed - can't cancel. .. any ideas? –  AAlvz Mar 26 '13 at 20:25
    
In the Installed cups printer queues there are my 2 printers.. but in the hp-1000 is just Type and URI. It doesnt view the ppd as with my other printer.. –  AAlvz Mar 26 '13 at 20:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.