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



Hi Erwin

In the PSF-Object, I see, that you generate the PDF for mail. Have you tried to generate the PDF for a streamfile (*stmf instead of *mail) and indicate a PDF file location in the IFS?

Best regards

Jan

Am 10.04.2014 12:53, schrieb Erwin Donker:
Hi Marco,
This is the *DEVD:
DEVD EDTESTPDF
OPTION *ALL
*PRT
DEVCLS *LAN
TYPE *IPDS
MODEL 0
LANATTACH *IP
AFP *YES
PORT 60606
ONLINE *YES
FONT
281
*NONE
FORMFEED *CONT2
SEPDRAWER *FILE
SEPPGM *NONE
PRTERRMSG *INQ
MSGQ *CTLD
QSYSOPR
QSYS
09-04-14
ACTTMR 170
IMGCFG *NONE
MAXPNDRQS 6
PRTCVT *YES
FORMDF F1C10110
*LIBL
CHRID *SYSVAL
RMTLOCNAME
127.0.0.1
USRDFNOBJ TESTPDF
BDEDONK
*PSFCFG
USRDTATFM *NONE
USRDRVPGM *NONE
DEPLOCNAME *NONE

EDTESTPDF
QSPLJOB
820429
*NO
PUBLISHINF
*UNKNOWN
*UNKNOWN
*UNKNOWN
*UNKNOWN
*BLANK
*UNKNOWN
And this is the *PSFCFG (paper size was *A4 but I changed this for testing purposes):
User resource library . . . . . . . . . . . . . : *JOBLIBL
IPDS pass through . . . . . . . . . . . . . . . : *NO
Activate release timer . . . . . . . . . . . . . : *NORDYF
Release timer . . . . . . . . . . . . . . . . . : *NOMAX
Restart timer . . . . . . . . . . . . . . . . . : *IMMED
APPC and TCP/IP retry count . . . . . . . . . . : 15
Delay time between retries . . . . . . . . . . . : 90
Auto Session Recovery:
Enabled . . . . . . . . . . . . . . . . . . . : *NO
Message option . . . . . . . . . . . . . . . . :
Acknowledgment frequency . . . . . . . . . . . . : 100
Printer response timer . . . . . . . . . . . . . : *NOMAX
Blank page . . . . . . . . . . . . . . . . . . . : *YES
Page size control . . . . . . . . . . . . . . . : *YES
Resident fonts . . . . . . . . . . . . . . . . . : *YES
Resource retention . . . . . . . . . . . . . . . : *YES
Edge orient . . . . . . . . . . . . . . . . . . : *NO
Use outline fonts . . . . . . . . . . . . . . . : *NO
PSF defined options:
*NONE
Font substitution messages . . . . . . . . . . . : *YES
Capture host fonts at printer . . . . . . . . . : *NO
Cut sheet emulation mode . . . . . . . . . . . . : *NONE
Font resolution for formatting . . . . . . . . . : *SEARCH
Font mapping table . . . . . . . . . . . . . . . : *NONE
Library . . . . . . . . . . . . . . . . . . . :
Use DBCS simulation font . . . . . . . . . . . . : *NO
Generate PDF output:
*MAIL
PDF device emulation type . . . . . . . . . . . : *IP40300
PDF paper size drawer 1 . . . . . . . . . . . . : *LEDGER
PDF paper size drawer 2 . . . . . . . . . . . . : *LEDGER
PDF multipe group handling:
Acknowledge multiple groups . . . . . . . . . : *NO
Process option . . . . . . . . . . . . . . . . :
PDF fonts inline . . . . . . . . . . . . . . . . : *YES
PDF data queue . . . . . . . . . . . . . . . . . : *NONE
Library . . . . . . . . . . . . . . . . . . . :
PDF mail server:
*SNDDST
Sender of PDF mail . . . . . . . . . . . . . . . : *SPLFOWN
PDF administrator . . . . . . . . . . . . . . . : *NONE
PDF user program . . . . . . . . . . . . . . . . : *NONE
Library . . . . . . . . . . . . . . . . . . . :
PDF mapping object . . . . . . . . . . . . . . . : *NONE
Library . . . . . . . . . . . . . . . . . . . :
PDF output queue . . . . . . . . . . . . . . . . :
Library . . . . . . . . . . . . . . . . . . . :
PDF file location . . . . . . . . . . . . . . . :
Save AFP data . . . . . . . . . . . . . . . . . : *NO
AFP output queue . . . . . . . . . . . . . . . . :
Library . . . . . . . . . . . . . . . . . . . :

Marco Facchinetti <marco.facchinetti@xxxxxxxxx> 10-4-2014 12:37 >>>
Hi Erwin can you post the *DEVD?

Also keep in mind that there are a lot of dependencies between IPS and the
OS so be current with the latest PTF.



--
Marco Facchinetti

Mr S.r.l.

Tel. 035 962885
Cel. 393 9620498

Skype: facchinettimarco


2014-04-09 15:11 GMT+02:00 Erwin Donker <erwin.donker@xxxxxxxxxx>:

Thanks for the suggestion. I just tried it, but don't understand the
result. The PDF "paper" size is a lot bigger now, I have much more white
space on the top and right side, but the text is still either being cut off
(even though there is more than enough space), or printed right on the left
side with no margin. Seeing this result I am still pretty sure the solution
is in tuning several different parameters. The question is, what parameters
and what values do they need.

Erwin

Booth Martin <booth@xxxxxxxxxxxx> 9-4-2014 9:52 >>>
If it is not going to be printed would it make life a lot easier if you
set up the print file for landscape tabloid size? (17" wide by 11"
high; a double sheet) Then you have plenty of room and should get nice
borders and 12 c.p.i. Just a thought.


On 4/9/2014 1:50 AM, Erwin Donker wrote:
The reports don't actually have to be printed, my company just wants
them available as pdf files.
The reports fit on the pages perfectly (in the pdf file) and are
readable. The only problem is the margins. I just tried setting LPI to 12
and CPI to 20. Now the report fits on the pdf file, but with a lot of white
space on top (like 3.5 inches) and on the right side (about 1.5 inch), but
nothing on the left side.
I would like the result to be exactly the same as this, only with the
white space divided evenly on the left and right sides of the page. It's
not the end of the world, but seeing how much white space I have on the
paper now, I know there must be a solution to this problem.
Erwin

--
Booth Martin
www.martinvt.com
(802)461-5349
Skype: booth.martin

...I would go so far as to suggest that, were it not for our ego and
concern to be different, the African apes would be included in our
family, the Hominidae. -- Richard Leakey
--
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.




De disclaimer van toepassing op e-mail van de gemeente Den Haag vindt u op:

http://www.denhaag.nl/disclaimer

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







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.