Print to a PDF file or a device. View, edit, and compress PDF files.
Please read the disclaimer before proceeding. We review and update guided solutions regularly. If you have suggestions or requests, please write support@kfocus.org.
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 screencasts, images, or PDFs.
Any app 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 apps in Kubuntu use the system print interface, which is shown below.
Some apps provide more PDF options than others. LibreOffice, for example, has basic and advanced PDF setting.
Chrome has a custom print interface and does not print background images by default. This helps save ink.
A printer must be configured before it can be used. Happily, Kubuntu will usually discover and configure most printers automatically. With most apps, use [ File ] > [ Print ] to open a print dialog, select the destination printer, and click [ Properties ] (or similar) to adjust options.
Kubuntu should auto-discover and configure most modern network printers. Before you boot your system, turn on your printer and attach it to the network. After you boot and sign-in, visit [ System Settings ] > [ Printers ]. Here you should see your printer in the left-hand column. You may then click [ Maintenance ] > [ Print Test Page ] to verify it works.
Sometimes multiple devices will appear for a single printer. Usually, this happens when print and fax capabilities are both available. After determining the preferred device, set the default printer using [ System Settings ] > [ Printers ] > [ (printer model) ] > [x] Default Printer.
If you attached a printer and it does not appear, try rebooting your system and cycling the printer power. If that doesn't work, click [ Add Printer ] to find it. You may need to Set a Static IP, as discussed at the end of this section. If you are using a USB printer or have other issues, see the Troubleshooting section for more ideas.
To change a printer configuration, click [ Configure ]. In the [ Modify Printer ] tab, you can change the Description and Location. We do not recommend changing the connection or driver fields unless you really know what you are doing.
In the [ Printer Options ] tab, you can select the default paper size along with other features like quality and 2-sided (duplex) printing. The system only shows supported options. For example, if your printer does not support 2-sided printing, the system may omit that option, as illustrated here.
If your printer constantly reconfigures on boot, your router’s DHCP might change the printer’s IP on every power cycle. If this is troublesome, you can configure your router to reserve a static IP address for your printer; see your router manual for details. You can then test a static IP connection using a Konsole terminal. For example, if you set the IP to 10.0.0.25, use ping 10.0.0.25 to see if the printer is available on the network. Beware, however, that some printers may need to be configured to respond to ping requests; see the printer manual if this appears to be the case.
Usually, the default paper size will be US Letter or A4, depending on your printer and locale. You can adjust this in 4 locations: the CUPS Printing System, Regional Settings, Printer Settings, and in an app. Below, we show how to set US Letter in all these locations.
Open a Konsole terminal, enter the following line, and press [ Enter ]. Example output is shown in the comments. See man paperconfig for more details.
Use [ System Settings ] > [ Regional Settings ] > [ Region and Language ] > [ Modify ] to adjust the paper size for your region.
See Print to Device section to set a printer's default paper size.
This section shows how to set a default paper size in LibreOffice Writer. Other apps will vary, but the same principles often apply.
Documents created by others typically have a paper size already defined. For example, when you view a PDF in Okular, you can see the defined paper size using [ File ] > [ Document Properties ]. If the document paper size does not match your printer's, you may need to change it in the app. In some apps, you may also adjust the paper size in the print dialog ([ File ] > [ Print ]) by clicking on [ Properties ] (or similar) next to the selected printer.
Okular is the default PDF viewer for Kubuntu. It has support for virtually all PDF capabilities, such as search, annotation, and forms. Click [ Tools ] > [x] Annotations to show the annotation tools.
PDF Arranger (formerly PDF Shuffler) rearranges, removes, and adds pages to a PDF document. DiffPDF visually compares 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 96 DPI. This is only noticeable only when printed on paper. You can edit this script to adjust the DPI if you wish.
Most modern printers can print on both sides of a page. This feature is called "two-sided" or "duplex" printing.
In many apps, you can activate this feature under [ Print ] > [ Page Setup ] > [ Two-sided printing ]. In KDE apps, you can activate it with [ Print ] > [ Options button ] > [ Options tab ] > [ Double Sided Printing ].
The images below show how to do this in the system print dialog shown by Google Chrome.
We no longer recommend HP Linux Imaging and Printing (HPLIP), as the standard CUPS interface works well for advanced features such as automatic document feed. Apps such as SkanPage (our preference) or SkanLite work well to scan documents without HPLIP, and many HP printers now offer a web interface for scanning too. For most people, HPLIP simply complicates the standard CUPS printing system. If you have installed it, you can remove and refresh CUPS as below:
Q: I'm using a VirtualBox Virtual Machine (VM), but don't see my network printers. What can I do?
A: In VirtualBox, select your VM, then adjust [ Settings ] > [ Network ] tab and change the [ Attached To ] selector to [ Bridged Adaptor ] and click [ OK ]. The VM OS should now be able to discover the network printers.
Q: I don't see my USB printer. How can I use it?
A: The system may not auto-discover and configure a USB-attached printer. To add it, visiting [ System Settings ] > [ Printers ] and then click [ Add Printer ]. In the [ Select a Printer to Add ] dialog, give the system 20-30 seconds to search for printers. Then select your printer from the locally attached devices.
If you still don't see your printer, close the System Settings window, turn your printer off, wait 30 seconds, turn it on, wait 30 seconds, and then try again. Once you see your printer, select the top choice and click on [ Next ]. Accept the default PPD and click [ Next ]. Then keep [x] Share this printer and click [ Finish ]. Then try to print a test page as described in the Print to Device, above.
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. If that doesn't work, you can reinstall key services, sudo apt reinstall cups-daemon cups-server-common cups cups-client; then reboot and then try adding the printer again.
Q: I still can't print. This time, I see "No suitable Destination Host found by cups-browsed". What could be the problem?
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 fine.
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.
This is a partial revision history. See the git repository for all entries.
2026-03-16 b9130e6a Add "Set the Default Paper Size" section, audit all grammar2026-03-02 1fe5bd34 Revise GUI element and keypress text styles2026-01-29 deefbd6d Add duplex printing instructions2026-01-21 8a30c6e3 Add restart advice to trouble shooting2025-04-19 274c0ff1 Update grammar and content per audit2025-03-26 f3dfa251 Fix printing advice, no longer recommend HPLIP.2025-03-04 7e0f76de Add history to revisions2024-09-10 73fcff02 Finalize lightbox updates2024-09-05 14887652 Major Lightbox updates, fix some out-of-date documentation2024-08-19 57a2389d Add white theme2024-07-28 ee7b4601 Update metadata content, collapsable sections, lightbox2024-07-26 7814a97d Sync primary images between guided solutions slideshow and articles2024-06-10 e4866d9b Update for Noble2024-06-09 051dd68b Add advice for cups-browsed issues.2024-06-07 39d71fcd Add Git hash to revisions2023-11-18 e770b1c6 Add search and help bar2023-06-17 a7af817b Add title image2022-07-19 814ce3ea Convert images from png to webp format2022-01-21 668e16d4 Update titles, images, and carousel image presentation2022-01-18 978ec820 Update printing grammar2022-01-16 04585382 Additional device guidance2021-10-10 5728326e Reformat to 2-column2021-09-22 dc862884 Update link and headline colors2021-08-23 681261b4 Review and update codeblocks2020-06-26 4f6a9cd8 Update and improve images and text2020-06-10 c4ed9299 Restructure layout2020-01-10 9ff462e4 First publicationWe 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