× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: tn5250 0.15.7 problem?
  • From: mmadore <mmadore@xxxxxxxxx>
  • Date: Fri, 18 Feb 2000 19:31:05 -0800 (PST)

Hi,

> > Normally, you want to use "scs2ascii | lpr".  Otherwise the scs control
> > characters will be embedded in the print stream, and unless you have a
> > printer that understands scs, you will not get the correct results.
> 
> Well, we did try the aforementioned command, but when we would try to print a 
>132
> column report, we would have to manually change the printer to compressed 
>mode.
> By using the -T switch and specifying (sp?) an *EPLX810, then we didn't have 
>to
> worry about manually changing to compress mode, as the command would 
>translated
> by the host. Of course, we still got embedded spaces throughout the report, 
>and
> some columns wouldn't align properly. We reproduced the same report, in case 
>it
> was a fluke happening, with the same results.

You actually need to do both.  Even if you specify *EPLX810, the AS/400
will still embed SCS control characters in the print stream.  The
scs2ascii command will remove these characters and leave the commands for
the EPSON printer intact.  Here is the command (This is using the new
print daemon in CVS):

lp5250d -s MMPRN01 -T "*EPLX810" -P "scs2ascii | lpr" <host>

If you still do not get the result you want, you may need to create your
own workstation customization object.  This allows you to change things
like fonts and letter quality vs. draft.  Let me know if you need more
help.

Mike

+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.