× 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've tried to change the FRONTMGN parameter on the PRTF.  I've changed it to
0,0.  This puts the text right on the left margin of any printers default
margin.  However it needs to go more to the left.  Microsoft word can print
farther to the left, so the printer is capable of such a print.  I'm sure
word is using some type of printer driver.  The only thing I have seen is to
create a *WSCST object.  Is or has anyone used this option?

Kirk Barker
Development Team
Premier Software Associates
(801) 299-8772  Ext. 139
http://www.premsoft.com/Support.htm

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Ron Power
Sent: Thursday, January 04, 2007 5:27 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: Print left of margin

Not sure if this is what you are looking for but you could try defining 
the FRONTMGN and see if that will help....

Printer File Parameter Keywords Requiring PSF/400
The following shows printer file parameters and DDS keywords that affect 
print formatting and handling. When used to print on IPDS printers, they 
require PSF/400. 
Printer File Parameters
AFP characters (AFPCHARS) 
Back margin (BACKMGN) 
Back overlay (BACKOVL 
Coded font (CDEFNT) 
Corner staple (CORNERSTPL) 
Device type (*AFPDS, *LINE, *AFPDSLINE) 
Edge stitch (EDGESTITCH) 
Font character set (FNTCHRSET) 
Font resolution (FNTRSL) 
Front margin (FRONTMGN) 
Form definition (FORMDF) 
Front overlay (FRONTOVL) 
IPDS pass through (IPDSPASTHR(*YES|*NO)) 
Multi-up (MULTIUP REDUCE(*NONE)) 
Output bin (OUTBIN) 
Page definition (PAGDFN) 
Saddle stitch (SADLSTITCH) 
Table reference characters (TBLREFCHR) 
User-defined data (USRDFNDTA (IPDSPASTHR(*YES|*NO)) 
User-defined data (USRDFNDTA(USRRCSLIBL (lib1 lib2 lib3 lib4)) 
User resource library list (USRRSCLLIBL) 

Ron Power
Programmer
Information Services
City Of St. John's, NL
P.O. Box 908
St. John's, NL
A1C 5M2
709-576-8132
rpower@xxxxxxxxxx
http://www.stjohns.ca/
___________________________________________________________________________
Success is going from failure to failure without a loss of enthusiasm. - 
Sir Winston Churchill




"Kirk Barker" <kirkb@xxxxxxxxxxxx> 
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
2007/01/03 07:11 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
<rpg400-l@xxxxxxxxxxxx>
cc

Subject
Print left of margin






I need to be able to to print in a box on a form, that is only about an
1/8 of an inch from the left side of the paper.  Using a PRTF and AFPDS
I can print that close to the edge on the right side of the paper but
not on the left side.  Is there anything I can do on the PRTF compile or
something else on the 400 that can change the default settings of the
printer associated with the outq and allow for printing farther to the
left.  The form is called a UB04 form and is coming out soon.

 

Kirk Barker

kirkb@xxxxxxxxxxxx

Development Team

Premier Software Associates

www.Premsoft.com <http://www.premsoft.com/> 

(801) 299-8772  Ext. 139

 


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.