Board index » delphi » Problems printing on an NT workstation

Problems printing on an NT workstation

One of my customers has decided (without telling me) to install out DOS
based product (written in Borland Pascal 7) on an NT workstation.

Everything works correctly, until your try to print.  Nothing is printed.

Printing is done via calls to Interrupt 17 instead of writting to a PRN
file.  Would this make a difference?

I know that the DOS program was never designed to run on NT, but can anybody
suggest a temporary workaround until I can persuade them to upgrade to our
Delphi4 version ?

All suggestions (polite or otherwise) gratefully received!

Mike Gregory
Buckinghamshire, England.

 

Re:Problems printing on an NT workstation


Quote
Mike Gregory wrote:

> One of my customers has decided (without telling me) to install out DOS
> based product (written in Borland Pascal 7) on an NT workstation.

> Everything works correctly, until your try to print.  Nothing is printed.

> Printing is done via calls to Interrupt 17 instead of writting to a PRN
> file.  Would this make a difference?
Yes, with NT

> I know that the DOS program was never designed to run on NT, but can anybody
> suggest a temporary workaround until I can persuade them to upgrade to our
> Delphi4 version ?

You can use the PRN file instead of the INT 17H as well, it is
configured for binary mode.
Look in the FAQ chapter for the article "LPT2 printing" for
some information, also look in the 1QA for articles about
printing.
http://www.geocities.com/SiliconValley/2926/tp.html
Franz Glaser

Other Threads