--- gdevlbp8.c~ Wed May 29 20:48:33 1996 +++ gdevlbp8.c Thu Dec 26 21:07:35 1996 @@ -112,8 +112,21 @@ out_count = end_data - out_data; /* move down */ - CSI_print_1("%c%dd", lnum); - /* move across */ + /* The top dot line of the printable area has not */ + /* logical coordinate 0 but logical coordinate -63 */ + /* it is not possible to goto_absolute negative */ + /* thats why we use a relative up command */ + /* for the first 63 lines (12-24-96, Henk Blik) */ + if (lnum < 63) /* top line print area is -63 */ + { + CSI_print_1("%c%dd", lnum); + /* cannot goto neg values */ + CSI_print_1("%c%dk", 63); + /* move up relative */ + } + else + CSI_print_1("%c%dd", lnum - 63); + CSI_print_1("%c%d`", num_cols); /* transfer raster graphics */