× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Jerry

IBM i supports printing directly to a .pdf streamfile in the IFS.  For example:

    OVRPRTF FILE(QSYSPRT) +
            DEVTYPE(*AFPDS)+
            TOSTMF('/home/Jerry/output.pdf') +
            WSCST(*PDF)

    NOTE: specify the correct printer file name ... depending on the program or command called, etc.

Then run a command or call a program that prints something, and you should find a .pdf file in the IFS, rather than in an *OUTQ.

Try that, and see if it is sufficient for your needs...

Hope that helps,

Mark S. Waterbury

> On 4/27/2018 9:35 AM, Jerry Adams wrote:
For years on V5R1 and V5R4 I used PDF printers on Windows that I configured
and used for System i reports also. Originally it was the PDF printer from
Adobe and for the last 5-6 years it has been PDF995.

The printer on the System i was created using:

CRTDEVPRT DEVD(PZ) DEVCLS(*VRT) TYPE(3812) MODEL(1)
ONLINE(*YES) CTL(QVIRCD0001) FONT(11
*NONE) FORMFEED(*AUTOCUT)
SEPDRAWER(*FILE) PRTERRMSG(*INFO)
MSGQ(*LIBL/QSYSOPR) TRANSFORM(*NO)
PPRSRC1(*MFRTYPMDL) PPRSRC2(*MFRTYPMDL)
ENVELOPE(*MFRTYPMDL) ASCII899(*NO)
IMGCFG(*NONE) TEXT('PDF Printer')
DEPLOCNAME(*NONE)

Well, we finally moved to a 7.3 system. The printer is still defined the
same way on the new System i. And, it seems, I created in Windows using the
ACS Session Manager using the "Other Printer" option and the PFD995 device.

But, when I move a report to PZ, the report disappears (is completed) on the
System i but never "prints" in my open/connected PZ printer on my PC. If
the PZ printer is not connected in Windows (ACS), it stays in 'Ready' mode
on the System i, which is naturally as it should be.

I hope I have included sufficient information, but I'm willing to supply
more. Any suggestions as to where I should search for the problem/solution
would be appreciated.

Jerry C. Adams

If you torture data sufficiently, it will confess to almost anything. -Fred
Menger

IBM i Programmer/Analyst
--
NMM&D
615-832-2730




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-2024 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.