Re: Need help with Enhanced Printing


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on October 16, 2009 at 12:44:02:

In Reply to: Need help with Enhanced Printing posted by Stephen Auerbach on October 16, 2009 at 12:22:58:

Make sure you paint the "background" first. Otherwise the box will overwrite it's content.

This is how I draw a "white" box for "Sell To:" and "Ship To:" on an order or invoice.

! Rectangle size
RectWidth = (3.62 * TWIP.INCH)
RectHeight = (1.25 * TWIP.INCH)
RectTop = Y1 + LineHeight
RectLeft = (0.25 * TWIP.INCH)
! DRAW WHITE RECTANGLE FOR SOLD TO
Print (Lun) (TR);(SelectPen = PS.SOLID, THIN.PEN.WIDTH, 0, 0, 0)
Print (lun) (TR);(SelectSolidBrush = 255, 255, 255) ! SELECT WHITE

Set the four corner settings the way that fits your program. A lot of this was borrowed from Brian's examples and twisted in my unique and sometimes grotesque fashion.

Thin.pen.width sets the width of the border.

255,255,255 makes the box interior white. 230,230,230 is a very light gray. 220,220,220 is a bit darker.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]