Re: Problems with my parport (and printer)

From: DervishD (raul_at_pleyades.net)
Date: 03/28/04

  • Next message: William Lee Irwin III: "Re: [PATCH] speed up SATA"
    Date:	Sun, 28 Mar 2004 20:09:56 +0200
    To: Linux-kernel <linux-kernel@vger.kernel.org>
    
    

        Hi Jan :)

     * Jan-Benedict Glaw <jbglaw@lug-owl.de> dixit:
    > > kernel: parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
    > > kernel: parport0: Printer, Lexmark International Lexmark Optra E312
    > > kernel: lp0: using parport0 (interrupt-driven).
    > > kernel: lp0: console ready
    > > It works ok, BTW... The problem is that, when the printer is
    > > switched of and I try to print something, the print command just
    > > blocks, no error, no messages, nothing. I use a shell function to
    > First of all, if you want to do normal printing, you shouldn't switch on
    > LP console. From there on, all kernel debug output (as seen in
    > /var/log/kern.log and outputted with "dmesg") would be sent to the
    > printer, what isn't exactly what you want to have.

        That's right, but LP console must be activated at boot time (or
    at module-loading time) AFAIK, so this is not the problem.

    > > Why this operation doesn't fail? IMHO, it should fail with
    > > ENODEV, because parport can work (the parallel port is there...), but
    > > lp shouldn't (the printer is switched off...).
    > Another gotcha may be that your printer doesn't easily accept commands.
    > Many printers don't do that nowadays. Some are dumb GDI-Printerts
    > (Windows-only, that is...), some nees specific wake-up sequences.

        This printer (Lexmark Optra E312) is not a winprinter, and the
    problem is not related to commands. The printer works fine, I have no
    problems with that. My problem arises when the printer is offline:
    when I send data to the printer and it is not connected, the command
    used to send that data doesn't fail, just waits forever...

        Thanks for your answer anyway :) Really I'm not familiar with the
    parallel port :(

        Raúl Núñez de Arenas Coronado

    -- 
    Linux Registered User 88736
    http://www.pleyades.net & http://raul.pleyades.net/
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: William Lee Irwin III: "Re: [PATCH] speed up SATA"

    Relevant Pages

    • Re: [RFC] ethtool semantics
      ... I find the c) feature very convenient. ... the configuration of the switch, something which is usually (pick your ... Command line parameters of the bcm5700 driver do implement c) (among ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: C2960 config - What do the commands do
      ... To enable visible sequence numbering of system logging messages, use the service sequence-numbers command in global configuration mode. ... Configure the system to automatically switch to summer time. ... This sybnet has the same network address what main network (the subnetted one) but longer subnet mask ... For chassis with 64 MAC addresses, STP uses the extended system ID plus a MAC address to make the bridge ID unique for each VLAN. ...
      (comp.dcom.sys.cisco)
    • Re: proposal: reswitch
      ... > which levels of loops and/or switches and/or ... socket -server command ?-myaddr addr? ... You've got the quick-exit (break, no string), the fall-through to next ... -switch option), then it'd be the nth switch. ...
      (comp.lang.tcl)
    • voice activated Windows shortcuts
      ... It works if the command pause is set to .1 seconds and the ... dictation while in Command Mode and AFAIK there's no hotkey to switch ... switching between windows does not ... back space (click, Backspace, Space) ...
      (comp.speech.research)
    • voice activated Windows shortcuts
      ... It works if the command pause is set to .1 seconds and the ... dictation while in Command Mode and AFAIK there's no hotkey to switch ... switching between windows does not ... back space (click, Backspace, Space) ...
      (comp.speech.users)