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
  •  


Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig Copper UPOE Network Switch picture

Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig Copper UPOE Network Switch

$499.00



Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack picture

Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack

$140.00



Cisco Nexus N9K-C93108TC-EX 48-Port 10G RJ-45 6x100G QSFP Network Switch W/Ears picture

Cisco Nexus N9K-C93108TC-EX 48-Port 10G RJ-45 6x100G QSFP Network Switch W/Ears

$499.99



Cisco Nexus N9K-C9372TX 48P 10G Gigabit Ethernet 6x QSFP+ 40G Switch 2x650W PSU picture

Cisco Nexus N9K-C9372TX 48P 10G Gigabit Ethernet 6x QSFP+ 40G Switch 2x650W PSU

$199.99



Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture

Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850

$30.99



Cisco SFP-10G-SR 10-2415-03  10 Gigabit Transceiver   LOT OF 10   @ C picture

Cisco SFP-10G-SR 10-2415-03 10 Gigabit Transceiver LOT OF 10 @ C

$39.99



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



Cisco C3850-NM-4-10G 4 Port Network Exp.Module for 3850 picture

Cisco C3850-NM-4-10G 4 Port Network Exp.Module for 3850

$124.90



Cisco AIR-CT3504-K9 Wireless Controller No AC Adapter     15-4 picture

Cisco AIR-CT3504-K9 Wireless Controller No AC Adapter 15-4

$299.99



Cisco Meraki MX250-HW Cloud Managed Security Appliance - UNCLAIMED picture

Cisco Meraki MX250-HW Cloud Managed Security Appliance - UNCLAIMED

$300.00