PDA

View Full Version : Printing compress font with DOS


RW Lambas
August 3rd 04, 01:45 AM
How do I print with compress font (eg 16 cpi) from DOS
base program (eg DOS editor) to a laser printer (eg HP 6L).

Any suggestion appreciated.

TQ
RWLambas

August 3rd 04, 11:12 PM
You need to find the command sequence that initiates
compressed printing and then embed that sequence into
your document at the point where you want compressed
pritning to start. Find out the command protocol (Esc/P,
PCL etc) that the printer is configured for, then look up
the reference document for that proptocol to find the
command sequence that is needed then consult Help for the
editor you are using to discover how to insert the
command into the text.

>-----Original Message-----
>How do I print with compress font (eg 16 cpi) from DOS
>base program (eg DOS editor) to a laser printer (eg HP
6L).

RWLambas
August 4th 04, 01:18 AM
Hi,

Thank you but it is not exactly the solution I am looking
for. I have look-up this option before and it requires me
to make a few changes on current applications (programs).
In addition this is not very convinient to end user
because they would like to be able to choose the font for
their printout.

I am looking for some kind of DOS command that I can use
on DOS prompt to change/compress font before printing
(something like if I use dot matrix printer, I can select
fonts/pitch on printer control panel before start printing)

Thank you anyway. Any other suggestion?

RWLambas
>-----Original Message-----
>You need to find the command sequence that initiates
>compressed printing and then embed that sequence into
>your document at the point where you want compressed
>pritning to start. Find out the command protocol (Esc/P,
>PCL etc) that the printer is configured for, then look up
>the reference document for that proptocol to find the
>command sequence that is needed then consult Help for the
>editor you are using to discover how to insert the
>command into the text.
>
>>-----Original Message-----
>>How do I print with compress font (eg 16 cpi) from DOS
>>base program (eg DOS editor) to a laser printer (eg HP
>6L).
>
>.
>

August 4th 04, 03:31 AM
Create the commands in a text file, then create a batch
file that copies the text file to the printer before the
user starts their application, or embed the start command
for the application in the batch file.

For instance, if the command for compressed font is in
COMPRESS.PRN and you want to use it with notepad, the
batch file is:
COPY COMPRESS.PRN LPT1
NOTEPAD

>-----Original Message-----
>Hi,
>
>Thank you but it is not exactly the solution I am
looking
>for. I have look-up this option before and it requires
me
>to make a few changes on current applications
(programs).
>In addition this is not very convinient to end user
>because they would like to be able to choose the font
for
>their printout.
>
>I am looking for some kind of DOS command that I can use
>on DOS prompt to change/compress font before printing
>(something like if I use dot matrix printer, I can
select
>fonts/pitch on printer control panel before start
printing)
>
>Thank you anyway. Any other suggestion?
>
>RWLambas
>>-----Original Message-----
>>You need to find the command sequence that initiates
>>compressed printing and then embed that sequence into
>>your document at the point where you want compressed
>>pritning to start. Find out the command protocol
(Esc/P,
>>PCL etc) that the printer is configured for, then look
up
>>the reference document for that proptocol to find the
>>command sequence that is needed then consult Help for
the
>>editor you are using to discover how to insert the
>>command into the text.
>>
>>>-----Original Message-----
>>>How do I print with compress font (eg 16 cpi) from DOS
>>>base program (eg DOS editor) to a laser printer (eg HP
>>6L).
>>
>>.
>>
>.
>

Davide Guolo
August 8th 04, 11:29 PM
RWLambas,

> Thank you but it is not exactly the solution I am looking
> for. I have look-up this option before and it requires me
> to make a few changes on current applications (programs).
> In addition this is not very convinient to end user
> because they would like to be able to choose the font for
> their printout.
>
> I am looking for some kind of DOS command that I can use
> on DOS prompt to change/compress font before printing

Have a look at Printfil.

It allows the end user to choose the font, color, margins and so on,
autofitting the font to the page.

Kind regards,
Davide Guolo
--------------------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.guolo.com/printfil
Odbc4All - Connection to ODBC Data Sources for any Application
http://www.guolo.com/odbc4all
--------------------------------------------------------------

Jay
September 5th 04, 05:32 AM
It depends on the DOS program.

You can try manually setting your 6L to the compressed font you want to use,
then try printing.

If that doesn't work and your DOS program allows you to select fonts, point
sizes, etc., then you need the ESC codes for your 6L to print in the
resident compressed font in the printer, and then you have to find out how
to enter those codes in the DOS program.

Good luck.
"RW Lambas" > wrote in message
...
> How do I print with compress font (eg 16 cpi) from DOS
> base program (eg DOS editor) to a laser printer (eg HP 6L).
>
> Any suggestion appreciated.
>
> TQ
> RWLambas
>