batch file - printing sequential numbers in a preset position -


I am trying to write a simple program that will print page numbers between two numbers, a specified status In the bottom right or the top center I have tried all those methods which I can think of, but if I have set the page to print at a higher value than the last, then the program will write only the file Only one number Has been canceled. Here is the coding till now. Some help would be greatly appreciated as I have written programs more than 30 years ago, I am more than a little disturbing.

  To print the sequential number at a specific point on the eShow of REM pages. In the lower right or top center, start the REM from a given number (A) and closing with the given number (B) CLS ECHO SET / PA = [promptstring] ECO Enter the number of first page to print SET / PB = [prompt-string] REM requires coding, i.e. the CLS ECO echo echo echo printing page to identify the position of the right or top center to print. Nbr of ECHO% could be cut a% page number ECHO% B% of ECHO's L ECHO% A% & gt; The value of sending a text.txt file to print.txt REM one requires REC to be coded to print each page from a text page, which after printing every page is SET / aa = (% a + 1) Increases in the values ​​of the next page value of the REM then returns to the file and IF% off% 1% GTR% b% GOTO X REM stops printing on the last page (value B) GOTO L: X xit  

just tips Repeats the correct answer from the pictures, so it is shown as the answer!

  should be SET / aa = (% A + 1)  

  SET / aa + = 1 < / Code> 

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -