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



Thanks for the reply Russell,

Never say never but I think I have read about 90% of all overlay related
discussion forums that exist on the web and I'm nearly about to go down that
avenue.... but the preference was to have the DEVICE TYPE set to *IPDS.
Did you have the printer set up my way first for a specific reason?

Vivienne 

-----Original Message-----
From: Russell Conerly [mailto:rconerly@xxxxxxxxxxx] 
Sent: 12 February 2004 16:34
To: RPG programming on the AS400 / iSeries
Subject: RE: Problems while printing overlays to a *IPDS printer

Vivienne,

This is ringing a bell with me.  Seems like I had some similar problems
with a HP4000.  I eventually had to use a workstation customization object
with the printer.  My device description is setup as follows:


 Device class . . . . . . . . . . . :   *LAN
 Device type  . . . . . . . . . . . :   3812
 Device model . . . . . . . . . . . :   1
 LAN attachment . . . . . . . . . . :   *IP
 Port number  . . . . . . . . . . . :   9100
 Physical attachment  . . . . . . . :   *DIRECT
 Online at IPL  . . . . . . . . . . :   *YES

Manufacturer type and model  . . . :   *HP4000
Paper source 1 . . . . . . . . . . :   *LETTER
Paper source 2 . . . . . . . . . . :   *LETTER
Envelope source  . . . . . . . . . :   *NUMBER10
ASCII code page 899 support  . . . :   *NO
Image configuration  . . . . . . . :   *NONE
Character identifier . . . . . . . :   *SYSVAL

Workstation customizing object . . :   HPW85X11
  Library  . . . . . . . . . . . . :     *LIBL
User-defined object  . . . . . . . :   *NONE
  Object type  . . . . . . . . . . :     *NONE
Data transform program . . . . . . :   *NONE
System driver program  . . . . . . :   *HPPJLDRV

The workstation customization object is in a text member in QGPL/QTXTSRC. 
I can email you the source for this if you like. (approx. 400 lines)

Once you get it, you can place it in the appropriate source member and
then issue a CRTWSCST command to create the object.  I do not recall
specifically what I changed but I believe it was in the margin
specifications.

You can give it a shot.  Of course your mileage may vary.

Regards,
Russell Conerly
IBM Certified Specialist
Tupelo, MS
rconerly @ netdoor.com







> Hi,
>
> I do believe my margins are minimal and I have tried various offsets. My
> overlay is defined within the actual DDS as opposed to being attached to
> the
> PRTF.
> The printer appears to randomly decide whether it likes the overlay or
> not.
> For example I can print an overlay that will print right off the right
> hand
> side of the page and down off the bottom. If I then change the same
> overlay
> to narrow the box on the right hand side (so as I can get a normal four
> sided rectangle; square in the centre of the page) it attempts to print it
> and eventually after about 35/45 seconds it puts the spooled file back to
> hold.
>
> If I then narrow the same rectangle to 4 inches in width having not
> changed
> its position it prints it no problem!!
> So I would run with the suggestion of unprintable areas/margins only it
> prints all the way to the edge and off the side of the right hand side of
> the page and all the way to the bottom and off the bottom of the page.
>
> I have looked at the IPDS settings on the printer and the
> 'OFF SET MARGINS' are 0,0. (this seems fine to me)
> 'REPORT MARGINS TO SYSTEM' is set to YES (but I am not sure what effect
> this
> parameter has)
> 'ADD MARGINS' is set to NO.
>
> With regards to 'Unprintable Areas' I have had no joy here too. I looked
> in
> the HP4050 manual and it does not seem to mention any limitations here.
>
> When I look for printing info on AS400 to HP4000; a lot of the hits I get
> seem to relate to Host Print Transform. Our preference is to stick with
> the
> *IPDS printer type though.
>
> Any more suggestion will be gratefully received and thank you for ones
> received already
> Regards
>
> Vivienne
>
>
> -----Original Message-----
> From: jfortwen@xxxxxxxxxxxxxxxxxx [mailto:jfortwen@xxxxxxxxxxxxxxxxxx]
> Sent: 11 February 2004 18:18
> To: RPG programming on the AS400 / iSeries
> Subject: Re: Problems while printing overlays to a *IPDS printer
>
>
>
>
>
>
> Hi Have you seen "May the (AFP overlay) forms be with you  MAY 2001
> Midrange Computing?
> it's a good article.
>
>
> As per your problem:  Have you
>  1) told word to use minimal margins
> 2) choose Zero offset for your Printer file (on the 400) front overlay
> offset across & down
>
> I'm not sure if these will help you but it sounds like the overlay is Ok
> and the view is Ok until offsets are applied
> I've only just gotten started using overlays but I had problems with mine
> until I set  offsets to zero. Hope this helps!!
>
>
>
>              Vivienne Seymour
>              <vivienne.seymour
>              @labsys.ie>                                                To
>              Sent by:                  "'rpg400-l@xxxxxxxxxxxx'"
>              rpg400-l-bounces@         <rpg400-l@xxxxxxxxxxxx>
>              midrange.com                                               cc
>
>                                                                    Subject
>              02/11/2004 10:22          Problems while printing ovelays to
>              AM                        a *IPDS printer
>
>
>              Please respond to
>               RPG programming
>               on the AS400 /
>                   iSeries
>              <rpg400-l@midrang
>                   e.com>
>
>
>
>
>
>
> Hi there,
>
>
>
> I am attempting to print a report which includes an overlay.
>
> I am creating the overlay in word with a page size of A4.
>
> Using AFP 300 driver with settings of A4 size as the paper size, overlay
> as
> the output type. This will generate a .prn file
>
> I am then using the AFP workbench (Client Access) to view this overlay and
> create it into a .oly file which I transfer to the I: drive and
> subsequently
> CRTOVL on the AS400.
>
>
>
> My problem is that even though the overlay appears to be within margins
> and
> view ok in the AFP workbench; when it prints on the AS400 the overlay is
> not
> printed correctly.
>
> Pending on the X & Y coordinates I use in my print program it either
> truncates the top of the box off or prints the top of the box down the end
> of the page thereby truncating the bottom half of the box. The box does
> not
> appear to be too big for the page when viewed in both word and the AFP
> workbench. When printed regardless of the X,Y coordinates there always
> appears to be enough space on the page for truncation NOT to occur. I
> don't
> understand why it is happening.
>
>
>
> I am not sure whether I am using the right driver of not?
>
> The printer is set up with a DEVICE CLASS of *LCL
>
>                                        DEVICE TYPE of *IPDS
>
>                                        DEVICE MODEL of 0
>
>
>
> I preferably do not want to go down the HOST PRINT TRANSFORM route if
> possible. Are there any settings that I need to address that I have
> overlooked?
>
>
>
> Regards
>
>
>
> Vivienne
>
>
>
>
>
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>
>
>
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>
>

_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.