Page Break
Page Break
(OP)
good afternooon all -
i've been looking around - but have not seen a control code for a page break in the hp pcl books.
basically what i have is file that will contain many pages that are of a dynamic page size. i do know what the last item to be printed will be though (where i want the page break). any ideas on a control code that i can send to the printer to tell is to start a new page?
thanks in advance.
regards,
longhair
i've been looking around - but have not seen a control code for a page break in the hp pcl books.
basically what i have is file that will contain many pages that are of a dynamic page size. i do know what the last item to be printed will be though (where i want the page break). any ideas on a control code that i can send to the printer to tell is to start a new page?
thanks in advance.
regards,
longhair
RE: Page Break
Thomas D. Greer
www.tgreer.com
RE: Page Break
so i would just have to put / display decimal "27" (hp escape code) then decimal "12"?
regards,
longhair
RE: Page Break
Jim Asman
RE: Page Break
thanks for that. i'm almost there. i have the print job working correct for every other page ie page 1 has the form feed in the correct place page 2 does not page 3 is correct etc. the only odd thing is that the incorrect pages are not printing the same amount of data. that is the page break appears to be put in a random location.
any ideas?
regards,
longhair
RE: Page Break
regards,
longhair
RE: Page Break
Maybe thare are 8 LF's still to come from Page 1, after you issue the FF and they end up on Page 2.
But from your description, it sounds as though your FF may be coming too late.
The best thing to do is print to a file and examine the data and see if you can't tell what is going on. You might just have a logic problem when to issue the FF or perhaps you are getting data you didn't expect or not gettig data you did expect.
Jim Asman
RE: Page Break
good suggestion a star for you.
the formfeeds / page breaks were in the proper location in the file, though. i decided to attack the issue via the language that i'm programming in rather than the pcl. it adds to the program size and a bit to it's runtime but it accomplishes the task.
again thanks for the time.
regards,
longhair
RE: Page Break
OR, related, maybe your app expects 6lpi and the printer is printing at 8lpi. It's something simple.
Jim Asman