RE: new printer - 4x6 format wrong

2016-01-09 Thread Dennis E. Hamilton
Yes, the file format for OpenDocument Text files is documented in the OASIS 
OpenDocument Format 1.2 specification.  If you are thinking about creating a 
script to change the printer settings in all of your files, this might not be a 
good way to do it though.

The .odt files are actually .zip files and the components that matter to you 
are XML files.  It may take a great deal of work to modify those.

I think you might be better off creating an OpenOffice macro that you could 
save and run on any file to change its margins.  You will need to find out how 
to accomplish that by looking at the web site, the media wiki, and the 
community forum.  You will still have to open each file and run the macro.  I 
don't know if that will save you enough work.

Others who are expert with OpenOffice macros can give further advice.  

If you still want to know what is required to manipulate the .odt itself, I 
suggest that you do the following:

Take one of your files and remove the content or replace it with something 
trivial, but don't change any of the page settings, and have there be one page 
to the document.  Save that as before.odt.  Then change the save page settings 
to what you expect will work, verify that with your printer, and save that one 
as after.odt.

Send them both to me attached to an email and I can identify what has to be 
changed in the .odt itself.  Then you can see whether it is feasible to develop 
a mechanical updater for the files.


 -- Dennis E. Hamilton
orc...@apache.org
dennis.hamil...@acm.org+1-206-779-9430
https://keybase.io/orcmid  PGP F96E 89FF D456 628A
X.509 certs used and requested for signed e-mail



> -Original Message-
> From: Julian Thomas [mailto:j...@jt-mj.net]
> Sent: Saturday, January 9, 2016 10:40
> To: Open Office Apache list 
> Subject: Re: new printer - 4x6 format wrong
> 
> 
> > On Jan 8, 2016, at 12:10, Julian Thomas  wrote:
> >
> > I have a lot of 4x6 formatted recipes. These are landscape format. The
> printer that just died wanted the short edge on the right side of the
> paper [left margin was 5.25 and right was 0.5]
> >
> > The replacement printer [for now] wants the left margin 0.5 and the
> right 5.25.
> 
> More details:
> 
> The replacement printer (an ancient HP 1200 LJ) has an envelope feeder
> slot attached to the paper tray cover.  It positions the envelope or
> whatever in the middle of the printer throat, not at the left edge. The
> preceding [now dead] Brother printer had a similar setup, although as i
> mentioned it and the hp have different ideas as to the positioning of
> the envelope [top or bottom of the 8.5"x11 page].
> 
> If I set [in OO] paper size of 3x5, the 3x5 area prints on the top left
> of an 8.5x11 sheet.  There is no way to use the envelope feeder on the
> left side of the throat;
> 
> How am I supposed to print in the middle 3 inches of  the throat without
> lying to OO?
> 
> Is the .odt file format documented somewhere?
> 
>  —
> jt - j...@jt-mj.net
> 
> Bullets cannot be recalled. They cannot be uninvented. But they can be
> taken out of the gun. - Martin Amis
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: users-h...@openoffice.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
For additional commands, e-mail: users-h...@openoffice.apache.org



Re: new printer - 4x6 format wrong

2016-01-09 Thread Julian Thomas

> On Jan 8, 2016, at 12:10, Julian Thomas  wrote:
> 
> I have a lot of 4x6 formatted recipes. These are landscape format. The 
> printer that just died wanted the short edge on the right side of the paper 
> [left margin was 5.25 and right was 0.5]
> 
> The replacement printer [for now] wants the left margin 0.5 and the right 
> 5.25.

More details:

The replacement printer (an ancient HP 1200 LJ) has an envelope feeder slot 
attached to the paper tray cover.  It positions the envelope or whatever in the 
middle of the printer throat, not at the left edge. The preceding [now dead] 
Brother printer had a similar setup, although as i mentioned it and the hp have 
different ideas as to the positioning of the envelope [top or bottom of the 
8.5"x11 page]. 

If I set [in OO] paper size of 3x5, the 3x5 area prints on the top left of an 
8.5x11 sheet.  There is no way to use the envelope feeder on the left side of 
the throat;

How am I supposed to print in the middle 3 inches of  the throat without lying 
to OO?

Is the .odt file format documented somewhere?

 —
jt - j...@jt-mj.net

Bullets cannot be recalled. They cannot be uninvented. But they can be taken 
out of the gun. - Martin Amis 





-
To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
For additional commands, e-mail: users-h...@openoffice.apache.org



Re: new printer - 4x6 format wrong

2016-01-08 Thread Brian Barker

At 12:10 08/01/2016 -0500, Julian Thomas wrote:
I have a lot of 4x6 formatted recipes. These are landscape format. 
The printer that just died wanted the short edge on the right side 
of the paper [left margin was 5.25 and right was 0.5] The 
replacement printer [for now] wants the left margin 0.5 and the 
right 5.25. How do I automate the process of changing the page 
format for each of the files?


So you are printing 4x6 (inch??) documents on quite different-sized stock?

o Open one of the documents.
o Create a new page *style* to suit your new needs.
o Save that document.

For each further document:
o Open the document.
o Open the Styles and Formatting window.
o Click the "New Style from Selection" drop-down and Load Styles... .
o In the Load Styles dialogue, tick Pages.
o Select From File... and browse to and open the first file.
o Select Page Styles in the Styles and Formatting window.
o Double-click the new page style to apply it to appropriate pages.
o Save the document.

But are you sure you cannot teach your new printer to accept the old 
arrangement?


I trust this helps.

Brian Barker


-
To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
For additional commands, e-mail: users-h...@openoffice.apache.org



new printer - 4x6 format wrong

2016-01-08 Thread Julian Thomas
I have a lot of 4x6 formatted recipes. These are landscape format. The printer 
that just died wanted the short edge on the right side of the paper [left 
margin was 5.25 and right was 0.5]

The replacement printer [for now] wants the left margin 0.5 and the right 5.25.

How do I automate the process of changing the page format for each of the files?
 —
jt - j...@jt-mj.net

Error: Keyboard not attached. Press F1 to continue. 





-
To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
For additional commands, e-mail: users-h...@openoffice.apache.org