To Nages: oprn:Box

To Nages: oprn:Box

Postby Silvio.Falconi » Wed Oct 28, 2020 7:25 am

Dear Nages,
I thought you had solved it but I saw that there are problems as the writing is not where I would like it to be. the Boxes are created well but each writing both the small one above the Boxes and the one sent with the PRINT TO command are in the wrong position.
Before I did not notice the error because I was using the virtual preview at home since I do not have the printer at home while this morning at school I realized that something was wrong and the computer is equipped with an HP printer (jet Ink) how could I solve the problem?


I did this at home with the virtual preview ie without the printer

Image

I created this one this morning at work

Image

sample

Code: Select all  Expand view
nRow:= 5.5
            nCol:= 1
            nHei:= nRow+0.8
            nWid:= 5.5

         oPrn:Box(nRow,nCol,nHei,nWid,  { CLR_BLACK, nMoltoFine }, CLR_HGRAY, ;
                    { " Tipo documento", oFont, CLR_WHITE, "TL" }, ;
                      "CM" )

            nCol:= 5.5// nWid
            nHei:= nRow+0.8
            nWid=  nCol+2.5

        oPrn:Box(nRow,nCol,nHei,nWid,  { CLR_BLACK, nMoltoFine }, CLR_HGRAY, ;
                    { " Numero documento", oFont, CLR_WHITE, "TL" }, ;
                      "CM" )

.....


 nRow:= 3.98

           @ nRow,1 PRINT TO oPrn TEXT "Descrizione documento" SIZE 6, 4 CM FONT oFont2 ;
         COLOR CLR_BLACK  ALIGN "L"

          @ nRow,5.8 PRINT TO oPrn TEXT "Numero" SIZE 6, 4 CM FONT oFont2 ;
         COLOR CLR_BLACK  ALIGN "L"

            @ nRow,8.8 PRINT TO oPrn TEXT "Data" SIZE 6, 4 CM FONT oFont2 ;
         COLOR CLR_BLACK  ALIGN "L"
 
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7033
Joined: Thu Oct 18, 2012 7:17 pm

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 16 guests