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 [ 26 | July | 2002 ]

<< Previous Message <<


Date: Fri, 26 Jul 2002 23:06:35 PST7
From: "Benedict G. Archer" <bgarcher@gte.net >
Reply-To: scoug-programming@scoug.com
To: scoug-programming@scoug.com
Subject: SCOUG-Programming: Rexx doesn't talk to \pipe\lpd0

Content Type: text/plain

Making progress

Steven Levine wrote:
>
> In <3D40EFD5.59F44B03@gte.net>, on 07/25/02
> at 10:44 PM, "Benedict G. Archer" said:
>
> >but repeating
> >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.

> that you made me think about it, it's obvious why it should fail. You
> don't know how to talk to lprportd. There must be a defined interface
> between the printer object LPD port driver and lprportd. Otherwise, how
> would the paramters be passed? Since I'm pretty sure you don't know this
> interface, you are not going to be able to use it.

I don't know how to use the interface, but epm, NS, WordPro etc. must know.
How do I learn how to use it?

> Use lprmon to connect to the print server and write the the redirected lpt
> port. Something like:
>
> lprmon -b -p lp0 -s 192.168.0.x lpt2
>
> should get you connected. Then just write to lpt2 from REXX. I recall
> mumbling something about doing it this way at the meeting.

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.

OTOH, lprmon seems faster than lprportd

> FWIW, the error messages say nothing about printer errors. They
> reflecting your script's inability to talk correctly to the pipe.
>
> Steven
>
> --
> ---------------------------------------------------------------------
> "Steven Levine" MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
> www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
> ---------------------------------------------------------------------

glad you're there,
Ben

=====================================================

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 [ 26 | 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.