Re: Using a network printer

2008-05-15 Thread christian . ridderstrom

On Sun, 23 Mar 2008, Helge Hafting wrote:

Some people have lpr instead of lp, consider replacing lp then. 
Cups (in debian: the package cupsys-client) provides a lp binary that 
lyx can use. This will print to whatever printer cups considers default.


In case it helps someone else, it turns out that in my Ubuntu 
installation, directing printing to 'lpr' or 'lp' helped, as that routed 
the output to the default printing.


/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-05-15 Thread christian . ridderstrom

On Sun, 23 Mar 2008, Helge Hafting wrote:

Some people have lpr instead of lp, consider replacing lp then. 
Cups (in debian: the package cupsys-client) provides a lp binary that 
lyx can use. This will print to whatever printer cups considers default.


In case it helps someone else, it turns out that in my Ubuntu 
installation, directing printing to 'lpr' or 'lp' helped, as that routed 
the output to the default printing.


/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-05-15 Thread christian . ridderstrom

On Sun, 23 Mar 2008, Helge Hafting wrote:

Some people have "lpr" instead of "lp", consider replacing "lp" then. 
Cups (in debian: the package cupsys-client) provides a "lp" binary that 
lyx can use. This will print to whatever printer cups considers default.


In case it helps someone else, it turns out that in my Ubuntu 
installation, directing printing to 'lpr' or 'lp' helped, as that routed 
the output to the default printing.


/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-03-23 Thread Michael Wojcik

[EMAIL PROTECTED] wrote:

On Fri, 21 Mar 2008, Mark Hansel wrote:

A restriction to print exclusively through viewers breaks lyx! There 
are circumstances where printing an exported ps file makes sense 
(e.g., multiple collated copies, transmit).


All of that can be done through viewers.

I don't think anyone proposes that we remove the ability to produce 
.ps-files... Personally, I think it'd be nice to be able to rpint 
directly from LyX.


Out of curiosity, why?

I print my documents on a Postscript-capable laser printer, and I've 
never bothered printing from LyX, because I always review the rendered 
document in a viewer before printing it. If I need to print an 
existing document without editing it, I generally have a copy of the 
final rendered version already available, so why re-render it? And if 
I don't, I'd just as soon run LyX in batch mode to produce one, than 
go through the GUI.


 The question as I see it is if it's worth spending
time trying to fix bugs in LyX that are related to printing. (And that 
are probably specific to the GNU/Linux distribution etc)


The worst one isn't: File  Print simply doesn't make sense, and 
that's true on all platforms. The design is broken. LyX supports 
multiple back ends, and as long as that's true, File  Print is at 
best ambiguous. At worst, it's simply broken, for example if I have 
pdflatex-specific packages or commands in my document (in the preamble 
or in ERT).


At the very least, the menu item should be named something like Print 
(Postscript) or Print (dvips). An unqualified Print menu action 
isn't meaningful for LyX.


--
Michael Wojcik



Re: Using a network printer

2008-03-23 Thread Helge Hafting

Dave Wood wrote:

How do I set up Lyx to use a network printer? At the moment I can print by
viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.

I have tried using the cups printer name, the server address:port etc to no
avail.

  

It is all set up in
tools-preferences-printer.

If you haven't done anything there, then the default is to create
a .ps file using dvips, and then hand that file to lp and use
whatever printer lp consider default. This works for many, but not all.
Perhaps you simply have to add the printer name in the right place.

Some people have lpr instead of lp, consider replacing lp then.
Cups  (in debian: the package cupsys-client) provides a lp binary
that lyx can use. This will print to whatever printer cups
considers default. It can also print to non-default printers if
you specify them in LyX.
Make sure this program actually is installed. It is possible to have
the cups server without client software installed. At least with 
debian/ubuntu.


If this doesn't work - either change the preferences so LyX
prints using whatever command line utility you have that
can get a postscript file to the printer, or change things
so lp works.

For experimentation, export a .ps file from LyX and try to
print it manually from the command line. When you have a command
that works, change LyX to use that.

The details of the lyx printer setup dialog is perhaps not that easy to
understand - ask again if you get more trouble.

Helge Hafting



Re: Using a network printer

2008-03-23 Thread christian . ridderstrom

On Fri, 21 Mar 2008, Michael Wojcik wrote:


 .ps-files... Personally, I think it'd be nice to be able to rpint
 directly from LyX.


Out of curiosity, why?


Different work flows I guess... I was writing a bit of math, more or less 
doing the derivations inside LyX. Now and then I want a hard copy to work 
on and proof read. In this case the document was purely for internal use, 
and I _know_ don't have to worry about checking it's appearance. Only the 
content mattered, so I never bothered with viewiers. Why should I? Even if 
the LyX screen doesn't show it exactly correct, it's still WYSIWYM, which 
was very good in this case.  However, I did need the hard copy as I'm 
often more creative with plain pen and paper - as are most people I 
suspect!



 The question as I see it is if it's worth spending time trying to fix
 bugs in LyX that are related to printing. (And that are probably
 specific to the GNU/Linux distribution etc)


The worst one isn't: File  Print simply doesn't make sense, and that's true 
on all platforms. The design is broken. LyX supports multiple back ends, and 
as long as that's true, File  Print is at best ambiguous. At worst, it's 
simply broken, for example if I have pdflatex-specific packages or commands 
in my document (in the preamble or in ERT).


At the very least, the menu item should be named something like Print 
(Postscript) or Print (dvips). An unqualified Print menu action isn't 
meaningful for LyX.


I'm inclined to agree with you... the drawback would be confusion for 
people that are used to other systems. If someone else thinks it's a good 
idea, I'll move this discussion to the developers' list and possibly make 
a bugzilla entry out of it.


