====== LINE Set_Printer Message ====== ==== Description ==== The LINE message is used to print a line at a specific location on the page using the current line style. The line style is set with the [[linestyle_set_printer_message|LINESTYLE]] message. The Repeat message is used to print the line on every page. ==== Parameters ==== ^Parameter\\ ^Description of Fields\\ ^Comments\\ ^Default\\ ^ |Parm1 - Location\\ |<1> X1\\ |Starting X position\\ |0\\ | | \\ |<2> Y1\\ |Starting Y position\\ |0\\ | | \\ |<3> X2\\ |Ending X position\\ |0\\ | | \\ |<4> Y2\\ |Ending Y position\\ |0\\ | |Parm2 - Repeat\\ |<1> Repeat on all pages\\ |0=Current page only\\ 1=Print on all pages\\ | \\ || ==== See Also ==== [[bmp_set_printer_message|BMP]], [[rect_set_printer_message|RECT]], [[ellipse_set_printer_message|ELLIPSE]] Set_Printer Messages, [[using_graphics|Using Graphics]] ==== Example ==== /* The following example uses the LINE message to print a bold line across the top of every page. */ declare function Set_Printer $insert OIPRINT_EQUATES stat = Set_Printer("INIT") ; Start printing stat = Set_Printer("HEADER", "Test Header") stat = Set_Printer("LINESTYLE", PS_SOLID:@fm:5) ;* 5 point line Print a line at the top of the page stat = Set_Printer("LINE", 0:@fm:1:@fm:7.5:@fm:1, 1) stat = Set_Printer("TERM") ;* End printing