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:
|
- [Tn5250j-general] Default printer for print screen Richard Houston
- RE: [Tn5250j-general] Default printer for print sc... Patrick Bielen
- RE: [Tn5250j-general] Default printer for prin... Richard Houston
- RE: [Tn5250j-general] Default printer for ... Wim . Van . Leuven
- RE: [Tn5250j-general] Default printer ... Richard Houston
- RE: [Tn5250j-general] Default pri... Wim . Van . Leuven
- Re: [Tn5250j-general] Default... Kenneth Pouncey
- Re: [Tn5250j-general] Def... Richard Houston