How to set the font size when using the HOST command from Form? [message #167974] |
Tue, 18 April 2006 03:46 |
kmkan28
Messages: 14 Registered: December 2005
|
Junior Member |
|
|
Hi,
i created a TEXT FILE USING a procedure like s1.txt.
when i give print command from the text file after opening it,it uses the windows default font.
if i use sam file from the form using HOST Command it uses the terminal type fonts.
the command i used from form6i is below.
HOST('COPY C:\S1.TXT LPT1 /B',NO_SCREEN);
because of the different types of font settings from windows and DOS there are alignment problems are araising.
The application has to use the windows fonts when i am executing from the command prompt using HOST Command.But it is using terminal fonts(Draft).
if any one knows how to use the windows default fonts while executing
the HOST COMMAND From forms6i instead of using terminal fonts?.
thanks in advance.
mk
|
|
|
|
Re: How to set the font size when using the HOST command from Form? [message #168151 is a reply to message #168101] |
Wed, 19 April 2006 01:23 |
kmkan28
Messages: 14 Registered: December 2005
|
Junior Member |
|
|
hi david,
For me printing is no problem.
only the FONT Settings.ex.THE FONT which is printing a text file from NOTEPAD IN THE WINDOWS enviroment will be different from the font which is printed from DOS ENVIRONMENT.
1.I WANT TO KNOW HOW TO SET THE SAME FONT AS USED IN THE WINDOWS ENVIRONMENT WHILE GIVING A PRINT COMMAND FROM DOS ENVIRONMENT.
2.ALSO FROM WINDOWS ENVIRONMENT ITS SKIPING ONLY ONE LINE PROPERLY.BUT IN THE DOS ENVIRONMENT ITS SKIPPING 1.5 LINES.IS THERE ANY OTHER WAY TO CONTROL LINE SKIPPING?.
I USED TEXT_IO.NEW_LINE(IN_FILE,1) COMMAND.
Please help me on this issue!.
|
|
|
|
|