The Question is:
I am writeng an application to print the first and last pages of a text file on
a VAX 4000-50. I have DCPS 1.8 installed and have discovered the commands to
print the first page:
and also the command to print the last page of the file, but only first knowing
how many pages are in the text file.
Say you have a 3 pg. print job, simply key the following to print only the 3rd
and last pg.:
What of you don't know the page count, and you want to print only the 1st and
last pgs. of every file in the directory, is there a command that will do
this? Short of knowing how many pgs. are in each and wvery job, or writing a
totally convoluted algorit
hm to decipher this, is there a parameter to do it?
The Answer is :
DCPS does not offer a relative page numbering scheme. DCPS has no way
of printing just the last page in a document, save via an explicit
reference to the page number of the last page.