Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert Page Break in TXT file
Message
De
04/05/2007 18:25:56
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01222595
Message ID:
01222668
Vues:
11
>>>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.
>>
>>On the HP4200 we have here I tried
>>=STRTOFILE("abcd"+CHR(12)+"wxyz",'ttt.txt')
>>and got two pages when printing the txt file
>
>Didn't work for me :( It printed one page from Notepad.
>
>I was having the same problem and chr(12) doesn't work for modern printers.

I printed it from a MODI FILE window in VFP 8/9 (don't remember which was open when I tried it). I just tried printing from Windows Explorer and it didn't work there.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform