Search found 47 matches: hdcout

Return to advanced search

Re: nYoffset and nXoffset

... see that method box supports: nXoffset or nYottset. Look into printer.prg. METHOD Box( nRow, nCol, nBottom, nRight, oPen ) INLINE ; Rectangle( ::hDCOut, nRow, nCol, nBottom, nRight,; If( oPen != nil, oPen:hPen, 0 ) ) it's not the problem of oPrn:Box, but I think you have an old version of Tprinter ...
by Silvio.Falconi
Mon Jan 15, 2024 9:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: nYoffset and nXoffset
Replies: 11
Views: 832

Re: nYoffset and nXoffset

I do not see that method box supports: nXoffset or nYottset.
Look into printer.prg.
METHOD Box( nRow, nCol, nBottom, nRight, oPen ) INLINE ;
Rectangle( ::hDCOut, nRow, nCol, nBottom, nRight,;
If( oPen != nil, oPen:hPen, 0 ) )
by Otto
Mon Jan 15, 2024 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: nYoffset and nXoffset
Replies: 11
Views: 832

Re: Calculate total pages

... )     hMeta := GetEnhMetaFile(aFiles[nFor])PlayEnhMetaFile( oDevice:hDC, hMeta,, .t. )oDevice:hDCOut := oDevice:hDC                  oDevice:CmSay( Setup():RgNr_ROW2, Setup():RgNr_COL2, ...
by Otto
Fri Nov 24, 2023 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5870

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

Re: problema con DrawBitmap() usando tCodeBars

... local nCode := 14 // codigo para el CODEBARQR oCode := TCodeBars():New(600,600,10,10,nCode,cCode,0 ) oCode:Reset() oCode:Build() Drawbitmap( oPrn:hDCOut, oCode:hCodeBar, nRow,nCol) // aca deberia dibujar el QR hace unos dias lo hacia pero ahora no RETU oCode esta es la clase TCodeBars de Garcia ...
by rterraz
Mon Mar 15, 2021 12:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con DrawBitmap() usando tCodeBars
Replies: 10
Views: 1023

problema con DrawBitmap() usando tCodeBars

... con hbzebra.lib en Harbour para generar códigos de barras tipo QR. Hasta hace unos días funcionaba sin problemas, usando Drawbitmap( oPrn:hDCOut, oCode:hCodeBar, aRect[1],aRect[2]) los insertaba en una rutina oPrn. Se veían e imprimian a la perfección, hace 2 días sin ninguna explicación ...
by rterraz
Sun Mar 14, 2021 10:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con DrawBitmap() usando tCodeBars
Replies: 10
Views: 1023

Re: Know the size of a font selected

... VRD IF ::oPrn:hDC = 0 RETURN NIL ENDIF DEFAULT oFont := ::oPrn:oFont DEFAULT nBkMode := 1 DEFAULT nPad := 0 IF oFont != nil oFont:Activate( ::oPrn:hDCOut ) ENDIF // 1,2 transparent or Opaque SetbkMode( ::oPrn:hDCOut, nBkMode ) IF nClrText != NIL #IFDEF __HARBOUR__ SetTextColor( ::oPrn:hDCOut, nClrText ...
by Otto
Tue Nov 03, 2020 10:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Know the size of a font selected - Resolved -
Replies: 9
Views: 1324

Re: New FTDN July/Julio 2020 (FWH 20.07)

... y print02.prg Notas: a) Enlace harupdf usando "REQUEST FWHARU" en cualquier módulo del proyecto b) Cualquier salida que use hDC/hDCOut de TPrinter no se guarda en pdf. c) HaruPDF no admite texto unicode. Los programas que usan texto unicode no deben configurar TPrinter():lUseHaruPdf ...
by Antonio Linares
Sun Aug 02, 2020 12:15 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio 2020 (FWH 20.07)
Replies: 1
Views: 1210

New FTDN July/Julio 2020 (FWH 20.07)

... and print02.prg Notes: a) Link harupdf using "REQUEST FWHARU" in any module of the project b) Any output using TPrinter's hDC/hDCOut is not saved to pdf. c) HaruPDF does not support Unicode text. Programs using Unicode text should not set TPrinter():lUseHaruPdf to .t. * EasyReport ...
by Antonio Linares
Sat Aug 01, 2020 5:40 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio 2020 (FWH 20.07)
Replies: 1
Views: 1210

Re: HARUPDF Error

We should not use hDCOut

If we use the new syntax we do not have to use any of these premitives.
Please wait for my posting.
Please be patient.

Meanwhile, try these samples:

pdfharu1.prg, pdfharu2.prg, print01.prg, print02.prg
by nageswaragunupudi
Thu Oct 31, 2019 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HARUPDF Error
Replies: 5
Views: 886

Re: HARUPDF Error

Mr. Rao, now is further error:
Error description: Error BASE/1004 Message not found: FWPDF:HDCOUT
by byte-one
Thu Oct 31, 2019 9:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HARUPDF Error
Replies: 5
Views: 886

FW_SayText error

... https://i.postimg.cc/7P9GBTBF/errore-fw-txt.png in fact, a number was printed in the blue spot on source I made : //FW_SayText( ::hDCOut, cText, aRect, cAlign, oFont, nClrText, nClrBack ) oBtn[1]:bPainted := { |hDC| FW_DrawImage( hDC, ".\bitmaps\ombrellone.bmp", { 2, ...
by Silvio.Falconi
Tue Jul 16, 2019 4:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SayText error
Replies: 2
Views: 506

Re: SayBarCode control

... also on printer ? I made @10,10 SAYBARCODE oBC TEXT cCodice ; TYPE GiveMeType(nBCodeType) SIZE 500,50 ; COLOR nColor,CLR_WHITE ; PIXEL of oPrn:hDcOut any solution ? I sent you the test
by Silvio.Falconi
Sat Apr 13, 2019 10:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SayBarCode control
Replies: 34
Views: 6533

Re: New FWH 19.03

... that class every time you have an update. Here is what I suggested: line 614: Add: , nOldColor := GetTextColor( ) line 659: Add: SetTextColor( ::hDCOut, nOldColor ) I was surprised this was not considered on this release since the suggestion was provided several weeks ago, and from my perspective, ...
by TimStone
Tue Apr 09, 2019 12:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 19.03
Replies: 37
Views: 4955

Re: Problem when print CODE128 using Barlib

...  PRINT oPrn PREVIEW   oPrn:SetLandScape()   PAGE      oBarCode := FWER_BarCode():New( oPrn:hDCOut, cText, 700,100, 3000, 400, 3 )      WITH OBJECT oBarCode         :nBCodeType    := 3  // CODE 128         :nPinWidth     := 10         :ShowBarCode()  ...
by Marc Venken
Tue Mar 19, 2019 9:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem when print CODE128 using Barlib
Replies: 18
Views: 3193
Next

Return to advanced search