Regards,
/christian

PS. I saw that Helge had some tips on getting printing to work, I'll look 
at that later.


--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-03-23 Thread Michael Wojcik

[EMAIL PROTECTED] wrote:

On Fri, 21 Mar 2008, Mark Hansel wrote:

A restriction to print exclusively through viewers breaks lyx! There 
are circumstances where printing an exported ps file makes sense 
(e.g., multiple collated copies, transmit).


All of that can be done through viewers.

I don't think anyone proposes that we remove the ability to produce 
.ps-files... Personally, I think it'd be nice to be able to rpint 
directly from LyX.


Out of curiosity, why?

I print my documents on a Postscript-capable laser printer, and I've 
never bothered printing from LyX, because I always review the rendered 
document in a viewer before printing it. If I need to print an 
existing document without editing it, I generally have a copy of the 
final rendered version already available, so why re-render it? And if 
I don't, I'd just as soon run LyX in batch mode to produce one, than 
go through the GUI.


 The question as I see it is if it's worth spending
time trying to fix bugs in LyX that are related to printing. (And that 
are probably specific to the GNU/Linux distribution etc)


The worst one isn't: File  Print simply doesn't make sense, and 
that's true on all platforms. The design is broken. LyX supports 
multiple back ends, and as long as that's true, File  Print is at 
best ambiguous. At worst, it's simply broken, for example if I have 
pdflatex-specific packages or commands in my document (in the preamble 
or in ERT).


At the very least, the menu item should be named something like Print 
(Postscript) or Print (dvips). An unqualified Print menu action 
isn't meaningful for LyX.


--
Michael Wojcik



Re: Using a network printer

2008-03-23 Thread Helge Hafting

Dave Wood wrote:

How do I set up Lyx to use a network printer? At the moment I can print by
viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.

I have tried using the cups printer name, the server address:port etc to no
avail.

  

It is all set up in
tools-preferences-printer.

If you haven't done anything there, then the default is to create
a .ps file using dvips, and then hand that file to lp and use
whatever printer lp consider default. This works for many, but not all.
Perhaps you simply have to add the printer name in the right place.

Some people have lpr instead of lp, consider replacing lp then.
Cups  (in debian: the package cupsys-client) provides a lp binary
that lyx can use. This will print to whatever printer cups
considers default. It can also print to non-default printers if
you specify them in LyX.
Make sure this program actually is installed. It is possible to have
the cups server without client software installed. At least with 
debian/ubuntu.


If this doesn't work - either change the preferences so LyX
prints using whatever command line utility you have that
can get a postscript file to the printer, or change things
so lp works.

For experimentation, export a .ps file from LyX and try to
print it manually from the command line. When you have a command
that works, change LyX to use that.

The details of the lyx printer setup dialog is perhaps not that easy to
understand - ask again if you get more trouble.

Helge Hafting



Re: Using a network printer

2008-03-23 Thread christian . ridderstrom

On Fri, 21 Mar 2008, Michael Wojcik wrote:


 .ps-files... Personally, I think it'd be nice to be able to rpint
 directly from LyX.


Out of curiosity, why?


Different work flows I guess... I was writing a bit of math, more or less 
doing the derivations inside LyX. Now and then I want a hard copy to work 
on and proof read. In this case the document was purely for internal use, 
and I _know_ don't have to worry about checking it's appearance. Only the 
content mattered, so I never bothered with viewiers. Why should I? Even if 
the LyX screen doesn't show it exactly correct, it's still WYSIWYM, which 
was very good in this case.  However, I did need the hard copy as I'm 
often more creative with plain pen and paper - as are most people I 
suspect!



 The question as I see it is if it's worth spending time trying to fix
 bugs in LyX that are related to printing. (And that are probably
 specific to the GNU/Linux distribution etc)


The worst one isn't: File  Print simply doesn't make sense, and that's true 
on all platforms. The design is broken. LyX supports multiple back ends, and 
as long as that's true, File  Print is at best ambiguous. At worst, it's 
simply broken, for example if I have pdflatex-specific packages or commands 
in my document (in the preamble or in ERT).


At the very least, the menu item should be named something like Print 
(Postscript) or Print (dvips). An unqualified Print menu action isn't 
meaningful for LyX.


I'm inclined to agree with you... the drawback would be confusion for 
people that are used to other systems. If someone else thinks it's a good 
idea, I'll move this discussion to the developers' list and possibly make 
a bugzilla entry out of it.


Regards,
/christian

PS. I saw that Helge had some tips on getting printing to work, I'll look 
at that later.


--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-03-23 Thread Michael Wojcik

[EMAIL PROTECTED] wrote:

On Fri, 21 Mar 2008, Mark Hansel wrote:

A restriction to print exclusively through viewers breaks lyx! There 
are circumstances where printing an exported ps file makes sense 
(e.g., multiple collated copies, transmit).


All of that can be done through viewers.

I don't think anyone proposes that we remove the ability to produce 
.ps-files... Personally, I think it'd be nice to be able to rpint 
directly from LyX.


Out of curiosity, why?

I print my documents on a Postscript-capable laser printer, and I've 
never bothered printing from LyX, because I always review the rendered 
document in a viewer before printing it. If I need to print an 
existing document without editing it, I generally have a copy of the 
final rendered version already available, so why re-render it? And if 
I don't, I'd just as soon run LyX in batch mode to produce one, than 
go through the GUI.


> The question as I see it is if it's worth spending
time trying to fix bugs in LyX that are related to printing. (And that 
are probably specific to the GNU/Linux distribution etc)


