HP cp5225 landscape print

Asked by zealot_guorui

my Linux version is 2.6.32-71.29.1
my printer is HP CP5225,
I use the driver my OS provided.
I open a PDF file, and print it. Both landscape and Portrait is OK!
if I first printPreview, landscape print will get Error!
I find this Question, because I write a Qt program. In my program, I print some file, I can print to FDF files,
both landscape and Portrait is Ok. When I straight print in papers, Portrait is Ok, but landscape always get Error!

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
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

=>Try to print any document and If issue is not resolved then please execute following steps
    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 any document and 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
          =>scanned copy of printed document

    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.

Can you help with this problem?

Provide an answer of your own, or ask zealot_guorui for more information if necessary.

To post a message you must log in.