RE: How can I create a page break in a file?

Thank you, Glen. I tried WriteText. But it didn't work.
Tien Wang
Indus Consultancy Services
[email protected]
From: Glen A. Whitbeck
Sent: Thursday, September 11, 1997 11:59 AM
To: Wang, Tien
Cc: forte-users; owner-forte-users
Subject: Re: How can I create a page break in a file?
Instead of using "WriteLine," try using "WriteText" ("WriteLine" writes
TextData into an open file, while "WriteText" writes data to a stream)
like this:
<method 1>
myFile : file = new();
myFile.WriteText('\f');
Glen
Wang, Tien wrote:
Hi,
I am creating a text file for a report which contains multiple pages.
How can I create a page break in my file? I tried to use the
following
two methods, but neither of them works. Specifically, it seems a
special
character printed in the file. But when I print the file through a
WordPad, it didn't separate pages.
I am currently using version 3.0.C on Windows NT 4.0 with a HP Plus 4
printer. Any help will be greatly appreciated.
Tien Wang
Indus Consultancy Services
[email protected]
>
<method 1>
myFile : file = new();
file.writeLine('\f'); --- \f is the form feed in the C language
<method 2>
myFile : file = new();
j : IntegerData = new( value = 14 );
c : char = j.IntegerValue; -- c now contains ascii 14 (form feed)
p : pointer to char = &c; -- Set a pointer to the character
pageBreakTxt : TextData = new();
pageBreakTxt.Concat(p);
myfile.writeLine(pageBreakTxt);

Tien,
Try myFile.WriteText('\x0c'); instead of myFile.WriteText('\f');
Regards
Richard Stobart
-----Original Message-----
From: Wang, Tien [SMTP:[email protected]]
Sent: Friday, September 12, 1997 6:09 PM
To: Glen A. Whitbeck
Cc: forte-users; owner-forte-users
Subject: RE: How can I create a page break in a file?
Thank you, Glen. I tried WriteText. But it didn't work.
Tien Wang
Indus Consultancy Services
[email protected]
From: Glen A. Whitbeck
Sent: Thursday, September 11, 1997 11:59 AM
To: Wang, Tien
Cc: forte-users; owner-forte-users
Subject: Re: How can I create a page break in a file?
Instead of using "WriteLine," try using "WriteText" ("WriteLine" writes
TextData into an open file, while "WriteText" writes data to a stream)
like this:
<method 1>
myFile : file = new();
myFile.WriteText('\f');
Glen
Wang, Tien wrote:
Hi,
I am creating a text file for a report which contains multiple pages.
How can I create a page break in my file? I tried to use the
following
two methods, but neither of them works. Specifically, it seems a
special
character printed in the file. But when I print the file through a
WordPad, it didn't separate pages.
I am currently using version 3.0.C on Windows NT 4.0 with a HP Plus 4
printer. Any help will be greatly appreciated.
Tien Wang
Indus Consultancy Services
[email protected]
>
<method 1>
myFile : file = new();
file.writeLine('\f'); --- \f is the form feed in the C language
<method 2>
myFile : file = new();
j : IntegerData = new( value = 14 );
c : char = j.IntegerValue; -- c now contains ascii 14 (form feed)
p : pointer to char = &c; -- Set a pointer to the character
pageBreakTxt : TextData = new();
pageBreakTxt.Concat(p);
myfile.writeLine(pageBreakTxt);

