MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » May 2010

RE: Print from a PC to iSeries output queue



fixed

This is worth a try to see what I get. LPD should easy to setup.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of DeLong, Eric
Sent: Monday, May 17, 2010 5:46 PM
To: Midrange Systems Technical Discussion
Subject: RE: Print from a PC to iSeries output queue

I wonder if setting up the PC to use LPR to send the document to the host would produce a regular SCS spool file?

-Eric

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Monday, May 17, 2010 4:35 PM
To: Midrange Systems Technical Discussion
Subject: Re: Print from a PC to iSeries output queue

Printing from the PC to an iSeries outq will always result in a
*USERASCII type spool file which the iSeries will dutifully send to
the printer but that's about it.

To do what you're wanting to do, I'd suggest setting up a "Generic
Text Only" printer on the PC which prints to a file, then simply FTP
the resulting file to the iSeries. Then use the IFS APIs to read it
from an RPGLE program and write the data to a PF. Heck, using a
Netserver file share, you could have the PC place the file directly
into the IFS.

Note: I'd consider this method, parsing output designed to be printed,
a last resort. Isn't there any way to access or at least export the
data from whatever PC program has it? Where does it originate?

Good Luck!
Charles Wilt


On Mon, May 17, 2010 at 4:49 PM, Mike Cunningham
<mike.cunningham@xxxxxxx> wrote:
Success! (almost). Thanks to a few replies to my post I have setup NetServer to share a printer that I have configure in Windows as a printer and I can print to that printer from Windows and the file shows up in the iSeries output queue. I can move the spool file and send it to the printer. What I can't do is a CPYSPLF to a database file :( which is what I need to do next. If I setup the NetServer printer share with auto I get an ASCII spool file that I can't display or copy. If I change the printer share and specify SNA (aka SCS) I get a spool file I can display but it is all garbage (probably ascii characters displayed as ebcdic). There is one setting on NetServer printer share that I can't figure out what to enter. The Printer Driver. All documentation I can find points me to a directory in the IFS that I do not have. Qca400\Win32\Install\Printer  I have Qca400 but not Win32 and below.

Anyone have any thoughts on where I might look next?

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of DeLong, Eric
Sent: Monday, May 17, 2010 10:36 AM
To: Midrange Systems Technical Discussion
Subject: RE: Print from a PC to iSeries output queue

Mike,

Just go into navigator and define a print share.  This lets you install
printer drivers on your PC that use your midrange as a windows print
server.

-Eric

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike Cunningham
Sent: Sunday, May 16, 2010 7:42 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Print from a PC to iSeries output queue

Is it possible to setup a Windows PC so it has a printer that would
print to an iSeries output queue?  And then use whatever iSeries
utilities there are to manage that spool file? Might be move it to a
queue attached to a remote laser printer and print it, might be copy the
spool file to a database file and process it with my own application,
might be print it to a local attached printer. Would this be something
IPP printing would handle? If so I think I can figure out the server
side for setup of IPP but what would I need to do on the PC side to
setup a Windows printer that points to the IPP device?
--
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.



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

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