Search found 54 matches: printbegin

Return to advanced search

Re: Cerrar Previsualizacion de Reportes

Muchas gracias... y con la clase TPRINTER como reemplazo esto: aadd( aRep, oReport:cName ) oPrn:=PrintBegin(Titulo,.F.,lPrv,,.T.) aadd( aRep, oPrn:cName ) me da error al ejecutar aadd( aRep, Titulo ) No me ningun error, pero NO me cierra la venta... ahora..... esta bien ...
by dobfivewin
Thu Apr 02, 2009 9:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cerrar Previsualizacion de Reportes
Replies: 16
Views: 2092

Re: Cerrar Previsualizacion de Reportes

Gracias por la respuesta....

el titulo que me sale en la ventana es el colocado al crear el reporte:

oPrn:=PrintBegin(Titulo,.F.,lPrv,,.T.)

ahora, deberia poner asi ?

FindWindow(Titulo)

asi no hace nada....

gracias nuevamente

david
argentina
by dobfivewin
Wed Mar 18, 2009 8:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cerrar Previsualizacion de Reportes
Replies: 16
Views: 2092

Re: New FTDN January/Enero 2009 (9.01)

... no estaba pintando correctamente los "bitmaps" debido a unos cambios recientes. Ahora lo hace correctamente. * Corrección: En la función PrintBegin() de la clase TPrinter, pequeña corrección que estaba causando problemas en Windows XP. Estaba funcionando correctamente en Vista :-). Ahora ...
by Antonio Linares
Fri Feb 06, 2009 7:24 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2009 (9.01)
Replies: 4
Views: 3061

Re: printer trouble

... .f. ) works ok but PRINT oPrn NAME OemToAnsi( "test.pdf" ) TO cPrinter fails. I think that this is caused in function PrintBegin( cDoc, lUser, lPreview, xModel, lModal, lSelection ) of tPrinter class. May be that the GetProfString() calls don't give the desired results? ...
by Detlef Hoefner
Mon Feb 02, 2009 4:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: printer trouble
Replies: 5
Views: 775

New FTDN January/Enero 2009 (9.01)

... function WBrwLine(), it was not properly painting the bitmaps due to some recent changes in it. Now it is ok. * Fix: Class TPrinter function PrintBegin(), minor fix that was causing troubles in Windows XP. It was fine in Vista. Now it is fine in both. * Fix: function CtrlDrawFocus() was not ...
by Antonio Linares
Mon Jan 26, 2009 1:16 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2009 (9.01)
Replies: 4
Views: 3061

Re: FWH 8.12 Printer problem

... endif else ::cDir := GetWinDir() endif endif return Self I think this is what you initially stated in your first post Function PrintBegin function PrintBegin( cDoc, lUser, lPreview, xModel, lModal, lSelection ) local aPrn local cText, cDevice local nScan if xModel == nil return ...
by PeterHarmes
Thu Jan 15, 2009 3:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 8.12 Printer problem
Replies: 22
Views: 3463

Re: FWH 8.12 Printer problem

It doesn't work. Please check this possible fix: in function PrintBegin() replace cDevice := aPrn[ nScan ] + "," + cText with cDevice := aPrn[ nScan ]// + "," + cText EMG I'm having the same problem and can confirm ...
by PeterHarmes
Thu Jan 15, 2009 3:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 8.12 Printer problem
Replies: 22
Views: 3463

Re: FWH 8.12 Printer problem

It doesn't work. Please check this possible fix: in function PrintBegin() replace

Code: Select all  Expand view
   cDevice := aPrn[ nScan ] + "," + cText


with

Code: Select all  Expand view
   cDevice := aPrn[ nScan ]// + "," + cText


EMG
by Enrico Maria Giordano
Mon Jan 05, 2009 9:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 8.12 Printer problem
Replies: 22
Views: 3463

About font. Differences beetween FWH font and Windows font

