I saw it in a previous post and now I can't find it.

need to draw vertical and horizontal lines with printer using x,y cordinates.

I think it's something like
printer.line (x1,y1) - (x2,y2)

but am not sure, any one verify this.