On 05/03/2017 07:51 PM, Paul A. Rubin wrote:
> On 05/03/2017 07:42 PM, John White wrote:
>> On Tuesday, May 2, 2017 10:52:53 AM PDT John White wrote:
>>> I upgraded from Jessie to Stretch and now there is no print icon in
>>> lyx.
>>> Cntrl-d brings up xdvik and renders a dvi file.  Pushing cntrl-P in
>>> xdvik
>>> says it prints, but it doesn't.   So I have to export to pdf to print.
>>>
>>> Any suggestions as to how I might get a print option in lyx?
>>>
>>> John
>> I got xdvki/dvi to print fine (my alert IT guy added a missing
>> dependency), so
>> only question now is:  what happened to the print icon in lyx?  It
>> used to be
>> in the "File" dropdown menu.  Its no huge deal as now to print I
>> press cntrl-d
>> and then cntrl-p, instead of just cntrl-p as before, but it still seems
>> strange that there is no print icon in my lyx 2.2.2.
>>
>>
>>
> I believe Richard Heck answered this (but I've deleted my copy of the
> message). IIRC, he said that direct printing had been removed from LyX
> due to a combination of very few people using it and it being a PITA
> for the devs. 

One problem was that it had a ton of options that, again, seemed rarely
to be used. In a way, the more serious problem was that it was tightly
tied to DVI, so no PDF-specific features could be used.

> Personally, I never used it and never noticed it was gone. The
> "official" way to print now is to compile and view the document (which
> ctrl-D in LyX does for you) and then print it from the viewer (which
> ctrl-P apparently does in xdvik).

As I also mentioned, it's possible to restore printing, in a way, if one
wants to do so. The short version is:
    1. Use Tools> Preferences> File Handling> File Formats to create a
new "Print" format.
    2. Use Tools> Preferences> File Handling> Converters to define a new
(say) DVI --> Print converter. Define the converter as whatever command
line you might use to print. You can define a shortcut for this now if
you like.

Richard

Reply via email to