RE: [OpenMap Users] programmatically print

From: Laura Paterson <laura.paterson_at_generaldynamics.uk.com>
Date: Mon, 23 Aug 2004 08:00:27 +0100

Hi,

In my app I use:

        FileOutputStream fos;
        PrintStream ps = null;
        try {
            fos = new FileOutputStream(PROPERTIES_FILE);
            ps = new PrintStream(fos);

            PropertyHandler.createOpenMapProperties(mapHandler, ps);
            ps.close();
            fos.close();
        }
        catch (IOException fnfe) {
          System.err.println(fnfe.getMessage());
        }

to save the current map configuration to a file.

Laura

-----Original Message-----
From: owner-openmap-users_at_bbn.com [mailto:owner-openmap-users_at_bbn.com]On
Behalf Of Ben Podoll
Sent: 21 August 2004 16:34
To: openmap-users_at_bbn.com
Subject: [OpenMap Users] programmatically print


I know that the default OpenMap application has a "Save As." feature, but I
would like to use this programmatically (in my app) can anyone give me a
heads up of what the few lines of code are that I would need to add to my
app to accomplish this?

Thanks,
Ben


--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe
openmap-users"]
General Dynamics United Kingdom Limited
Registered in England and Wales No. 1911653
Registered Office: 100 New Bridge Street, London, EC4V 6JA 
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Aug 23 2004 - 03:09:01 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:05 EDT