Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to print pages with PCL codes in reverse order

Status
Not open for further replies.

rjstsas

MIS
Apr 28, 2003
22
US
I have set the printer up to printer back-to-front, but the output with PCL codes is still printing front-to-back. Any suggestsions?
 
Explain a liitle more.

Do you mean you are printing the last page then next to the last, etc. or side of page 2 then front side of same
page or ...

or something else.

with PCL you can print anywhere on the page at any time
(pretty much). So you could print what would be line 60
(at 6lpi) then print line 2 then line 59 then again on line 60 somehing else etc. etc. The order of the pcl coding makes
little difference since the early early hp lasers that sometimes had a problem using some cartridges if you changed
the font too many times on one page. But that was 20 years ago.

 
My goal is to print the last page first (page 100, then 99, then 98....). I have a printer that has a stacker, but it stacks face up, so if I print the first page first, the first page ends up at the bottom of the stack.
 
Then If you know what's on all the pages, it should be
simple to just print them in reverse order.

If you don't know what will be on page 100 when you are ready to print page 1, try printing to a file, with chr$(12)
in between pages, then close the file, then open it and
parse it by chr$(12) seek the last page then previous etc.

Or you could write each page to a separate file, then
access it that way
open "page1.fil" for output as #file1%
print #file1%,"hello"
print #file1%,chr$(12)
close #file1%
open "page2.fil" for output as #file1%

etc.
then open them and print to the printer in reverse order.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top