Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert Page Break in TXT file
Message
 
À
04/05/2007 15:36:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01222595
Message ID:
01222596
Vues:
22
>I'm using the following code to create a text file. The user will be using Notepad to open the file. I want to force page breaks at certain points in the text document but I can't seem to get it to work. When I open the document in Notepad, I can see the little square character representing a FF but it has no effect on the printing.
>
>What am I doing wrong?
>
>Thanks,
>Robert Wright
>
>
>SET TEXTMERGE TO
>SET TEXTMERGE ON NOSHOW
>SET TEXTMERGE TO text.txt
>\Some text
>\<<CHR12>>
>\some more text
>SET TEXTMERGE OFF SHOW
>SET TEXTMERGE TO
>
I suppose with CHR12 you meant CHR(12) - EJECT ESC code.
But that was for Dot Matrix printers, I am not sure that CHR(12) is the EJECT code in Laser or Jet ones.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform