From owner-FreeBSD-users-jp@jp.freebsd.org  Tue Feb 24 00:54:32 1998
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) id AAA15064
	Tue, 24 Feb 1998 00:54:32 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) with ESMTP id AAA15044
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 24 Feb 1998 00:54:28 +0900 (JST)
Received: from chaos (skii020.osk.3web.ne.jp [202.235.198.244]) by pop2.osk.3web.ne.jp (8.8.7+2.7Wbeta7/3.6W-98010117) with SMTP id AAA20760; Tue, 24 Feb 1998 00:54:13 +0900 (JST)
Date: Tue, 24 Feb 1998 00:54:13 +0900 (JST)
Message-Id: <199802231554.AAA20760@pop2.osk.3web.ne.jp>
To: FreeBSDml <FreeBSD-users-jp@jp.freebsd.org>
From: Takashi KONDOH <cond@osk2.3web.ne.jp>
Cc: =?ISO-2022-JP?B?GyRCNmFGIxsoQg==?= =?ISO-2022-JP?B?GyRCTjQ7ShsoQg==?= <cond@osk2.3web.ne.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
X-Mailer: Becky! ver 1.21
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: FreeBSD-users-jp 24977
Subject: [FreeBSD-users-jp 24977] [Q]postscript=?ISO-2022-JP?B?GyRCJVUlISUkJWskchsoQg==?= 
 gs =?ISO-2022-JP?B?GyRCJEcbKEI=?= 
 MJ-800C=?ISO-2022-JP?B?GyRCJEs9UE5PJEckLSReJDskcyEjGyhC?=
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

cond$B!w(B3Web $B$G$9!#(B


$B2H$N(BFreeBSD$B$K$F%W%j%s%H%"%&%H$O!"IaDL$NF|K\8l%F%-%9%H(B
$B%U%!%$%k$O(B esc-if $B$r;H$C$F!"=PNO$G$-$F$$$^$9!#(B
ghostscript $B$r;H$C$F!"(BTeX->DVI->PS $B$H$7$F:n$C$?(B
$B%]%9%H%9%/%j%W%H%U%!%$%k$,0u:~=PMh$^$;$s!#(B
$BKM$N$I$N@_Dj$,$*$+$7$$$N$+65$($F$b$i$($^$;$s$G$7$g$&$+!)(B



$B$"$H!"$^$H$^$C$?<j85$NJ8=q$N;qNA$H$7$F$O!"%"%9%-!<=PHG6I$N(B
FreeBSD$B%O%s%I%V%C%/(B(1997/12/31 $B=iHGH/9T(B)$B$,$"$j$^$9!#(B


$B4D6-(B
----
FreeBSD-2.2.2-R(UnixUser97$BG/(B8$B9f(BDisk2(Vol.41)$B$NJ*(B)
Epson MJ-800C($B%Q%i%l%k@\B3(B lpt0)




$B0lO"$N5-O?(B
------------------------------------------------------------
Script started on Mon Feb 23 23:03:34 1998
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
$B%5%s%W%k$N(BTEX $B%U%!%$%k(B $B$G$9!#(B
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
%cat test.tex
\documentstyle[a4j,12pt]{jarticle}
\pagestyle{empty}
\renewcommand{\baselinestretch}{1.2}
\setlength{\kanjiskip}{0.6pt plus 0.4pt minus 0.5pt}
\setlength{\xkanjiskip}{\kanjiskip}
\setlength{\jot}{10pt}
\begin{document}
\begin{center}
  {\Large $BBjL>$@!<!<!*(B}
\end{center}
\vspace{14pt}
\begin{center}
\begin{picture}(360, 15)
  \put(0, 0){\large $BJ?@.(B10$BG/(B} \put(200, 0){\large 00000} 
  \put(285, 0){\large $B$J$J$7$N%4%s%Y(B}
\end{picture}
\end{center}
\vspace{14pt}
\begin{center}
\begin{picture}(360, 20)
  \put(150, 0){\LARGE $B35(B} \put(190, 0){\LARGE $BMW(B}
\end{picture}
\end{center}
\vspace{14pt}

$B$3$l$O%F%9%HJ8$G$9!#(B


\end{document}



$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
$B#T#E#X%U%!%$%k$+$i#D#V#I%U%!%$%k@8@.(B
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
%jlatex test.tex
This is PTeX, C Version 2.99 j1.7e p1.0.9F (no format preloaded)
(test.tex
LaTeX Version 2.09 <24 May 1989>
(/usr/local/share/tex/ainputs/jarticle.sty
Document Style `jarticle' <18 Dec 88>.
(/usr/local/share/tex/ainputs/jart12.sty))
(/usr/local/share/tex/ainputs/a4j.sty)
No file test.aux.
[1] (test.aux)
Output written on test.dvi (1 page, 584 bytes).
Transcript written on test.log.
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
$B#X#D#V#I$G8+$k!#@53N$K8+$l$F$^$9!#(B
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
%xdvi test.dvi
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
$B#D#V#I!]!d#P#S(B $B$XJQ49(B
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
%dvi2ps test.dvi > test.ps
@(#)dvi2ps (j-version) 2.0j(gamma)
[/usr/local/lib/dvi2ps/dvi2.ps] [/usr/local/lib/dvi2ps/fonts/ascfix-c.ps] 
Prescanning .
Reading font info .....
[1] 
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
$B#G#S$G8+$k!#F|K\8l%P%C%A%j8+$l$F$^$9!#(B
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
%gs test.ps
Initializing... done.
Installing Kanji fonts... done.
Ghostscript 2.6.2 (4/19/95)
Copyright (C) 1990-1995 Aladdin Enterprises, Menlo Park, CA.
  All rights reserved.
Ghostscript comes with NO WARRANTY: see the file COPYING for details.
>>showpage, press <return> to continue<<

GS>quit
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
$BKM$N(B /etc/printcap $B$G$9!#(B
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B

%cat /etc/printcap
#	@(#)printcap	5.3 (Berkeley) 6/30/90

lp:Canon BJ-10V:\
	:lp=/dev/lpt0:sd=/var/spool/lpd:\
	:pw#80:pl#66:sf:sh:\
	:if=/usr/local/libexec/esc-if:\
	:lf=/var/log/lpd-errs:

ps|gs|Ghostscript PS2 printer:\
#	:lp=/dev/lpt0:sh:mx#0:\
	:lp=/dev/lpt0:sd=/var/spool/lpd:\
#	:lf=/var/log/lpd-errs-gs:\
	:lf=/var/log/lpd-errs:\
#	:sd=/var/spool/lpd/gs:\
#	:if=/usr/local/libexec/gsif:
	:if=/usr/local/libexec/gsif:
# THE END OF printcap


$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
$B>e5-$N(B gsif $B$N<B:]$NJ*$G$9!#(B
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
%cat /usr/local/libexec/gsif
#!/bin/sh 
#
#  gsif - Print Ghostscript-simulated Postscript 
#  on a HP LaserJet 4 or 5 or 6.
#  Installed in /usr/local/libexec/gsif
#
# Treat LF as CR+LF:
#
printf "\033&k2G" || exit 2

#
#
#

if [ "$first_two_chars" = "%!" ]; then
#
# It is PostScript; use Ghostscript to scan-convert and print it
#
/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=mjc360 -sOutputFile=- - \
	&& exit 0

else
    echo $first_line && cat && printf "\f" && exit 2
fi

exit 2
# THE END OF FILE gsif

$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
lpr $B$G=PNO$7$^$9!#(B($B$3$l$,Bg<:GT!*!*!*!*(B)
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B

%lpr -Pps test.ps
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
$B;f$N=PNO$O0J2<$N$h$&$K$J$j$^$7$?!#(B(PS $B$,$=$N$^$^(B
$B=P$F$-$F$$$k$N$G$O$J$$$h$&$J$N$G$9$,!&!&!&!&(B)
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
-----------------------------------------($B$3$N2<$N9T$+$i(B)
Xscale def
/urx exch TeXscale def
/lly exch TeXscale def
/llx exch TeXscale def
/y exch TeXscale def
/x exch TeXscale def
currentpoint /cy exch def /cx exch def
/sx x urx llx sub div def
/sx y ury lly sub div def
sx sy scale
cx sx div llx sub
cx sy div ury sub translate
/DefFigCTM matrix currentmatrix def
/initmatrix {
DefFigCTM setmatrix
} def
/initgraphics {
------------------------------($B$^$@$^$@B3$/!#(B)






$B0J2<$O(Btest.ps $B$N;O$a$N(B300$B9T$G$9!#(B

276$B9TL\$"$?$j$+$i;f$K=PNO$5$l$F$$$k$_$?$$$G$9!#(B
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
$B#p#s%U%!%$%k$N<B:]$NCf?H$G$9!#(B(300$B9T$^$G(B)
$B!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(B
%cat -n test.ps
     1	%!PS-Adobe-2.0
     2	%%Creator: dvi2ps
     3	%%Title: test.dvi
     4	%%Pages: (atend)
     5	%%BoundingBox: 0 0 595 842
     6	%%DocumentPaperSizes: A4
     7	%%Orientation: Portrait
     8	%%EndComments
     9	%%BeginFile: /usr/local/lib/dvi2ps/dvi2.ps
    10	%
    11	/TeXDict 300 dict def
    12	TeXDict begin
    13	/inch {
    14	72 mul
    15	} bind def
    16	/largepaperarray [
    17	/letter /legal /11x17
    18	/b4 /b5 /a5 /a4 /a3
    19	] def
    20	/smallpaperarray [
    21	/note dup where {
    22	pop
    23	}{
    24	pop /lettersmall dup where {
    25	pop
    26	}{
    27	pop /letter
    28	} ifelse
    29	} ifelse
    30	/legal /11x17
    31	/b4 /b5 /a5
    32	/a4small dup where {
    33	pop
    34	}{
    35	pop /note dup where {
    36	pop
    37	}{
    38	pop /a4
    39	} ifelse
    40	} ifelse
    41	/a3
    42	] def
    43	/setpaper {
    44	papertray {
    45	dup where {
    46	exch get exec
    47	}{
    48	pop
    49	} ifelse
    50	}{
    51	pop
    52	} ifelse
    53	} bind def
    54	/trayarray [
    55	/lettertray /legaltray /11x17tray
    56	/b4tray /b5tray /a5tray /a4tray /a3tray
    57	] def
    58	/settray {
    59	dup statusdict exch known manualfeed not and {
    60	mark exch statusdict begin load 
    61	{
    62	exec
    63	} stopped {
    64	$error /newerror get {
    65	$error /errorname get /rangecheck eq {
    66	(Tray not found, using default tray.\n) print flush
    67	TeXDict /papertray false put
    68	}{
    69	handleerror
    70	} ifelse
    71	$error /newerror false put
    72	} if
    73	} if
    74	end cleartomark
    75	}{
    76	pop
    77	} ifelse
    78	} bind def
    79	/papertray true def
    80	/widtharray  [
    81	8.5 inch 8.5 inch 11 inch
    82	10.12 inch 7.17 inch
    83	5.83 inch 8.27 inch 11.69 inch
    84	] def
    85	/heightarray [
    86	11 inch 14 inch 17 inch
    87	14.33 inch 10.12 inch
    88	8.27 inch 11.69 inch 16.54 inch
    89	] def
    90	/xoffset 0 def
    91	/yoffset 0 def
    92	/leftm 72 def
    93	/topm 72 def
    94	/landscape false def
    95	/manualfeed false def
    96	/pagesetup {
    97	dup widtharray exch get /paperwidth exch def
    98	dup heightarray exch get /paperheight exch def
    99	dup trayarray exch get settray
   100	large {largepaperarray}{smallpaperarray} ifelse
   101	exch get setpaper
   102	} bind def
   103	/@letter {0 pagesetup} def
   104	/@legal {1 pagesetup} def
   105	/@tabloid {2 pagesetup} def
   106	/@b4 {3 pagesetup} def
   107	/@b5 {4 pagesetup} def
   108	/@a5 {5 pagesetup} def
   109	/@a4 {6 pagesetup} def
   110	/@a3 {7 pagesetup} def
   111	/@landscape {/landscape true def} bind def
   112	/@manualfeed {
   113	/manualfeed true def
   114	statusdict /manualfeed known {
   115	statusdict /manualfeed true put
   116	statusdict /manualfeedtimeout 120 put
   117	} if
   118	} bind def
   119	/@large {
   120	/large true def
   121	} bind def
   122	/@small {
   123	/large false def
   124	} bind def
   125	/@envelope {
   126	/xoffset 4.28 inch def
   127	/yoffset 1.5 inch def
   128	@letter
   129	} bind def
   130	/COPIES	{
   131	/#copies exch def
   132	} bind def
   133	/NF {
   134	/newname exch def
   135	/fsize exch def
   136	/corr exch def
   137	newname 7 dict def
   138	newname load begin
   139	/FontType 3 def
   140	/FontMatrix [corr 0 0 corr neg 0 0] def
   141	/FontBBox [0 0 1 1] def
   142	/BitMaps fsize array def
   143	/BuildChar /CharBuilder load def
   144	/Encoding 256 array def
   145	0 1 255 {Encoding exch /.notdef put} for
   146	end
   147	newname newname load definefont pop
   148	} bind def
   149	/ch-image {ch-data 0 get} bind def
   150	/ch-width {ch-data 1 get} bind def
   151	/ch-height {ch-data 2 get} bind def
   152	/ch-xoff {ch-data 3 get} bind def
   153	/ch-yoff {ch-data 4 get} bind def
   154	/ch-tfmw {ch-data 5 get} bind def
   155	/CharBuilder {
   156	/ch-code exch def
   157	/font-dict exch def
   158	/ch-data font-dict /BitMaps get ch-code get def
   159	ch-data null eq not {
   160	ch-tfmw 0
   161	ch-xoff neg  ch-yoff neg ch-width ch-xoff sub ch-height ch-yoff sub
   162	setcachedevice
   163	ch-width ch-height true [1 0  0 1  ch-xoff ch-yoff]
   164	{ch-image} imagemask
   165	} if
   166	} bind def
   167	/NF2 {
   168	/newname exch def
   169	/fsize exch def
   170	/corr exch def
   171	newname 7 dict def
   172	newname load begin
   173	/FontType 3 def
   174	/FontMatrix [corr 0 0 corr neg 0 0] def
   175	/FontBBox [0 0 1 1] def
   176	/BitMaps fsize array def
   177	/BuildChar /CharBuilder2 load def
   178	/Encoding 256 array def
   179	0 1 255 {Encoding exch /.notdef put} for
   180	end
   181	newname newname load definefont pop
   182	} bind def
   183	/CharBuilder2 {
   184	/ch-code exch def
   185	/font-dict exch def
   186	/ch-data font-dict /BitMaps get ch-code get def
   187	ch-data null eq not {
   188	ch-tfmw 0
   189	ch-xoff neg  ch-yoff neg ch-width ch-xoff sub ch-height ch-yoff sub
   190	setcachedevice
   191	ch-xoff neg ch-yoff neg translate
   192	ch-image exec
   193	} if
   194	} bind def
   195	/BFT {
   196	/bf-v exch def
   197	/bf-h exch def
   198	findfont [bf-h 0 0 bf-v 0 0] makefont def
   199	} bind def
   200	/BFE /BFT load def
   201	/BFF {
   202	/bf-v exch def
   203	/bf-h exch def
   204	/savecurfont currentfont def
   205	findfont dup setfont
   206	3 -1 roll
   207	/bf-stand exch def
   208	[
   209	bf-stand stringwidth pop
   210	dup bf-h exch div
   211	exch bf-v exch div 0 0 3 -1 roll
   212	0 0
   213	] makefont def
   214	savecurfont setfont
   215	} bind def
   216	/SF /setfont load def
   217	/s3 3 string def
   218	/D {
   219	/ch-code exch def
   220	/ch-data exch def
   221	currentfont /BitMaps get ch-code ch-data put
   222	currentfont /Encoding get ch-code
   223	dup s3 cvs cvn
   224	put
   225	} bind def
   226	/BP {
   227	userdict /bop-hook known { bop-hook } if
   228	/SaveImage save def
   229	xoffset yoffset translate
   230	leftm topm
   231	landscape {
   232	exch translate
   233	90 rotate
   234	}{
   235	paperheight exch sub translate
   236	} ifelse
   237	72 Resolution div dup neg scale
   238	0 0 moveto
   239	} bind def
   240	/EP {
   241	showpage 
   242	SaveImage restore
   243	userdict /eop-hook known { eop-hook } if
   244	} bind def
   245	/START {
   246	userdict /start-hook known { start-hook } if
   247	/DVImag exch def
   248	/magscale true def
   249	/Resolution exch def
   250	} bind def
   251	/END {
   252	end
   253	userdict /end-hook known { end-hook } if
   254	} bind def
   255	/l /lineto load def
   256	/p /moveto load def
   257	/r {
   258	0 rmoveto
   259	} def
   260	/s /show load def
   261	/c /curveto load def
   262	/rs {
   263	90 rotate show -90 rotate 
   264	} bind def
   265	/ru {
   266	/dy exch neg def
   267	/dx exch def
   268	/x currentpoint /y exch def def
   269	newpath x y moveto
   270	dx 0 rlineto
   271	0 dy rlineto
   272	dx neg 0 rlineto
   273	closepath fill
   274	x y moveto
   275	} bind def
   276	/TeXscale { 65781.76 div } def
   277	/DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecap
   278	currentlinejoin currentdash currentgray currentmiterlimit ] cvx def
   279	/startTexFig {
   280	/SavedState save def
   281	userdict maxlength dict begin
   282	currentpoint transform
   283	DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap
   284	setlinewidth setmatrix
   285	itransform moveto
   286	magscale { DVImag dup scale } if
   287	/ury exch TeXscale def
   288	/urx exch TeXscale def
   289	/lly exch TeXscale def
   290	/llx exch TeXscale def
   291	/y exch TeXscale def
   292	/x exch TeXscale def
   293	currentpoint /cy exch def /cx exch def
   294	/sx x urx llx sub div def
   295	/sy y ury lly sub div def
   296	sx sy scale
   297	cx sx div llx sub
   298	cy sy div ury sub translate
   299	/DefFigCTM matrix currentmatrix def
   300	/initmatrix {

