SCOUG-Programming Mailing List Archives
Return to [ 25 |
July |
2002 ]
<< Previous Message <<
Content Type: text/plain
Steven & Peter,
Peter Skye wrote:
>
> > > I'm unfamiliar with 2up.cmd and
> >
> > Ben's script is generating a postscript file.
>
> Okay, I just looked up 2up and found that it's a PostScript generator.
> Didn't find it on Hobbes, though, so Googled again with "2up rexx" and
> found 1) an article from 1995 on SCOUG's site for 21UPRT.ZIP, and 2)
> some places to get it. And *then* I found 21UPRT on Hobbes (last
> release 1999).
>
> But this package doesn't contain 2up.cmd. Where is 2up.cmd?
>
> - Peter
Thanks. When I get all the quotes right, in REXXTRY,
say stream('\pipe\lpd1','c','open write') returns READY
then
say stream('\pipe\lpd1','c','close) also returns READY
but repeating
say stream('\pipe\lpd1','c','open ready') returns NOTREADY:231
rebooting the print server doesn't help, but rebooting the PC restores the
READY response to the 'open write' command, but just once.
Same thing with the stream state command. That is, stream returns a READY the
first time it's invoked, but an error on following attempts until the PC is
rebooted. And worse yet, when in this state, the printer will no longer print
a text file dropped onto the printer icon. After the timeout period, I get a
printer offline msg.
Peter, I've used this rexx command file for years--believe I got it originally
from a CD from OS/2 Professional magazine. The script includes a mode
variable which is set to 1, 2 or 3 for dot matrix (acsii), HP (PCL) or PS. I
use PS for everything. Let me know if you'd like the file.
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
Return to [ 25 |
July |
2002 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|