On Fri, Oct 11, 2002 at 11:33:50AM +0900, Rob Lahaye wrote: > >Just that the original thread was about whether we should hardcode the > >use of dvips. > > What's against? What's in favour? Are there alternatives? > Hardcode dvips would imply a strict dependency of LyX on dvips. > It also would mean we can remove the tab in the preferences.
Advantages: - Removing code - External dialogs have more options: selecting the printer from a list, controlling printer parameters (resolution, duplex etc). Disadvantages - If you need to print only few pages from a large document, the current code is faster as it generate the Postscript only for the printer pages. However, the DVI is still generated for all the pages, so the speed gain may not be substantial. - The behavior is printing a page range is different when the file contains a frontmatter. Note that the disadvantages are rather minor, and the user can provide its own printing dialog written in tcl/tk, python/tk etc. that will behave as the current dialog.