This might help.
https://www.youtube.com/watch?v=Zai6Hh3bPIQ
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of DEnglander--- via RPG400-L
Sent: Monday, June 29, 2020 12:53 PM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Cc: DEnglander@xxxxxxxxxxxxxxx
Subject: Printing to a Zebra printer
CAUTION! This email originated from outside of the organization. Please do not open attachments or click on links from an unknown or suspicious origin.
Does anyone have any examples [or can point me to any] of creating a remote OUTQ to work with an IP connected Zebra printer? I have some examples of RPG that creates the data stream and I am trying to test with this. But I cannot seem to create the communication between our IBM i and the network attached printer.
I know the printer is attached because another user can print to it outside of IBM i so it is attached to the network and communicating. I can ping it from IBM i.
Is the CRTOUTQ the command used to create an OUTQ of this type, or is there another command? I'm using the RMTSYS(*INTNETADR), RMTPRTQ(*NONE), CNNTYPE(*IP), TRANSFORM(*YES) and INTNETADR with the IP address. Are there any other parameters that I need?
The PRTF I am using is just created with PDM option 14. Are there any special parameters for that?
Thank you,
Doug
"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the attachments accompanying it) contain confidential information belonging to the sender. The information is intended only for the use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of the information is strictly prohibited. Any unauthorized interception of this transmission is illegal under the law. If you have received this transmission in error, please promptly notify the sender by reply e-mail, and then destroy all copies of the transmission."
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.