CUPS-PDF prints a blank page

12,979

Solution 1

Its a bug in cups-pdf.
After installation, cups's pdf-printer doesn't get configured properly. To get it working you do the following:

  1. Open a web-browser, and go to http://localhost:631.
  2. Go to Administration > Manage Printers > (your pdf printer) > Modify Printer.
  3. Provide your login credentials.
  4. Click Continue for the connection and name page.
  5. On the third page, when you are asked to enter the model of the printer, click Choose File, to select the PPD file.
  6. Navigate and select /usr/share/ppd/cups-pdf/CUPS-PDF.ppd.
  7. Click Modify Printer.
  8. Go to Terminal and restart cups using the command:

    sudo service cups restart
    

    and voila! you are done.

PDFs will get printed in your /home/username/PDF directory.

Solution 2

I got the solution.

Just get the PostScript Driver and it works fine!

Or install this "PRINTER MODEL" CUPS + GutenPrint

I don't know why PLC 6/ PXL doesn't work, but if you install PostScript it will work!

Share:
12,979

Related videos on Youtube

Admin
Author by

Admin

Updated on September 18, 2022

Comments

  • Admin
    Admin almost 2 years

    I am a new Ubuntu user. I installed cups-pdf to print a PDF file, but every time I try to print, I get one blank page, no matter how many pages I try to print.

    How can I fix this problem?

  • Mostafa Ahangarha
    Mostafa Ahangarha about 7 years
    I am not able to get to know what is the package name to install and how. Is there any package with all capital name? Please don't post anything with such format. Please come with a clean, step by step solution with all needed detail to know what the problem is and how your solution is going to solve the problem.
  • Salvatore Cassano
    Salvatore Cassano about 6 years
    First install: $ sudo apt install printer-driver-cups-pdf (or if you're running < 16.04, $ sudo apt-get install cups-pdf). With 16.04, at least, I didn't have to restart cups, but YMMV. I installed the printer-driver-cups-pdf package on a brand new copy of 18.04 and it configured the PDF printer for me sans bug! (they fixed it)
  • Mehran
    Mehran about 5 years
    This didn't work for me. I have Kubuntu 18.04 and for one thing, there's no such file as /usr/share/ppd/cups-pdf/CUPS-PDF.ppd on my drive. Instead, I have /usr/share/ppd/cups-pdf/CUPS-PDF_noopt.ppd and /usr/share/ppd/cups-pdf/CUPS-PDF_opt.ppd and none of them work.