[Migrated content. Thread originally posted on 10 November 2005]
I am new to using Thin Client - and wonder how I can display a print file on the screen. On Windows, we make a call to Wordpad which displays our print file nicely. I can't seem to find an easy solution to doing this on unix.
Any suggestions - thanks.
Since you mentioned thin client, does that mean that you are using a Windows client with that UNIX runtime? If so, you can call to Wordpad just like you do in Windows, just use the @DISPLAY logic to execute the call on the client machine.
Rob
[Migrated content. Thread originally posted on 10 November 2005]
I am new to using Thin Client - and wonder how I can display a print file on the screen. On Windows, we make a call to Wordpad which displays our print file nicely. I can't seem to find an easy solution to doing this on unix.
Any suggestions - thanks.
Could you explain the @DISPLAY logic?
Thanks.
Len
[Migrated content. Thread originally posted on 10 November 2005]
I am new to using Thin Client - and wonder how I can display a print file on the screen. On Windows, we make a call to Wordpad which displays our print file nicely. I can't seem to find an easy solution to doing this on unix.
Any suggestions - thanks.
Len,
For many of the AcuCorp routines and libraries, you can use @DISPLAY logic to specify that the action should be done on the client machine instead of the server machine.
For example, let's say you wanted to copy a file from the server to the client, you could do the following:
CALL "C$COPY" USING file.txt, @[DISPLAY]:file.txt, return-value.
So, the @[DISPLAY]: indicates that the file should be placed on the client machine instead. This applies to many of the AcuCorp routines, but not all. The documentation for each routine mentions whether it uses this logic or not.
This has been a wonderful thing for us!! Hope this description helps...
Rob
[Migrated content. Thread originally posted on 10 November 2005]
I am new to using Thin Client - and wonder how I can display a print file on the screen. On Windows, we make a call to Wordpad which displays our print file nicely. I can't seem to find an easy solution to doing this on unix.
Any suggestions - thanks.
Rob (and Len)
Thank you for your information - I actually had the pleasure of visiting at AcuCorp after I posted my question and received some help from them there.
Indeed I am using the C$COPY command
C$COPY USING infile, "@[DISPLAY]:C:\\temp\\laura\\PRTFILE.wpd"
and am then making a C$SYSTEM call to "write" which uses wordpad to display my file
CALL "C$SYSTEM" USING "write c:\\temp\\laura\\prtfile.wpd", 128
Now I need to finish it off by deleting the file from the client and also by doing a "in progress" screen for big files that transfer.
Laura
[Migrated content. Thread originally posted on 10 November 2005]
I am new to using Thin Client - and wonder how I can display a print file on the screen. On Windows, we make a call to Wordpad which displays our print file nicely. I can't seem to find an easy solution to doing this on unix.
Any suggestions - thanks.
Laura,
It's always a pleasure to visit AcuCorp - both the people and the city are great!
Rob