× 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 would suggest the following. Make a copy of the spreadsheet with the
orientation set to landscape. Open both of the stpreadsheets with an
application like Wordpad or Notepad so you can see the actual coding
behind the scenes. You should be able to find the coding that sets the
orientation.

HTH

Nick W. Mart

Hi,

I have been assigned a project to create an Excel Spreadsheet using
RPG, I have just finished my first RPGLE program to write directly to an
Excel Spreadsheet guided by the fantastic articles by Scott Klement and
Zach's answer to the binding directory mystery both of which are listed
below, I am quite pleased that everything works! However-I am having a
problem when I print the spreadsheet, is there a way to default the
print setup with regards to "Orientation Landscape" ; "Scaling Adjust to
81%" ; "Paper Size A4(210x297mm)" "Top Left and Right Margins to 0" and
"Print Gridlines" from my RPGLE or any other tool that can be called
from my RPGLE?
I do know of an Active X Control package that runs in SQL?


Prevesh Kuni
Developer
Smollan Group
(011) 640 8154
kunip@xxxxxxxxxxxxxx


Prevesh Kuni 2007/08/27 09:37 >>>

Thanks Zach - that WAS the problem!
Much appreciated

Prevesh Kuni
Developer
Smollan Group
(011) 640 8154
kunip@xxxxxxxxxxxxxx


ZJohnson@xxxxxxxxxxxxx 2007/08/25 06:04:55 >>>
You're probably missing a binding directory.

~Zach
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Prevesh Kuni
Sent: Friday, August 24, 2007 3:46 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Excel - Rpg

Hello,

I am in the process of trying to write and read Excel Spreadsheets
from
an RPG program using Java objects. I have followed the procedures
posted
in the article:
iSeries Network Publication
http://www.iseriesnetwork.com
Home of iSeries NEWS Magazine
Editor: Scott Klement
Issue 182
September 16, 2004
I have downloaded the poi files, and source examples, however - when I
try to compile the RPG - it ends abnormally but with the following
messages in my spool file:
Message Totals:
Information (00) . . . . . . : 448
Warning (10) . . . . . . . : 0
Error (20) . . . . . . . : 0
Severe Error (30+) . . . . .. : 0

Am I missing something? I have copied and pasted the poi files in the
path specified using the iSeries Navigator - is this correct and maybe
the cause of the problem? Does the RPG need a different compiler?
PLEASE
HELP

Thanks


Prevesh Kuni
Developer
Smollan Group
(011) 640 8154
kunip@xxxxxxxxxxxxx .

--
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 .
NOTICE: This electronic mail message and any files transmitted with it
are intended exclusively
for the individual or entity to which it is addressed. The message,
together with any attachment, may contain confidential and/or
privileged
information. Any unauthorized review, use, printing, saving, copying,
disclosure
or distribution is strictly prohibited. If you have received this
message in error, please immediately
advise the sender by reply email and delete all copies.

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

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.