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
  •  


TRUNAS ZFS Server 2U 12 Bay SUPERMICRO X10DRU-i+ 2x E5-2676 V3 14C 32GB RAM SAS3 picture

TRUNAS ZFS Server 2U 12 Bay SUPERMICRO X10DRU-i+ 2x E5-2676 V3 14C 32GB RAM SAS3

$419.00



HP/HPE ProLiant AMD Opteron X3216 APU 16 GB RAM MicroServer Gen 10 NO DRIVES picture

HP/HPE ProLiant AMD Opteron X3216 APU 16 GB RAM MicroServer Gen 10 NO DRIVES

$299.99



HP HPE Microserver Gen8/Gen9/Gen10 ILO Advanced License Lifetime key| Fast Email picture

HP HPE Microserver Gen8/Gen9/Gen10 ILO Advanced License Lifetime key| Fast Email

$9.99



HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ* picture

HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ*

$94.99



HPE ProLiant MicroServer Gen10 AMD Opteron X3216 APU 1.6GHz 32GB RAM 1TB/HDD*VGC picture

HPE ProLiant MicroServer Gen10 AMD Opteron X3216 APU 1.6GHz 32GB RAM 1TB/HDD*VGC

$259.95



HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES

$199.99



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$846.19



HP ProLiant Xeon E3-1220L V2 2.30 GHz 16 GB RAM MicroServer Gen8 NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 2.30 GHz 16 GB RAM MicroServer Gen8 NO DRIVES

$199.99



NUTANIX Supermicro 2U CSE-827 3x Node 6x E5-2620 v4 96GB X 3 6X 2TB 3X 960GB SSD picture

NUTANIX Supermicro 2U CSE-827 3x Node 6x E5-2620 v4 96GB X 3 6X 2TB 3X 960GB SSD

$1119.97



Supermicro 2u 16 2.5

Supermicro 2u 16 2.5" bay w/x9drw-7tfp+ mobo 2x Xeon e5-2650, 128GB ram MegaRAID

$299.99