APPX is the Premier Development and Runtime Environment for Business Application Software
(Answer) (Category) FAQ's - APPX Software, Inc. : (Category) APPX Utility : (Category) APPX System Administration :
How to reprint a print file?
How can I easily reprint a file that's has been requeued (saved in the print
directory) without using the winprint from the dos prompt?  The file in
question is checks.  Once you print them you can't rerun the process.  
I cannot use the winprint command from dos because I need to grab the form 
file so it spaces everything correctly.

When you requeue an APPX report, it leaves the print file and a configuration 
file in the user's print directory after they've been submitted to the print 
spooler.

For example, when printing a System Administration list, the print file might  
be SYSADMI0 and the configuration file SYSADMI0.cfg

If you wanted to reprint this report, you might submit commands like the  
following:

If you are on Windows:

     cd  C:\appx\data\PRINT\USR
     C:\appx\data\winprint.exe  -config=SYSADMI0.cfg  SYSADMI0
or
     C:\appx\data\winprint.exe  -config SYSADMI0.cfg  SYSADMI0

The general form is:

     winprint.exe  -config=<config.file>  <print file>
or
     winprint.exe  -config <config.file>  <print file>

For those on Unix/Linux:

/usr/local/appx/data/appx_print -config=/usr/local/appx/data/PRINT/USR/SYSADMI0.cfg
/usr/local/appx/data/PRINT/USR/SYSADMI0

You can construct and issue shell (DOS) commands by means of the RUN command. 
You'll find documentation for it in the Designer Reference Manual, and at 
www.appx.com/pub/documents/HowTo/run.Windows.Functions.html 

The print file name can be found in --- PRINT FILE PATHNAME.  You'd be well
advised not to operate on the file pointed to by --- PRINT FILE PATHNAME, 
until after you've exited the OUTPUT process that generated the print file.  
This means passing the contents of --- PRINT FILE PATHNAME to a subsequent 
job step, possibly by means of a related or detached work field.
[Append to This Answer]
2007-Feb-27 10:57am
Previous: (Answer) How APPX License counts WS's
Next: (Answer) Message: "Building Dynamic Index"
This document is: http://board.appx.com/cgi-bin/fom.cgi?file=255
[Search] [Appearance]
This is a Faq-O-Matic 2.719.
Copyright 2003 by APPX Software, Inc. All rights reserved.