Abstract:In this paper,a method for communication with the prin-ter in programming is presented,and typewriting multi-functionalgraphic with the printer is realized.The driving progeam of typewrit-ing graphs is designed and in it the contacts are given.The programcan be called conveniently by other program languages and the situationof using it on the EPSON,CP132,DL3400 et cetera is excellent.Thereduction and expansion,rotating,clipping,making up and typewritingin a given position for the typewritten graphs are realized conveniently,the line of graphs are beautiful,and the velocity of typewriting issatisfied.