This project is read-only.

image printing does not work!

Topics: General
Sep 25, 2012 at 11:34 PM
Edited Sep 25, 2012 at 11:56 PM

Hi there

we've been using gdiplus (system.app) to print images successfully for last couple of years but recently one of our clients having an issue. When they print nothing happens . no data is sent to printer and no errors ! We are using ToPrinter() method.

can you advise how to troubleshoot ? 

BTW we use VFP 9 with latest service pack and client is running windows 7 printing to redirected printer to a local winxp computer.

Thanks for the advise.

code sample..

DO LOCFILE("System.app","app","Locate system.app file")
WITH _Screen.System.Drawing 
       LOCAL loBmp as xfcBitmap
       m.loBmp = .Bitmap.FromFile(tcFileName) 
      m.loBmp.ToPrinter()
ENDWITH