Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21842

Windows API in Visual Basic 6 Not Printing in Remote Desktop Client of Windows Server

$
0
0
Dear Sir,

I have developed Application in Visual Basic 6.

In my application I am printing Text file in DOT MATRIX PRINTER using Windows API OpenPrinter, StartDocPrinter, WritePrinter, EndDocPrinter to Print FAST (DOS STYLE) on Dot Matrix Printer.

This API is working fine in all version of Windows, but If Remote Desktop Client of Windows Server 2008 64 bit is trying to print on it's local DOT MATRIX PRINTER then it is not printing.

If Remote Desktop Client try to print using Visual Basic Printer Object then it works fine, but printing will be very slow on DOT MATRIX PRINTER.

Please note required Microsoft .Net Framework 3.5 SP1 is already installed.

I had put Error Tracing Condition after every Windows API and found no error.

Please give me solution for the same.

Please click on link to download my source http://www.microbrain.in/temp/Remote...atrixPrint.zip

Sanjay Shah

Viewing all articles
Browse latest Browse all 21842

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>