RE: [OpenMap Users] programmatically print

From: Laura Paterson <laura.paterson@generaldynamics.uk.com>
Date: Mon Aug 23 2004 - 03:00:27 EDT

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@bbn.com [mailto:owner-openmap-users@bbn.com]On
Behalf Of Ben Podoll
Sent: 21 August 2004 16:34
To: openmap-users@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@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@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Aug 23 03:09:01 2004

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:39 EDT