Windows 10 SCO Filepro issue (long post)

Brian White bw.aljex at gmail.com
Wed Oct 31 21:59:50 PDT 2018


Ok there are a few things at first glance:

* PFPT is what's causing the H hardcopy to print via passthrough. That also
applies to any other filepro printing that doesn't specify some destination
or override the default. (Same as what I said in that other email I just
happened to send about the same time you must have been gathering this.) As
I said in that previous post, you might try installing a different printer
driver for the printer, if one is available for win10. Look for one that
says pcl5 in it's name. Or try using AnzioWin to take advantage of it's
built-in pcl renderer.

* TERM is being hardcoded to scoansi in .profile . This is not good. The
terminal is supposed to tell the server what kind of terminal it is, and it
does that via the TERM variable. The terminal is supposed to set the TERM
variable. By setting TERM in .profile you are essentially lying to the
server and all apps, ignoring what the terminal said, and telling the
server and all apps that the terminal is always a scoansi terminal, whether
it actually is or not.

You should remove the TERM hardcoding from .profile, and look at the
terminal emulator config to make sure it is setting TERM to "scoansi". (It
might be setting just "ansi", which is... a long story I'm going to skip
because this email is already going to be big enough...) This assumes you
don't have something like 150 desktops to manually edit their configs.

IF you have more than 10 or 15 desks, AND the terminal emulators on all of
them aren't sending "scoansi" after you remove the hardcoding, THEN it
makes more sense to edit the two termcap files to match the clients than to
edit all the clients to match the two termcap files. Not a huge task, but
it would be a huge email to explain about editing termcap entries and alias
names and the special gotcha and "long story" wrt sco and the actual sco
console and the particular values "scoansi" vs "ansi".

* The default printer in pfconfig is "lp" and the printer named "lp" is
printer8. That is where all print jobs would go by default, if you
commented out PFPT. Is that lp command line valid? Does that print queue
actually work?

If not, then change pfprinter to one that does. (go in to printer maint in
and toggle some other one as default), or edit the printer8 line to a
command that works.

This should largely clear you up.

--
bkw

On Wed, Oct 31, 2018, 6:18 PM Rod Caddy via Filepro-list <
filepro-list at lists.celestial.com wrote:

