Search found 75 matches: oprint

Return to advanced search

Re: CODIGO DE BARRAS. ERROR CON FILLRECT()

... un codigo de barras #include 'vta0000.ch' //----------------------------------------------------------------- function go_code( cBarra, nx,ny,oPrint,lHoRz, nColor, nWidth, nLen) //----------------------------------------------------------------- local n, oBr if empty(nColor) nColor := CLR_BLACK ...
by pedroluis
Fri May 10, 2024 9:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CODIGO DE BARRAS. ERROR CON FILLRECT()
Replies: 1
Views: 19

Re: Impresoras en Terminal Server

... se cierra la sesión en windows server, con lo cual se van acumulando hasta que llega un momento que cuando creas un objeto tprinter "PRINT oPrint TO cprn", te salta el cuadro de dialogo para seleccionar la impresora aunque cprn tenga el nombre y redireccionado correcto. Mirando el ...
by Sebastián Almirón
Wed Feb 07, 2024 3:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impresoras en Terminal Server
Replies: 6
Views: 340

Re: a Get on a buttonbar

... nYear:= 2022 local lWhenoCbx := .f. local nRecnos := "10" local cExtractSel := "Estrazioni continue" local oPrint,oExit DEFINE WINDOW oWnd MDICHILD TITLE "Child" VSCROLL    DEFINE BUTTONBAR oBar TOP  OF oWnd  2015    @ 2,5 COMBOBOX aShowCbx[1] ...
by Silvio.Falconi
Mon Oct 03, 2022 7:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: a Get on a buttonbar
Replies: 9
Views: 576

Re: Unattended creation of .pdf . resolution problem -- RESOLVED

... need to add an variable at the top of your program to be able to save the file Local lSaveHaru   := TPrinter():lUseHaruPDF  3) You define oPrint like this PRINT oPrint FILE "c:\dbtmp\"+cPdfName+".pdf"   // location and name of your .pdfoPrint:SetPage( 1 )oPrint:SetPortrait() ...
by Rick Lipkin
Thu Oct 14, 2021 9:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unattended creation of .pdf . resolution problem -- RESOLVED
Replies: 9
Views: 1312

Unattended creation of .pdf . resolution problem -- RESOLVED

... 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 Print Routine "+xLOGIN IF EMPTY( oPRINT:hDC ) MsgStop ( "Printer not Ready !" ) ...
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: 1312

Re: Impresion de Imagenes con TPRINTER

... partir de ellas paso todos los parametros en centimetros con decimales, me funciona muy bien. Por ejemplo : oimagen := TImage():Define(logo.jpg') oPrint:SayImage(Posx(nposx) , Posy(nposy) , oimagen, posx(nancho), posy(nalto)) //------------------------------------------------------------------------------// ...
by nageswaragunupudi
Mon Jun 28, 2021 9:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impresion de Imagenes con TPRINTER
Replies: 8
Views: 1349

Re: Impresion de Imagenes con TPRINTER

... partir de ellas paso todos los parametros en centimetros con decimales, me funciona muy bien. Por ejemplo : oimagen := TImage():Define(logo.jpg') oPrint:SayImage(Posx(nposx) , Posy(nposy) , oimagen, posx(nancho), posy(nalto)) //------------------------------------------------------------------------------// ...
by Sebastián Almirón
Mon Jun 28, 2021 8:19 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impresion de Imagenes con TPRINTER
Replies: 8
Views: 1349

Re: Creating a silent file to .pdf

oPRINT:StartPage() // error here <<<----------------------------------


What is the error you are getting?
What if you use the command
Code: Select all  Expand view

PAGE
....
ENDPAGE
 
by nageswaragunupudi
Thu Sep 10, 2020 4:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a silent file to .pdf
Replies: 18
Views: 2250

Re: Creating a silent file to .pdf

... .. The report I am trying to print to pdf works fine if you use the print viewer .. however, I am doing a lot in this report by using the Printer oPrint:nVertRes() and oPrint:nHorzRes() properties and placing my text on the page in relatively the same position based on what ever printer is used ...
by Rick Lipkin
Thu Sep 10, 2020 2:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a silent file to .pdf
Replies: 18
Views: 2250

Re: New FWH 19.09

... treated as Col and Col was treated as Row. Same way Bottom was treated as Right and Right was treated as Bottom. But a other thing is the pen in oPrint:box() and oPrint:roundbox(). I make a pen with "DEFINE PEN oPen1 WIDTH max(1,(max(oPrn:nHorzRes(),oPrn:nVertRes())/1800))" with exact ...
by byte-one
Wed Oct 23, 2019 11:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 19.09
Replies: 36
Views: 5817

Re: New FWH 19.09

Thanks! The pen is also in oPrint:box(...) bigger as before. In my case the pens are from type "object"
by byte-one
Wed Oct 16, 2019 8:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 19.09
Replies: 36
Views: 5817

Re: New FWH 19.09

oPrint:roundbox(…) is not compatible to older FWH. The rectangle are turned 90 degrees and the pen is bigger!
by byte-one
Wed Oct 16, 2019 7:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 19.09
Replies: 36
Views: 5817

Re: To Rick

Francisco Yes .. I am still using this code in my programs today ... oPRINT:SAY ( LINE, (oPrint:nHorzRes()*.07), cOwner, oFONT14b ) .. the oPrint:nHorzRes() is the calculation derived from the oPrint object which is your defined printer. This calculation allows ...
by Rick Lipkin
Tue Feb 05, 2019 3:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Rick
Replies: 4
Views: 815

Re: PEN oPen

The thickness from a pen must be calculated in dependence to the used printer! (or give the OF oPrint clausula as ukoenig say!)
by byte-one
Thu Nov 01, 2018 6:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PEN oPen
Replies: 7
Views: 940

Re: PEN oPen

DId You define the pen like

define PEN oPen width 5 OF oPRINT

sample lineprinting :
oPRINT:Line ( nFil, nCol, nTop, nBot, oPen )

regards
Uwe :?:
by ukoenig
Thu Nov 01, 2018 5:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PEN oPen
Replies: 7
Views: 940
Next

Return to advanced search