Some pdf files don't print from acrobat reader on Laserjet p2015dn

Asked by Rainer Schulze-Pillot

Some pdf files don't print from acrobat reader on my hp laserjet p2015dn, running ubuntu 11.04.
There are no error messages, the green light blinks for a while on the printer and then stops blinking, the hplip gui reports that the printjob completed, there is just no paper coming out of the printer.
All files that didn't print contained a line like the following one:

2 0 obj
<</Type/Metadata/Subtype/XML/Length 3619>>stream

The same file can be printed on the same printer from evince document viewer, something seems to go wrong between the acrobat reader and the printing.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Sanjay Kumar
Solved:
Last query:
Last reply:
Revision history for this message
Best Sanjay Kumar (sanjay-kumar14) said :
#1

Hi,

Thanks for reporting the issue in HPLIP. To help us understand and analyze the issue please follow following things.

=> Download and install the latest HPLIP release from http://hplipopensource.com/hplip-web/install/install/index.html:
=> Reconfigure print queue with the commands mentioned below.
       =>system-config-printer (remove all print queues)
                     or
         Go to system ->Administration -> printing (then remove all print queues)
       =>hp-setup (for adding print queue)
=>Enable/Clear Logs as mentioned below

    a)Open /etc/cups/cupsd.conf in root mode and replace

        LogLevel warn

          with

       LogLevel debug
       hpLogLevel 15

    b) Open Terminal and run following commands:
       => su
       => /etc/init.d/cups restart
                  or
          service cups restart

       => rm /tmp/*.out /tmp/*.bmp
       => cat /dev/null > /var/log/cups/error_log
       => cat /dev/null > /var/log/messages
       => cat /dev/null > /var/log/syslog
       => hp-check -t > /tmp/hpcheck.log

    c) Try to print the file and If issue is not resolved then please send following files
          => /var/log/syslog (if present),
          => /var/log/messages (if present),
          => /var/log/cups/error_log
          => /tmp/*.bmp
          => /tmp/*.out
          => /tmp/hpcheck.log
          => document used for printing

    d) Please let me know the application used for testing.

**Please use "Create a bug report" to attach the logs as "Ask a Question" does not provide the file attachment option.

Revision history for this message
Rainer Schulze-Pillot (rschupi) said :
#2

Thanks! Actually I didn't need to go through the full procedure to solve the problem:

Running hp-check -t gave me number of error messages and the following warning:

warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP

So I uninstalled the printer (which had been installed using Ubuntu's "printing" utility, reinstalled it with the hplip-utility (which, in contrast to the Ubuntu printing, gave me the choice which ppd to choose; I chose the one for p2015dn, the model of my printer, whereas the recommended choice only mentioned p2015), and everything runs fine now, printing became a lot faster as well.