> On 10/30/2018 10:49 PM, Rod Caddy via Filepro-list wrote:
> > You do have some things for me to try that I haven't. But yes the first
> question you asked is  correct. One prints one does not.
> >
> > ⁣
> > Rod Caddy
> > 817-793-4148 Cell
> > 1-877-657-1480
> >
> > Sent from BlueMail ​
> >
> > On Oct 30, 2018, 10:39 PM, at 10:39 PM, Bob Rasmussen <ras at anzio.com>
> wrote:
> >> snip
> >> Regards,
> >> ....Bob Rasmussen,   President,   Rasmussen Software, Inc.
> >>
> >> personal e-mail: ras at anzio.com
> >>   company e-mail: rsi at anzio.com
> >>            voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
> >>              fax: (US) 503-624-0760
> >>              web: http://www.anzio.com
> >>   street address: Rasmussen Software, Inc.
> >>                   10240 SW Nimbus, Suite L9
> >>                   Portland, OR  97223  USA
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> http://mailman.celestial.com/pipermail/filepro-list/attachments/20181030/e1635053/attachment.html
> >
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: 189.png
> > Type: image/png
> > Size: 4239 bytes
> > Desc: not available
> > URL: <
> http://mailman.celestial.com/pipermail/filepro-list/attachments/20181030/e1635053/attachment.png
> >
> > _______________________________________________
> > Filepro-list mailing list
> > Filepro-list at lists.celestial.com
> > Subscribe/Unsubscribe/Subscription Changes
> > http://mailman.celestial.com/mailman/listinfo/filepro-list
>
> This is a re-post of what I sent earlier in answer to Brian's question
> but the information was scrubbed. My apologies:
>
> Since this issue makes no since, I thought I would add some more to it.
> After Brian's suggestions, I decided to go back and start from the
> beginning and redo all my tests and the additional things he suggested
> to make sure I was not losing my mind.  So here was my procedure and as
> a reminder what I am using:
>
> SCO 3.2.5.0.6 i386
> Filepro 4.05.08K7D4
> AlphaCom Terminal Emulation
> Windows 7 on all PCs except 1 which is Windows 10
> BTW, this is *not* a new user to the system.
>
> 1. Logged in as user on the W10 PC to the Unix system and into Filepro.
> Viewed a record in 3 or 4 different files and pressed H for hardcopy and
> nothing prints to the system printer. Pressed F to print a form,
> selected the form format that I wanted and it did not print to the
> system printer.  AlphaCom has a printer icon where you can print what is
> on the screen to any printer that is defined on the PC.  I printed to
> the system printer and to a local printer what was on the screen,
> essentially a hardcopy of the record on the screen.  That's all fine and
> good but still unable to print the form.
>
> 2. Logged in as the same user on a W7 PC to the Unix system and into
> Filepro.  Viewed a record in 3 or 4 different files and pressed H for
> hardcopy and it prints to the system printer as it should. Pressed F to
> print a form, selected the form format that I wanted and it printed to
> the system printer as it should.  Used the AlphaCom printer icon and
> printed to the system printer and to a local printer what was on the
> screen, essentially a hardcopy of the record on the screen.
>
> 3. Per Brian's suggestion, I logged in on the Windows 10 PC to the Unix
> system and did a set|sort> env.txt.  The list below is what I got back.
>
> Windows 10 Env User1
>
> Windows 10 Connection *Set command on SCO Box*
>
> COLUMNS=80
> HOME=/usr/mau
> HUSHLOGIN=FALSE
> HZ=100
> IFS=
> LINES=25
> LOGNAME=mau
> MAIL=/usr/spool/mail/mau
> MAILCHECK=600
> MF_ADM=adm.cat at Unix
> MSG_MAIL=1
> MS_PROFILE=1
> OPTIND=1
> PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/bin:/usr/mau/bin:.
> PFPT=ON
> PS1=$
> PS2=>
> SHELL=/bin/sh
> TERM=scoansi
> TZ=CST6
>
> 4. Per Brian's suggestion, I logged in on the Windows 7 PC to the Unix
> system, using the same user login, and did a set|sort> env.txt.  The
> list below is what I got back.
>
> Windows 7 Env User1
>
> Windows 7 Connection *Set command on SCO Box*
>
> HOME=/usr/mau
> HUSHLOGIN=FALSE
> HZ=100
> IFS=
> LOGNAME=mau
> MAIL=/usr/spool/mail/mau
> MAILCHECK=600
> MF_ADM=adm.cat at Unix
> MSG_MAIL=1
> MS_PROFILE=1
> OPTIND=1
> PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/bin:/usr/mau/bin:.
> PFPT=ON
> PS1=$
> PS2=>
> SHELL=/bin/sh
> TERM=scoansi
> TZ=CST6
>
> In this case the only difference I see is COLUMNS=80 and LINES=25.
>
> *.profile for User Login*
>
> :
> #       @(#) profile 85.1 99/12/09
> #
> #       Copyright (C) 1989-1999 The Santa Cruz Operation, Inc.
> #               All Rights Reserved.
> #       The information in this file is provided for the exclusive use of
> #       the licensees of The Santa Cruz Operation, Inc.  Such users have
> the
> #       right to use, modify, and incorporate this code into other products
> #       for purposes authorized by the license agreement provided they
> include
> #       this notice and the associated copyright notice with any such
> product.
> #       The information in this file is provided "AS IS" without warranty.
> #
> # .profile      -- Commands executed by a login Bourne shell
> #
>
> [ -d /usr/local/bin -a -x /usr/local/bin ] && PATH=$PATH:/usr/local/bin
> PATH=$PATH:$HOME/bin:.                  # set command search path
> MAIL=/usr/spool/mail/`logname`          # mailbox location
> export PATH MAIL
>
> # use default system file creation mask
>
> # eval `tset -m scoansi:${TERM:-scoansi} -m :\?${TERM:-scoansi} -r -s -Q`
>
> /usr/bin/prwarn                 # issue a warning if password due to expire
> TERM=scoansi; export TERM
> #set filepro printer
> #PFPRTC=hplaser; export PFPRTC
> PFPT=ON; export PFPT
> exec p plant
>
> Bare in mind, that this is the same user on the system and depending on
> which system I log in from, W7 or W10, one prints one does not.  Because
> I am logging into the same user account, I am using the same menus, the
> same config files, the same printers. Everything is exactly the same as
> far as Unix, filePro, and AlphaCom are concerned. I installed Putty,
> Kitty, and  Dave's Telnet on my W10 PC and none of these programs would
> allow filePro to Hardcopy or form print to the main system printer.  All
> the settings in the AlphaCom program are exactly the same between PCs
> and there is only one fpconfig for all the users which is below.
>
> Filepro Configuration File
>
> Variable            Value
>
> PFPROG        /usr/appl
> printer1        tandy, tandy, lp -dtandy -s
> pfprinter       lp
> printer2        star, epsonfx, lp -dstar -s
> printer3        john, hp-6xx, lp -dJohn -s
> printer4        xerox, hp-6xx, lp -dxerox -s
> printer5        dumb, dumb, lp -dstar -s
> PFDSK            /usr2: /
> printer6        pan2, epsonfx, lp -dpan2 -s
> printer7        nancy, epsonfx, >/dev/pri1d
> printer8        lp, hp-6xx, lp -dxerox -s
> printer9        lab, pan1080i, >/dev/pri1h
> pfver             on
> pfcmark        80
>
> I'm sure there is something else I need to send that I have forgotten.
>
> --
>
> Pro-Set Systems Logo <www.pro-set.com>  Rod Caddy
>    Pro-Set Systems
>    rcaddy at pro-set.com
> The information in this e-mail is confidential and may be privileged. If
>    you are not the intended recipient, please destroy this e-mail and
>    notify the sender immediately. You should not retain, copy, distribute
>    or use this e-mail for any purpose, nor disclose any of its contents to
>    any other person.
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mailman.celestial.com/pipermail/filepro-list/attachments/20181031/0388b41d/attachment.html
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: lglogo3.ico
> Type: image/x-icon
> Size: 6862 bytes
> Desc: not available
> URL: <
> http://mailman.celestial.com/pipermail/filepro-list/attachments/20181031/0388b41d/attachment.bin
> >
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>

