Press Enter (AREV Specific)
At 18 MAR 2004 03:08:29PM Richard S Emerson wrote:
Modifing my print spooler.
The second time I execute the PDISK command, in the same program, I get the message:
"Press Enter to continue or Esc to stop"
Any way around this?
Thanks
rich
At 18 MAR 2004 03:17PM Matt Sorrell wrote:
Richard,
Are you PDISKing to a file that already exists? It could be asking to overwrite. Otherwise, try issuing "PDISK (S)". The (S) option should suppress any informational messages. You can also include (O) for overwrite. I don't know if (E) (error suppress) does anything with PDISK.
msorrel@greyhound.com
At 18 MAR 2004 05:03PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Is this from an RLIST call or INIT.VIEW code? There are issues with INIT.VIEW and VIEW.MODE and being called from a subroutine, not a main program, which also caused this when HEADING and FOOTING statements were issues.
World Leaders in all Things RevSoft
At 19 MAR 2004 12:59PM Richard S Emerson wrote:
Thanks Matt. I've tried the options (OSE) no effect.
At 19 MAR 2004 01:21PM Richard S Emerson wrote:
Thanks. The Heading/Footing is causing it. Do you know the reason?
The application is R/Basic.
Prg.1 is a job scheduler which reads a table and executes jobs.
Prg.2-n are the jobs. Each job calls a function that does a pdisk and sets the Heading/Footing to a company standard.Thanks again.
At 19 MAR 2004 01:22PM Richard Hunt wrote:
Richard,
Try seperating the multiple options with a space character. Like (O S E).
If you were to display a bit of the code surrounding the PDISK command, maybe we could offer more suggestions.
A sample PDISK command I use at the end of printing to a printer is as follows…
@HFACTIVE=FALSE
PRINTER OFF
EXECUTE 'SETPRINTER 1'
EXECUTE "PDISK PRN (O S)"
At 19 MAR 2004 02:11PM Richard S Emerson wrote:
That's interesting. Using the 'N' option in the HEADING gets rid of the message, but the page counter is off by one for the second setting of HEADING. Simple fix: If @page ne 1 then @page=0
At 19 MAR 2004 02:14PM Richard S Emerson wrote:
Thanks for the reply. It was the HEADING causing the problem. Using the 'N' option solved the problem.
Thanks again
At 22 MAR 2004 03:27PM Richard S Emerson wrote:
That works, setting @HFACTIVE.
Thanks