SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, 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.

The Southern California OS/2 User Group
USA

SCOUG-Programming Mailing List Archives

Return to [ 27 | July | 2002 ]

>> Next Message >>


Date: Sat, 27 Jul 2002 09:13:52 PST7
From: "Steven Levine" <steve53@earthlink.net >
Reply-To: scoug-programming@scoug.com
To: scoug-programming@scoug.com
Subject: SCOUG-Programming: Rexx doesn't talk to \pipe\lpd0

In <3D424666.69AC562C@gte.net>, on 07/26/02
at 11:06 PM, "Benedict G. Archer" 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.