Maybe not the best solution, but you could use the WRKWTR *ALL command
to output *PRINT.  Then copy the resulting spool file to a PF and read
that.  Not optimal, but it will work.  One caveat with this method, As
IBM changes OS versions, the format of these type of spool files tend to
change, so as new releases come out, be prepared to make slight changes.
An alternative (and better) method is to find the equivalent API and use
the API.

Carl J. Galgano
EDI Consulting Services, Inc.
550 Kennesaw Avenue, Suite 800
Marietta, GA  30060
(770) 422-2995 - voice
(419) 730-8212 - fax
AS400 EDI, Networking, E-Commerce and Communications Consulting and
Premium Ice Cream Brands shipped Overnight
FREE AS/400 Timesharing Service -
"You ain't gonna learn what you don't want to know" - rw

-----Original Message-----
[] On Behalf Of Albino Sousa
Sent: Thursday, January 17, 2002 4:14 AM
Subject: Remote vs Local printer

I must get within a file this information: all printers and if they are
local or remote. Is there any command  where I can achieve this to an
outfile? Thanks for you help and time.

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: To subscribe,
unsubscribe, or change list options,
or email:
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.