On Oct 31, 2018 6:18 PM, "Rod Caddy via Filepro-list" <
filepro-list at lists.celestial.com> wrote:

On 10/30/2018 10:49 PM, Rod Caddy via Filepro-list wrote:
> You do have some things for me to try that I haven't. But yes the first
question you asked is  correct. One prints one does not.
>
>> Rod Caddy
> 817-793-4148 Cell
> 1-877-657-1480
>
> Sent from BlueMail ​
>
> On Oct 30, 2018, 10:39 PM, at 10:39 PM, Bob Rasmussen <ras at anzio.com>
wrote:
>> snip
>> Regards,
>> ....Bob Rasmussen,   President,   Rasmussen Software, Inc.
>>
>> personal e-mail: ras at anzio.com
>>   company e-mail: rsi at anzio.com
>>            voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
>>              fax: (US) 503-624-0760
>>              web: http://www.anzio.com
>>   street address: Rasmussen Software, Inc.
>>                   10240 SW Nimbus, Suite L9
>>                   Portland, OR  97223  USA
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
http://mailman.celestial.com/pipermail/filepro-list/attachments/20181030/e1635053/attachment.html
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: 189.png
> Type: image/png
> Size: 4239 bytes
> Desc: not available
> URL: <
http://mailman.celestial.com/pipermail/filepro-list/attachments/20181030/e1635053/attachment.png
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list

This is a re-post of what I sent earlier in answer to Brian's question
but the information was scrubbed. My apologies:

Since this issue makes no since, I thought I would add some more to it.
After Brian's suggestions, I decided to go back and start from the
beginning and redo all my tests and the additional things he suggested
to make sure I was not losing my mind.  So here was my procedure and as
a reminder what I am using:

SCO 3.2.5.0.6 i386
Filepro 4.05.08K7D4
AlphaCom Terminal Emulation
Windows 7 on all PCs except 1 which is Windows 10
BTW, this is *not* a new user to the system.

1. Logged in as user on the W10 PC to the Unix system and into Filepro.
Viewed a record in 3 or 4 different files and pressed H for hardcopy and
nothing prints to the system printer. Pressed F to print a form,
selected the form format that I wanted and it did not print to the
system printer.  AlphaCom has a printer icon where you can print what is
on the screen to any printer that is defined on the PC.  I printed to
the system printer and to a local printer what was on the screen,
essentially a hardcopy of the record on the screen.  That's all fine and
good but still unable to print the form.

2. Logged in as the same user on a W7 PC to the Unix system and into
Filepro.  Viewed a record in 3 or 4 different files and pressed H for
hardcopy and it prints to the system printer as it should. Pressed F to
print a form, selected the form format that I wanted and it printed to
the system printer as it should.  Used the AlphaCom printer icon and
printed to the system printer and to a local printer what was on the
screen, essentially a hardcopy of the record on the screen.

3. Per Brian's suggestion, I logged in on the Windows 10 PC to the Unix
system and did a set|sort> env.txt.  The list below is what I got back.

Windows 10 Env User1

Windows 10 Connection *Set command on SCO Box*

