Board index » delphi » Please let me print !!!!

Please let me print !!!!

Hi,

this is the 3rd time I'll put my problem on the hotspot, please help!
I have a WIN95, I have a stupid printer (7dot matrix => used as a
kitchenprinter), I wrote a program in Delphi (a huge program), I'll wanna
print. I CAN print, but (#?!#&#!), the printer alway sends me xx white
lines (also known as Line Feeds, I don't want these). I uses
BeginDoc;TextOut(...);EndDoc. Can I change the length of a printer page?
Do I use a wrong printer driver?? A good fellow mailed me once with the
idea to write directly to a dos device (eg PRN, LPT1, ...). Does somebody
know how to do that?

TIA.

--

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
= Delphi programming and CD recording!!                           =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                                 ...and may the source be with you!

 

Re:Please let me print !!!!


Quote
KWo...@mail.cbf.com (Kirk Wolak) wrote:
>In article <47ebru$...@brahms.tfi.be>, b...@unicall.be says...

>>Hi,

>>this is the 3rd time I'll put my problem on the hotspot, please help!
>>I have a WIN95, I have a stupid printer (7dot matrix => used as a
>>kitchenprinter), I wrote a program in Delphi (a huge program), I'll wanna
>>print. I CAN print, but (#?!#&#!), the printer alway sends me xx white
>>lines (also known as Line Feeds, I don't want these). I uses
>>BeginDoc;TextOut(...);EndDoc. Can I change the length of a printer page?
>>Do I use a wrong printer driver?? A good fellow mailed me once with the
>>idea to write directly to a dos device (eg PRN, LPT1, ...). Does somebody
>>know how to do that?

>>TIA.

>Does your printer print from other windows programs correctly?  If
>so, then it probably is not your driver.  If not, then install the
>correct driver.

>Also, with dot-matrix printers, you need to do your own page-breaking.
>This is a pain in the butt.  But that should not cause garbage to come
>out.

>The problem very much sounds like the wrong driver to me.

>Kirk Out

Yep, that was the solution (printer driver from 3.11 was not = to the
driver from Win 95),

Thanks m8,

--

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
= Delphi programming and CD recording!!                           =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                                 ...and may the source be with you!

Other Threads