Push and Pop Tutorial
Jump to navigation
Jump to search
Here's where we can get around the top to bottom, left to right path of the printer pointer. [PUSH] will save the printer's position, then lines can be printed, and [POP] will return the cursor to the place where it saved for itself, and continue printing again. For example, if on an invoice, you enter [PUSH], then print the items in one column, use [POP] to return again to the saved position and then move right to print the date in the same column. It all depends on how your information is organized and what needs modifying in printer commands that have already been written by other programmers.
print #255, using "form C,SKIP 0" :"[push]" print #255, using descform: "SAL.","O.T.","ADD'L","HOL.","Vac.","Sick" descform: form pos 18,c 5,skip 1 print #255:"[pop]";
Next: Print Preview Tutorial
Back: Table of Contents