From: neuss@igd.fhg.de (Christian Neuss)
Newsgroups: comp.text.tex
Subject: Re: BubbleJet parameter files for DVIDOT?
Date: 12 Aug 92 11:25:38 GMT
Organization: IGD Darmstadt

Dear Janet,
Dear fellow netters,

swisher@cs.utexas.edu (Janet M. Swisher) writes:

>I have a Canon BJ-10ex that I would like to use to print DVI files
>using DVIDOT.  The printer can emulate an Epson LQ or an IBM
>Proprinter, and I know that there are DVIDOT parameter files for these
>printers.  But I am curious whether there are also parameter files for
>BubbleJet printers, either the BJ-10ex or the BJ-130e, which it can
>also emulate.

I'm reposting a posting that was reposted a while ago.. :-)
I don't have the full name and e-mail address, sorry. 

Hope this helps,
Chris
/*
 *  Christian Neuss  %  neuss@igd.fhg.de  %  ..in the humdrum
 */
========================snip=====================


       As a reply to a question asked in a previous TeXHaX, I take the
freedom to post the entire bj10e.txt needed with Mattes' emTeX DVIDOT driver.
What you need to do is cut this file, and process it through MAKEDOT /C to
make the BJ10E.DOT file. You might also want to have a look at my BJ10E.CNF
config file for DVIDOT. Note that the BJ10E.DOT is the IBM4207M.DOT with a
few modifications.
      Maybe a few comments are necessary. As the BJ's manual is not very
expansive about the codes and such, I had to set up a work-around. The trouble
is that the printer is capable of full 360dpi vertical resolution in one pass,
but apparently doesn't have a command for a 1/360 inch vertical feed. So, to
start with, the METHOD=6 1, meaning one column of pixels is 48 pixels high, and
that one pass should be made per line. But then, the driver will do a 48/180
vertical feed every line, while it should do a 48/360 (24/180) feed. That is
precisely because the printer doesn't have a 1/360 inch carriage resolution.
So, ONE_LINE_FEED=48, to fool the driver into thinking one line is 48 units
tall, and INIT1 is set up with ESC '3 24, meaning one LF will be 24/180 inch.
Then put LINE_FEED=LF, and the trick is done.
     By the way, the code for setting the printer's high resolution (360x360)
mode is GRAPH_INIT=ESC '* 48. The printer's manual doesn't mention it, but
I found out, by tumbling on it :)
     One last word about the PAGE_WIDTH=8in. I use A4 (21cm wide), but if I say
PAGE_WIDTH=21cm, the driver complains that the page is wider than the number
in COLUMNS=2880 says. I couldn't work around this, so I sat down with this
setting. The rest is taken as is from the IBM4207M.DOT file (Proprinter 24XL),
except that there is no S_OPTION, because the Canon can do it all in one pass.
No skipped pixel, no low-speed printing.
     Hope this helps.

                                                     J. Han.

-------------------------BJ10E.TXT----------------------------------------
*
* bj10e.dot
*
COMMENT=Canon BJ-10e 360x360 (AGM)
ENV_NAME=BJ
LOG_NAME=dvidot
FONT_PATH=\emtex\p6h\$rdpi
PAGE_WIDTH=8in
PAGE_HEIGHT=29.7cm
FORM_LENGTH=
RESOLUTION=360 360
COLUMNS=2880
ONE_LINE_FEED=48
BLANK_WIDTH=36
METHOD=6 1
MAX_WIDTH=2880
PINS=7 0
MAX_LF=255
FF_METHOD=FF
S_OPTION=OFF
INIT1=CAN DC2 ESC 'F ESC 'H ESC 'I 0 ESC 'T ESC 'X 1 255 ESC "[@" 4 0 0 0 17 1
ESC '_ 0 ESC '- 0 ESC 'A 0 ESC '3 24 CR
INIT2=CAN DC2 ESC 'F ESC 'H ESC 'I 0 ESC 'T ESC 'X 1 255 ESC "[@" 4 0 0 0 17 1
ESC '_ 0 ESC '- 0 ESC 'A 0 ESC '3 24 CR
EXIT=ESC '2 ESC '0
GRAPH_MODE=ESC '* 48 LH+0
GRAPH_END=
LINE_FEED=LF
FORM_FEED=FF
POS_X=
----------------------------END OF BJ10E.TXT------------------------------

Of course, you can use the p6h fonts for the Canon. They're all 360 dpi.
But, since the processes are so different, you might want to recompile
the fonts with minor corrections about o_correction and such things.
I'm not familiar enough with METAFONT, so I just use the p6h fonts, which
you can get at Stuttgart.

So here's my config file, in case you might want to have a look at it.

----------------------------BJ10E.CNF-------------------------------------
% lj.cnf par T. Han; a modifier selon installation.
/pd=c:\emtex\texinput
/pl=c:\emtex\p6h;p6h_0;p6h_h;p6h_1;p6h_2;p6h_3;p6h_4;p6h_5
/pf=c:\emtex\p6h;c:\emtex\mfout
/pg=c:\emtex\texinput
/ps=c:\emtex\newfonts
/pv=c:\emtex\vf
/ucm
/h=29.7cm
/r=360
/rf=360
--------------------------------END OF BJ10E.CNF------------------------