There are numerous approaches to turning output pagination OFF from within BASIC code (and I'm not really sure which ones work and which are just hang-overs from other MVDB implementations).
What I want to ensure is that output pagination is turned back ON from within BASIC.
Does anyone know if a method for achieving this?
Thanks
------------------------------
Gregor Scott
Software Architect
Pentana Solutions Pty Ltd
Mount Waverley VIC AU
------------------------------
I always use BPIOCP to turn on pagination.
------------------------------
David Green
Computer Programmer
Rocket Forum Shared Account
------------------------------
I always use BPIOCP to turn on pagination.
------------------------------
David Green
Computer Programmer
Rocket Forum Shared Account
------------------------------
Thanks David.
I was not aware of this routine. I found the source for it in the APP.PROGS library in the UV account. It is also globally cataloged as "!BPIOCP".
I realised after I posted that I had not clarified my context: I am wanting to ensure on-screen (terminal) output is paginated.
DO you know if the BPIOCP routine work with terminal output as well as printer output?
------------------------------
Gregor Scott
Software Architect
Pentana Solutions Pty Ltd
Mount Waverley VIC AU
------------------------------
Thanks David.
I was not aware of this routine. I found the source for it in the APP.PROGS library in the UV account. It is also globally cataloged as "!BPIOCP".
I realised after I posted that I had not clarified my context: I am wanting to ensure on-screen (terminal) output is paginated.
DO you know if the BPIOCP routine work with terminal output as well as printer output?
------------------------------
Gregor Scott
Software Architect
Pentana Solutions Pty Ltd
Mount Waverley VIC AU
------------------------------
It works for screen output.
------------------------------
David Green
Computer Programmer
Rocket Forum Shared Account
------------------------------
It works for screen output.
------------------------------
David Green
Computer Programmer
Rocket Forum Shared Account
------------------------------
Thanks.
I had not come across the "!BPIOCP" routine before, and it is not listed in any UV doco I could find.
I found the program "BPIOCP" in the APP.PROGS library in the UV account. The logic for it is quite simple, using the "printer reset" command to do the work.
Poking around the APP.PROGS library I also found the "GETPU.B" and "SETPU.B" routines, which are documented in the UV manuals as "!GETPU" and "!SETPU" respectively. Their documentation indicates it is possible to retrieve and set the output paging for the terminal, but I could not get that to work.
I also came across a number of programs with code like this:
* Disable pagination
ASSIGN 0 TO SYSTEM(1005)
So I tried using ASSIGN 1 to SYSTEM(1005), and that also worked.
The SYSTEM() documentation does not mention element 1005.
It is covered in a range "1002-1016 Printer definition settings" without any specifics.
------------------------------
Gregor Scott
Software Architect
Pentana Solutions Pty Ltd
Mount Waverley VIC AU
------------------------------
Thanks.
I had not come across the "!BPIOCP" routine before, and it is not listed in any UV doco I could find.
I found the program "BPIOCP" in the APP.PROGS library in the UV account. The logic for it is quite simple, using the "printer reset" command to do the work.
Poking around the APP.PROGS library I also found the "GETPU.B" and "SETPU.B" routines, which are documented in the UV manuals as "!GETPU" and "!SETPU" respectively. Their documentation indicates it is possible to retrieve and set the output paging for the terminal, but I could not get that to work.
I also came across a number of programs with code like this:
* Disable pagination
ASSIGN 0 TO SYSTEM(1005)
So I tried using ASSIGN 1 to SYSTEM(1005), and that also worked.
The SYSTEM() documentation does not mention element 1005.
It is covered in a range "1002-1016 Printer definition settings" without any specifics.
------------------------------
Gregor Scott
Software Architect
Pentana Solutions Pty Ltd
Mount Waverley VIC AU
------------------------------
If you use the CRT statement pagination of the terminal is turned back on.
------------------------------
Doug Averch
Owner
U2 Logic
------------------------------
Thanks.
I had not come across the "!BPIOCP" routine before, and it is not listed in any UV doco I could find.
I found the program "BPIOCP" in the APP.PROGS library in the UV account. The logic for it is quite simple, using the "printer reset" command to do the work.
Poking around the APP.PROGS library I also found the "GETPU.B" and "SETPU.B" routines, which are documented in the UV manuals as "!GETPU" and "!SETPU" respectively. Their documentation indicates it is possible to retrieve and set the output paging for the terminal, but I could not get that to work.
I also came across a number of programs with code like this:
* Disable pagination
ASSIGN 0 TO SYSTEM(1005)
So I tried using ASSIGN 1 to SYSTEM(1005), and that also worked.
The SYSTEM() documentation does not mention element 1005.
It is covered in a range "1002-1016 Printer definition settings" without any specifics.
------------------------------
Gregor Scott
Software Architect
Pentana Solutions Pty Ltd
Mount Waverley VIC AU
------------------------------
Gregor,
If it's not documented it's worth opening a Support ticket requesting that these SYSTEM() calls be added to the doco.
Regards
JJ
------------------------------
John Jenkins
Thame, Oxfordshire
------------------------------
If you use the CRT statement pagination of the terminal is turned back on.
------------------------------
Doug Averch
Owner
U2 Logic
------------------------------
I have used CONCURRENT without problem for years now. We are on 11.3.1.
The only hazard is when there is an INDEX involved.
------------------------------
Nelson Schroth
president
C3CompleteShop LLC
Harrison OH US
------------------------------
There are numerous approaches to turning output pagination OFF from within BASIC code (and I'm not really sure which ones work and which are just hang-overs from other MVDB implementations).
What I want to ensure is that output pagination is turned back ON from within BASIC.
Does anyone know if a method for achieving this?
Thanks
------------------------------
Gregor Scott
Software Architect
Pentana Solutions Pty Ltd
Mount Waverley VIC AU
------------------------------
hi,
I suggest you set HEADING / FOOTING inside the BASIC , before first PRINT/CRT.
then you can use PAGE to force next page
I hope this help
------------------------------
Manu Fernandes
------------------------------