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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

does pcl orientation command cause a form feed?

Status
Not open for further replies.

Yulka

Programmer
Sep 19, 2019
8
RU
Hi everyone,
In PCL reference book I read the following upon the logical
page orientation command

"All data received prior to this
command is printed, and a Form Feed and Carriage
Return executed"

But here I have a document, which contains three
orientation commands (with some text after each
of them), but only two pages are printed on the printer
and showed in all the viewers I tried. Below is the part
around the second of this command, which is obviously
ignored by the printer. Am I missing something or
do the printers actually ignore the FF at the orientation
command? I am also attaching the whole document.
Thank you very much in advance for your help,
Yulka

0000046d Data is not called. The Uncalled Macro code is just abov
000004a1 e this text.
000004ae PCL Control Code <CR> Carriage Return
000004af PCL Control Code <LF> Line Feed
000004b0 PCL Control Code <CR> Carriage Return
000004b1 PCL Control Code <LF> Line Feed
000004b2 PCL Control Code <CR> Carriage Return
000004b3 PCL Control Code <LF> Line Feed
000004b4 PCL Parameterised <Esc>(8U Primary Font: Symbol Set (8U = Roman-8)
000004b8 PCL Parameterised <Esc>(s0P Primary Font: Spacing: Fixed
000004bd PCL Parameterised <Esc>(s10H Primary Font: Pitch (10 characters per inch)
000004c3 PCL Parameterised <Esc>(s12V Primary Font: Height (12 points)
000004c9 PCL Parameterised <Esc>(s0S Primary Font: Style (Upright, solid)
000004ce PCL Parameterised <Esc>(s0B Primary Font: Stroke Weight: Medium
000004d3 PCL Parameterised <Esc>(s3T Primary Font: Typeface (3 = Courier (base value))
000004d8 PCL Parameterised <Esc>&l0O Orientation: Portrait
000004dd PCL Parameterised <Esc>&l6D Line Spacing (6 lines-per-inch)
000004e2 PCL Parameterised <Esc>&l0E Top Margin (0 lines)
000004e7 PCL Parameterised <Esc>&l0L Perforation Skip: Disable
000004ec PCL Parameterised <Esc>&f0S Cursor Position Stack: Push (Store)
000004f1 PCL Parameterised <Esc>*v1T Select Current Pattern: Solid White
000004f6 PCL Parameterised <Esc>(s0p Primary Font: Spacing: Fixed
000004fb 10h Primary Font: Pitch (10 characters per inch)
000004fe 12V Primary Font: Height (12 points)
00000501 PCL Control Code <CR> Carriage Return
00000502 PCL Control Code <LF> Line Feed
00000503 PCL Parameterised <Esc>*p300x Cursor Position Horizontal (300 PCL units)
0000050a 300Y Cursor Position Vertical (300 PCL units)
0000050e Data ##$$Printer Resident 12pt Courier Text Sample of hid
00000541 den text$$##
0000054e PCL Control Code <CR> Carriage Return
0000054f PCL Control Code <LF> Line Feed
00000550 PCL Parameterised <Esc>*v0T Select Current Pattern: Solid Black
00000555 PCL Parameterised <Esc>&f1S Cursor Position Stack: Pop (Recall)

 
 https://files.engineering.com/getfile.aspx?folder=2e5a0833-a0f8-4614-830a-e1d1182fd1ad&file=hidetext.pcl
If there is any printable data on the current page, the printer will first print the current page and then execute the orientation change. If the reason for thew new orientation is to rotate some text on the current page, then use the "print direction" command rather than orientation.

Jim Asman
 
No, the question was - why this document (attached) has only two pages and not three?
Why form feed is not executed after the second orientation command?
This is not my document, but I need to understand, how many pages it has and why.
Thank you again,
Yulka
 
Going through your file, NONE of your orientation commands are changing the orientation from the original portrait to landscape, thus there is no need for a page eject. In fact it would appear that your page break is because of an explicit ^L. Change the middle <esc>&l0O to <esc>&l1O and see how many pages you get.

Jim Asman
 
Ok, thank you, the documentation says nothing about orientation change, it simply states that orientation command causes
form feeed. But probably it is just a lousy definiton, and you are right, it causes form feed only if orientation changes.
Thank you again,
Yulka
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top