Hello all

Hope everyone had a great Christmas.  I am still going through my e-mails but can help here.

There is a print module for tn5250j called PrinterThread.  This was changed to take advantage of the new 1.4 api beta that was coming out.  I never did get it all finished except for a test module that worked but actually got tired of having to code and load special modules for 1.3 and 1.4.  No one seemed interested at that time so I just skipped it.  Well anyway am jetlagged and am rambling.

The options screen for printer has a parameter to -  toDefaultPrinter - that was used in the PrinterThread module.  I do believe I added a printer attribute field on the options screen as well but as that was new at the time I never got around to using that API because of the special 1.3 and 1.4 modules.  The parameter is passed though so all that needs to be done is the reading of the default printer from the Toolkit.  There is still commented test code in there for that as well.  The other enhancement was to add an option to not display the print dialog screen if the toDefaultPrinter variable was true.  This was a minimalistic approach because the functionality not working everywhere and did not want keep writting code to distiguish jdk versions with *nix distributions.

I do remember that 1.4 printers did not work on the first couple of releases for linux, bugs on the XP version and was not scheduled for Mac until 1.4.2.  Now as for 1.5 am not sure but do remember reading that 1.4.2 did work for almost all of the *nix distributions and Mac.

There should be little code that needs to be produced for this to work.  If someone does get it working maybe adding another option to the printer options screen to actually select a default printer from a list would also be a very nice enhancement and not that much code work.

I hope this helps.  Please let me know if there are any questions.

Regards

Kenneth


[EMAIL PROTECTED] wrote:

I'm not sure how TN5250j looks for the default printer. If someone knows we could look this up on the Java site if this API has linux issues.





Richard Houston <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

27/12/2005 21:05


To
tn5250j-general@lists.sourceforge.net
cc

Subject
RE: [Tn5250j-general] Default printer for print screen







K, so can we debug this? Any ideas on what we can do to find where the
issues is?

Maybe I will pass this on to my Java developer and see if he can find the
issue.



Best regards,
+------------------------------------------+
| Richard Houston                  .^.     |
| R.L.H.  Consulting               /V\     |
| E-Mail  <[EMAIL PROTECTED]>    /(   )\   |
| WWW     <www.rlhc.net>          ^^-^^    |
+------------------------------------------+


> It might also be a Java on Linux issue.
>
>
>
>
>
>
> Richard Houston <[EMAIL PROTECTED]>
> Sent by: [EMAIL PROTECTED]
> 27/12/2005 20:15
> Please respond to
> tn5250j-general@lists.sourceforge.net
>
>
> To
> tn5250j-general@lists.sourceforge.net cc
>
> Subject
> RE: [Tn5250j-general] Default printer for print screen
>
>
>
>
>
>
>
> So can this be fixed? The default printer is set for all other app under
> Linux but TN does not see it. It uses the fist printer in the print
> systems list. Can this be fixed?
>
> I would say that this is a TN5250J on Linux issue not a soly Linux issue.
>
>
>
>
> Best regards,
> +------------------------------------------+
> | Richard Houston                  .^.     |
> | R.L.H.  Consulting               /V\     |
> | E-Mail  <[EMAIL PROTECTED]>    /(   )\   |
> | WWW     <www.rlhc.net>          ^^-^^    |
> +------------------------------------------+
>
>
>
>>
>
>>> Quick question, is there a way to save a default
>>> printer in the print dialog off the right click menu. on the Linux
>>> terminal server.
>>
>> Hehehehe again a linux problem :-)
>> Cause on windows it takes the default printer.
>> So your functionality is available for windows-users already.
>>
>>
>>
>> Best Regards,
>>
>>
>>
>> Patrick
>>
>>
>>
>>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Tn5250j-general mailing list
> Tn5250j-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tn5250j-general
>
>
>




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

Reply via email to