'Print' to screen in Windows environment
Robert T. Repko
rtr at rsquared.com
Thu Nov 12 11:22:11 PST 2015
Thanks to all that replied. Evidently I wasn't as clear in my description of what I was trying to do as I should have been. I'm not trying to do this from within processing. I need to do it from a menu selection, I thought that was obvious from my statement that I have -pq in the menu, but I was wrong.
-----Original Message-----
From: Filepro-list [mailto:filepro-list-bounces+rtr=rsquared.com at lists.celestial.com] On Behalf Of Rick via Filepro-list
Sent: Thursday, November 12, 2015 11:47 AM
To: Filepro-list at lists.celestial.com
Subject: Re: 'Print' to screen in Windows environment
I have a printer which sends to c:\hardcopy.txt so it's always on the local machine.
The script from the menu runs the report than launches notepad c:\hardcopy.txt
Rick Mitchell
On Nov 11, 2015, at 7:25 PM, Robert T. Repko via Filepro-list wrote:
> I have a client running version 5.0.05DN9 on a Windows based PC. I want to 'print' reports to the screen. I've done it for years on Unix but never had to do it in Windows. I have the Unix commands cat & less installed on the PC. I tried the same commands I used in Unix:
>
> |cat > c:\temp\view$$ & less c:\temp\view$$, but that failed.
>
> Since I'm not sure of the Windows equivalent of view$$ I tried:
>
> |cat > c:\temp\view.txt & less c:\temp\view.txt, but that also failed. I received the following error:
>
>
>
> Cannot Open Print Command
>
> |cat > c:\temp\view.txt & less c:\temp\view.txt: No such file or
> |directory
>
>
>
> C:\temp\view.txt does exist. If I manually populate view.txt I can cat view.txt and less view.txt without errors so I know those commands are working.
>
>
>
> In the menu I have -pq to allow selecting screen as a 'print' option. I don't want to select display, it doesn't display on the screen as nicely as less.
>
>
>
> Any ideas greatly appreciated.
>
> This email was scanned for viruses by ClamAV AntiVirus.
>
> -------------- next part -------------- An HTML attachment was
> scrubbed...
> URL:
> <http://mailman.celestial.com/pipermail/filepro-list/attachments/20151
> 111/2a8debac/attachment.html>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes http://mailman.celestial.com/mailman/listinfo/filepro-list
This email was scanned for viruses by ClamAV AntiVirus.
More information about the Filepro-list
mailing list