SCOUG-Programming Mailing List Archives
Return to [ 02 | 
April | 
2003 ]
<< Previous Message << 
 >> Next Message >>
 
 
 
Content Type:   text/plain 
> Peter Skye said:  
>   
> >In EPM is there a way to attach  
> >specific print margins to files?  
>   
Steven Levine wrote:  
>   
> Isn't this info is stored in the EAs?  
> Is so, you could hack it in there.  
 
I don't know where it is stored but apparently not in the text file EAs.  
 
If I print Text File A with 1" print margins and then open Text File B,  
the print margins will be 1".  If I then change the Text File B print  
margins to 1/4" and then close it and open Text File A, the print  
margins are now 1/4".  
 
So the values are stored somewhere, but not in the actual text files.  
 
Hmm.  Let me run a quick test . . .  
 
[9 hours later]  
 
Well it wasn't the "quick" test I expected but apparently the margins  
are stored in \OS2\EPM.INI in the key EPM.MARGINS.  So I can do some  
more "quick" testing tomorrow and see if manually changing the value  
will change the margins, and if so I can write a little Rexx program to  
jam in the values I want.  
 
- Peter  
 
 
 
=====================================================  
 
To unsubscribe from this list, send an email message  
to "steward@scoug.com". In the body of the message,  
put the command "unsubscribe scoug-programming".  
 
For problems, contact the list owner at  
"rollin@scoug.com".  
 
=====================================================  
 
  
<< Previous Message << 
 >> Next Message >>
Return to [ 02 | 
April | 
2003 ] 
  
  
The Southern California OS/2 User Group
 P.O. Box 26904
 Santa Ana, CA  92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group.  ALL RIGHTS 
RESERVED. 
 
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International 
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
 
 |