MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » January 2014

RE: print a PDF from the IFS to a network printer



fixed

For those printers that recognize and print PDF on their own as mentioned by Chris, you can also set up a print file as DEVTYPE(*USERASCII) then COPY the .pdf file to the print file, overriding to the appropriate OUTQ for the printer. The print writer will just funnel the PDF straight down the IP (or whatever) connection to the printer and let the printer software discover that it's PDF.

Something like
===> COPY OBJ('/something.pdf') TOOBJ('/qsys.lib/yourlib.lib/prtf.file/prtf.mbr')

Leave the default for DTAFMT(*BINARY). You may have to say REPLACE(*YES).

I've done it before. It works. It takes some fiddling with the print file and the COPY command and I don't have the opportunity to try it now.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Chris Bipes
Sent: Friday, January 10, 2014 3:23 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: print a PDF from the IFS to a network printer

Newer printer have the ability to print PDF files from the network via FTP and
other protocols. Check that out.

Chris Bipes
Director of Information Services
CrossCheck, Inc.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Mike Cunningham
Sent: Friday, January 10, 2014 1:11 PM
To: Midrange Systems Technical Discussion
Subject: print a PDF from the IFS to a network printer

If I have a PDF file stored in the IFS, and 100 network attached laser printers
on campus, is there a way using CL or RPG or Java or Qshell, to send that PDF
document to one of those printers and have it print? I can open the
document and print it to these printers but I want to do this without any
human intervention, and without any PC in the middle. I could probably
setup a PC running client access and send it remote commands to open the
PDF from the IFS and print but I would prefer a totally native solution.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.








Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact