Search found 72 matches: testprn2

Return to advanced search

Re: Problems with Preview

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 ...
by dtussman
Fri Nov 11, 2022 7:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with Preview
Replies: 14
Views: 810

Re: Problems with Preview

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 ...
by Antonio Linares
Fri Nov 11, 2022 9:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with Preview
Replies: 14
Views: 810

Re: design.prg from FW samples

... 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( ...
by Silvio.Falconi
Sun Mar 20, 2022 3:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: design.prg from FW samples
Replies: 9
Views: 1362

Re: grid printing

Please review FWH\samples\testprn2.prg
by Antonio Linares
Sun Sep 02, 2018 6:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: grid printing
Replies: 3
Views: 597

Printing routine

... Maybe this must be PRNINFOPAG E SETBOTTOMMARGIN? And where can I find more info about the FUNCTION PrinterSelect() in sample testprn2?
by plantenkennis
Tue Dec 13, 2016 10:37 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Printing routine
Replies: 11
Views: 3969

Re: print lines

?????

Look, TESTPRN2.PRG


Something type:

Code: Select all  Expand view

 REPLICATE ( "-" ) ?
 


Regards
by karinha
Mon Nov 21, 2016 1:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: print lines
Replies: 6
Views: 1052

Re: TPrinter recent methods PrintImage() and SayText()

Mr. Nages use testprn2.prg and change :

oPrn:sayBitmap( 1, 1, "..\bitmaps\fivewin.bmp" )
to
oPrn:PrintImage( 1, 1, "..\bitmaps\fivewin.bmp", 2600, 2600 )

or
oPrn:PrintImage( 1, 1, "someimage", 26000, 26000, .t. )
by mastintin
Wed May 04, 2016 10:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TPrinter recent methods PrintImage() and SayText()
Replies: 19
Views: 4146

Re: Vista previa en miniatura

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 ...
by Armando
Thu Sep 17, 2015 4:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Vista previa en miniatura
Replies: 18
Views: 2026

Re: Vista previa en miniatura

Armando,

Acabo de modificar samples\testprn2.prg para que solo cree una página y se visualiza correctamente.

Puedes probarlo tu con la 15.01 ? gracias
by Antonio Linares
Thu Sep 17, 2015 3:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Vista previa en miniatura
Replies: 18
Views: 2026

Re: Is it possible to specify background color of printed text?

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 ...
by hua
Mon Sep 29, 2014 1:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Is it possible to specify background color of printed text?
Replies: 6
Views: 1255

Re: PREVIEW

... 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, "" ...
by cnavarro
Thu Nov 07, 2013 10:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PREVIEW
Replies: 8
Views: 1399

Re: PREVIEW

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( ...
by cnavarro
Thu Nov 07, 2013 9:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PREVIEW
Replies: 8
Views: 1399

Re: WindowsXp.Manifest

... 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 ...
by cnavarro
Sun Nov 03, 2013 12:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: WindowsXp.Manifest
Replies: 25
Views: 4344

Re: WindowsXp.Manifest

Carlos,

te funciona FWH\samples\TestPrn2.prg ? gracias
by Antonio Linares
Sun Nov 03, 2013 8:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: WindowsXp.Manifest
Replies: 25
Views: 4344

Re: WindowsXp.Manifest

Carlos,

El preview de FWH ya no necesita de la DLL que solía usar :-)

Puedes probar a construir samples\TestPrn2.prg ? Aqui muestra el preview correctamente.

O mejor aún, si construyes samples\FiveDBU.prg y asi puedes hojear una DBF y generar un preview
by Antonio Linares
Sat Nov 02, 2013 8:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: WindowsXp.Manifest
Replies: 25
Views: 4344
Next

Return to advanced search