-/* Compatabilty mode code by jna */
-int res = INCH; /* resolution when input prepared,
- * assume INCH to be default */
-int hres = 1; /* horizontal goobies in res when prepared */
-int vres = 1; /* vertical goobies in res when prepared */
-
- /*
- * to scale on resolution
- */
-#define SCALE(x) (int)(((double)INCH * (double)(x))/(double)(res))
- /*
- * to scale horizontal
- */
-#define HSCALE(x) (int)(((double)INCH * (double)(x))/((double)(res) * vres))
- /*
- * to scale vertical
- */
-#define VSCALE(x) (int)(((double)INCH * (double)(x))/((double)(res) * vres))
-
-#undef hgoto(n)
-#undef hmot(n)
-#undef vmot(n)
-#undef vgoto(n)
-
-#define hgoto(n) if((hpos = leftmarg + (HSCALE(n))) > maxh) maxh = hpos
-#define hmot(n) if((hpos += (HSCALE(n))) > maxh) maxh = hpos
-#define vmot(n) vpos += (VSCALE(n))
-#define vgoto(n) vpos = (VSCALE(n))