Hp Printer Install Cannot Delete Output File

HP printers ship with several printing applications and drivers. The HP software enables automatic updating when new drivers become available. If your business is upgrading printers from an HP DeskJet to another model or brand, you should completely uninstall the HP software and drivers. Right-click the printer that you want to remove, and select the Delete option. Click the Yes button. After completing the steps, the printer that you removed will no longer be available to any user. Delete the file. You'll use the Command Prompt to do so: Type del /f filename.dll, replacing 'filename.dll' with the name of the file. The /f flag tells Windows to delete the file even if it's read-only. Press Y to confirm if prompted. If your printer is listed, remove and re-add the printer to confirm communication and to make sure the correct driver is used.Click the name of your printer, then click the minus sign to delete the printer. Once the printer is removed, click the plus sign, click Add Printer or Scanner, click the name of your printer, then continue to the next step.

Symptoms:

You are having some type of problem with HPLIP and would like to do some basic troubleshooting before contacting the HPLIP support team.

This document is a 'living' document and will be updated on a regular basis to provide the most recent information on troubleshooting HPLIP issues.

Solution:

Initial Troubleshooting Considerations
Install Problem
For printing problems (won't print correctly or as expected)
Printer Not Printing
Troubleshooting Scanning Problems
For general connection or your printer is not detected by HPLIP troubleshooting steps

* Is the device supported by HPLIP and the version of HPLIP you are using?

* Verify support for your device on the supported devices page.

* If your printer needs a later version of HPLIP try upgrading.

* Is the Linux distro You are using supported by the HPLIP automatic installer?

* Verify that the automatic installer is supported for your Linux distro on the HPLIP install page.

* Is the HPLIP package you are using downloaded from the HPLIP project page, or are you using an HPLIP package that came pre-packaged with your Linux distro? We recommend using the already installed HPLIP unless your printer is not supported by that version of HPLIP. Check the required HPLIP version for your printer by going to to the supported devices page. and looking up the information on your specific device.

Run hp-check and verify the following considerations:

* HPLIP supports your printer (see the above section for details).

* All required dependencies are installed (optional dependency errors are OK).

* That your printer is listed under the 'Discovered Devices' section.

* There is a printer queue in the 'Installed Printers' section and there are no errors for that queue.

* If your printer is not listed under the 'Discovered Devices' section verify that it is plugged in and not in an error state.

* If there is no printer queue installed run 'hp-setup' (check the release notes for your HPLIP version for special distro specific considerations, i.e. su or sudo is needed) and follow the provided instructions to configure the printer.

Common errors in the printer queue detection area to watch out for:

* Printer is not installed using the hp:/ backend: Setup the printer using 'hp-setup' (check the release notes for your HPLIP version for special distro specific considerations, i.e. su or sudo is needed).

* Required plugin not installed: Run 'hp-plugin' to install the required plugin, or use 'hp-setup' to configure the printer.

* Is the printer in an error state, offline, or powered off?

* Does the printer work correctly on a windows system? (Usually this is a last verification step to be sure that the printer is working correctly.)

* Is your Linux distro supported by the auto installer? If not, you may need to follow the manual install steps, please see the HPLIP install page for more information.

*For help on using the automatic installer goto the automatic installer instruction page.

Functionality, I/O or Printing Problem

For generic printing problems (printer won't print correctly or as expected)

* Try printing from another application?

* Try printing a different document to make sure it's not a document problem?

* Is the printer aligned and/or cleaned? Run 'hp-toolbox', choose the printer then select the appropriate actions.

* Run 'hp-check' from a terminal windo, ensure output is in line with above considerations section, and verify that you are using the correct or recommended PPD file for your printer queue. (This is selected during the configuration of the printer using hp-setup.)

* View the cups /var/log/cups/error_log for any errors; for info on how to set cups to debug mode see this KB article.

* View the /var/log/syslog for any errors. Depending on your linux distro run either 'su -c 'tail -f /var/log/syslog' or 'sudo tail -f /var/log/syslog'

* Check the fullbleed or edge to edge printing KB article if you are having problems printing fullbleed or edge to edge.

Printer Not Printing

* Is the printer supported by HPLIP? Verify that the printer is supported by HPLIP and what version of HPLIP is needed by going to our supported devices page.

* Does the currently installed version of HPLIP support your printer? You may need to upgrade see the above link.

* Is the printer installed and detected by HPLIP correctly? Run 'hp-check -t' and verify under the 'Installed Queues' section that there are no errors, and under 'Discovered USB Devices' that your printer is listed.

* Run 'hp-check' and verify that all of the required dependencies are installed. (missing optional dependency's is ok)

* Under the 'Installed Queues' section of hp-check if there is a note saying 'Required plug-in status:' verify that the plugin says 'Installed'. If it is NOT installed the printer will not work. To correct this, delete the printer queue and run 'hp-setup' again to configure the printer, or you can try running 'hp-plugin' to install the plugin directly.

* Try disconnecting and reconnecting the printer from the system.

Cannot Open Output File

* Try powercycling the printer by turning it off and back on.

* Fedora only: Is SELinux enabled? If so, it should be set to permissive or disabled mode.

* Is the user part of the lp group? Run 'groups' in a terminal window and verifiy the user is a part of the lp group. If not, consult your Linux distro documentation on how to add the user to the lp group. In most distros you can run (as root): 'usermod -g lp yourusername'

Solution:
Does printer support scanning?

Is the printer in an error state? Run hp-check and verify in the installed printer queues section that the communication is 'Good'.

Run hp-check and verify that there are no errors.

Check hp-check -t that 'scanner-build=yes

Verify that sane is configured with hpaio--run:

export SANE_DEBUG_DLL=128

scanimage -L

The printer should be detected.

View /var/log/syslogwhile scanning for any errors. Depending on your distro you can run either; su -c 'tail -f /var/log/syslog' or sudo tail -f /var/log/syslog, then try scanning and view the syslog for errors.

Is the user part of the scanner group? Run groups and verifiy. If not consult your Linux distro documentation on how to add the user to the scanner group. In most distros you can run (as root): usermod -g scanner yourusername

Hp Printer Install Cannot Delete Output File

For USB problems

* Using any usb hubs? Try to not use any usb hubs.
* Good usb cable? Try a different usb cable or try a different usb port.
* Is the printer supported by the version of HPLIP installed?
* Is the printer supported by HPLIP? Go to our supported devices page.
* Is the printer powered on or in an error state?
* Does the printer work in windows?
* Do you have correct permissions to use the usb port? Run 'hp-check -t', look in the bottom under the 'USB I/O Setup' section, and verify that your username is part of the owner/group.This is usually the lp group.
* Follow the steps for troubleshooting USB connection problems.

For parallel problems

If you are having a problem printing to a parallel printer see, please this KB article on troubleshooting parallel printing problems.

For network problems

If you are having a problem printing to a network printer, please see this KB article on troubleshooting network printing problems.
Learning has never been so easy!

If you have ever needed to manage printers on a computer remotely (Install, Delete, Modify, Clear a Print Queue) then this article should be helpful.

I am assuming that your are on a domain, have administrative permissions and have remote management enabled for your computers.

5 Steps total

Step 1: Open Print Management as Admin

Click start and search for Print Management. Right Click on Print Manager and Run as Admin. Use credentials with Administrative rights on the remote machine

Step 2: Connect to the Remote Print Server

Right Click on Print Servers and select Add / Remove Servers

Step 3: Add Print Servers

The remote print server is simply the PC or Server you wish to manage.
Type the name of the PC (you can add multiple) and click Add to List.

Repeat until all the devices you want to work with are in the list then Click OK

Step 4: Expand the Print Server and open the Printers Item

Once added to the list you can expand the PC Print Server. Then click Printers and you will see the list of all install printers on that device along with the Queue and several other details

Cannot delete output file error

Step 5: Manage as Normal

Cannot Delete Output File Extraction Failed

You will now be able to do everything you would normally do when physically logged into the remote PC and using Devices and Printers locally. Including installing and deleting printers, clearing print queues and editing printer properties and defaults.

Keep in mind that this may not be as fast as sitting directly in front of the computer as you are working remotely. Especially when working across WAN Links.

But it sure beats fighting traffic and users for access to a busy PC

Managing printers on remote devices is no harder than managing printers on the local device you are sitting in front off. This feature in windows can be a huge time saver especially when dealing with many remote sites where you can't always kick the user off to fix a printing issue!

Published: Mar 04, 2016 ยท Last Updated: Mar 08, 2016
Can

15 Comments

Hp Printer Install Cannot Delete Output File

  • Cayenne
    Joshua King Mar 9, 2016 at 01:57pm

    Thanks for the guide. Used it and it works for me, much appreciated!

  • Anaheim
    SkyHigh Mar 9, 2016 at 03:03pm

    Print Manager is great for a small number of servers. However, if you are trying to manage installed printers on your company PCs, then, the more you add, the slower it gets!!!
    Bring back 'view remote printers' in file explorer from Windows 7!
    Good simple guide though, thanks.

  • Thai Pepper
    Jason1121 Mar 9, 2016 at 03:14pm

    Good info to have. Print Manager is without a doubt very handy. However I do miss being able to just browse to a remote computer:

    computername

    And then dig down into 'Printers and Faxes' like we could with 2003 and XP.

  • Cayenne
    mikevandenboom Mar 9, 2016 at 04:50pm

    I am overjoyed....This is the first time I ever saw this.

  • Cayenne
    MarkH3326 Mar 9, 2016 at 06:38pm

    This may or may not be off-topic a wee bit but I did a bunch of research last year to create an automated .BAT batch program as I roll out our company's printers to users' computers. I thought I would share it here in case it is of use to you all. I made it generic and deleted all the printers except one, to keep it simple. Here you go:

    @Echo ----------------------------------------------------------

    REM *** Install Printers .BAT program
    REM *** by Mark H - 201503.26

    REM *** -r = the IP address of the printer
    REM *** -h = the IP address of the printer
    REM *** /m = the label of the printer driver to install found in the .INF file
    REM *** /f = the full filepath and filename of the .INF file
    REM *** /b = The description label which will show up in 'DEVICES and PRINTERS'

    REM *** Line 1 installs the port
    REM *** Line 2 installs the printer driver
    REM *** Line 3 creates the actual printer in the 'DEVICES and PRINTERS' system

    @Echo on

    @Echo ----------------------------------------------------------

    @Echo *** (1) Install HQ - Xerox 7775 printer @ 192.168.20.9

    cscript %WINDIR%System32Printing_Admin_Scriptsen-USPrnport.vbs -a -r IP_192.168.20.9 -h 192.168.20.9 -o raw -n 9100

    rundll32 printui.dll,PrintUIEntry /ia /m 'Xerox WorkCentre 7775 PS' /f 'C:MASTERSPrintersXerox_7775_PS_x64x2DLEXP.inf'

    rundll32 printui.dll,PrintUIEntry /if /b 'HQ - Xerox 7775' /f 'C:MASTERSPrintersXerox_7775_PS_x64x2DLEXP.inf' /r 'IP_192.168.20.9' /m 'Xerox WorkCentre 7775 PS'

    @Echo ----------------------------------------------------------

  • Poblano
    ed.palmer.54 Mar 10, 2016 at 02:43pm

    MarkH3326: I do this a bit differently:

    REM Create port
    Cscript %WINDIR%System32Printing_Admin_Scriptsen-USPrnport.vbs -a -r 10.170.84.34 -h 10.170.84.34 -o raw

    REM Install driver package
    Cscript %WINDIR%System32Printing_Admin_Scriptsen-USPrndrvr.vbs -a -m 'Lexmark MX810 Series XL' -i 'C:Lexmark MX810LMADRP40.inf'

    REM Create printer using driver and port
    Cscript %WINDIR%System32Printing_Admin_Scriptsen-USPrnmngr.vbs -a -p 'Lexmark MX811dtfe' -m 'Lexmark MX810 Series XL' -r 10.170.84.34

    REM Print test page
    Cscript %WINDIR%System32Printing_Admin_Scriptsen-USPrnqctl.vbs -e -p 'Lexmark MX811dtfe'

  • Poblano
    Marek3971 May 5, 2016 at 10:57am

    Thanks so much. I didn't realize how easy I can install printers for users

  • Poblano
    joshuacrussell Oct 3, 2017 at 03:24pm

    Perhaps I'm missing something, but for whatever reason, I cannot run Print Management as Admin. I am a domain admin, my username is in the local machine's administrators group, my account is an admin account, I have full control permissions and I am set as owner for printmanagement.msc, but I still only get the 'run as...' and a permissions error if I click it.
    Any suggestions?

  • Mace
    molan Oct 4, 2017 at 01:10am

    Sounds like you have UAC disabled, make sure it is enabled

  • Poblano
    joshuacrussell Oct 6, 2017 at 08:26pm

    Nope - UAC is enabled. To muddy the waters, I put mmc.exe on my desktop, ran it as admin, then added the Print Management snap-in.
    I added computers from the network as Print Servers, and under printers, I get 'no items to show.'
    The computers have the red down arrow icon - something clearly isn't configured properly. Thoughts?

  • Mace
    molan Oct 7, 2017 at 01:36am

    Start a question thread and reference this how to, you will get better help than going back and forth in the comments section

  • Cayenne
    ChrisN315 Feb 23, 2018 at 03:53pm

    That's handy right there! Saves me a lot of travel.

    Thanks!

  • Datil
    Peter (Action1) Sep 20, 2019 at 05:48pm

    Also, try our solution Action1 to remotely add a printer, remotely remove a printer or other print management operations on remote computers. It works similarly to Print Manager or remotely installing a printer using PsExec or other command line tools, but it is centrally managed and monitored from the cloud. https://www.action1.com/p/Free-Add-or-Remove-Network-Printer-119.html

  • Pimiento
    David4299 Dec 9, 2019 at 07:55pm

    This allows me to see local printers (on the remote PC) only. I can't see any network printers.

  • Jalapeno
    brainjjohns Jan 27, 2020 at 07:31pm

    Wow! That was easy.

    I have heard of this before but didn't realize it would be this simple. I was expecting to have to set up a server specifically to do this. Thank you.