HP3000-L Archives

October 2006, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Dave Powell, MMfab" <[log in to unmask]>
Reply To:
Dave Powell, MMfab
Date:
Thu, 26 Oct 2006 11:32:23 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (76 lines)
I do my tray-selection (similar printer, different tray) with env-files that
have the esc-E near the start, then tray-selection and other stuff below.  For
that matter, all my lasers have setup files that start with esc-Z and esc-E,
so nothing can ever get from the HP to a laser without the reset.

If you can add esc-E to your setup file and / or env-file, and you have access
to the source code, it should be safe to take the reset command out of the
application (well, unless you also print somewhere without setup or
env-files).  Since the setup or env-file contents come first, your print jobs
will still start with the reset like the manual suggests.

It sounds like you can mod the app, and taking the reset out while using your
existing setup files might be easier / safer than adding tray selection to the
app.  If you can't mod the app, you might be screwed.  But you scare me a bit
taking about having to examine the spool files the hard way -- is the source
hard to decipher, or does your compiler automatically add the reset ??

Dave (I think I posted a sample env-file back in 08/2005)  Powell,   MMfab

----- Original Message ----- 
From: "john pitman" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Thursday, October 26, 2006 00:19
Subject: [HP3000-L] tray selections in programs using PCL code


> What fund this has been! NOT!
>
> HP 4100 TN, which initially did not even sense tray 3's presence because the
> wiring connector was not properly assembled by refurb, or tested!
>
>
>
> Successfully tested using 2 ldevs assigned to different trays on same
> printer, with a test program.
>
> As soon as I run an invoice or pick slip print using PCL code, it will only
> pull paper from Tray 3, irrespective of the npconfig.
>
>
>
> I intercepted spool files and looked at the PCL codes, and started decoding
> them. Then by stepping over some of them in debug, I was able to isolate the
> cause to a PCL Universal exit command (Esc%-12345X). Reading up on this, it
> does an implicit Esc-E hard reset, which being inside the spool file,
> negates any ENV file commands issued by the spooler. Duh!
>
> This command is documented in PCL5 manual as highly recommended for start
> and end of print jobs to ensure printer is in correct mode. If I step over
> just this command, I get some other textual PCL commands printed , which is
> not workable.
>
> SO far the only solution I can think of is the application program will have
> to be given some parameters so it knows if tray selection is needed , and
> print the commands AFTER the Universal exit command is sent.
>
>
>
> Anybody else been here and solved it a different way please?
>
>
>
> TIA
>
> jp
>
>
>
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2