Printing envelope with HP Printer no longer works, all else dose

Asked by david hopton

Have had no problem with wireless HP Officejet until today. It will not print envelope -- the envelpoe just runs through with no printing. Until today, I've had no problem with printing envelopes. To best of my knowledge, I have changed nothing other than downloading whatever changes I receive in update mgr.
 A test page prints perfictly it is just the envelope (I'm using the Libreoffice format for the envelope) I have the most current Ubuntu.
Any suggestions?

Question information

Language:
English Edit question
Status:
Solved
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 (automatic) or http://hplipopensource.com/hplip-web/install/manual/index.html (manual if automatic does not work)

=> Reconfigure print queue with the commands in the terminal mentioned below.
       => system-config-printer (remove all print queues)
      => su -c "hp-plugin" (This will download right plugin)
       => hp-setup (It should not be run in a root mode. This command is adding print queue, make sure you select ppd name having "-ps" or "hpcups" substring)
=>Try printing now.

If problem does not get solved then please capture some logs by doing following things.

=>Enable/Clear Logs as mentioned below
    a) Enable Log capture
       => su (switch to root mode here and execute all remaing commands in root mode)
      => open /etc/cups/cupsd.conf from terminal e.g (vi /etc/cups/cupsd.conf or gedit /etc/cups/cupsd.conf) and then replace
         LogLevel warn
                   with
        LogLevel debug
        hpLogLevel 15

    b) Open Terminal and run following commands:
       => su (switch to root mode here and execute all remaing commands in root mode)
       => /etc/init.d/cups restart
                  or
       => service cups restart
       => cd /tmp
       => rm *.out
       => rm *.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. If issue is not resolved then please send following files
        (**Please use "Create a bug report" to attach the logs as "Ask a Question" does not provide the file attachment option)
          => /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 the printed document (if present)
    d) Please let me know the application used for testing.

Revision history for this message
david hopton (dhh) said :
#2

Thank you for your reply. I have solved he problem! I had been using the
Libre envelope template so on a whim I thought the problem may be the
template (since I could print a 81/2 X 11 sheet of paper) and it was.
I simply created a new template and all is working fine. My only
question is why did the original template suddenly stop printing?

Again thanks
Dave Hopton

On 08/24/2012 05:51 AM, Sanjay Kumar wrote:
> Your question #206608 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/206608
>
> Status: Open => Answered
>
> Sanjay Kumar proposed the following answer:
> 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 (automatic) or http://hplipopensource.com/hplip-web/install/manual/index.html (manual if automatic does not work)
>
> => Reconfigure print queue with the commands in the terminal mentioned below.
> => system-config-printer (remove all print queues)
> => su -c "hp-plugin" (This will download right plugin)
> => hp-setup (It should not be run in a root mode. This command is adding print queue, make sure you select ppd name having "-ps" or "hpcups" substring)
> =>Try printing now.
>
> If problem does not get solved then please capture some logs by doing
> following things.
>
> =>Enable/Clear Logs as mentioned below
> a) Enable Log capture
> => su (switch to root mode here and execute all remaing commands in root mode)
> => open /etc/cups/cupsd.conf from terminal e.g (vi /etc/cups/cupsd.conf or gedit /etc/cups/cupsd.conf) and then replace
> LogLevel warn
> with
> LogLevel debug
> hpLogLevel 15
>
> b) Open Terminal and run following commands:
> => su (switch to root mode here and execute all remaing commands in root mode)
> => /etc/init.d/cups restart
> or
> => service cups restart
> => cd /tmp
> => rm *.out
> => rm *.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. If issue is not resolved then please send following files
> (**Please use "Create a bug report" to attach the logs as "Ask a Question" does not provide the file attachment option)
> => /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 the printed document (if present)
> d) Please let me know the application used for testing.
>

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#3

Hi David,

Nice to hear that your problem is solved. And the reason regarding original template suddenly not printing can only be found by seeing the logs. If the problem occurs again then please provide me the logs.

Thanks,
Sanjay

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#4

Changing the status to solved based on previous comment.