COLUMNS=80
HOME=/usr/mau
HUSHLOGIN=FALSE
HZ=100
IFS=
LINES=25
LOGNAME=mau
MAIL=/usr/spool/mail/mau
MAILCHECK=600
MF_ADM=adm.cat at Unix
MSG_MAIL=1
MS_PROFILE=1
OPTIND=1
PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/bin:/usr/mau/bin:.
PFPT=ON
PS1=$
PS2=>
SHELL=/bin/sh
TERM=scoansi
TZ=CST6

4. Per Brian's suggestion, I logged in on the Windows 7 PC to the Unix
system, using the same user login, and did a set|sort> env.txt.  The
list below is what I got back.

Windows 7 Env User1

Windows 7 Connection *Set command on SCO Box*

HOME=/usr/mau
HUSHLOGIN=FALSE
HZ=100
IFS=
LOGNAME=mau
MAIL=/usr/spool/mail/mau
MAILCHECK=600
MF_ADM=adm.cat at Unix
MSG_MAIL=1
MS_PROFILE=1
OPTIND=1
PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/bin:/usr/mau/bin:.
PFPT=ON
PS1=$
PS2=>
SHELL=/bin/sh
TERM=scoansi
TZ=CST6

In this case the only difference I see is COLUMNS=80 and LINES=25.

*.profile for User Login*

:
#       @(#) profile 85.1 99/12/09
#
#       Copyright (C) 1989-1999 The Santa Cruz Operation, Inc.
#               All Rights Reserved.
#       The information in this file is provided for the exclusive use of
#       the licensees of The Santa Cruz Operation, Inc.  Such users have the
#       right to use, modify, and incorporate this code into other products
#       for purposes authorized by the license agreement provided they
include
#       this notice and the associated copyright notice with any such
product.
#       The information in this file is provided "AS IS" without warranty.
#
# .profile      -- Commands executed by a login Bourne shell
#

[ -d /usr/local/bin -a -x /usr/local/bin ] && PATH=$PATH:/usr/local/bin
PATH=$PATH:$HOME/bin:.                  # set command search path
MAIL=/usr/spool/mail/`logname`          # mailbox location
export PATH MAIL

# use default system file creation mask

# eval `tset -m scoansi:${TERM:-scoansi} -m :\?${TERM:-scoansi} -r -s -Q`

/usr/bin/prwarn                 # issue a warning if password due to expire
TERM=scoansi; export TERM
#set filepro printer
#PFPRTC=hplaser; export PFPRTC
PFPT=ON; export PFPT
exec p plant

Bare in mind, that this is the same user on the system and depending on
which system I log in from, W7 or W10, one prints one does not.  Because
I am logging into the same user account, I am using the same menus, the
same config files, the same printers. Everything is exactly the same as
far as Unix, filePro, and AlphaCom are concerned. I installed Putty,
Kitty, and  Dave's Telnet on my W10 PC and none of these programs would
allow filePro to Hardcopy or form print to the main system printer.  All
the settings in the AlphaCom program are exactly the same between PCs
and there is only one fpconfig for all the users which is below.

Filepro Configuration File

Variable            Value

PFPROG        /usr/appl
printer1        tandy, tandy, lp -dtandy -s
pfprinter       lp
printer2        star, epsonfx, lp -dstar -s
printer3        john, hp-6xx, lp -dJohn -s
printer4        xerox, hp-6xx, lp -dxerox -s
printer5        dumb, dumb, lp -dstar -s
PFDSK            /usr2: /
printer6        pan2, epsonfx, lp -dpan2 -s
printer7        nancy, epsonfx, >/dev/pri1d
printer8        lp, hp-6xx, lp -dxerox -s
printer9        lab, pan1080i, >/dev/pri1h
pfver             on
pfcmark        80

I'm sure there is something else I need to send that I have forgotten.

-- 

Pro-Set Systems Logo <www.pro-set.com>  Rod Caddy
   Pro-Set Systems
   rcaddy at pro-set.com
The information in this e-mail is confidential and may be privileged. If
   you are not the intended recipient, please destroy this e-mail and
   notify the sender immediately. You should not retain, copy, distribute
   or use this e-mail for any purpose, nor disclose any of its contents to
   any other person.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://mailman.celestial.com/pipermail/filepro-list/attachments/20181031/0388b41d/attachment.html
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lglogo3.ico
Type: image/x-icon
Size: 6862 bytes
Desc: not available
URL: <
http://mailman.celestial.com/pipermail/filepro-list/attachments/20181031/0388b41d/attachment.bin
>
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes
http://mailman.celestial.com/mailman/listinfo/filepro-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20181101/2759a182/attachment.html>


More information about the Filepro-list mailing list