How to fix XPS printer error 1168: Element not found

If you have a recent HP printer and are experiencing an error message that says “Element not found,” there is good news- this may be fixed with some simple maintenance. To fix, follow these steps: turn on your printer; wait until the green power light turns off; hold down the Power button for 20 seconds to enter inkjet mode (this should allow you to use black ink); change your print head alignment setting from center to side, then press Menu key; go into Utility > Cleaning & Maintenance > Head Cleaning All Inks> Printhead Alignment Side .

The “print to pdf element not found” is a problem that can occur with the XPS printer. The issue can be fixed by installing the correct driver.

How to fix XPS printer error 1168: Element not found


Teodor Nechita (Teodor Nechita)

Editor for Managing Software

Teodor produces articles about Windows, Xbox, and all things tech-related on a regular basis, eager to assist people in need. When he’s not working, you’ll generally find him at the gym or on the golf course… Read more

14th of December, 2021

Originally published in September 2019


Several customers have complained about problems with the XPS printer on the official Microsoft forums:

Using the XPS writer, I was unable to print from software. I tried to reinstall the printer, but it failed with the message “printer driver not installed.” “An element was not found.”

They seem to be receiving an error 1168: There are a lot of reasons why an element isn’t detected.

This post will show you how to solve this mistake with the XPS printer step by step.

Table of Contents

What is the solution to the generic error 1168?

1. Keep your drivers up to date.

  1. Go to Settings after clicking the Start button.
  2. Update & Security should be selected.
  3. Check for updates by clicking the button.
  4. Allow Windows Update to get the latest driver and install it.

To update your printer drivers using Windows Update, follow these instructions.

You may also use a professional third-party application to automate this procedure and ensure that your printer drivers are up to date and healthy.

Furthermore, using this automatic way of maintaining drivers protects you from any device incompatibility-related harm.

As a result, if you want dependable assistance in installing or updating any driver, the software listed below will perform admirably.

Obtain DriverFix

2. Try reinstalling the XPS function in Windows.

  1. Press the Windows key.
  2. Select Settings from the drop-down menu (the cogwheel-shaped button)
  3. Apps to Consider
  4. Go to the Apps & Features section.
  5. Optional features should be selected.
  6. If the XPS feature is available, look for it.
  7. If that’s the case, right-click it and choose uninstall.
  8. Restart your computer.
  9. Go to the Manage optional features panel after the restart, or if your PC doesn’t have the feature, and click Add a new feature.
  10. Select the XPS Viewer from the Add a new feature screen.
  11. Restart your computer.


3. Manually look for your XPS Writer’s location.

The location of the XPS Writer varies depending on the version of Windows 10 you have installed.

As a result, if the preceding approach doesn’t work, try this:

  1. Press Windows + R to open the Run dialog box. to open the Run dialog box.
  2. Type control.exe into the search box.
  3. Select Programs.
  4. Programs & Features to Consider
  5. Turn Windows features on or off by clicking Turn Windows features on or off.
  6. Check to see that XPS Services and XPS Viewer are both available.
    • If the services’ checkboxes are checked, uncheck them and restart the computer.
    • If the services’ checkboxes are empty, tick them and restart the computer.
  7. Press Windows + R
  8. Type control.exe into the search box.
  9. Go to the Hardware and Sound section. 
  10. Select Devices and Printers from the drop-down menu.
  11. Examine if Microsoft XPS Document Writer is set up as a printer.
  12. If it is, right-click it and choose Remove device from the menu.
  13. Restart your computer.
  14. Return to Devices and Printers and choose Include a printer.
  15. Select The printer I’m looking for isn’t in the list.
  16. Click Add a manual setting to a local printer or a network printer.
  17. Select Use an existing port and PORTPROMPT: in the Choose a printer port screen. (Port of Entry)
  18. Select Microsoft on the left pane and Microsoft XPS Document Writer on the right pane of the Install a printer driver screen.
  19. When prompted, “Which driver version do you wish to use?” select Make use of the driver that is already installed (recommended)


If none of these suggestions worked, you might perhaps try:

Was this page of assistance to you?

Thank you very much!

There are insufficient details It’s difficult to comprehend Other Speak with a Professional

Start a discussion.

Watch This Video-

Frequently Asked Questions

How do I fix printer driver not installed element not found?

A: If the warning Element not found appears, your computer is likely missing a printer driver. You can download it from the manufacturers website and install it manually.

How do I fix an XPS printer error?

A: XPS stands for Extended Page Sizes and is a proprietary format used by the printer manufacturer to store font data. When this error occurs, it typically means that theres something wrong with your printers fonts or settings on how youre printing from your computer. Be sure to check out our article on how to fix an XPS Printer Error at

How do I reinstall XPS printer?

A: For the HP printer, go to settings and then click on print drivers. Find your driver (if you are not sure which one it is) and install that. If you have a Dell Printer, just follow the instructions included with your specific printer as they will differ from each other a bit