AS/400 Spool file not printing

1980 pts.
Tags:
AS/400
IBM PC5250 Emulator
Spool files
We have Panasonic DP-8020P LAN printer connected with network and working fine on windows environment. Now we want to use it for printing reports from AS/400 spool files. We have created device using CRTDEVPRT command and using PC5250 printer session with same workstationID but when we print spool file it gets HELD(status). We have tried a lot but couldn't succeed. Any help will be appreciated. Thanks in advance.

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Splat
    If the printer is attached via the network why are you using a PC5250 printer session.  I'd think it would be easier to change your device description to reflect a network attached printer - that would also make the device independent of the PC.

    I'm not seeing that particular printer in the Information on Printers from Panasonic list but I'd think the information for the Panasonic DP-8025 could be close enough for your purposes.

    Check the printer message queue for messages as there may be some indication as to the source of the problem there.



    7,405 pointsBadges:
    report
  • hunshabbir7
    Thanks for reply, we have checked the printer message queue, it remains always empty. No message is there. I am new to this environment and I dont know much but struggling.. not yet succeeded.
    1,980 pointsBadges:
    report
  • WoodEngineer
    I agree with Splat about making this a network attached printer.  That is now we attach printers to our IBM i.

    If the system can not print a spool file due to configuration problems it will often hold the spool file.

    We use this method to configure printers:
    1)	Add a TCP/IP Table Entry on the AS/400 using the address established in step #1.  Use command “GO CFGTCP”, option 10 - Work with TCP/IP host table entries.
    2)	Create an output queue on the AS/400
    
    CRTOUTQ OUTQ(AMPRT01)  +
          RMTSYS(*INTNETADR)  +
          RMTPRTQ(AMPRT01)  +
          AUTOSTRWTR(1)  +
          CNNTYPE(*IP)  +
          DESTTYPE(*OTHER)  +
          TRANSFORM(*YES)  +
          MFRTYPMDL(*HP4)  +
          INTNETADR('192.168.6.249')  +
          SEPPAGE(*NO)  +
          TEXT('Amzone Accounting Printer')  +
          DSPDTA(*YES)  +
         JOBSEP(00)
    
    Parm AUTOSTRWTR(1) will cause the system to automatically start the associated writer any time the output is started, which is typcically at IPL.
    
    6,715 pointsBadges:
    report
  • Splat
    We use a slightly different method to define network-attached printers:
    CRTDEVPRT DEVD([printer name]) DEVCLS(*LAN) TYPE(3812) MODEL(1) LANATTACH(*IP) AFP(*N) PORT(9100) ATTACH(*DIRECT) ONLINE(*YES) FONT(011 *NONE) FORMFEED(*AUTOCUT) SEPDRAWER(*FILE) PRTERRMSG(*INFO) MSGQ(*CTLD) ACTTMR(170) INACTTMR(*SEC15) LINESPEED(19200) WORDLEN(8) PARITY(*NONE) STOPBITS(1) TRANSFORM(*YES) MFRTYPMDL(*HP4000) PPRSRC1(*LETTER) PPRSRC2(*LETTER) ENVELOPE(*NUMBER10) ASCII899(*NO) IMGCFG(*NONE) CHRID(*SYSVAL) RMTLOCNAME('10.195.127.24') SYSDRVPGM(*HPPJLDRV) TEXT('Printer HP LJ P4015') 
    but that's just us.   Whichever works best in your environment is what you should do.
    7,405 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following