lines

lines

Postby jds » Tue Oct 30, 2018 8:45 am

How can I print horizontal and vertical lines in the tickness I want?
Please a simple solution if it exists, I am a non professional...
Thanks
jds
 
Posts: 122
Joined: Sat Dec 05, 2009 12:44 pm

Re: lines

Postby Silvio.Falconi » Tue Oct 30, 2018 9:18 am

small sample

Code: Select all  Expand view


function ViewInvoice( oBrw )

   local oPrn,oPen

PRINT oPrn NAME "INVOICE" PREVIEW
DEFINE PEN oPen WIDTH 11
 PAGE
  oPrn:CmBox( 23.40, 2.20, 27.20, 20.15, oPen )
         oPrn:CmLine( 24.00, 2.20, 24.00, 20.15, oPen )
 ENDPAGE
 ENDPRINT
 oPen:End()
return nil


to better construct an invoice I suggest you to use a graph paper with measures in millimeters ad this

Image



I suggest to you to create it on winword

Image


and then draw on it

Image
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

Re: lines

Postby jds » Wed Oct 31, 2018 6:54 pm

Thanks to Silvio !
jds
 
Posts: 122
Joined: Sat Dec 05, 2009 12:44 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 59 guests