Similar Messages

  • How can I create a page break in a file?

    Hi,
    I am creating a text file for a report which contains multiple pages.
    How can I create a page break in my file? I tried to use the following
    two methods, but neither of them works. Specifically, it seems a special
    character printed in the file. But when I print the file through a
    WordPad, it didn't separate pages.
    I am currently using version 3.0.C on Windows NT 4.0 with a HP Plus 4
    printer. Any help will be greatly appreciated.
    Tien Wang
    Indus Consultancy Services
    [email protected]
    <method 1>
    myFile : file = new();
    file.writeLine('\f'); --- \f is the form feed in the C language
    <method 2>
    myFile : file = new();
    j : IntegerData = new( value = 14 );
    c : char = j.IntegerValue; -- c now contains ascii 14 (form feed)
    p : pointer to char = &c; -- Set a pointer to the character
    pageBreakTxt : TextData = new();
    pageBreakTxt.Concat(p);
    myfile.writeLine(pageBreakTxt);
    -----------------------------------

    Tien,
    Try myFile.WriteText('\x0c'); instead of myFile.WriteText('\f');
    Regards
    Richard Stobart
    -----Original Message-----
    From: Wang, Tien [SMTP:[email protected]]
    Sent: Friday, September 12, 1997 6:09 PM
    To: Glen A. Whitbeck
    Cc: forte-users; owner-forte-users
    Subject: RE: How can I create a page break in a file?
    Thank you, Glen. I tried WriteText. But it didn't work.
    Tien Wang
    Indus Consultancy Services
    [email protected]
    From: Glen A. Whitbeck
    Sent: Thursday, September 11, 1997 11:59 AM
    To: Wang, Tien
    Cc: forte-users; owner-forte-users
    Subject: Re: How can I create a page break in a file?
    Instead of using "WriteLine," try using "WriteText" ("WriteLine" writes
    TextData into an open file, while "WriteText" writes data to a stream)
    like this:
    <method 1>
    myFile : file = new();
    myFile.WriteText('\f');
    Glen
    Wang, Tien wrote:
    Hi,
    I am creating a text file for a report which contains multiple pages.
    How can I create a page break in my file? I tried to use the
    following
    two methods, but neither of them works. Specifically, it seems a
    special
    character printed in the file. But when I print the file through a
    WordPad, it didn't separate pages.
    I am currently using version 3.0.C on Windows NT 4.0 with a HP Plus 4
    printer. Any help will be greatly appreciated.
    Tien Wang
    Indus Consultancy Services
    [email protected]
    >
    <method 1>
    myFile : file = new();
    file.writeLine('\f'); --- \f is the form feed in the C language
    <method 2>
    myFile : file = new();
    j : IntegerData = new( value = 14 );
    c : char = j.IntegerValue; -- c now contains ascii 14 (form feed)
    p : pointer to char = &c; -- Set a pointer to the character
    pageBreakTxt : TextData = new();
    pageBreakTxt.Concat(p);
    myfile.writeLine(pageBreakTxt);

  • How can I create a page break on z version of HAP_PDF_OFFLINE_FORM ?

    I've created a z version of HAP_PDF_OFFLINE_FORM for different enhancements. One change that's baffling me is trying get a page break when the form reaches "2. Current Goals".
    I'm pretty sure it's a conditional page break when looping through a table of data, but which one?
    Also when setting up the when condition, is a literal suppose to be in single or double quotes? Or none at all?
    Any help on this is appreciated. Thanks

    Not a clean solution but a fast one without any special tricks:
    - create a hidden subform, go to tab Pagination and set the page break here (like Top of next page or anything you want)
    - test your condition to make the subform visible and only when visible the page break is applied
    If you don´t need a condition, skip item 2. Hope that will help fast, regards Otto

  • How can I create  a conditional  break  in webi  ?

    Hello Mister and Misses
    Can somebody explain me how i can  create a conditional break , because i want to limit the number of lines to 9 l ines in a bloc
    each 9 lines  I want to create a break
    Thank you
    example  :
    1   toto
    2   titi
    3   taa
    4   tutu
    5   papa
    6   popo
    7   tata
    8   momo
    9   mimi
    (break)
    10  mumu
    17  maxe
    18 fax
    (break)
    19..
    My first column is not a dimension  so, i can't manage to make a break
    How is it possible to tranform a measure to a dimension in order to make a break  on each  9 lines
    thank you

    Tien,
    Try myFile.WriteText('\x0c'); instead of myFile.WriteText('\f');
    Regards
    Richard Stobart
    -----Original Message-----
    From: Wang, Tien [SMTP:[email protected]]
    Sent: Friday, September 12, 1997 6:09 PM
    To: Glen A. Whitbeck
    Cc: forte-users; owner-forte-users
    Subject: RE: How can I create a page break in a file?
    Thank you, Glen. I tried WriteText. But it didn't work.
    Tien Wang
    Indus Consultancy Services
    [email protected]
    From: Glen A. Whitbeck
    Sent: Thursday, September 11, 1997 11:59 AM
    To: Wang, Tien
    Cc: forte-users; owner-forte-users
    Subject: Re: How can I create a page break in a file?
    Instead of using "WriteLine," try using "WriteText" ("WriteLine" writes
    TextData into an open file, while "WriteText" writes data to a stream)
    like this:
    <method 1>
    myFile : file = new();
    myFile.WriteText('\f');
    Glen
    Wang, Tien wrote:
    Hi,
    I am creating a text file for a report which contains multiple pages.
    How can I create a page break in my file? I tried to use the
    following
    two methods, but neither of them works. Specifically, it seems a
    special
    character printed in the file. But when I print the file through a
    WordPad, it didn't separate pages.
    I am currently using version 3.0.C on Windows NT 4.0 with a HP Plus 4
    printer. Any help will be greatly appreciated.
    Tien Wang
    Indus Consultancy Services
    [email protected]
    >
    <method 1>
    myFile : file = new();
    file.writeLine('\f'); --- \f is the form feed in the C language
    <method 2>
    myFile : file = new();
    j : IntegerData = new( value = 14 );
    c : char = j.IntegerValue; -- c now contains ascii 14 (form feed)
    p : pointer to char = &c; -- Set a pointer to the character
    pageBreakTxt : TextData = new();
    pageBreakTxt.Concat(p);
    myfile.writeLine(pageBreakTxt);

  • Can/How can I create a page with all my blog pages RSS??

    Hello all.
    I have a website containing many seperate Blog pages according to their topics like News, Tech and Scifi.
    Is it possible to create a new page, that will contain the latest entries of all these blog pages a one "consolidated" page, maybe perhaps of RSS feed?
    Thanks and cheers

    Apple states
    How can I create a page that aggregates my podcasts?
    If you have multiple podcasts listed in the iTunes Store, the iTunes staff can create a single page that lists all of them in one place. We call this page an “artist page.” Note that a podcast can only appear on one artist page.
    To request an artist page, navigate to one of your podcasts, click on Report a Concern, and select Remove a Podcast. In the dialog box, explain that you would like an artist page, give us the exact name of the artist (please don’t include “Inc,” “LLC,” etc.), and list the exact feed URLs or links to your podcasts.
    at the bottom of this page
    http://www.apple.com/itunes/podcasts/creatorfaq.html
    I hope two is enough and if not that someone contacts me and maybe even changes the info on the above link.
    Thank you for your input!

  • How can i scan multiple pages in a single file in pdf.

    How can i scan multiple pages in a single file in pdf using 1536 dnf.

    Hi @veerendrajain ,
    I see that you would like to save multiple PDF documents into one file. I would like to help you out today.
    In the HP Scan Software, select Advanced scan settings, click on the File tab and uncheck Create a separate file for each scanned image.
    Hope this helps.
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • How can I create a link from a CHM file to a webhelp file?

    How can I create a link from a CHM file to a webhelp file?
    The CHM output (accreditation.chm) is stored in a parent directory, and the webhelp output (index.htm) is stored in a child directory.

    Open the usual Link dialog and enter the relative path from where the CHM will be installed to where the webhelp will be installed.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How can I delete a page in a pdf file I received?

    How can I delete a page in a pdf file that I received? I only have Adobe Reader X.

    Thanks very much for your help.  I’ll look into Acrobat.  Have a great week.
    Stephen E. Hincks, Sr.
    (cell) 301.346.6110

  • How can i remove the page title above the File,Edit,View,History,Bookmark tab?

    how can i remove the page title above the File,Edit,View,History,Bookmark tab in firefox

    In Firefox 29 and Firefox 30:
    "3-bar" menu button > Customize
    In the lower left, click the Title Bar button to switch the title on and off.
    In Firefox 28, I actually can't remember!
    I would be remiss if I didn't remind you:
    * Firefox 28 is not secure: Mozilla has disclosed its [https://www.mozilla.org/security/known-vulnerabilities/firefox.html known security flaws].
    * You can modify Firefox 30 to restore many of the UI features of earlier versions of Firefox using the techniques in the following article (and/or with assistance from forum volunteers): [[How to make the new Firefox look like the old Firefox]].

  • How can we repeat specific page number of pdf file by using FDF Toolkit for Windows?

    how can we repeat specific page number of pdf file by using FDF Toolkit for Windows?

    let's say a registration form, there is only 1 full address provided in my registration pdf, but applicant could have more than 1 address, so i have to make it more flexible to extend the address page no matter how many addresses that applicant provided, i have use adobe acrobat pro to edit the form properties. but dont know how to extend/duplicate a page in felxible times.
    Please advise~ tks so much!!! George

  • How can we create a ABAP object into .ptr file

    HI,
          How can we create a ABAP object into .ptr/.car/.sar format so that we can give it to a remote client and which can be imported into their R/3 system to get the functionality of this object.

    Hello Ramesh
    All you need is SAPLINK. Have a look at the following links:
    <a href="/people/ed.herrmann/blog/2005/11/14/the-enterprise-and-the-bazaar Enterprise and the Bazaar</a>
    <a href="https://sourceforge.net/projects/saplink/">SAPLINK</a>
    Regards
      Uwe

  • How can I create a line break in pages for iPad?

    On the Mac you can hold the shift key while pressing the return key to creat a line break. Only pressing the return key will creat a new paragraph of course.
    On the iPad you only can creat paragraphs. Pressing the shif key does not change that.
    Does anybody know how to force a linebrek on the pages app for iPad?

    Tap and hold where you wish to insert the line break. Select Insert from the pop up menu, then Line break.
    this might be helpful for future reference: http://help.apple.com/pages/ipad/1.7/

  • How Do I Create a Page Break In Pages For iPad? This time it's different!

    I know this has been asked a million times before but my situation is different. On apple help it says place the insertion point where you want the break to happen. How do i move the insertion point? I can only move it by typing and then it only works for the first page. All the other pages i've had to use text boxes to type and now i've resorted to finishing the document on my computer Please help!

    No it does not have to be only body test, but you are trying to put the page break into a text box.
    Touch the area outside the text box, that is the body of the document and you can insert a page break there.
    I have page breaks and text boxes no problem in my docs, it is just a case of knowing what you are doing.
    Text boxes sit on top of the body of the document, the body text needs to run under the document, no need to have text in it, it just needs to be there.
    I can't help any more, sorry.

  • How can I create a page item at a certain LEVEL within a layer?

    I mean, if I have one frame that I brought to the front, and one that I sent to the back, can I create an item that is between the two? Right now everything I create is automatically on top, and I have to do some scripting to figure out where the other items are at, and then step the new item back, back, back, etc. until I get to where I want, testing at every step to see if it's gone too far.
    I can't find a property I can set to move a page item directly to the place in the front-to-back order that I want.
    Am I missing something?

    Z-ordering is not maintained in scripting properties, but you can use methods. Let's assume topframe and newframe. You can then use newframe.sendToBack(topframe);. Note that this is distinct from newframe.sendToBack(), which sends it all the way back. Check the docs, there are also some requirements for co-parantage between topframe and newframe.

  • How can I control unwanted page breaks in exported .pdf files?

    I am building a form that, for a variety of reasons, must be available offline.  Unfortunately, the .pdf export is introducing a page break on the 3rd page that leaves 80% of the page empty.  The next element after the page break is a small text field which would easily fit on the preceding page.  I have _not_ put any page breaks into this document, so the editor is following its default behavior regarding page breaks.  Is there any way to tell the editor not to break at a given spot?
    Also, in terms of a more general feature request, it would be very nice if there was a more intelligent method of handling pagination.  I understand why (in a separate spot on the same form) the editor is pushing a large form element to the next page (since it won't fit on the previous one), but I would much rather have the option of splitting a large rating scale instrument so that the first half fills one page and the final half (with headings repeated) begins the second page.  All of this empty space just looks tacky, and I can't imagine anyone actually wanting the default behavior if it would leave more than a few lines of empty space at the bottom of a page.
    Best,
    David
    P.S. Sorry for the jumbled username; the first 20 or so I tried were taken.

    Well, I downloaded the trial of Acrobat XI to see if I could fix this, and lo and behold it allowed me to define the .pdf page breaks exactly as I desired!  The "secret" was to switch to page view from the view menu.  It also works in the online version of FormsCentral.

Maybe you are looking for