The worst one isn't: File > Print simply doesn't make sense, and 
that's true on all platforms. The design is broken. LyX supports 
multiple back ends, and as long as that's true, File > Print is at 
best ambiguous. At worst, it's simply broken, for example if I have 
pdflatex-specific packages or commands in my document (in the preamble 
or in ERT).


At the very least, the menu item should be named something like "Print 
(Postscript)" or "Print (dvips)". An unqualified "Print" menu action 
isn't meaningful for LyX.


--
Michael Wojcik



Re: Using a network printer

2008-03-23 Thread Helge Hafting

Dave Wood wrote:

How do I set up Lyx to use a network printer? At the moment I can print by
viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.

I have tried using the cups printer name, the server address:port etc to no
avail.

  

It is all set up in
"tools->preferences->printer".

If you haven't done anything there, then the default is to create
a .ps file using dvips, and then hand that file to "lp" and use
whatever printer "lp" consider default. This works for many, but not all.
Perhaps you simply have to add the printer name in the right place.

Some people have "lpr" instead of "lp", consider replacing "lp" then.
Cups  (in debian: the package cupsys-client) provides a "lp" binary
that lyx can use. This will print to whatever printer cups
considers default. It can also print to non-default printers if
you specify them in LyX.
Make sure this program actually is installed. It is possible to have
the cups server without client software installed. At least with 
debian/ubuntu.


If this doesn't work - either change the preferences so LyX
prints using whatever command line utility you have that
can get a postscript file to the printer, or change things
so "lp" works.

For experimentation, export a .ps file from LyX and try to
print it manually from the command line. When you have a command
that works, change LyX to use that.

The details of the lyx printer setup dialog is perhaps not that easy to
understand - ask again if you get more trouble.

Helge Hafting



Re: Using a network printer

2008-03-23 Thread christian . ridderstrom

On Fri, 21 Mar 2008, Michael Wojcik wrote:


 .ps-files... Personally, I think it'd be nice to be able to rpint
 directly from LyX.


Out of curiosity, why?


Different work flows I guess... I was writing a bit of math, more or less 
doing the derivations inside LyX. Now and then I want a hard copy to work 
on and proof read. In this case the document was purely for internal use, 
and I _know_ don't have to worry about checking it's appearance. Only the 
content mattered, so I never bothered with viewiers. Why should I? Even if 
the LyX screen doesn't show it exactly correct, it's still WYSIWYM, which 
was very good in this case.  However, I did need the hard copy as I'm 
often more creative with plain pen and paper - as are most people I 
suspect!



 The question as I see it is if it's worth spending time trying to fix
 bugs in LyX that are related to printing. (And that are probably
 specific to the GNU/Linux distribution etc)


The worst one isn't: File > Print simply doesn't make sense, and that's true 
on all platforms. The design is broken. LyX supports multiple back ends, and 
as long as that's true, File > Print is at best ambiguous. At worst, it's 
simply broken, for example if I have pdflatex-specific packages or commands 
in my document (in the preamble or in ERT).


At the very least, the menu item should be named something like "Print 
(Postscript)" or "Print (dvips)". An unqualified "Print" menu action isn't 
meaningful for LyX.


I'm inclined to agree with you... the drawback would be confusion for 
people that are used to other systems. If someone else thinks it's a good 
idea, I'll move this discussion to the developers' list and possibly make 
a bugzilla entry out of it.


Regards,
/christian

PS. I saw that Helge had some tips on getting printing to work, I'll look 
at that later.


--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-03-21 Thread christian . ridderstrom

On Wed, 19 Mar 2008, Paul A. Rubin wrote:


Les Denham wrote:



 Perhaps this is exactly the problem Paul has encountered: the error
 message gives the impression it is a printer problem, whereas the real
 problem is the difference between latex and pdflatex.


That could be his problem, but mine is that the network printer which I 
can use from other programs does not appear when trying to print from LyX.
If we then recommend users to print through one of the viewers, I'm not 
sure we should keep File-Print. Or maybe we should have:

File-Print-pdflatex
File-Print-PS
...
Just a thought (I don't think it makes sense spending a lot of time making 
print to work directly from LyX when it works via viewers).


Maybe it'd be an idea to put a tip in the print dialog, that recommends 
the user to print via a viewer?


snip distribution, you might get short-hopped by the differences.  I 
always try to print from a viewer looking at the final distribution 
version.


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-03-21 Thread Mark Hansel

On Fri, 21 Mar 2008, [EMAIL PROTECTED] wrote:


Date: Fri, 21 Mar 2008 14:29:49 +0100
From: [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Using a network printer

On Wed, 19 Mar 2008, Paul A. Rubin wrote:


Les Denham wrote:



 Perhaps this is exactly the problem Paul has encountered: the error
 message gives the impression it is a printer problem, whereas the real
 problem is the difference between latex and pdflatex.


That could be his problem, but mine is that the network printer which I can 
use from other programs does not appear when trying to print from LyX.
If we then recommend users to print through one of the viewers, I'm not sure 
we should keep File-Print. Or maybe we should have:

File-Print-pdflatex
File-Print-PS
...
Just a thought (I don't think it makes sense spending a lot of time making 
print to work directly from LyX when it works via viewers).


Maybe it'd be an idea to put a tip in the print dialog, that recommends the 
user to print via a viewer?


snip distribution, you might get short-hopped by the differences.  I 
always try to print from a viewer looking at the final distribution 
version.


A restriction to print exclusively through viewers breaks lyx! There are 
circumstances where printing an exported ps file makes sense (e.g., 
multiple collated copies, transmit). Under most circumstances, a keyboard 
shortcut or a print icon (or using a menu) produces COMMON SENSE result. 
An editor/text processor that is the only one on the planet that won't 
conduct a friendly hand shake with the print layer of sofware is not going 
to be very popular.


(Don't emulate MS -- How many MS engineers does it take to change a light 
bulb? None. MS declares darkness the standard.)


Mark Hansel


Re: Using a network printer

2008-03-21 Thread christian . ridderstrom

On Fri, 21 Mar 2008, Mark Hansel wrote:


 Maybe it'd be an idea to put a tip in the print dialog, that recommends
 the user to print via a viewer?

  snip distribution, you might get short-hopped by the differences.  I 
  always try to print from a viewer looking at the final distribution 
  version.


A restriction to print exclusively through viewers breaks lyx! There are 
circumstances where printing an exported ps file makes sense (e.g., 
multiple collated copies, transmit).


I don't think anyone proposes that we remove the ability to produce 
.ps-files... Personally, I think it'd be nice to be able to rpint directly 
from LyX. The question as I see it is if it's worth spending time trying 
to fix bugs in LyX that are related to printing. (And that are probably 
specific to the GNU/Linux distribution etc)


Under most circumstances, a keyboard shortcut or a print icon (or using 
a menu) produces COMMON SENSE result. An editor/text processor that is 
the only one on the planet that won't conduct a friendly hand shake with 
the print layer of sofware is not going to be very popular.


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-03-21 Thread Andre Poenitz
On Fri, Mar 21, 2008 at 09:38:33AM -0500, Mark Hansel wrote:
 On Fri, 21 Mar 2008, [EMAIL PROTECTED] wrote:
 [...]
 (Don't emulate MS -- How many MS engineers does it take to change a light 
 bulb? None. MS declares darkness the standard.)

I guess MS is such a large organization that you can't judge single
engineers by the behaviour of the company's CEO or Sales department...

Andre'


Re: Using a network printer

2008-03-21 Thread christian . ridderstrom

On Wed, 19 Mar 2008, Paul A. Rubin wrote:


Les Denham wrote:



 Perhaps this is exactly the problem Paul has encountered: the error
 message gives the impression it is a printer problem, whereas the real
 problem is the difference between latex and pdflatex.


That could be his problem, but mine is that the network printer which I 
can use from other programs does not appear when trying to print from LyX.
If we then recommend users to print through one of the viewers, I'm not 
sure we should keep File-Print. Or maybe we should have:

File-Print-pdflatex
File-Print-PS
...
Just a thought (I don't think it makes sense spending a lot of time making 
print to work directly from LyX when it works via viewers).


Maybe it'd be an idea to put a tip in the print dialog, that recommends 
the user to print via a viewer?


snip distribution, you might get short-hopped by the differences.  I 
always try to print from a viewer looking at the final distribution 
version.


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-03-21 Thread Mark Hansel

On Fri, 21 Mar 2008, [EMAIL PROTECTED] wrote:


Date: Fri, 21 Mar 2008 14:29:49 +0100
From: [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Using a network printer

On Wed, 19 Mar 2008, Paul A. Rubin wrote:


Les Denham wrote:



 Perhaps this is exactly the problem Paul has encountered: the error
 message gives the impression it is a printer problem, whereas the real
 problem is the difference between latex and pdflatex.


That could be his problem, but mine is that the network printer which I can 
use from other programs does not appear when trying to print from LyX.
If we then recommend users to print through one of the viewers, I'm not sure 
we should keep File-Print. Or maybe we should have:

File-Print-pdflatex
File-Print-PS
...
Just a thought (I don't think it makes sense spending a lot of time making 
print to work directly from LyX when it works via viewers).


Maybe it'd be an idea to put a tip in the print dialog, that recommends the 
user to print via a viewer?


snip distribution, you might get short-hopped by the differences.  I 
always try to print from a viewer looking at the final distribution 
version.


A restriction to print exclusively through viewers breaks lyx! There are 
circumstances where printing an exported ps file makes sense (e.g., 
multiple collated copies, transmit). Under most circumstances, a keyboard 
shortcut or a print icon (or using a menu) produces COMMON SENSE result. 
An editor/text processor that is the only one on the planet that won't 
conduct a friendly hand shake with the print layer of sofware is not going 
to be very popular.


(Don't emulate MS -- How many MS engineers does it take to change a light 
bulb? None. MS declares darkness the standard.)


Mark Hansel


Re: Using a network printer

2008-03-21 Thread christian . ridderstrom

On Fri, 21 Mar 2008, Mark Hansel wrote:


 Maybe it'd be an idea to put a tip in the print dialog, that recommends
 the user to print via a viewer?

  snip distribution, you might get short-hopped by the differences.  I 
  always try to print from a viewer looking at the final distribution 
  version.


A restriction to print exclusively through viewers breaks lyx! There are 
circumstances where printing an exported ps file makes sense (e.g., 
multiple collated copies, transmit).


I don't think anyone proposes that we remove the ability to produce 
.ps-files... Personally, I think it'd be nice to be able to rpint directly 
from LyX. The question as I see it is if it's worth spending time trying 
to fix bugs in LyX that are related to printing. (And that are probably 
specific to the GNU/Linux distribution etc)


Under most circumstances, a keyboard shortcut or a print icon (or using 
a menu) produces COMMON SENSE result. An editor/text processor that is 
the only one on the planet that won't conduct a friendly hand shake with 
the print layer of sofware is not going to be very popular.


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-03-21 Thread Andre Poenitz
On Fri, Mar 21, 2008 at 09:38:33AM -0500, Mark Hansel wrote:
 On Fri, 21 Mar 2008, [EMAIL PROTECTED] wrote:
 [...]
 (Don't emulate MS -- How many MS engineers does it take to change a light 
 bulb? None. MS declares darkness the standard.)

I guess MS is such a large organization that you can't judge single
engineers by the behaviour of the company's CEO or Sales department...

Andre'


Re: Using a network printer

2008-03-21 Thread christian . ridderstrom

On Wed, 19 Mar 2008, Paul A. Rubin wrote:


Les Denham wrote:



 Perhaps this is exactly the problem Paul has encountered: the error
 message gives the impression it is a printer problem, whereas the real
 problem is the difference between latex and pdflatex.


That could be his problem, but mine is that the network printer which I 
can use from other programs does not appear when trying to print from LyX.
If we then recommend users to print through one of the viewers, I'm not 
sure we should keep File->Print. Or maybe we should have:

File->Print->pdflatex
File->Print->PS
...
Just a thought (I don't think it makes sense spending a lot of time making 
print to work directly from LyX when it works via viewers).


Maybe it'd be an idea to put a tip in the print dialog, that recommends 
the user to print via a viewer?


 distribution, you might get short-hopped by the differences.  I 
always try to print from a viewer looking at the final distribution 
version.


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-03-21 Thread Mark Hansel

On Fri, 21 Mar 2008, [EMAIL PROTECTED] wrote:


Date: Fri, 21 Mar 2008 14:29:49 +0100
From: [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Using a network printer

On Wed, 19 Mar 2008, Paul A. Rubin wrote:


Les Denham wrote:



 Perhaps this is exactly the problem Paul has encountered: the error
 message gives the impression it is a printer problem, whereas the real
 problem is the difference between latex and pdflatex.


That could be his problem, but mine is that the network printer which I can 
use from other programs does not appear when trying to print from LyX.
If we then recommend users to print through one of the viewers, I'm not sure 
we should keep File->Print. Or maybe we should have:

File->Print->pdflatex
File->Print->PS
...
Just a thought (I don't think it makes sense spending a lot of time making 
print to work directly from LyX when it works via viewers).


Maybe it'd be an idea to put a tip in the print dialog, that recommends the 
user to print via a viewer?


 distribution, you might get short-hopped by the differences.  I 
always try to print from a viewer looking at the final distribution 
version.


A restriction to print exclusively through viewers breaks lyx! There are 
circumstances where printing an exported ps file makes sense (e.g., 
multiple collated copies, transmit). Under most circumstances, a keyboard 
shortcut or a print icon (or using a menu) produces COMMON SENSE result. 
An editor/text processor that is the only one on the planet that won't 
conduct a friendly hand shake with the print layer of sofware is not going 
to be very popular.


(Don't emulate MS -- How many MS engineers does it take to change a light 
bulb? None. MS declares darkness the standard.)


Mark Hansel


Re: Using a network printer

2008-03-21 Thread christian . ridderstrom

On Fri, 21 Mar 2008, Mark Hansel wrote:


 Maybe it'd be an idea to put a tip in the print dialog, that recommends
 the user to print via a viewer?

>   distribution, you might get short-hopped by the differences.  I 
>  always try to print from a viewer looking at the final distribution 
>  version.


A restriction to print exclusively through viewers breaks lyx! There are 
circumstances where printing an exported ps file makes sense (e.g., 
multiple collated copies, transmit).


I don't think anyone proposes that we remove the ability to produce 
.ps-files... Personally, I think it'd be nice to be able to rpint directly 
from LyX. The question as I see it is if it's worth spending time trying 
to fix bugs in LyX that are related to printing. (And that are probably 
specific to the GNU/Linux distribution etc)


Under most circumstances, a keyboard shortcut or a print icon (or using 
a menu) produces COMMON SENSE result. An editor/text processor that is 
the only one on the planet that won't conduct a friendly hand shake with 
the print layer of sofware is not going to be very popular.


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-03-21 Thread Andre Poenitz
On Fri, Mar 21, 2008 at 09:38:33AM -0500, Mark Hansel wrote:
> On Fri, 21 Mar 2008, [EMAIL PROTECTED] wrote:
> [...]
> (Don't emulate MS -- How many MS engineers does it take to change a light 
> bulb? None. MS declares darkness the standard.)

I guess MS is such a large organization that you can't judge single
engineers by the behaviour of the company's CEO or Sales department...

Andre'


Re: Using a network printer

2008-03-19 Thread christian . ridderstrom

On Tue, 18 Mar 2008, Andre Poenitz wrote:


On Mon, Mar 17, 2008 at 05:02:54PM +, Dave Wood wrote:

How do I set up Lyx to use a network printer? At the moment I can print by
viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.


Printing from one of the viewers is pretty much the recommended method.


Should we then have a 'print' entry in the File-menu?

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-03-19 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

On Tue, 18 Mar 2008, Andre Poenitz wrote:


On Mon, Mar 17, 2008 at 05:02:54PM +, Dave Wood wrote:
How do I set up Lyx to use a network printer? At the moment I can 
print by

viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.


Printing from one of the viewers is pretty much the recommended method.


Should we then have a 'print' entry in the File-menu?



I wonder about that myself.  I never use it (I always print from a 
viewer), although that's partly because I don't have a PS-aware printer. 
 Beyond that, it's not entirely obvious (at least to a newbie) just 
what File-Print is going to print, since DVI, PS and PDF outputs of the 
same doc tend to differ a bit.


/Paul



Re: Using a network printer

2008-03-19 Thread christian . ridderstrom

On Wed, 19 Mar 2008, Paul A. Rubin wrote:

   How do I set up Lyx to use a network printer? At the moment I can 
   print by viewing as pdf in kpdf which sees my printer. I would 
   like to be able to print direct from Lyx though, as I sometimes 
   want to print old files and not have to preview them first.
 
  Printing from one of the viewers is pretty much the recommended 
  method.


 Should we then have a 'print' entry in the File-menu?


I wonder about that myself.  I never use it (I always print from a 
viewer), although that's partly because I don't have a PS-aware printer. 
Beyond that, it's not entirely obvious (at least to a newbie) just what 
File-Print is going to print, since DVI, PS and PDF outputs of the same 
doc tend to differ a bit.


Does it seem strange to have a document processor that cannot print?

I'd be ok with using the viewer, but it's confusing with a File-Print 
that doesn't work.


/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-03-19 Thread Les Denham
On Wednesday 19 March 2008, [EMAIL PROTECTED] wrote:
 On Wed, 19 Mar 2008, Paul A. Rubin wrote:
 How do I set up Lyx to use a network printer? At the moment I can
 print by viewing as pdf in kpdf which sees my printer. I would
 like to be able to print direct from Lyx though, as I sometimes
 want to print old files and not have to preview them first.
  
Printing from one of the viewers is pretty much the recommended
method.
 
   Should we then have a 'print' entry in the File-menu?
 
  I wonder about that myself.  I never use it (I always print from a
  viewer), although that's partly because I don't have a PS-aware printer.
  Beyond that, it's not entirely obvious (at least to a newbie) just what
  File-Print is going to print, since DVI, PS and PDF outputs of the same
  doc tend to differ a bit.

 Does it seem strange to have a document processor that cannot print?

 I'd be ok with using the viewer, but it's confusing with a File-Print
 that doesn't work.

Christian,

The problem with that thought is that on my system it Just Works, without any 
arcane settings.  And mine is not a particularly simple setup: I'm running 
Gentoo Linux, with CUPS printing, on a rather complicated network, and LyX 
just defaults to running a document through dvips and sending it to the 
default printer.

However . . . as many LyX users do, I usually use pdflatex for my default 
preview and most common export.  And some figures which work perfectly with 
pdflatex do not work at all with latex.  When I try to print a document with 
such figures, the printing fails with the message:

Could not print document name.lyx.  
 Check that your printer is set up correctly.

Perhaps this is exactly the problem Paul has encountered: the error message 
gives the impression it is a printer problem, whereas the real problem is the 
difference between latex and pdflatex.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Using a network printer

2008-03-19 Thread Paul A. Rubin

Les Denham wrote:



Perhaps this is exactly the problem Paul has encountered: the error message 
gives the impression it is a printer problem, whereas the real problem is the 
difference between latex and pdflatex.




That's the more dramatic version, but even when the document compiles 
successfully, it may look different generated one way versus another. 
For instance, I think that font substitutions can occur with, say, a PDF 
file that would not occur (or would occur differently) with a DVI file, 
and I believe that graphics are handled somewhat differently by one 
approach versus another.  If all you want is the printed output, this 
might be ok, but if you are printing a copy (as PS output, perhaps 
without realizing it) while generating a file (say PDF) for 
distribution, you might get short-hopped by the differences.  I always 
try to print from a viewer looking at the final distribution version.


/Paul



Re: Using a network printer

2008-03-19 Thread christian . ridderstrom

On Tue, 18 Mar 2008, Andre Poenitz wrote:


On Mon, Mar 17, 2008 at 05:02:54PM +, Dave Wood wrote:

How do I set up Lyx to use a network printer? At the moment I can print by
viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.


Printing from one of the viewers is pretty much the recommended method.


Should we then have a 'print' entry in the File-menu?

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-03-19 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

On Tue, 18 Mar 2008, Andre Poenitz wrote:


On Mon, Mar 17, 2008 at 05:02:54PM +, Dave Wood wrote:
How do I set up Lyx to use a network printer? At the moment I can 
print by

viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.


Printing from one of the viewers is pretty much the recommended method.


Should we then have a 'print' entry in the File-menu?



I wonder about that myself.  I never use it (I always print from a 
viewer), although that's partly because I don't have a PS-aware printer. 
 Beyond that, it's not entirely obvious (at least to a newbie) just 
what File-Print is going to print, since DVI, PS and PDF outputs of the 
same doc tend to differ a bit.


/Paul



Re: Using a network printer

2008-03-19 Thread christian . ridderstrom

On Wed, 19 Mar 2008, Paul A. Rubin wrote:

   How do I set up Lyx to use a network printer? At the moment I can 
   print by viewing as pdf in kpdf which sees my printer. I would 
   like to be able to print direct from Lyx though, as I sometimes 
   want to print old files and not have to preview them first.
 
  Printing from one of the viewers is pretty much the recommended 
  method.


 Should we then have a 'print' entry in the File-menu?


I wonder about that myself.  I never use it (I always print from a 
viewer), although that's partly because I don't have a PS-aware printer. 
Beyond that, it's not entirely obvious (at least to a newbie) just what 
File-Print is going to print, since DVI, PS and PDF outputs of the same 
doc tend to differ a bit.


Does it seem strange to have a document processor that cannot print?

I'd be ok with using the viewer, but it's confusing with a File-Print 
that doesn't work.


/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-03-19 Thread Les Denham
On Wednesday 19 March 2008, [EMAIL PROTECTED] wrote:
 On Wed, 19 Mar 2008, Paul A. Rubin wrote:
 How do I set up Lyx to use a network printer? At the moment I can
 print by viewing as pdf in kpdf which sees my printer. I would
 like to be able to print direct from Lyx though, as I sometimes
 want to print old files and not have to preview them first.
  
Printing from one of the viewers is pretty much the recommended
method.
 
   Should we then have a 'print' entry in the File-menu?
 
  I wonder about that myself.  I never use it (I always print from a
  viewer), although that's partly because I don't have a PS-aware printer.
  Beyond that, it's not entirely obvious (at least to a newbie) just what
  File-Print is going to print, since DVI, PS and PDF outputs of the same
  doc tend to differ a bit.

 Does it seem strange to have a document processor that cannot print?

 I'd be ok with using the viewer, but it's confusing with a File-Print
 that doesn't work.

Christian,

The problem with that thought is that on my system it Just Works, without any 
arcane settings.  And mine is not a particularly simple setup: I'm running 
Gentoo Linux, with CUPS printing, on a rather complicated network, and LyX 
just defaults to running a document through dvips and sending it to the 
default printer.

However . . . as many LyX users do, I usually use pdflatex for my default 
preview and most common export.  And some figures which work perfectly with 
pdflatex do not work at all with latex.  When I try to print a document with 
such figures, the printing fails with the message:

Could not print document name.lyx.  
 Check that your printer is set up correctly.

Perhaps this is exactly the problem Paul has encountered: the error message 
gives the impression it is a printer problem, whereas the real problem is the 
difference between latex and pdflatex.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Using a network printer

2008-03-19 Thread Paul A. Rubin

Les Denham wrote:



Perhaps this is exactly the problem Paul has encountered: the error message 
gives the impression it is a printer problem, whereas the real problem is the 
difference between latex and pdflatex.




That's the more dramatic version, but even when the document compiles 
successfully, it may look different generated one way versus another. 
For instance, I think that font substitutions can occur with, say, a PDF 
file that would not occur (or would occur differently) with a DVI file, 
and I believe that graphics are handled somewhat differently by one 
approach versus another.  If all you want is the printed output, this 
might be ok, but if you are printing a copy (as PS output, perhaps 
without realizing it) while generating a file (say PDF) for 
distribution, you might get short-hopped by the differences.  I always 
try to print from a viewer looking at the final distribution version.


/Paul



Re: Using a network printer

2008-03-19 Thread christian . ridderstrom

On Tue, 18 Mar 2008, Andre Poenitz wrote:


On Mon, Mar 17, 2008 at 05:02:54PM +, Dave Wood wrote:

How do I set up Lyx to use a network printer? At the moment I can print by
viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.


Printing from one of the viewers is pretty much the recommended method.


Should we then have a 'print' entry in the File-menu?

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-03-19 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

On Tue, 18 Mar 2008, Andre Poenitz wrote:


On Mon, Mar 17, 2008 at 05:02:54PM +, Dave Wood wrote:
How do I set up Lyx to use a network printer? At the moment I can 
print by

viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.


Printing from one of the viewers is pretty much the recommended method.


Should we then have a 'print' entry in the File-menu?



I wonder about that myself.  I never use it (I always print from a 
viewer), although that's partly because I don't have a PS-aware printer. 
 Beyond that, it's not entirely obvious (at least to a newbie) just 
what File->Print is going to print, since DVI, PS and PDF outputs of the 
same doc tend to differ a bit.


/Paul



Re: Using a network printer

2008-03-19 Thread christian . ridderstrom

On Wed, 19 Mar 2008, Paul A. Rubin wrote:

> >  How do I set up Lyx to use a network printer? At the moment I can 
> >  print by viewing as pdf in kpdf which sees my printer. I would 
> >  like to be able to print direct from Lyx though, as I sometimes 
> >  want to print old files and not have to preview them first.
> 
>  Printing from one of the viewers is pretty much the recommended 
>  method.


 Should we then have a 'print' entry in the File-menu?


I wonder about that myself.  I never use it (I always print from a 
viewer), although that's partly because I don't have a PS-aware printer. 
Beyond that, it's not entirely obvious (at least to a newbie) just what 
File->Print is going to print, since DVI, PS and PDF outputs of the same 
doc tend to differ a bit.


Does it seem strange to have a "document processor" that cannot print?

I'd be ok with using the viewer, but it's confusing with a File->Print 
that doesn't work.


/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Using a network printer

2008-03-19 Thread Les Denham
On Wednesday 19 March 2008, [EMAIL PROTECTED] wrote:
> On Wed, 19 Mar 2008, Paul A. Rubin wrote:
> >> > >  How do I set up Lyx to use a network printer? At the moment I can
> >> > >  print by viewing as pdf in kpdf which sees my printer. I would
> >> > >  like to be able to print direct from Lyx though, as I sometimes
> >> > >  want to print old files and not have to preview them first.
> >> >
> >> >  Printing from one of the viewers is pretty much the recommended
> >> >  method.
> >>
> >>  Should we then have a 'print' entry in the File-menu?
> >
> > I wonder about that myself.  I never use it (I always print from a
> > viewer), although that's partly because I don't have a PS-aware printer.
> > Beyond that, it's not entirely obvious (at least to a newbie) just what
> > File->Print is going to print, since DVI, PS and PDF outputs of the same
> > doc tend to differ a bit.
>
> Does it seem strange to have a "document processor" that cannot print?
>
> I'd be ok with using the viewer, but it's confusing with a File->Print
> that doesn't work.

Christian,

The problem with that thought is that on my system it Just Works, without any 
arcane settings.  And mine is not a particularly simple setup: I'm running 
Gentoo Linux, with CUPS printing, on a rather complicated network, and LyX 
just defaults to running a document through dvips and sending it to the 
default printer.

However . . . as many LyX users do, I usually use pdflatex for my default 
preview and most common export.  And some figures which work perfectly with 
pdflatex do not work at all with latex.  When I try to print a document with 
such figures, the printing fails with the message:

"Could not print document name.lyx.  
 Check that your printer is set up correctly."

Perhaps this is exactly the problem Paul has encountered: the error message 
gives the impression it is a printer problem, whereas the real problem is the 
difference between latex and pdflatex.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Using a network printer

2008-03-19 Thread Paul A. Rubin

Les Denham wrote:



Perhaps this is exactly the problem Paul has encountered: the error message 
gives the impression it is a printer problem, whereas the real problem is the 
difference between latex and pdflatex.




That's the more dramatic version, but even when the document compiles 
successfully, it may look different generated one way versus another. 
For instance, I think that font substitutions can occur with, say, a PDF 
file that would not occur (or would occur differently) with a DVI file, 
and I believe that graphics are handled somewhat differently by one 
approach versus another.  If all you want is the printed output, this 
might be ok, but if you are printing a copy (as PS output, perhaps 
without realizing it) while generating a file (say PDF) for 
distribution, you might get short-hopped by the differences.  I always 
try to print from a viewer looking at the final distribution version.


/Paul



Re: Using a network printer

2008-03-18 Thread Andre Poenitz
On Mon, Mar 17, 2008 at 05:02:54PM +, Dave Wood wrote:
 How do I set up Lyx to use a network printer? At the moment I can print by
 viewing as pdf in kpdf which sees my printer. I would like to be able to
 print direct from Lyx though, as I sometimes want to print old files and
 not have to preview them first.

Printing from one of the viewers is pretty much the recommended method.

Andre'


Re: Using a network printer

2008-03-18 Thread Andre Poenitz
On Mon, Mar 17, 2008 at 05:02:54PM +, Dave Wood wrote:
 How do I set up Lyx to use a network printer? At the moment I can print by
 viewing as pdf in kpdf which sees my printer. I would like to be able to
 print direct from Lyx though, as I sometimes want to print old files and
 not have to preview them first.

Printing from one of the viewers is pretty much the recommended method.

Andre'


Re: Using a network printer

2008-03-18 Thread Andre Poenitz
On Mon, Mar 17, 2008 at 05:02:54PM +, Dave Wood wrote:
> How do I set up Lyx to use a network printer? At the moment I can print by
> viewing as pdf in kpdf which sees my printer. I would like to be able to
> print direct from Lyx though, as I sometimes want to print old files and
> not have to preview them first.

Printing from one of the viewers is pretty much the recommended method.

Andre'


Using a network printer

2008-03-17 Thread Dave Wood
How do I set up Lyx to use a network printer? At the moment I can print by
viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.

I have tried using the cups printer name, the server address:port etc to no
avail.

-- 
The ladies men admire, I've heard,
Would shudder at a wicked word.
Their candle gives a single light;
They'd rather stay at home at night.
They do not keep awake till three,
Nor read erotic poetry.
They never sanction the impure,
Nor recognize an overture.
They shrink from powders and from paints ...
So far, I've had no complaints.
-- Dorothy Parker



Re: Using a network printer

2008-03-17 Thread christian . ridderstrom

On Mon, 17 Mar 2008, Dave Wood wrote:

How do I set up Lyx to use a network printer? At the moment I can print 
by viewing as pdf in kpdf which sees my printer. I would like to be able 
to print direct from Lyx though, as I sometimes want to print old files 
and not have to preview them first.


I have tried using the cups printer name, the server address:port etc to 
no avail.


I might have the same problem (Ubuntu), where other programs see the 
network printer, but not LyX. I can of course provide the details if 
that'll help.


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Using a network printer

2008-03-17 Thread Dave Wood
How do I set up Lyx to use a network printer? At the moment I can print by
viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.

I have tried using the cups printer name, the server address:port etc to no
avail.

-- 
The ladies men admire, I've heard,
Would shudder at a wicked word.
Their candle gives a single light;
They'd rather stay at home at night.
They do not keep awake till three,
Nor read erotic poetry.
They never sanction the impure,
Nor recognize an overture.
They shrink from powders and from paints ...
So far, I've had no complaints.
-- Dorothy Parker



Re: Using a network printer

2008-03-17 Thread christian . ridderstrom

On Mon, 17 Mar 2008, Dave Wood wrote:

How do I set up Lyx to use a network printer? At the moment I can print 
by viewing as pdf in kpdf which sees my printer. I would like to be able 
to print direct from Lyx though, as I sometimes want to print old files 
and not have to preview them first.


I have tried using the cups printer name, the server address:port etc to 
no avail.


I might have the same problem (Ubuntu), where other programs see the 
network printer, but not LyX. I can of course provide the details if 
that'll help.


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Using a network printer

2008-03-17 Thread Dave Wood
How do I set up Lyx to use a network printer? At the moment I can print by
viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.

I have tried using the cups printer name, the server address:port etc to no
avail.

-- 
The ladies men admire, I've heard,
Would shudder at a wicked word.
Their candle gives a single light;
They'd rather stay at home at night.
They do not keep awake till three,
Nor read erotic poetry.
They never sanction the impure,
Nor recognize an overture.
They shrink from powders and from paints ...
So far, I've had no complaints.
-- Dorothy Parker



Re: Using a network printer

2008-03-17 Thread christian . ridderstrom

On Mon, 17 Mar 2008, Dave Wood wrote:

How do I set up Lyx to use a network printer? At the moment I can print 
by viewing as pdf in kpdf which sees my printer. I would like to be able 
to print direct from Lyx though, as I sometimes want to print old files 
and not have to preview them first.


I have tried using the cups printer name, the server address:port etc to 
no avail.


I might have the same problem (Ubuntu), where other programs see the 
network printer, but not LyX. I can of course provide the details if 
that'll help.


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr