diff options
author | Rene Ladan <rene@FreeBSD.org> | 2023-06-30 23:38:40 +0200 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2023-06-30 23:54:46 +0200 |
commit | 81c4ecd37c4a21200f1989d043d23354f28ff7d7 (patch) | |
tree | f04b09997f08db373cfa1d020b1c9359bf48c2bf /print/ghostscript7-x11/files/patch-src_gdevlbp8.c | |
parent | sysutils/backdown: Add new port (diff) |
cleanup: Remove expired GhostScript 7 ports:
2023-06-30 print/ghostscript7-base: Obsolete and unsupported upstream, consider using a more recent version
2023-06-30 print/ghostscript7-commfont: Obsolete and unsupported upstream
2023-06-30 print/ghostscript7-korfont: Obsolete and unsupported upstream
2023-06-30 print/ghostscript7-x11: Obsolete and unsupported upstream
2023-06-30 print/ghostscript7-jpnfont: Obsolete and unsupported upstream
Diffstat (limited to 'print/ghostscript7-x11/files/patch-src_gdevlbp8.c')
-rw-r--r-- | print/ghostscript7-x11/files/patch-src_gdevlbp8.c | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/print/ghostscript7-x11/files/patch-src_gdevlbp8.c b/print/ghostscript7-x11/files/patch-src_gdevlbp8.c deleted file mode 100644 index 190ba3a0ad10..000000000000 --- a/print/ghostscript7-x11/files/patch-src_gdevlbp8.c +++ /dev/null @@ -1,69 +0,0 @@ ---- src/gdevlbp8.c.orig 2003-01-17 00:49:00 UTC -+++ src/gdevlbp8.c -@@ -22,6 +22,8 @@ - - /* - Modifications: -+ 3.10.00 Johnny Lam -+ Removed LIPS III code, as it's obsoleted by gdevlips driver. - 2.2.97 Lauri Paatero - Changed CSI command into ESC [. DCS commands may still need to be changed - (to ESC P). -@@ -49,7 +51,6 @@ problems - - /* The device descriptors */ - private dev_proc_print_page(lbp8_print_page); --private dev_proc_print_page(lips3_print_page); - - const gx_device_printer far_data gs_lbp8_device = - prn_device(prn_std_procs, "lbp8", -@@ -58,14 +59,6 @@ const gx_device_printer far_data gs_lbp8 - 0.16, 0.2, 0.32, 0.21, /* margins: left, bottom, right, top */ - 1, lbp8_print_page); - --const gx_device_printer far_data gs_lips3_device = -- prn_device(prn_std_procs, "lips3", -- 82, /* width_10ths, 8.3" */ -- 117, /* height_10ths, 11.7" */ -- X_DPI, Y_DPI, -- 0.16, 0.27, 0.23, 0.27, /* margins */ -- 1, lips3_print_page); -- - /* ------ Internal routines ------ */ - - #define ESC 0x1b -@@ -84,23 +77,6 @@ static const char lbp8_init[] = { - - static const char *lbp8_end = NULL; - --static const char lips3_init[] = { -- ESC, '<', /* soft reset */ -- DCS, '0', 'J', ST, /* JOB END */ -- DCS, '3', '1', ';', '3', '0', '0', ';', '2', 'J', ST, /* 300dpi, LIPS3 JOB START */ -- ESC, '<', /* soft reset */ -- DCS, '2', 'y', 'P', 'r', 'i', 'n', 't', 'i', 'n', 'g', '(', 'g', 's', ')', ST, /* Printing (gs) display */ -- ESC, '[', '?', '1', 'l', /* auto cr-lf disable */ -- ESC, '[', '?', '2', 'h', /* auto ff disable */ -- ESC, '[', '1', '1', 'h', /* set mode */ -- ESC, '[', '7', ' ', 'I', /* select unit size (300dpi)*/ -- ESC, '[', 'f' /* move to home position */ --}; -- --static const char lips3_end[] = { -- DCS, '0', 'J', ST /* JOB END */ --}; -- - /* Send the page to the printer. */ - private int - can_print_page(gx_device_printer *pdev, FILE *prn_stream, -@@ -204,10 +180,3 @@ lbp8_print_page(gx_device_printer *pdev, - { return can_print_page(pdev, prn_stream, lbp8_init, sizeof(lbp8_init), - lbp8_end, sizeof(lbp8_end)); - } -- --/* Print a LIPS III page. */ --private int --lips3_print_page(gx_device_printer *pdev, FILE *prn_stream) --{ return can_print_page(pdev, prn_stream, lips3_init, sizeof(lips3_init), -- lips3_end, sizeof(lips3_end)); --} |