Results 1 to 10 of 10

Thread: PDF Printer

  1. #1
    Member
    Join Date
    Nov 2011
    Location
    Somerset, UK
    Posts
    40

    PDF Printer

    Trying to install a PDF printer on an HD install of 6.7.1 using cups-pdf. Package installed and the CUPS printer config finds the virtual printer, but when trying to add the printer, it insists on asking for a model name, which is inapplicable; or a PPD file, which I cannot find.

    How do I complete the Add Printer operation, please?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    When I installed the package cups-pdf (cups-pdf_2.5.0-16_i386.deb) using apt-get the new printer was installed automatically. The printer queue has the name PDF.
    If you need a ppd file you can search the list of files included in the cups-pdf package. Open an LXTerminal and issue
    Code:
    dpkg -L cups-pdf | grep ppd
    If the printer was installed properly then you should find the printer "Generic CUPS-PDF Printer (en)" in the "Generic" section.

  3. #3
    Member
    Join Date
    Nov 2011
    Location
    Somerset, UK
    Posts
    40
    OK, I am so used to not finding the cups-pdf package in a distro package lists and having to do it directly through apt-get ... I removed cups-pdf with apt-get (it had not properly configured) and reinstalled it via synaptic ... this time it configured correctly ... except that I cannot get the CUPS printer manager screen to generate a test page ... selecting the option does nothing ... but a print from Libre Office works ... I find a PDF printer very useful for on-line receipts and orders (Amazon, Ebay, etc.) ... paperless office, Hah!

  4. #4
    Member
    Join Date
    Nov 2011
    Location
    Somerset, UK
    Posts
    40
    Further ... having got the PDF printer working on the HD install, I tried the same on the live USB, using synaptic ... same initial problem, no printer in the printer manager list ... reinstalled with synaptic and I noticed that the "configuring cups-pdf" stage in the reinstall took much longer than on the first install, as it had with the HD Knoppix install ... and this time, again, the PDF printer appears in the lists and works ... still cannot get the "Print Test Page" function to do anything, though.

    It appears that in order to get the package to be correctly configured with Knoppix 6.7.1, you have to install and then reinstall cups-pdf ... something in the configuration is missed on the first attempt that is picked-up on the reinstall. Weird ... interesting, but weird!

  5. #5
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512

    Printing a test page

    Quote Originally Posted by Gondarc View Post
    ... except that I cannot get the CUPS printer manager screen to generate a test page ... selecting the option does nothing ...
    I made the experience that I must start iceweasel and enter the address http://localhost:631/ instead of http://127.0.0.1:631/ if I want to print a test page. The file Test_Page.pdf can be found in the directory /var/spool/cups-pdf/ANONYMOUS/.

  6. #6
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    ..enter the address http://localhost:631/ instead of http://127.0.0.1:631/ if..
    Curious, don't you have the line

    Code:
    127.0.0.1    Microknoppix    Knoppix    localhost.localdomain    localhost
    within your '/etc/hosts'?

  7. #7
    Member
    Join Date
    Nov 2011
    Location
    Somerset, UK
    Posts
    40
    Quote Originally Posted by Werner P. Schulz View Post
    Curious, don't you have the line

    Code:
    127.0.0.1    Microknoppix    Knoppix    localhost.localdomain    localhost
    within your '/etc/hosts'?
    I do ... but I have just checked both ways of accessing the CUPS page directly from Iceweasel, and http://localhost:631/ works where http://127.0.0.1:631/ (as used by the printer manager access from "Preferences") does not ... as you say ... curious!

  8. #8
    Member
    Join Date
    Nov 2011
    Location
    Somerset, UK
    Posts
    40
    Further ... equally curious ... documents created via cups-pdf are usually placed in a PDF directory that must be created in the user home directory ... in the case of Knoppix this is /home/knoppix/PDF ... documents printed using the this printer (such as from Libre Office) appear here on my system ... but the test pages generated by the button that works only in http://localhost:631/ do not appear anywhere ... they are in the jobs listed for the printer, but not the destination directory.

  9. #9
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    I found the file Test_Page.pdf in the directory /var/spool/cups-pdf/ANONYMOUS/.

  10. #10
    Member
    Join Date
    Nov 2011
    Location
    Somerset, UK
    Posts
    40
    Aha ... there it be ... the job queue did list it as generated by anonymous, so that makes some sense ... my original search failed because I did not use capitals in an implicit search string ... hey, ho!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ picture

Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ

$44.99



Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A picture

Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A

$89.99



SanDisk 1TB Extreme Portable SSD, External Solid State Drive - SDSSDE61-1T00-G25 picture

SanDisk 1TB Extreme Portable SSD, External Solid State Drive - SDSSDE61-1T00-G25

$109.99



Dell EMC - Intel DC P4510 SSDPE2KX010T8T 1TB U.2 PCIe NVMe 3.1 SSD 008MW picture

Dell EMC - Intel DC P4510 SSDPE2KX010T8T 1TB U.2 PCIe NVMe 3.1 SSD 008MW

$98.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$27.25



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$19.99



Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive picture

Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive

$67.99



1 TB SATA 2.5

1 TB SATA 2.5" Laptop hard drive- Used - Mixed RPM- Tested - Mix Brands/Models

$12.00



Apple 1TB Solid State Drive for Apple MacBook Pro picture

Apple 1TB Solid State Drive for Apple MacBook Pro

$80.00



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$80.39