... format Any ideas ? Thanks in advance ------------ ? GetFontSize("Arial",136,"210") Function GetFontSize(cFontName,n_ColRequired,nMaxSize) oPrn:=PrintBegin("") aPoints:=oPrn:Cmtr2Pix(0,nMaxSize/10) for nFontWidth:=90 to 1 step -1 oFont:=Tfont():New(cFontName,-nFontWidth) oPrn:SetFont(oFont) llv:=oPrn:GetTextWidth(replicate("B",n_ColRequired),oFont) ...
by Marco Turco
Tue Oct 28, 2008 6:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: About font. Differences beetween FWH font and Windows font
Replies: 3
Views: 653

Comparazione font di FWH e font di Windows (Word per esempio

... comparabile con Word/Windows. Qualche idea ? Grazie. ? GetFontSize("Arial",136,"210") Function GetFontSize(cFontName,n_ColRequired,nMaxSize) oPrn:=PrintBegin("") aPoints:=oPrn:Cmtr2Pix(0,nMaxSize/10) for nFontWidth:=90 to 1 step -1 oFont:=Tfont():New(cFontName,-nFontWidth) oPrn:SetFont(oFont) llv:=oPrn:GetTextWidth(replicate("B",n_ColRequired),oFont) ...
by Marco Turco
Tue Oct 28, 2008 6:09 pm
 
Forum: All products support
Topic: Comparazione font di FWH e font di Windows (Word per esempio
Replies: 0
Views: 434

... Software Manufacturers, Inc. 1990 - 1995 All Rights Reserved. Licensed solely for use with CA-Clipper 5.3 BLINKER : 1115 : PROBA.OBJ(PROBA) : 'PRINTBEGIN' : unresolved external BLINKER : 1115 : PROBA.OBJ(PROBA) : 'PRINTEND' : unresolved external BLINKER : 0 Warning error(s), 2 Fatal error(s) ...
by avista
Fri Aug 15, 2008 8:20 am
 
Forum: FiveWin for CA-Clipper
Topic: IsPrinter() & XP
Replies: 22
Views: 7180

... oPrnDOS:write(chr(27)+chr(112)+chr(0)+chr(10)+chr(100)) oPrnDOS:cFormFeed:="0" oPrnDOS:EndPage() // optional oPrnDOS:End() else oPrn := PrintBegin("DRUCKER", .f., .f.,cPrnName ) PAGE DEFINE FONT oFntNormal NAME "ARIAL" SIZE 16,40 oPrn:Say( 0,5 , (chr(27)+chr(112)+chr(0)+chr(10)+chr(100)) ...
by Otto
Thu Dec 27, 2007 10:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: opos drivers for cash drawers, mage strip readers, printers
Replies: 8
Views: 5079

... Subject: Re: How to setup paper length and width? Date: Wednesday, November 22, 2000 11:06 AM Try this ... function UserFormat() oPrn:=PrintBegin("",.f.,.T.) oPrn:SetPortrait() aa:=oPrn:GetPhysize() old1:=round(aa[1],0) && actual value old2:=round(aa[2],0) && actual ...
by James Bott
Fri Nov 30, 2007 11:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Setting paper size
Replies: 2
Views: 724

... Antonio, he probado de un sinfin de maneras y no lo consigo. oPrn := TPreview():New() oPrn := TPrinter():New( "Factura", .F., .T., , .T. ) oPrn := PrintBegin( "Factura", .F., .T., , .T. ) Yo no estoy muy ducho en esto de las clases y escribo todo como los ejemplos que trae FWH. De momento seguiré ...
by Julio Cepeda
Sun Sep 16, 2007 8:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impresión ( prev32.dll ) con FWH 7.09
Replies: 25
Views: 5813

Prueba de esta forma: IF GetPrintDefault(GetActiveWindow())<>0 oPrn:=PrintBegin("",.F.,,,.T.) oPrn:SetPage(1) PrintEnd() ELSE MsgAlert("Configure una impresora como predeterminada"+CRLF+ ; "o no podrá visualizar los reportes.","Precaución!") ENDIF Saludos.
by Alfredo Arteaga
Thu Mar 08, 2007 3:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PrnGetName() falla
Replies: 5
Views: 1434
PreviousNext

Return to advanced search