Printer on LPT1 installed but non functional.
  • legglegg
    PMPosts: 51
    New LXLE 18.04.3 install on W2K/WXP/LXLE multiboot.
    PCC A13+ w Sempron.

    Old HP Deskjet 720C, fully functional as installed in W2K/WXP, and listed
    in LXLE printers, was not detected in the Printer installation - LTP1 port
    and printer model had to be selected manually.

    It is listed as being installed, but simply adds printing tasks to the
    queue, without printer function.

    I have a repeatable printer troubleshooting log, generated by the printer
    GUI troubleshooter that's fairly lengthy and another, supposedly from the
    same source that's abnormally short and non-repeatable.

    A log request in terminal, fails to authenticate the user.
    Not sure where I got the command line from, so possibly besides the point.
    There is only one password for users on this machine, so far (and one
    unfortunate encryption password at boot that's 32 characters long .
    Don't know how I got myself in that rabbit hole - but again off topic)

    owner@360GW2K-LXLE:~$ su -c 'journalctl -u cups.service --since="None" --until="2022-03-16 23:37:25"' > troubleshoot-logs.txt
    Password:
    su: Authentication failure
    owner@360GW2K-LXLE:~$

    The short log looks like an LTspice error ( I'm currently dealing with .txt
    files opening by default in LTspice and throwing errors - so off-topic.)

    Fatal Error: Trouble converting to curly brace notation:
     Mismatched single quotes in
      "{printer-device-id}: {MFG:HEWLETT-PACKARD"

    The longer log temporarily at:

    http://ve3ute.ca/query/220316_DJ-720C_printing_troubleshooter_log.txt

    How do I tackle this? The 720C printer comms was done and dusted decades ago.

    RL





  • legglegg
    PMPosts: 51
    Still no coms with DJ720C on LTP1 for LXLE on this machine. W2K still functional same machine.

    Want to be my OS? . . . . then talk to the printer.

    RL
  • legglegg
    PMPosts: 51
    https://ubuntuforums.org/archive/index.php/t-184838.html

    Will wade through it.

    Not really up on LXLE/UBUNTU relationship, or developments since the above thread was started in 2006 . . . . but expect that most links to HP or open source projects are gone.

    RL

  • legglegg
    PMPosts: 51
    First few entries of the printer troubleshooting reference produced confusion here:

    - the usual 'gedit command  not recognized', looking for pnm2ppa

    - there was a file in etc\hp , but no pnm2ppa that I could see probing directories.

    - a GUI assisted search for pnm2ppa producing a window of uncopyable text file locations.

    -
    as I
    tried to store a screenshot of the uncopyable search results being
    displayed, a file folder called pnm2ppa mysteriously popped up in my 720c troubleshooting
    directory. These included files I'd just done a GUI assisted search for (3) and some others (2). Didn't get a chance to find out what files were what; there were different revs with
    different file sizes and creation dates with the same name in different directories.

    Attempt to record these steps in a simple text file was
    interrupted by an unprovoked power-off . . . a state in which that
    machine will remain, until I cool off.

    . . . . . . . . . .

    The machine & HDD harboring the W2K/LXLE dual boot OS has been experiencing
    unannounced power failures over the last month, under minimal hardware conditions and after PSU, harnessing, motherboard and memory were all replaced.

    The last event produced a boot-to-power-off condition in the W2K OS.

    Needless to say that LXLE bugs are now on the back burner.

    RL






  • lxlelxle
    PMPosts: 2,656
    gedit is a text editor.... pluma is what is installed on lxle so the commands would be the following

    sudo pluma /etc/pnm2ppa.conf



    In the section beginning with version, changed from this:



    version

    #version 710 # 710, 712, 722 also acceptable

    #version 820

    #version 1000



    to this:



    version 722



    Saved change and now could print normally. Obviously one would
    substitute one's own actual HP DeskJet model number above. Appears this
    would probably work for the 710C, 712C, 722C, 820C, and 1000C.

  • legglegg
    PMPosts: 51
    This morning, log-in to this forum from a machine other than the one being troubleshot was not possible. Perhaps logging out may help. This is not possible when erratic power-off occurs - possibly leading to a forum lock-out situation.

    I found and edited the current pnm2ppa.conf file in /etc.

    #version  710
    version  720   # 710, 712, 722 also acceptable
    #version  820
    #version 1000

    This had no effect on printing - all the GUIs process the printing request but
    the job just sits in the printing queue, in process, with succeding print jobs
    just piling up in the queue.

    RL

  • legglegg
    PMPosts: 51
    Signing out fixed the log-in issue. Reloading this page on the second machine produced a completed log-in. Seems safest to log-out, if not actually typing in a reply, always.
  • legglegg
    PMPosts: 51
    The current references to hplip at:

    https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index

    no longer lists the Deskjet 720C as a supported device.

    HP had trouble getting the thing to install predictably on W98 - fixed for W2K with driver that was reverse compatible.

    From my old files (2004) I have old linux rpms from when the 720C was sorted out.
    pnm2ppa-0_8_9pre1-1_i386.rpm
    rhs-printfilters-1_58-4ppa2mdk_i386.rpm

    Still wading through the help reference ca 2006.

    RL


  • legglegg
    PMPosts: 51
    I tried :

    sudo aa-complain cpsd

     - but the aa-complain command was not recognized.

    RL
  • legglegg
    PMPosts: 51
    The cups configuration utility (localhost:631 in seamonkey) shows the 720C printer on LPT1 as HP DeskJet 720C Foomatic/pnm2ppa (recommended)  being idle.

    - and it shows a specimen print job in the queue, processing since the dawn of time (last attempt to print).


    Running:
     
    dpkg -l hplip

    in terminal shows hplip installed at ver 3.17.10+repa i386.

    Older and newer versions of hplip are on offer, but there's no reference
    to when 720 support was officially withdrawn (or when last tested with
    the DJ720C and its ilk).

    https://sourceforge.net/projects/hplip/files/hplip/


    I have in my files a pnmppa.ppd version that is specifically labelled
    'HP-DeskJet_720C-pnm2ppa.ppd' and another with a '_39char' suffix.
    The latter has truncated descriptors, but unchanged values.

    From my notes, their source may be:

    https://www.openprinting.org/driver/pnm2ppa

    RL