Printing

Create Paper and PDF Docs

Print to a device or a PDF file. View, edit and compress PDF files. Use advanced features with HP devices.

Manage printers using System Settings.

Manage printers using System Settings.

Please read the disclaimer before proceeding. We review and update guided solutions regularly. If you have suggestions or requests, please write support@kfocus.org.

Print to File

One doesn’t need to print to paper or other media very often these days. With email and instant messaging, it is often easier to record and send content electronically. One may, for example, share screen casts, images, or PDFs.

Any application that can print to a device can also print to a PDF file. PDFs have some advantages over other recording techniques. Humans and machines can quickly search and index PDFs, whereas searching a video or image is far slower and less accurate.

Most applications in Kubuntu use the system print interface, which is shown below.

Export PDFs from KDE apps using the Print feature.

Export PDFs from KDE apps using the Print feature.

Customize the PDF's page size.

Customize the PDF's page size.

Some applications provide more PDF options than others. LibreOffice has a basic and advanced PDF setting.

Export PDFs directly using LibreOffice.

Export PDFs directly using LibreOffice.

Customize LibreOffice PDF export options.

Customize LibreOffice PDF export options.

Chrome has a custom print interface and does not print background images by default. This helps save ink.

Print to PDF with Chrome.

Print to PDF with Chrome.

Choose 'Save as PDF' to use the PDF printing feature.

Choose 'Save as PDF' to use the PDF printing feature.

Enable background graphics to improve PDF export quality.

Enable background graphics to improve PDF export quality.

Click 'Save' to export the web page.

Click 'Save' to export the web page.

Print to Device

Kubuntu should auto-discover most modern printers. Test a printer using System Settings > Printers > (printer model) > Maintenance > Print Test Page. If it works as desired, there's little point in changing the configuration.

Sometimes multiple devices will appear for a single printer. Usually, this happens when printing and fax capabilities are available. After determining the preferred device, one can set the default printer using System Settings > Printers > (printer model) > [x] Default Printer.

For the best reliability, it may be desirable to assign a constant IP address to the printer. One may set a static IP in the printer panel. Alternately, one could configure the router to assign a reserved constant IP address over DHCP. One may test the connection using ping 10.0.0.25 (where "10.0.0.25" is the IP address). Some printers may need to be configured to respond to ping requests.

If a printer is not auto-discovered, we suggest you first set a static IP as discussed above. After this, Kubuntu may find the printer. If not,one may add one using System Settings > Printers > Add Printer.

Device auto-discoverDevice settings page 1Device settings page 2

View and Edit PDF files

Okular is the default PDF viewer for Kubuntu. It has support for virtually all PDF capabilities. Adobe Acrobat is also available.

PDF Arranger (formerly PDF Shuffler) can rearrange, remove, or add pages to a PDF document. Use DiffPDF to visually compare PDF files.

Focus systems come with shrinkpdf which can reduce PDF files to as little as 5% of the original. It does this by lowering image quality to screen view levels and is noticeable only when printed on paper. You can edit this script to adjust image quality (_dpi) if you wish.

HP Device Manager

HP Linux Imaging and Printing (HPLIP) is a suite of tools provided by HP for their hardware. Many capabilities, like document-feeder or scanning, do not require HPLIP. Use it only if you need more advanced capabilities such as fax support or esoteric page settings. You may install it by entering sudo apt install hplip in a terminal.

hplip1hplip2hplip3hplip4

Troubleshooting

Q: I can't get a test page to print. I used System Settings > Printer and selected Maintenance > Print Test Page. I got an "Unable to open print file: Permission denied" error. What can I do?

A: Make sure the user is in the lp group by typing groups into a terminal. If you don't see lp there, you can add it with sudo usermod -a -G lp $USER and then log out and back in. Source: Ask Ubuntu.

Q: I still can't print. This time, I see "No suitable Destination Host found by cups-browsed". What can be the problem now?

A1: There appears to be a bug in cups-browsed that causes this problem for some printers. First, visit System Settings > Printers and select the printer to test. Next, click on Open Print Queue and delete all print jobs. Then, open a terminal and type sudo systemctl restart cups-browsed. Finally, try to print a test page using Maintenance > Print Test Page. If that works, printing should be all set.

A2: If A1 doesn't work, run this in a terminal: sudo systemctl stop cups-browsed; sudo systemctl restart cups. Next, visit System Settings > Printer and delete all printers. Then add the desired printer by clicking Add printer and selecting defaults. Finally, try the test page again with the newly added printer.

A3: Use this only as the last option. You can uninstall cups-browsed: sudo systemctl stop cups-browsed; apt purge --auto-remove cups-browsed; systemctl restart cups. Next, visit System Settings > Printer and delete all printers. Then add the desired printer by clicking Add Printer and selecting defaults. Finally, try the test page again with the newly added printer. If this works, apparently you can install cups-browsed again using sudo apt install cups-browsed. Source: Ask Ubuntu.

Revisions

This is a partial revision history. See the git repository for all entries.

Disclaimer

We try hard to provide a useful solution validated by professionals. However, we cannot anticipate every situation, and therefore cannot guarantee this procedure will work for your needs. Always backup your data and test the solution to determine the correct procedure for you.

THIS SOLUTION IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOLUTION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

HAVE QUESTIONS?Call 844-536-2871 or write
TellMeMore@kfocus.org   |  GET FOCUS MERCH