Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
dvilj2p(1)
Edit
PageHistory
Diff
Info
LikePages
DVILJK !!!DVILJK NAME SYNOPSIS DESCRIPTION OPTIONS special COMMANDS DOUBLE PAGE PRINTING ENVIRONMENT AUTHOR ---- !!NAME dvilj4, dvilj4l, dvilj2p, dvilj - convert a TeX DVI file to PCL, for HP !LaserJet printers !!SYNOPSIS __dvilj__ [[__--D__''number''] [[__-c__''copies''] [[__-d__''mode''] [[__-D__] [[__-E__] [[__-e__''outputfile''] [[__-f__''frompage''] [[__-g__] [[__-h__''headerfile''] [[__-l__] [[__-M__''flag''] [[__-m__''mag''] [[__-p__''pages''] [[__-q__] [[__-r__] [[__-t__''topage''] [[__-s__''pagesize''] [[__-v__] [[__-V__''mode''] [[__-w__] [[__-x__''xoff(mm)''] [[__-y__''yoff(mm)''] [[__-X__''xoff(dots)''] [[__-Y__''yoff(dots)''] [[__-z__] [[__-__] [[''filename''] !!DESCRIPTION Dvilj and siblings convert TeX-output .dvi files into PCL (the Hewlett-Packard Printer Control Language) commands suitable for printing on a HP !LaserJet+, HP !LaserJet IIP (using dvilj2p), HP !LaserJet 4 (using dvilj4), and fully compatible printers. Dvilj4 also provides support for the builtin Intellifont and !TrueType fonts; TFM and VF files are provided in the distribution. Virtual fonts are not supported directly by Dvilj, so you must run dvicopy(1) first, or otherwise expand the virtual fonts All programs are generated from one source file dvi2xx.c. They are usually called via a shell script or as a line printer filter. One such script, dvihp, is included in the distribution. It provides command-line options similar to those of dvips(1). !!OPTIONS __--D__''number'' Debug according to the bits of ''number''; see the Kpathsea manual for values. Also turns on general verbosity. __-c__''number'' print each page ''number'' times (including original) __-d__''number'' print in duplex mode. The option -d''1'' means long edge binding, -d''2'' stands for short edge binding. This option is only selectable from ''dvilj2p'', and is known to work on the !LaserJet IId, !LaserJet IIId, and !LaserJet 4. __-D__[[-] Double-sided printing - see below; -D''1'' prints odd sides only, -D''2'' is for even pages, a trailing ''-'' suppresses printing of empty padding pages. __-E__ Switch printer into econo mode (dvilj4 only). __-e__''outfile'' Send output to ''outfile'' instead of the basename of dvi file extended with `.lj'. If ''outfile'' is `-' (as in `-e-') the output is directed to standard output and can be directly piped into a spooler. __-f__''pagenum'' Print pages with TeX page numbers greater than or equal to ''pagenum''. __-g__ ``go'' mode: do not reset printer at start of job. __-h__''headerfile'' Copy ''headerfile'' to output before translation of the DVI file. Used to send arbitrary commands to the laserprinter. __-l__ print output in landscape mode; supported only by dvilj2p and dvilj4. __-M__''flag'' Do (not) call mktexpk to generate fonts on demand. __-M__''1'' and __-M__ are equivalent. __-M__''0'' enables invoking mktexpk. (This is the same as dvips.) The default behavior (i.e., if no __-M__ option is given) is chosen at compile-time; as distributed, mktexpk is enabled. __-M__ is only valid if dvi2xx was compiled with support for mktexpk. __-m__''magnification'' Specify the magnification to use. The following are available:__ -m#__''usermag'' e.g., __#900 -m0__ equivalent to __-m#1000 -mh__ equivalent to __-m#1095 -m1__ equivalent to __-m#1200 -mq__ equivalent to __-m#1250 -m2__ equivalent to __-m#1440 -m3__ equivalent to __-m#1728 -m4__ equivalent to __-m#2074 -m5__ equivalent to __-m#2488__ __-p__''pagecount'' print ''pagecount'' pages after the starting page. __-q__ Quiet operation: omit final statistics, etc. __-r__ toggle page reversal; by default, pages are reversed. __-s__''pagesize'' Specify the page size:__ -s1__: executive (7.25in x 10.5in)__ -s2__: letter (8.5in x 11in)__ -s3__: legal (8.5in x 14in)__ -s26__: A4 (210mm x 297mm)__ -s80__: monarch (3.875in x 7.5in)__ -s81__: commercial-10 (4.125in x 9.5in)__ -s90__: international DL (110mm x 220mm)__ -s91__: international C5 (162mm x 229mm) All values are from the LJ II technical reference manual. If the -s commandline option is omitted, no clipping is performed at the bottom of the page. __-t__''pagenum'' Print pages with TeX page numbers less than or equal to ''pagenum''. __-v__ Verbose mode: list fonts used, etc. __-V__''mode'' compatibility mode. Use ''K'' for Kyocera, ''B'' for Brother, ''6'' for LJ6 printers. __-w__ Omit warnings. __-x__''offset'' global x-offset in mm on output page relative to 1 inch/1 inch origin __-y__''offset'' global y-offset in mm on output page relative to 1 inch/1 inch origin __-X__''offset'' global x-offset in dots on output page (overrides 1 inch/1 inch origin) __-Y__''offset'' global y-offset in dots on output page (overrides 1 inch/1 inch origin) __-z__ print a test page with the page counter at end of job __-__ Take input from standard input (must be seekable), write to standard output. If no arguments are specified a brief usage message is displayed. !!special COMMANDS TeX `special' commands that are implemented: __special{file=__ copy specified file to the printer; either vector- or bitmap-graphics PMP commands __special{hpfile=__ Same as `file'. others: There are a few other special commands implented for the LJ-series, which should only be used in connection with the distributed style files (e.g., graybox.sty). They may change in forthcoming versions. You can include Encapsulated !PostScript (EPS) files in the PCL files output by dvilj if you convert them to PCL first. The distribution includes a script `epspcl' to do this (using Ghostscript, so your Ghostscript must have the necessary !LaserJet driver(s) compiled in). !!DOUBLE PAGE PRINTING The command line option -D causes the printer to print in doublepage mode, that is, roughly speaking, printing first the even pages and then the odd pages of a document. If -D is used to print both even and odd pages (-D is used without the optional ''1'' or ''2'') the following will happen after half of the pages is printed: __LJ:__ the printer stops, shows message __ If -D1 was specified only odd pages will be printed, -D2 can be used for even pages. A trailing `-' (as in -D-, -D1- or -D2-) supresses printing of empty pages which are generated for padding otherwise. The driver allows the -D option for both print-directions (front-to-back or back-to-front printing). It tries to be clever in certain cases: when a document has an odd number of pages it inserts in the right place an empty page when a document starts with page 0 the driver inserts an empty page after the 0-page when a piece of a document is printed that starts with an even page-number it prints this page at the backside of the first page to ensure that the odd sides are always on the frontside. The 0-page is treated like an odd page. The doubleside option works for all LJs, not only for the new D model with does doubleside-printing (actually, I don't know whether it makes much sense on the new LJ II D at all). Caveat on the doubleside-option: When it is used frequently or on very large files, it might become necessary to clean the printer much more frequently. The command line option -pX can be used to abort printing after the output of X pages (can lead to strange results together with -D). I personally dislike this option. The secure way of printing a part of a document is using -f (from) and -t (to). !!ENVIRONMENT Dviljk uses the same environment variables and algorithms for finding font files as TeX and its friends do. See the documentation for the Kpathsea library for details. (Repeating it here is too cumbersome.) DVILJFONTS, if set, overrides all other font paths. DVILJMAKEPK, if set, overrides `mktexpk' as the name of the command to execute to create a PK file if one isn't found. The DVILJSIZES variable may be set to indicate which sizes of fonts are available. It should consist of a list of numbers separated by colons. If the list begins with a colon, the system default sizes are used, as well. Sizes are expressed in dots per inch; decimals may be used for ``pxl'' files: for example, a 300 dots per inch file magnified by half a step comes out to 1643 dots per five inches, which should be encoded as 328.6. ''dvilj'' tries the actual size of the font before trying any of the given sizes. KPATHSEA_DEBUG: Trace Kpathsea lookups; set to -1 for complete tracing. !!AUTHOR Gustaf Neumann, Wirtschaftsuniversitaet Wien neumann@wu-wien.ac.at dviljk changes by kb@mail.tug.org; email bug reports to tex-k@mail.tug.org. ----
One page links to
dvilj2p(1)
:
Man1d
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.