Search found 54 matches: printbegin

Return to advanced search

Re: FWH 13:09 Default Printer

Oscar, In Class TPrinter, function PrintBegin() we search for the printer based on the provided cModel name:      if ( nScan := Ascan( aPrn, { | v | Upper( xModel ) == Upper( v ) } ) ) == 0        ...
by Antonio Linares
Sat Nov 16, 2013 10:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 13:09 Default Printer
Replies: 61
Views: 12776

Re: WindowsXp.Manifest

... endif   else      ::hDC = PrinterDcFromName( , cModel, )  // cambia aqui !!!   endif Y la función PrintBegin() contenida en printer.prg queda asi: function PrintBegin( cDoc, lUser, lPreview, xModel, lModal, lSelection, cFile )   local ...
by Antonio Linares
Mon Nov 04, 2013 10:27 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: WindowsXp.Manifest
Replies: 25
Views: 4347

Re: Passing number of Copies to the printer

Try
oPrn := PrintBegin( cTitle, lUser, lPrintPreview, cPrintModel, lModal, lSelection )
if Empty( oPrn:hDC )
return( .f. ) // Printer was not installed or ready
endif
oPrn:SetCopies( ::nNoCopies )
or
PrnSetCopies( nNoCopies )
by Gale FORd
Sat Jun 02, 2012 9:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Passing number of Copies to the printer
Replies: 1
Views: 448

Re: Harbour 3.0 / MSVC DLL32 error

... MENUBEGIN, TBITMAP, TBAR, SHELLDEBUG, SHELLEXECUTE, TICON, TFONT, TMULTIGET, OSEND, DBGALERTT, TFOLDER, TPRINTEND, PAGEEND, PAGEBEGIN, PRINTBEGIN, TBUTTON. I am using Ultra Edit Studio's Build configuration, but that really shouldn't make any difference. It has worked in the past. I'm ...
by TimStone
Tue Nov 29, 2011 7:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Harbour 3.0 / MSVC DLL32 error
Replies: 9
Views: 3153

Re: ReCargar PREVIEW

... has fijasdo si te elimina tus archivos emf guardados? adjunto mi pequeño codigo aDir := DIRECTORY(oApp:cDirAudi) // cargo mis archivos .emf oPrn:=PrintBegin("Re-Impresión de Auditoría",.F.,.T.,,.T.) oPrn:SetPage(1) // Tamaño Carta oPrn:SetPortrait() // Orientacion Vertical FOR x := 1 ...
by Francisco Horta
Thu Oct 06, 2011 8:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ReCargar PREVIEW
Replies: 6
Views: 1237

Re: Invoice

... Static Procedure DRUKUJ(cPRINTER,cOPIS) Local cTYTWYDRUKU:=Ptxt("FAKTURA VAT nr ")+AllTrim(FVAT1->NR_M)+cOPIS Local lPREV:=.F. oPRN:=PrintBegin(cTYTWYDRUKU,.F.,lPREV,IIF(cPRINTER<>NIL,cPRINTER,PrnGetName())) Page FV_CIENIE(@oPRN) FV_NAGLOWEK(@oPRN,cOPIS) //FV_KRESKI(@oPRN) FV_ZAWARTOSC(@oPRN) ...
by Robert Frank
Thu May 05, 2011 3:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Invoice
Replies: 7
Views: 1600

Re: "No Default Printer" message on Windows 7 64-bit

... or dll's? Try putting this as the first line in your app. You'll need to undo the icon property changes so you can recreate the original problem. PrintBegin( nil, .f., .f.,, .f., .f.) Open your program try the print function again. If you are using any 3rd party lib or dll it may be that calling ...
by Randal
Thu Oct 07, 2010 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: "No Default Printer" message on Windows 7 64-bit
Replies: 18
Views: 6132

Re: Crear archivo PDF desde FIVEWIN

dobfivewin wrote:Hola estimado

Yo uso PDFCREATOR

al inicio del programa

PdfCreatorCFG( 1 , (SEMIPRSE)->PATH_PDF )

y cuando quiero imprimir:

oPrn:=PrintBegin(NomArc,.f., ,"PDFCreator",.T.)

Saludos

David


Hola,
En ese printBegin se le puede pasar el ancho y el largo?

gracias.
by goosfancito
Fri Jul 30, 2010 9:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear archivo PDF desde FIVEWIN
Replies: 6
Views: 1643

Re: Crear archivo PDF desde FIVEWIN

Hola estimado Yo uso PDFCREATOR al inicio del programa PdfCreatorCFG( 1 , (SEMIPRSE)->PATH_PDF ) y cuando quiero imprimir: oPrn:=PrintBegin(NomArc,.f., ,"PDFCreator",.T.) Saludos David David e pregunto, Se debe instalar el PEDCRREATOR la funcion que usted dice en su ejemplo ...
by ruben Dario
Tue Jun 08, 2010 4:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear archivo PDF desde FIVEWIN
Replies: 6
Views: 1643

Re: Crear archivo PDF desde FIVEWIN

Hola estimado

Yo uso PDFCREATOR

al inicio del programa

PdfCreatorCFG( 1 , (SEMIPRSE)->PATH_PDF )

y cuando quiero imprimir:

oPrn:=PrintBegin(NomArc,.f., ,"PDFCreator",.T.)

Saludos

David
by dobfivewin
Sat Jun 05, 2010 11:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear archivo PDF desde FIVEWIN
Replies: 6
Views: 1643

Re: La previsualización de un reporte se puede envar por mail?

... También he realizado cambios a TPrinter para generar el PDF sin pasar por la vista previa y hacer lo que se desee con el archivo generado. oPrn:=PrintBegin(cName,.F.,lPrv,,.T.,lPdf,cFile) Descargas: http://www.despachoarteaga.com.mx/Print2Pdf.zip // --- Cambios a RPreview para trabajar con Image2PDF// ...
by Alfredo Arteaga
Fri May 07, 2010 4:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: La previsualización de un reporte se puede envar por mail?
Replies: 6
Views: 2088

Re: Se necesita ayuda en el wiki !

... pBmpWidth() PeekByte() PeekMessage() PeekWord() Pie() PlayMetafile() PokeByte() PokeWord() PolyPolygon() PostMessage() PostQuitMessage() PrintBegin() PrinterEsc() PrinterSetup() PrnBinSource() PrnDuplex() PrnGetName() PrnGetOrientation() PrnGetPort() PrnGetSize() PrnLandscape() PrnOffset() ...
by Cgallegoa
Tue Feb 23, 2010 3:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 5504

Re: Impresora POS Epson TM-U950

... con los drivers de la epson tm-u950 y lo selecciona perfectamente. o puedes cualquier font del windows pero es mas lento la impresion. oPrn1:=PrintBegin("Cliente",.T.,.f.,"cliente",.T.) .......... retu oPrn1:=PrintBegin("auditora",.T.,.f.,"auditora",.T.) ...
by Dioni
Mon Sep 28, 2009 2:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impresora POS Epson TM-U950
Replies: 9
Views: 4515

Re: rpreview error :why ????

the problem is here : on rpreview if ::oDevice:lPrvModal StopUntil( { || ::lExit } ) endif if on my source insert this command : oPrn:=PrintBegin("Stampa fattura prenotazione "+aDat[6],.F.,lPrv,,.T.) oPrn:lPrvModal:=.T. oPrn:SetPortrait() CursorWait()
by Silvio
Fri Jun 19, 2009 3:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: rpreview error :why ????
Replies: 6
Views: 1360

Re: ¿Cómo enviar a Excel reporte con TPrinter?

... cChar ) EndIf Return Nil METHOD Separator( nPen, nRow ) CLASS TMPrinter If ::lSalida // Else Super:Separator(nPen, nRow) EndIf Return Nil Function PrintBegin( cDoc, lUser, lPreview, xModel, lModal, lSelection ) local aPrn local cText, cDevice local nScan PUBLIC lSalid2 lSalid2 := lSelection If ...
by ManolinM2008
Fri Jun 19, 2009 12:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Cómo enviar a Excel reporte con TPrinter?
Replies: 14
Views: 6032
PreviousNext

Return to advanced search