AS400 Printer emulation Print to PDF

Hi,

We have an IBM AS400 that sends prints to a network printer (Lexmark T640 using IP address 192.168.0.30).
I would like print directly to a PDF printer and create a PDF file rather than printing to the Lexmark printer but I would like to use the IP of the Lexmark 192.168.0.30 and replace it with a Windows/Linux Server which can print to PDF.

The AS400 is not managed by us and so we cannot make any changes on the AS400.
I’ve found a product from Symtrax which will do the job but I would prefer freeware solution, can you suggest anything?

Thanks in advance
AK
ak1923Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gary PattersonVP Technology / Senior Consultant Commented:
Suggest that you post the complete *DEVD or remote *OUTQ definition from the AS/400 for the printer in question.  There are a number of configuration options, and if you can't change the host configuration (which seems like an odd constraint - what service provider won't make a simple printer change for you?  That is a pretty common request.) your options may be pretty limited.

Assuming the AS/400 printer is configured to use Host Print Transform and is sending PCL to the printer using LPR, then you just need to capture the PCL data stream and use a tool like Ghostscript to convert to PDF.  I did this recently using the following tools:

1) LPD client.  You may be able to use the free LPD client built into Windows.  Mochasoft also offers a nice inexpensive LPD client for about US$25 that may work better for this particular application.

2) REDMON printer redirection utility configured to convert PCL to PDF.

http://pages.cs.wisc.edu/~ghost/redmon/
0
ak1923Author Commented:
Many thanks Gary, in regards to making changes on the AS400 if the printer change is simple they will probably do this for us.

As you mention the printer needs to be configured to use Host Print Transform and send PCL to the printer using LPR, are there any other configuration options on the AS400 which needs set for the printer? If not I can forward that request to the AS400 provider.

I will also install the tools mentioned and let you know how I get on.
0
ak1923Author Commented:
Hi Gary,

I've setup a server and installed the tools, both Mochasoft LDP Client and REDMON is setup but I've not had any prints come through.

I've configured REDMON with the following parameters

Screen-Shot-2015-03-19-at-17.24.44.png
As requested the DEVD output from the AS400 is also listed below, hope you can help.

Device description . . . . . . . . :   GBPRT1  
Option . . . . . . . . . . . . . . :   *BASIC  
Category of device . . . . . . . . :   *PRT    
                                               
Device class . . . . . . . . . . . :   *LAN    
Device type  . . . . . . . . . . . :   3812    
Device model . . . . . . . . . . . :   1      
LAN attachment . . . . . . . . . . :   *IP    
Port number  . . . . . . . . . . . :   9100    
Physical attachment  . . . . . . . :   *DIRECT
Online at IPL  . . . . . . . . . . :   *YES    
Font:                                          
  Identifier . . . . . . . . . . . :   11      
  Point size . . . . . . . . . . . :   *NONE  
Form feed  . . . . . . . . . . . . :   *AUTOCUT
Separator drawer . . . . . . . . . :   *FILE  
Device description . . . . . . . . :   GBPRT1  
Option . . . . . . . . . . . . . . :   *BASIC  
Category of device . . . . . . . . :   *PRT    
                                               
Separator program  . . . . . . . . :   *NONE  
Printer error message  . . . . . . :   *INQ    
Message queue  . . . . . . . . . . :   *CTLD  
Current message queue  . . . . . . :   QSYSOPR
  Library  . . . . . . . . . . . . :     QSYS  
Last activity date . . . . . . . . :   02/02/15
Activation timer . . . . . . . . . :   170    
Inactivity timer . . . . . . . . . :   *SEC15  
Line speed . . . . . . . . . . . . :   19200  
Word length  . . . . . . . . . . . :   8      
Type of parity . . . . . . . . . . :   *NONE  
Stop bits  . . . . . . . . . . . . :   1      
Device description . . . . . . . . :   GBPRT1    
Option . . . . . . . . . . . . . . :   *BASIC    
Category of device . . . . . . . . :   *PRT      
                                                 
Host print transform . . . . . . . :   *YES      
Manufacturer type and model  . . . :   *LEXOPTRAT
Paper source 1 . . . . . . . . . . :   *LETTER  
Paper source 2 . . . . . . . . . . :   *LETTER  
Envelope source  . . . . . . . . . :   *NUMBER10
ASCII code page 899 support  . . . :   *NO      
Image configuration  . . . . . . . :   *NONE    
Character identifier . . . . . . . :   *SYSVAL
0
Gary PattersonVP Technology / Senior Consultant Commented:
Looking at the portions of the config you provided, these are the important parts for our discussion:

LAN attachment . . . . . . . . . . :   *IP    
Port number  . . . . . . . . . . . :   9100    

Host print transform . . . . . . . :   *YES      
Manufacturer type and model  . . . :   *LEXOPTRAT

What system driver program (*SYDRVPGM) are you using?  Looks like that page of config was omitted.  Since port is 9100, I'm guessing *HPPJLDRV - that means this printer is configured for PJL on the AS/400, not LPD.  

To use LPD will require changes on the AS/400 / iSeries / IBM i.  Here's the most common way to set up an LPR outq on the IBM i:

http://www-01.ibm.com/support/docview.wss?uid=nas8N1010172

It is also possible to use a 3812 DEVD for this, but it can be a little more trouble to configure:

http://www-01.ibm.com/support/docview.wss?uid=nas8N1019586

Starting in V6R1 of the OS, you can skip all of this and just create an outq on the IBM i that can create PDFs directly:

https://www-304.ibm.com/support/docview.wss?uid=nas8N1018568
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ak1923Author Commented:
Many thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Printers and Scanners

From novice to tech pro — start learning today.