Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ability to print to PC printer using AFP overlay via client access emulated printer

260 views
Skip to first unread message

me

unread,
Oct 1, 2002, 6:26:01 PM10/1/02
to
Hello,

We have been utilizing overlays ( created using the IBM afp printer
drivers ). I have tried to print to a PC printer emulated through client
access. I have created a printer emulation session pointing to a print
device on the AS/400, I have started a writer on the AS/400 and can print
fine, but it ignores the overlay. I have tried a variety of printer types in
the client access config for the printer emulation setup.

Has anyone does this successfully? And if so, do you have any pointers?

Any assistance would be appreciated.

Thanks

Ralph

please reply to ralph.b...@taj.trump.com


Martin Brieger

unread,
Oct 1, 2002, 7:24:28 PM10/1/02
to
Well,

have you checked the configuration on the /400?
I have never done that via CA, but via direct TCP/IP or via an NT Server w/o
any problems.

"me" <m...@hotmail.com> wrote in message news:and7dq$2in$1...@bob.news.rcn.net...

Pradip Shah

unread,
Oct 2, 2002, 8:09:51 AM10/2/02
to
Ralph,

If you want fast, painless, straight forward,
economical implementation of overlays,
visit www.B2BeDocuments.com and download
SBTN3812-SCS2PDF-eFormPrinter.

Give it a try.

Pradip Shah
www.B2BeDocuments.com
215-542-8383

"me" <m...@hotmail.com> wrote in message news:<and7dq$2in$1...@bob.news.rcn.net>...

Kevin Vette

unread,
Oct 2, 2002, 12:24:45 PM10/2/02
to
Have you set the device type on your printer files to *AFPDS? Host
Print transform doesn't support overlays with *SCS spooled files to an
ASCII type device.

Kevin

--
Kevin Vette
AS/400 Spool/Print
IBM Rochester, Minnesota
Comments provided "as is" - no warranties provided

Rodney Johnson

unread,
Oct 2, 2002, 2:04:16 PM10/2/02
to
What is the device type of the spooled files you are attempting to print? If
it is SCS, then the overlay attribute will not be honored. This is because
printer configurations for printers attached via client access use Host Print
Transform. If you switch you device type of your spooled files to AFPDS, then
you should get the desired results.

Only PSF/400 configured printers honor the overlay attributes for SCS spooled
files.

me wrote:

--
Rodney A Johnson
Technical Team Lead for AS/400 Spool
Dept GJC
IBM Rochester, Minnesota

The contents of this message express only the sender's opinion.
This message does not necessarily reflect the policy or views of
my employer, IBM. All responsibility for the statements
made in this Usenet posting resides solely and completely with the
sender.

Brad Rosman

unread,
Oct 3, 2002, 12:55:11 PM10/3/02
to
Both Kevin and Rodney are correct. Your printer file needs to be defined as
AFPDS. You also need to bring your overlay onto the iSeries & create an
overlay object. When creating the printer file, be sure to both specify
AFPDS & the overlay to use on that print file. I am doing exactly what you
have been trying to do (on an HP Laserjet 5L among others) and it works
great.

Brad


"Rodney Johnson" <rjoh...@rchland.ibm.com> wrote in message
news:3D9B3520...@rchland.ibm.com...

me

unread,
Oct 3, 2002, 7:29:14 PM10/3/02
to
Thanks for the suggestions from everybody, I did create the overlay on the
AS/400 and did specify AFPDS, I will try it again. Once question tho, does
the device I attach to using client access have to have AFPDS specified in
the device description? I tried to to this, but it will not let me for
virtual devices (which are used for client access connections).

"Brad Rosman" <bro...@psateam.com> wrote in message
news:upothjq...@corp.supernews.com...

Rodney Johnson

unread,
Oct 4, 2002, 11:07:37 AM10/4/02
to
You need to make sure the device is configured to use Host Print
Transform...TRANSFORM(*YES). You also need to make sure the printer attached
to your PC is capable of receiving the PCL data stream if I recall correctly
(don't believe HPT supports transformation of AFPDS spooled files to PPDS or
EscP...but don't know for sure).

George Applegate

unread,
Oct 7, 2002, 9:58:18 AM10/7/02
to
Rodney Johnson <rjoh...@rchland.ibm.com> wrote:

>You need to make sure the device is configured to use Host Print
>Transform...TRANSFORM(*YES). You also need to make sure the printer attached
>to your PC is capable of receiving the PCL data stream if I recall correctly
>(don't believe HPT supports transformation of AFPDS spooled files to PPDS or
>EscP...but don't know for sure).

I'm sort of late into the discussion here, so maybe this isn't
relevant. Create your overlay on a PC by using an AFP print file
drivers provided under client access. Make sure you create an
overlay and then print it to a file.

Once you have an overlay print file created, upload to the /400. I
usually print my overlay, when I'm creating it, to an AS/400 folder I
created on the AS/400, called "AFPFORMS".

To create the overlay:

Crtpf file(qtemp/formfile) rcdlen(2019) lvlchk(*no)

cpyfrmpcd fromflr(forms) tofile(qtemp/formfile) fromdoc('overlay.prn')
trntbl(*none) trnfmt(*notext)

crtovl ovl(qgpl/ovlname) file(qtemp/formfile) mbr(formfile)

---------------------------------------------------------------------------------------------------------

Now, you can use your HP printer file to attach the overlay to, by
simply doing an ovrprtf:

ovrprtf file(prtfilnam) dev(devnam) devtype(*afpds)
frontovl(qgpl/ovlname 0.00 0.00)

(the 0.00 is how far to move the overlay to the right and the second
0.00 is how farm to move the overlay down to print on the paper)

I'm not sure if this is what you are looking for...but hope it helps
some...

ga

George Applegate
gapp...@fscoop.com

ASIER LOPEZ DE AGUILETA

unread,
Oct 8, 2002, 10:00:51 AM10/8/02
to
Is this applicable with any printer driver installed on the PC/print server?
Because I¨m trying to do same with an epson compatible driver for a zetafax
NT software through CA to send company headline from OS/400, and overlay is
not printed, when actually same configuration works with a Lexmark optra.

Thanks in advance for any help you may provide.

"me" <m...@hotmail.com> escribió en el mensaje
news:anijta$me7$1...@bob.news.rcn.net...

Rodney Johnson

unread,
Oct 9, 2002, 9:20:54 AM10/9/02
to
If the overlay contains image data, then the destination printer needs to
handle PCL and the MFRTYPMDL on the printer device description must have a PCL
printer specified. HPT cannot transform images (or barcodes) to EscP or PPDS
if I recall correctly...just text.
0 new messages