Re: Printing problem

Edward Diener <[email protected]>
Newsgroups gmane.editors.jedit.user
Message-ID <[email protected]>
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.

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




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