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
  •  


HPE BL460c G9 ProLiant Blade | 2x Xeon E5-2620V3 | NO RAM | P244BR | 2xHDD Tray picture

HPE BL460c G9 ProLiant Blade | 2x Xeon E5-2620V3 | NO RAM | P244BR | 2xHDD Tray

$179.00



HP ProLiant BL460c G9 (Gen9) 2x E5-2670V3 12 Core 3.1GHz No Ram or No Drives picture

HP ProLiant BL460c G9 (Gen9) 2x E5-2670V3 12 Core 3.1GHz No Ram or No Drives

$59.98



Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS picture

Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS

$103.99



DELL PEM640 POWEREDGE M640 BLADE SERVER picture

DELL PEM640 POWEREDGE M640 BLADE SERVER

$539.95



Dell Poweredge M620 Blade Server 2x E5-2680 v2 2.8ghz 20-Cores / 256gb / H710 picture

Dell Poweredge M620 Blade Server 2x E5-2680 v2 2.8ghz 20-Cores / 256gb / H710

$499.99



Dell PowerEdge VRTX Rack Chassis 25-Bay 14.4TB HDD 2x M640 Blade 512GB RAM 2-Bay picture

Dell PowerEdge VRTX Rack Chassis 25-Bay 14.4TB HDD 2x M640 Blade 512GB RAM 2-Bay

$2335.00



DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC picture

DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC

$50.00



Dell PowerEdge M640 Blade Server picture

Dell PowerEdge M640 Blade Server

$539.95



Dell PowerEdge M620 Blade Server picture

Dell PowerEdge M620 Blade Server

$39.99



Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric picture

Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric

$139.99