Report printing sequence with Anzio, local print
Bob Rasmussen
ras at anzio.com
Tue Jul 31 15:01:37 PDT 2012
Scott Walker was kind enough to fill me in on his approach to this, which
he has used successfully for years. He sets the Flush Timer in Anzio to
zero. Then he has a special printer definition file (something.prt) that
he uses when printing via passhthrough print with Anzio. The key point is
that he has a code 110, which is identified in the PRT as the Terminator
code. Here it is:
110::$1b[4i $1c flush $1d:Anziowin Flush Print Job Command
The <esc>[4i takes Anzio out of passthrough print mode, and the "flush",
bracketed by hex 1C and 1D, is a command to Anzio to flush the print job.
("Flush" is used her as in "move it along", not as in "send this to the
treatment plant").
The end result is that Anzio does NOT flush based on a timer, but instead
flushes on command.
On Tue, 31 Jul 2012, Richard Kreiss wrote:
> Not an Anzio user but steps 1 & 2 can be reversed if the collection of data is from a clerk session and the use a system call to run the report.
>
> Richard
> Sent from my iPhone
>
> On Jul 31, 2012, at 3:08 PM, Bob Rasmussen <ras at anzio.com> wrote:
>
> > Hi all,
> >
> > I have a user who is experiencing a problem that others have before, and I
> > need some help in telling him how to deal with it. It involves Anzio's
> > flush timer and the sequence of operations in the filePro program.
> >
> > If the program has this sequence, there is a problem:
> >
> > 1) Initiate (open?) the print job
> > 2) Ask the user some questions
> > 3) generate the report data
> > 4) close the job
> >
> > The reason for the problem is that during step 2, Anzio's Flush Timer
> > elapses, and Anzio terminates what is at that point an empty job. (The
> > Flush Timer is used to determine when a job is finished, and needs to be
> > flushed.)
> >
> > If, instead, the first two steps are reversed, it works fine. That is, the
> > program does not initiate the print job until it has collected all the
> > necessary information from the user.
> >
> > Do I have this right? What's the correct terminology for step 1? Is there
> > any reason this change would be difficult or impossible?
> >
> > Thanks much.
> >
> > Regards,
> > ....Bob Rasmussen, President, Rasmussen Software, Inc.
> >
> > personal e-mail: ras at anzio.com
> > company e-mail: rsi at anzio.com
> > voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
> > fax: (US) 503-624-0760
> > web: http://www.anzio.com
> > street address: Rasmussen Software, Inc.
> > 10240 SW Nimbus, Suite L9
> > Portland, OR 97223 USA
> > _______________________________________________
> > Filepro-list mailing list
> > Filepro-list at lists.celestial.com
> > Subscribe/Unsubscribe/Subscription Changes
> > http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>
Regards,
....Bob Rasmussen, President, Rasmussen Software, Inc.
personal e-mail: ras at anzio.com
company e-mail: rsi at anzio.com
voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
fax: (US) 503-624-0760
web: http://www.anzio.com
street address: Rasmussen Software, Inc.
10240 SW Nimbus, Suite L9
Portland, OR 97223 USA
More information about the Filepro-list
mailing list