Results 1 to 5 of 5
  1. #1
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Solved problem of orphaned printouts (HPLJ4L)

    A network guru I'm not.
    My two-station system has an annoying habit of claiming that a document sent from the laptop via the Big beige Box to the old HP LJ4L printer has failed to print, when it has printed.
    Next morning as soon as I manually feed a sheet of paper or envelope in the slot, the residue from yesterday spits an envelope printout on my sheet of paper or a report on my envelope.
    I don't know how it does it. It has all night to dream this stuff up.

    I too have all night to ponder.
    I pasted this bit of code into the Visual Basic Editor in Word (Excel, PPT etc.) and ran it to create an "Escape" "E" file in my batch file folder:<pre>Sub test()
    Open "c:batEscapeE.txt" For Output As 1
    Print #1, Chr$(27) & Chr$(69)
    Close #1
    End Sub</pre>

    I wrote this batch file and made it part of my startup sequence on the Big Beige Box (which "owns" the printer):<pre>REM EscapeE.bat Christopher Greaves Monday, November 06, 2006
    :: Send an escape-E sequence to the printer to flush the buffer
    type c:batEscapeE.txt > LPT1
    REM End of EscapeE.bat</pre>

    It seems to be doing the trick.

  2. #2
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Solved problem of orphaned printouts (HPLJ4L)

    In the olde dayes I used to have a two-byte file set up with a binary editor which just had Esc and E in it (1B45), to copy to HP laser printers... Just found it, dated 20/06/1995.

    For your amusement, see what happens when you send Esc and z (lower case) (1B7A) to an HP laserjet printer!

    John
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  3. #3
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Solved problem of orphaned printouts (HPLJ4L)

    > For your amusement, see what happens when you send Esc and z
    I love you, John, but after you've read my recent post in Hardware, perhaps you'll indulge me enough to tell me what Esc/z does.
    I'm in the middle of a rush course outline preparation, and can't afford to lose my little printer.
    (OTOH if Esc z rotates printouts through 90 degrees, this might have been useful last night .....)

    Very Best Wishes!

  4. #4
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Solved problem of orphaned printouts (HPLJ4L)

    Some people have no sense of adventure...!

    Esc z on many (most?) HP LaserJet printers will print the configuration settings.
    [geekmode]
    It is the only PCL command which does not follow the convention of the final letter of a command string being in Upper Case (ignoring the disable underline command which has a final @ - obviously it was a boring day in the PCL standards office...).
    [/geekmode]

    John
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  5. #5
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Solved problem of orphaned printouts (HPLJ4L)

    > Esc z on many (most?) HP LaserJet printers will print the configuration settings.
    Now, you're sure about this?
    My hair won't fall out, or anything?

    My first printer control character was a guy called Claude O'Conner.
    He trod on the box of fan-fold paper feeding into the IBM 1403 printer to terminate an endless page-eject loop.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •