Search found 113 matches: oprinter

Return to advanced search

Re: Creating table with Trichedit

... cOutFile) */ Return .T. ************************************** FUNCTION SetRT(cOutFile) ************************************** LOCAL oRTF Public oPrinter,aSize DEFINE RTF oRTF FILE cOutFile ; FONTS "Times New Roman", "Courier New", "Arial Cyr" ; FONTFAMILY "froman","fswiss","fmodern"; ...
by Silvio.Falconi
Mon Jan 29, 2024 3:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 1457

Re: Creating table with Trichedit

... cOutFile) */ Return .T. ************************************** FUNCTION SetRT(cOutFile) ************************************** LOCAL oRTF Public oPrinter,aSize DEFINE RTF oRTF FILE cOutFile ; FONTS "Times New Roman", "Courier New", "Arial Cyr" ; FONTFAMILY "froman","fswiss","fmodern"; ...
by MMK
Mon Jan 29, 2024 11:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 1457

Resuelto -Error en PRINTER oPrinter FROM USER

Me respondo. Controlando el valor de oPrinter:hDC Si = 0 pulsó ESC. /* **************************************************** */ Hola a todos, Estoy usando esta instrucción: PRINTER oPrinter FROM USER PREVIEW NAME "Llista d'avisos i errors." ...
by FiveWiDi
Sun Feb 12, 2023 12:27 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Resuelto -Error en PRINTER oPrinter FROM USER
Replies: 0
Views: 144

Generar PDF desde TPrinter.

... Estoy intentando generar un PDF de 11 páginas (irá creciendo poco a poco) desde Tprinter. La intención es hacerlo de manera automática sin usar el oPrinter:Preview(), directamente con FWSavePreviewToPDF( oPrinter, oPrinter:cFile, .T. ), pero pierde alguna página a veces sobre todo en el primer ...
by FiveWiDi
Sat Feb 11, 2023 12:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar PDF desde TPrinter.
Replies: 2
Views: 258

Re: Consejos sobre el uso de las clases TImprime y TUtilPrn

... 0.5 ,; // medio cm. para margenes de PAGE nAncho := 0,; nAlto := 0 if nAncho <= 0 nAncho := 5 endif if nAlto <= 0 nAlto := 5 endif xCor := ::oPrinter:Cmtr2Pix( nArriba,nIzq ) yCor := ::oPrinter:Cmtr2Pix( nAncho,nAlto ) IF lPage yCor[1] := ::oPrinter:nHorzRes() - xCor[2]*2 // Restando lo mismo ...
by nanoespinoza
Tue Nov 15, 2022 12:42 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consejos sobre el uso de las clases TImprime y TUtilPrn
Replies: 9
Views: 914

Re: Problems with Preview

Hi Antonio, Both the TEMP and TMP variables were a strange folder that doesn't even exist and that was also the oprinter:cdir folder. So I created my own temp folder and changed oprinter:cdir to that folder. When running your sample code 2 emf files appeared in that folder, but ...
by dtussman
Sat Nov 12, 2022 1:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with Preview
Replies: 14
Views: 812

Re: Problems with Preview

... Please check these values remotely: MsgInfo( GetEnv( "TEMP" ) ) MsgInfo( GetEnv( "TMP" ) ) MsgInfo( GetWinDir() ) MsgInfo( oPrinter:cDir ) will tell you which one is in use as this is the code where the preview sets the temporary folder:      ::cDir   = GetEnv( "TEMP" ...
by Antonio Linares
Fri Nov 11, 2022 8:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with Preview
Replies: 14
Views: 812

Re: FW Preview Menu

Hello Detlef, oPrinter:lPreview Interesting, just yesterday I was dealing with this issue. https://www.facebook.com/groups/modharbour.club/?multi_permalinks=1114768252410734 I tried to open the oReport with and without ...
by Otto
Thu May 05, 2022 10:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW Preview Menu
Replies: 6
Views: 504

Re: Print RTF using tPRINTER class ?????

Dear Tim,

I am checking with Rao and Cristobal to implement a

oPrinter:SayRTF()

based on:
REPrintBox5( oRTF:hWnd, If( lPreview, oPrn:hDCOut, oPrn:hDC ), ;
oRTF:IsSelection(), ;
aRTF[ 1 ] + 20, 110, aRTF[ 1 ] + 1000, aRtf[ 2 ] + 990, 0 )
by Antonio Linares
Sat Dec 11, 2021 7:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print RTF using tPRINTER class ?????
Replies: 6
Views: 754

Unattended creation of .pdf . resolution problem -- RESOLVED

... is the result I am looking for .. on certain machines .. TSHIREY.1.pdf for some reason is generated with the wrong resolution. Question ... How is oPrinter object created in this code .. nView = 3 //nView := 3 Do Case Case nVIEW = 1 PRINTER oPRINT FROM USER ; PREVIEW MODAL ; NAME "Request ...
by Rick Lipkin
Thu Sep 16, 2021 1:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unattended creation of .pdf . resolution problem -- RESOLVED
Replies: 9
Views: 1290

Re: SetLandscape

Please try it this way and lets check if there is a difference:

PrnLandscape( oPrinter:hDC )
...
PrnPortrait( oPrinter:hDC )
by Antonio Linares
Sun Jun 13, 2021 4:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetLandscape
Replies: 11
Views: 1265

Re: ARCHIVOS *.EMF DEL PREVIEW - Imposible borrarlos

... con el de versiones anteriores y es igual. Hay algo que mantiene los emf capturados y impide actuar al ferase() del metodo end(). He probado con oprinter:end() y oprinter:=nil y nada Ya me canse voy a tratar por otro lado Muchas gracias. Pd. Cuando cierro la aplicacion los archivos se liberan.poe ...
by rterraz
Mon Aug 13, 2018 8:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ARCHIVOS *.EMF DEL PREVIEW - Imposible borrarlos
Replies: 9
Views: 1490

EMF - Enhanced meta file no se borran

... de las versiones 10 y 18 de Fivewin. ************************* FWH 18 CLASS - printer.prg ************************* function PrintEnd() if oPrinter:lMeta if Empty( oPrinter:cFile ) oPrinter:Preview() elseif "pdf" $ Lower( oPrinter:cFile ) FWSavePreviewToPDF( oPrinter, If( Lower( ...
by mterraz
Mon Aug 06, 2018 10:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EMF - Enhanced meta file no se borran
Replies: 0
Views: 569

Re: imprimir etiqueta en zebra GC420t

... := SPACE(13) public ocodigo if msgyesno ("Imprime Codigo de trazabilidad ","Trazabilidad Compras") printersetup() printer oprinter NAME "IMPRESION CODIGO DE BARRAS" oprinter:lPrvmodal := .T. define brush oBr color CLR_YELLOW define font oFont name 'ARIAL' size ...
by devwin2010
Thu Apr 12, 2018 1:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: imprimir etiqueta en zebra GC420t
Replies: 4
Views: 1158

Re: access to window via its :hwnd

Without the NOWAIT the dialog showed on the screen and waited until closed. I tried to send a reference to an oPrinter object also. same results - the system either hung or GPF'ed depending on what and how I passed it. I can't readily see how to gain access to an object created ...
by don lowenstein
Mon Jan 08, 2018 4:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: access to window via its :hwnd
Replies: 10
Views: 1789
Next

Return to advanced search