Re: Printing problem

"Finch, Alex" <[email protected]>
Newsgroups gmane.editors.jedit.user
Message-ID <[email protected]>
Dale,

Over the years I have used Red Hat, Scientific Linux and now Centos 7, i.e. basically all versions of RedHat. Printing never worked on any of them. I always get the pop up message described in the thread, i.e. "An error occurred while trying to print. Invalid print service."   I long ago gave up even trying to print from jedit. I tried the suggestion in this thread of editing the properties file by hand and correcting the name of the printer and it didn't help. I just tried it again and, what the ? It worked! First time ever. How did you do that? It occurs to me I may have closed and reopened jedit recently. I normally have it open permanently. Does it only read the properties value when it starts  up? Any way it is good news, printing works with jedit .

Alex

On 16/10/2019 01:25, Dale Anson wrote:
Alex, what flavors? I've tested on Gentoo, Ubuntu, Fedora, and Arch, all print fine. I've been on Arch for a while now, and no problems printing at all. I've also tested on my wife's Windows 7 and 10 computers, again, printing works fine. Are you getting any error messages?

Dale



On Tue, Oct 15, 2019 at 2:50 AM Finch, Alex <[email protected]<mailto:[email protected]>> wrote:

I have never managed to print from Jedit on multiple flavours of Linux.

On 14/10/2019 21:32, Dale Anson wrote:


I checked in a fix, it would be nice if someone else could test this. I tested by changing the value of print.lastUsedPrinter to a non-existent printer and was able to replicate the original error.

Dale


On Mon, Oct 14, 2019 at 1:14 PM Dale Anson <[email protected]<mailto:[email protected]>> wrote:
I agree, it should be a fairly easy fix.

On Mon, Oct 14, 2019 at 11:11 AM Alan Ezust <[email protected]<mailto:[email protected]>> wrote:
Hi Edward,

Yes, your idea is even better :-)

On Mon, Oct 14, 2019 at 10:06 AM Edward Diener <[email protected]<mailto:[email protected]>> wrote:
On 10/14/2019 11:34 AM, Alan Ezust wrote:
> Switching OS/Platforms while using the same settings directory,  and
> expecting all of your settings to work correctly is not a frequent
> use-case that we test jEdit for. However, a feature request allowing
> jEdit to remember or not remember the last used printer might be
> something that would make this use-case work better when printing stuff.

How about just not relying on the last used printer if it no longer
exists in the JEdit print logic <g> ? Even if I use JEdit on a single OS
JEdit should continue working correctly if I delete a printer at the OS
level. Surely not doing so is a bug in JEdit. After all people do change
printers on their computer systems.


--
-----------------------------------------------
jEdit Users' List
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/jedit-users<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fjedit-users&data=02%7C01%7Ca.finch%40lancaster.ac.uk%7Ccbcef5db85ed459b894908d751cf70ad%7C9c9bcd11977a4e9ca9a0bc734090164a%7C1%7C0%7C637067823702057980&sdata=ReIyp9xRl4pZWrn14IlXCGl3pCv5za9LIVvQyDgRym8%3D&reserved=0>
--
-----------------------------------------------
jEdit Users' List
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/jedit-users<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fjedit-users&data=02%7C01%7Ca.finch%40lancaster.ac.uk%7Ccbcef5db85ed459b894908d751cf70ad%7C9c9bcd11977a4e9ca9a0bc734090164a%7C1%7C0%7C637067823702057980&sdata=ReIyp9xRl4pZWrn14IlXCGl3pCv5za9LIVvQyDgRym8%3D&reserved=0>





--
-----------------------------------------------
jEdit Users' List
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/jedit-users<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fjedit-users&data=02%7C01%7Ca.finch%40lancaster.ac.uk%7Ccbcef5db85ed459b894908d751cf70ad%7C9c9bcd11977a4e9ca9a0bc734090164a%7C1%7C0%7C637067823702067974&sdata=S6BLG4zkCzhp22B%2F31o7ULwxEtzDWnrKtguajCWlXWY%3D&reserved=0>

-- 
-----------------------------------------------
jEdit Users' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.