Page 1 of 1

lines

Posted: Tue Oct 30, 2018 8:45 am
by jds
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

Re: lines

Posted: Tue Oct 30, 2018 9:18 am
by Silvio.Falconi
small sample

Code: Select all


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

Re: lines

Posted: Wed Oct 31, 2018 6:54 pm
by jds
Thanks to Silvio !