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



I saw that technique while googling yesterday.

On Nov 2, 2016, at 6:06 PM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx> wrote:

Hi Jack

I copy the IFS file to a PF of some length - doesn't matter, it gets wrapped. Then I look for blanks at the end - these show up as at-signs if they are there - I change them to x'00's - then OVRPRTF QPRINT, say, mostly to set device type to *USERASCII and put in other attributes like copies, save, hold, spool name, user data, whatever is needed - then CPYF the PF to the PRTF.

Not TOO bad - maybe better ways, but it's working, still working out some stuff about printers that are set up as IPDS, those device descriptions will not process *USERASCII, so playing with it for now.

Cheers
Vern

On 11/2/2016 2:06 PM, Jack Tucky wrote:
How do you get the PCL IFS file to the printer?

Thanks, Art

On Wed, Nov 2, 2016 at 12:35 PM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
wrote:

Hi Jack

I remember trying to use QImgCvtImg to make USERASCII format of a PDF -
wanted it to be PCL, but it was actually just the PDF encapsulated in the
spooled file. I suspect that PDF does not have the idea of duplex in it -
so I went with GhostScript, which is able to run a PDF through a print
driver, basically, and make output into and IFS file that is the PCL for
the PDF. I've not tried to find a GS option for duplex, however.

Cheers
Vern


On 11/2/2016 11:08 AM, Jack Tucky wrote:

Vern, It does help thank you. The PDF that's being converted has the
*Duplex Option so QImgCvtImg is missing that when converting from the PDF

On Wed, Nov 2, 2016 at 1:11 AM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
wrote:

I'm trying to frame my response and hope I'm close to sensible. USERASCII
is the "raw" data stream for a certain printer. Let's say we are talking
PCL. In order to print duplex, then, somehow, the PCL command string for
duplex printing would have to have been inserted into that "raw" data.
I'm
using ghostscript to generate PCL and suspect that there is an option I
can
use to get duplex to work. I am not sure, but maybe.

Now Host Print Transform, for one, generates that PCL (or other) data
stream - and if there is a duplex option turned on in the spooled file,
it
will show up at the printer. Right?

But there is nothing innate to USERASCII to make it duplex - the command
sequence for duplex has to somehow be inserted.

HTH
Vern


On 11/1/2016 6:48 PM, Jack Tucky wrote:

I can print *DUPLEX from an SCS or AFPDS printer file, but a *USRASCII
spool file won't print duplex.

Is *Duplex supported for USRASCII or is there something else I'm doing
wrong?

Thanks again

On Mon, Oct 31, 2016 at 7:42 PM, Jack Tucky <jacktucky@xxxxxxxxx>
wrote:

Thanks again. I'll give my customer all of his options as I go forward.

Art

On Mon, Oct 31, 2016 at 5:15 PM, Richard Schoen <
Richard.Schoen@xxxxxxxxxxxxxxx> wrote:

If you're spooling them with Host Print Transform or Ghostscript you'll

need to figure out how to inject a duplex sequence into the print
stream.
Not an easy feat in my experience.

In our case if you print a PDF with our APIs we handle the duplex
switches by interfacing directly to a Windows print driver and then
either
printing directly to the printer or re-spooling the RAW USERASCII data
back
into an outq for inline printing with other print jobs.

If you're interested in trying out our software at some point:
https://www.helpsystems.com/solutions/document-forms-managem
ent/document-creation-and-assembly

Tell the sales team you're needing to print PDF documents from the
IBM i
and they will set you up with a demo of iForms which has PDF printing
capabilities.

Regards,

Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com
---------------------------------------------

Yes, the problem is I create the PDF as two pages long, when I convert
it
back to *USERASCII and print it I get two pages.

QSYSPRT is set as DUPLEX(*YES)

On Mon, Oct 31, 2016 at 2:46 PM, Richard Schoen <
Richard.Schoen@xxxxxxxxxxxxxxx> wrote:

So was there an actual probllem then ?

Regards,


Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com


Thanks for the reply. My final printer file is *USERASCII, if I setup
DUPLEX(*YES) it prints two pages.

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


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

Please contact support@xxxxxxxxxxxx for any subscription related questions.

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.