said:
>> >say stream('\pipe\lpd1','c','open ready') returns NOTREADY:231
>>
>> I assume the above is a typo, but I can duplicate your results here. Now
>What typo? But I did expect my results were real.
I expect that you meant "read" rather than "ready" although REXX might
ignore the y.
>I don't know how to use the interface, but epm, NS, WordPro etc. must
>know. How do I learn how to use it?
Good question. EPM and NS and WordPro don't really know how to to use the
interface either. They do know how to talk to a port driver. This is
documented in the DDK's Printer Driver developers guide. The port driver
(lprpdrvr.pdr) knows how to talk to the print server. This is documented
in the RFC. The printer objects know how to show the ports and accept
settings for them because there's a WPPort WPS class and the printer
object asks the WPPort object instances to do the work. This class is
documented in \Toolkit\IDL\WPPORT.IDL. This is a transient class, so the
instances exist only when the settings notebook is open.
>This works, and I know someone mentioned using lprmon, but I was trying
>to use lprportd because I have multiple printers. with lprmon I have to
>start a separate instance for each printer, in startup.cmd, I suppose.
Typically you do this via the TCP/IP configuration notebook. Of course
you can always start and stop the daemon on demand from your REXX code.
>OTOH, lprmon seems faster than lprportd
This is probably an implementation detail.
>glad you're there,
:-)
Steven
--
---------------------------------------------------------------------
"Steven Levine" MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------
=====================================================
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".
=====================================================
>> Next Message >>
Return to [ 27 |
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.