Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8338

PrintOpen crashing application when used after PrintSetPrinter for networked IPP print server

$
0
0

This is on Windows Server 2008 using PB 12.1 Build 7298.

 

 

I'm using PrintGetPrinters to get the printer name of the networked IPP print server that is setup on the machine and it comes back as:

\\http://aps-ps-1:631\cp

 

 

I then use PrintSetPrinter with that name to change the printer, which works fine.

 

 

After calling PrintSetPrinter I call PrintOpen to open a print job, which then crashes the application with a gdi32.dll fault.

 

 

If I call PrintOpen( "testing", true ) it works fine, but PrintOpen() or PrintOpen( "testing", false ) crash the app.  This all works fine on a non networked printer on the server, which we've been using for years, but are now trying to switch to a print server.

 

 

Does anyone know why PrintOpen would be crashing when not showing the print dialog box?  Any help would be appreciated.

 

 

Thanks,

Eric Cole


Viewing all articles
Browse latest Browse all 8338

Trending Articles



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