aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/vfghostscript
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-12-08 17:09:37 +0800
committermax <max@FreeBSD.org>1997-12-08 17:09:37 +0800
commit6d610494f991763e5de5c01320a5f2e1422ff563 (patch)
tree801e26424c1eeac9f0af5f0c3416f04390a02728 /japanese/vfghostscript
parent910174cb66d989737b3ecd2238009e97d7d5632e (diff)
downloadfreebsd-ports-gnome-6d610494f991763e5de5c01320a5f2e1422ff563.tar.gz
freebsd-ports-gnome-6d610494f991763e5de5c01320a5f2e1422ff563.tar.zst
freebsd-ports-gnome-6d610494f991763e5de5c01320a5f2e1422ff563.zip
Fixed fatal error for a printer driver (Epson ESC/Page)
Closes 4/4 of PR: 5246 Submitted by: maintainer
Diffstat (limited to 'japanese/vfghostscript')
-rw-r--r--japanese/vfghostscript/files/gdevep82.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/japanese/vfghostscript/files/gdevep82.patch b/japanese/vfghostscript/files/gdevep82.patch
index cb3c9ad7cb10..779d75e3dd83 100644
--- a/japanese/vfghostscript/files/gdevep82.patch
+++ b/japanese/vfghostscript/files/gdevep82.patch
@@ -139,7 +139,7 @@
+ }
+ sprintf(buf, "%cS%c%cS%c", ESC, ESC, ESC, FS); /* ESC/PS -> ESC/P */
+ sprintf(buf, "%cz%c%c", ESC, NULL, NULL); /* ESC/P -> ESC/Page */
-+ sprintf(buf,"\033\001@EJL \012@EJL ENLA=ESC/PAGE\012\033\001@EJL \012@EJL SE LA=ESC/PAGE\012@EJL SET EC=ON RS=%s PU=%s PS=%s ZO=OFF FO=OFF\012@EJL EN LA=ESC/PAGE\012",
++ sprintf(buf,"\033\001@EJL \012@EJL EN LA=ESC/PAGE\012\033\001@EJL \012@EJL SE LA=ESC/PAGE\012@EJL SET EC=ON RS=%s PU=%s PS=%s ZO=OFF FO=OFF\012@EJL EN LA=ESC/PAGE\012",
+ (ptype==EPAG300)?"QK":"FN",
+ "AU", /* "AU"..auto "2"..tray(maybe) "1"..casette1*/
+ ps