×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




All Printer devices, those could be DEVD defined (CRTDEVPRT) or outq remote printer (LPR) created like CRTOUTQ RMTSYS(*INTNETADR)

this will list those created by CRTDEVPRT

SELECT * FROM TABLE(Qsys2.Object_Statistics('QSYS', '*DEVD'))
AS A where objattribute like '%PRT%' ;

for the others I have a WRKRMTWTR command @
http://bryandietz.us/wrkrmtwtr.html
that outputs to a file


I'm not aware of a SQL function to list out those types of outqs using the API QSPROUTQ

Bryan

Steinmetz, Paul wrote on 8/30/2017 8:23 AM:
Need a command or tool to display all printer device descriptions to an outfile or spoolfile

Thank You
_____
Paul Steinmetz
IBM i Systems Administrator

Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071

610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home

psteinmetz@xxxxxxxxxx
http://www.pencor.com/


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2026 by midrange.com 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.