Hello Antonio, I compiled and ran your testprn2.prg i and the preview displays the nice pattern of plus signs but the pdf only displays 2 blank pages. As I said before I suspect it has something to do with the application not being able to access ...
Dear David, I have built FWH\samples\testprn2.prg and then copied the EXE to a remote PC managed with remote desktop. The preview is properly shown and if I export it to PDF, the PDF is properly seen. Could you please reproduce my test ? Here ...
... controls. The grid like Silvio's sample would be great )) http://forums.fivetechsupport.com/viewtopic.php?f=3&t=41532 Thanks I started from testprn2.prg and it draw a grid into printer not screen perhaps for the screen you can use this ( I coied it from forum many year ago ) It is as DrawGrid( ...
Antonio: Ok, probando . . . . *******Editado****** Antonio, compile el TestPrn2 con una sola página y se ve muy bien, sin embargo en mi aplicación tengo el problema. Usé las mismas herramientas para compilar en uno y otro caso, la única diferencia es que yo ...
Enrico, Your sample works but when I tried inserting SetBkCOlor() in fwh\samples\testprn2.prg as below, the background color doesn't change // Sample showing how to manage the printer object#include "FiveWin.ch"static oWnd//----------------------------------------------------------------------------//function ...
... NAME "Testing the printer object from FiveWin" PREVIEW TO cModel A mi me funciona también el zoom sin esas lineas en el ejemplo TestPrn2.Prg si no pongo la clausula TO //oPrn:hDC = PrinterDcFromName( StrToken( GetProfString( "Devices", cModel, "" ...
Carlos Yo tambien lo he podido comprobar por ejemplo en el sample TestPrn2.prg Prueba en este ejemplo a añadir al final la clase TMetafil.prg En el metodo Paint está comentado lo siguiente: if ::hMeta != 0 ::Shadow() SetMapMode( ...
... no se ejecuta ya que el hdC está vacío Sin embargo, si la misma instrucción que aparece en la clase modificada la sitúo en el ejemplo Testprn2.prg, funciona correctamente, es decir, realiza el preview y selecciona la impresora que deseamos sin modificar la impresora por defecto: function ...