'Print' to screen in Windows environment
Rick
rick at cecbg.com
Thu Nov 12 08:47:02 PST 2015
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/20151111/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
More information about the Filepro-list
mailing list