seem a joke..... local nResHoriz := oWnd:nHorzRes() local nResVert := oWnd:nVertRes() where is oWnd ? I don't always have the main window where I can find the oWnd? Such a solution seems strange to me Hi Silvio, you must not take 'oWnd' but take ...
... evaluate oPrinter to get the Horizontal and vertical values : nRowStep := oPrint:nVertRes() / 55 // pixel per line = 57.65 @ 55 nColStep := oPrint:nHorzRes() /130 // columns I use these values to place the output in specific places within the above range .. and use font pixels to arrange the text ...
... // Set the resolution divided by the standard 8.5x11 inch paper rows/columns nRsp := oPrn:nVertRes() / 68 // Number of rows nCsp := oPrn:nHorzRes() / 85 // Number of columns I've used these for years with success. You can even implement color if you wish. What I haven't tried (yet) is ...
... 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 .. I just do not know where ...
... 12/8/2006 7:58 PM - JBott Here are two sets of data from different devices (both for 8.5x11 inch paper). Previously, I assumed that nHorzRes() was the dimension of the paper but it is the printable area of the page. All the vars refer to the printable area except for GetPhySize(). ...
Hola: Sobre el ajuste del gráfico a la página, en mi caso lo he resuelto así: nhz=oprn:nHorzres()-(oprn:nHorzres()/3.0), dándole al jpg el tamaño deseado en horizontal y sin tocar el vertical. El resultado es que yo deseaba. Tengo un prblema extraño que no consigo ...
... functionality. Thanks for understanding and we highly appreciate your cooperation. I make a pen with "DEFINE PEN oPen1 WIDTH max(1,(max(oPrn:nHorzRes(),oPrn:nVertRes())/1800))" Instead please use DEFINE PEN oPen WIDTH nWidth OF oPrn // FWH1909 This will accurately translate ...
... 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 pixels. In the METHOD ParamPen(..) you use case cType == "O" .AND. anoPen:IsKindOf( ...
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 the printed ...