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



> > On my pc, I can copy a pdf file to a connected printer, and the
> > printer can print it, if the printer can handle the ps language.. But,
> > can I do the same thing within QSH?

I assume you mean that the printer can handle the PDF language, so it will
print a PDF?  PDF and PS are not the same thing.


> > I have a printerdevice configued called 'SUPPORT'
> > and I would like to copy the PDF, to that printer...  Is this possible?
> >
> > copy file.pdf to \\SUPPORT  or something similar.

Hmmm... \\SUPPORT would be a Windows file server called SUPPORT.  Do you
mean \\ServerName\SUPPORT for a printer that's controlled by that server?

Is that what you're trying to do?  Copy a file over a network to a printer
on a Windows server?  Or are you really trying to copy a file from the IFS
to a printer that's defined on the iSeries?  It's not clear what you're
asking.

As far as I know the iSeries cannot act as a client to a Windows printer.
You have to use PJL, SNMP, LPR/LPD, or IPP in order to print across
TCP/IP... you can't use Windows networking from the iSeries -- at least
not natively.

You might be able to get smbclient working in PASE, and then use that to
send your request to the Windows server -- always assuming, of course,
that you really meant to send it to a windows server :)

If you want to print to a locally defined printer, that's also possible.
I don't know how to do it from QShell, however.  I did post some code that
shows how to read an IFS file and copy it to a *USERASCII printer in the
RPG400-L forum.  You can read it at the following link:
http://archive.midrange.com/rpg400-l/200406/msg00288.html

I suppose you could write a QShell command in RPG or C that does the same
thing if you want to make it work in QShell for some reason.

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.