Re: Printing problem

"Jarvis, Bob" <[email protected]>
Newsgroups gmane.editors.jedit.user
Message-ID <BN6PR11MB179603881F01B300DFDE17E0F6920@BN6PR11MB1796.namprd11.prod.outlook.com>
I suggest that if the printer shown on the “print.lastUsedPrinter” line in the properties file doesn’t exist or can’t be initialized or whatever then it should be ignored, and the printer dialog should be displayed so the user can select another printer.

Thanks,
Bob

From: Alan Ezust <[email protected]>
Sent: Monday, October 14, 2019 11:34 AM
To: Edward Diener <[email protected]>; jedit-users <[email protected]>
Subject: Re: [ jEdit-users ] Printing problem


External Email: Please use caution.

________________________________
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.



On Mon, Oct 14, 2019 at 8:22 AM Edward Diener <[email protected]<mailto:[email protected]>> wrote:
On 10/14/2019 9:05 AM, Jarvis, Bob wrote:
>
>
> I’ve seen this pop up in the following circumstance:
>
>  1. I had a default printer set in Windows.
>  2. I had printed to this printer from jEdit.
>  3. I changed my default printer in Windows, and
>  4. I deleted the old default printer completely from Windows.
>
> jEdit started throwing the “Invalid print service” message.
>
> To fix it I edited the jEdit “properties” file
> (C:\users\username\AppData\Roaming\jEdit\properties) and deleted the
> “print.lastUsedPrinter” line.

Thank you ! That solved my problem and JEdit is printing again.

I think this is a bug in JEdit, especially because JEdit can be used
with multiple OSs in a multi-boot environment, with each OS using the
same command line -settings=some_path in a shared partition. That is how
I use JEdit and the printer names are certainly different in each OS,
even if the actual printer is the same.

Do I need to file a bug report, Dale, on this issue ?

>
> Thanks,
>
> Bob
>
> *From:* Dale Anson <[email protected]<mailto:[email protected]>>
> *Sent:* Saturday, October 12, 2019 4:01 PM
> *To:* Edward Diener <[email protected]<mailto:[email protected]>>
> *Cc:* jedit-users <[email protected]<mailto:[email protected]>>
> *Subject:* Re: [ jEdit-users ] Printing problem
>
> *External Email: Please use caution.***
>
> ------------------------------------------------------------------------
>
> There are only two places where that message can come from, one for
> regular printing and one for the print preview. The one for regular
> printing should have printed a stack trace to the Activity Log. Do you
> see one? If so, would you send it to me?
>
> Thanks,
>
> Dale
>
> On Sat, Oct 12, 2019 at 11:33 AM Edward Diener <[email protected]<mailto:[email protected]>
> <mailto:[email protected]<mailto:[email protected]>>> wrote:
>
>     Running JEdit 5.5.0 on Windows 10, I have two printers. One is
>     currently
>     low in one of its toner cartridges, but can still print, while the
>     other
>     is fine. When I try to Print in JEdit I get:
>
>     "An error occurred while trying to print. Invalid print service."
>
>     and JEdit can not print my current file. The printing function had
>     always been working before so I do not know why it has stopped working.
>     I suspect it is simply because of the low toner cartridge, but I have
>     changed nothing in JEdit to keep it from working.



--
-----------------------------------------------
jEdit Users' List
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/jedit-users<https://lists.sourceforge.net/lists/listinfo/jedit-users>


The information contained in this e-mail message is privileged and/or
confidential and is intended only for the use of the individual or entity
named above.  If the reader of this message is not the intended
recipient, or the employee or agent responsible to deliver it to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please immediately
notify us by telephone (330-668-5000), and destroy the original
message.  Thank you.

-- 
-----------------------------------------------
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.