| Author |
Message |
Guest
|
Posted:
Wed Mar 23, 2005 10:48 pm Post subject:
HIS printing |
|
|
I am still having a problem getting a transparent string
to get to my HP printer. I am sending data from a simple
Cobol program. eg. 03 data pic x(08)
value '35021B45'. I cannot get the HIS server to
recognize the transparency byte, '35'.
I have also tried sending as binary data, but still to no
avail.
Mike |
|
| Back to top |
|
 |
Paul Tykodi
Guest
|
Posted:
Tue Mar 29, 2005 6:47 am Post subject:
Re: HIS printing |
|
|
Dear Mike,
The following information is from the SNA Print Service White Paper on
the Microsoft Web Site:
http://www.microsoft.com/technet/archive/sna/support/snaprint.mspx
Transparent (TRN) – '0x35[L](P1)(. . .)(Pn)'
This SCS control code indicates a section of data that is not scanned
for SCS codes, but passed to the print output untouched. The extent of
the section of data is denoted by the length byte.
Example: 35051B28313055
35 – TRN
05 – length of transparent section, not including the length byte
1B28313055 – transparent section, HP PCL code for PC-8 symbol set
'Esc(10U'
Note: In this example the transparent section is in ASCII, this would
require that the "Transparent is ASCII" box be selected in the SNA
Server printer session properties.
HTH
Best Regards,
/Paul
--
Paul Tykodi
Principal Consultant
TCS - Tykodi Consulting Services LLC
E-mail: ptykodi@tykodi.com
On Wed, 23 Mar 2005 13:05:55 -0800,
<anonymous@discussions.microsoft.com> wrote:
| Quote: | I am still having a problem getting a transparent string
to get to my HP printer. I am sending data from a simple
Cobol program. eg. 03 data pic x(08)
value '35021B45'. I cannot get the HIS server to
recognize the transparency byte, '35'.
I have also tried sending as binary data, but still to no
avail.
Mike |
|
|
| Back to top |
|
 |
Paul Tykodi
Guest
|
Posted:
Tue Mar 29, 2005 6:47 am Post subject:
Re: HIS printing |
|
|
Dear Mike,
There are two issues, which need to be addressed, in order for the
printing solution you are implementing to work as you expect.
1. Code the SCS Transparency correctly so that the information is
packaged in a format understood by HIS. Neil has been giving you some
excellent suggestions regarding this point.
2. After point 1 has been completed successfully, the SCS transparent
data will be received by HIS and it will then be forwarded to a
software print client (Microsoft SNA Printing Service or some other
client) for final disposition. If the printing client processing the
data believes the information stored in the SCS Transparency is
EBCDIC, you will never get the result you are trying to achieve.
For this idea to work, the software print client needs to be able to
support the receipt of binary data within SCS Transparency as ASCII.
HTH
Best Regards,
/Paul
--
Paul Tykodi
Principal Consultant
TCS - Tykodi Consulting Services LLC
E-mail: ptykodi@tykodi.com
On Wed, 23 Mar 2005 13:05:55 -0800,
<anonymous@discussions.microsoft.com> wrote:
| Quote: | I am still having a problem getting a transparent string
to get to my HP printer. I am sending data from a simple
Cobol program. eg. 03 data pic x(08)
value '35021B45'. I cannot get the HIS server to
recognize the transparency byte, '35'.
I have also tried sending as binary data, but still to no
avail.
Mike |
|
|
| Back to top |
|
 |
|
|
|
|