T.R | Title | User | Personal Name | Date | Lines |
---|
725.1 | Ah well, those symbols do behave oddly | IOSG::SHOVE | Dave Shove -- REO-D/3C | Wed May 20 1992 15:45 | 24 |
| Others probably understand this better than I, but . . .
The problem is that the WPPARG* forms are called directly from the
formatter. It only looks at the symbols OA$WPL_PUT* after it gets
control back from those forms, so anything you do them anywhere else
will have no effect.
Can't you do what you want by using a Print Setting (as in PS 1 though
9)? The FORMAT function lets you specify a Print Setting number to use
(see APR). You'd need to customise one or more of WPPRINT.SCP,
FILEFORMAT.SCP (see description of #FILEFMT_QMENU symbol in that one)
or WPSPLUS_FORMAT.SCP.
And of course arrange for the appropriate print settings to be stored
in the WPSDEF.WPL file for each user - you could make the changes to a
new copy of WPSDEF.WPL (from OA$LIB_LLV:) and then copy that to all
your users - and back to OA$SITE_LIB_LLV so newly created users would
get it too). You might want to customise WPPAGR* to stop users changing
the print setting you'd modified too (make it PS 9 and change the
validation to make them only use 0 to 8, for example).
Hope this gets you started,
Dave.
|
725.2 | A question | IOSG::NEWLAND | Richard Newland, IOSG, REO1-D/4A | Thu May 21 1992 11:32 | 9 |
| From your question in .0 I'm not clear about what you want to do.
Do you want to create a particular .WPL file which has the print margin set
to 6, or do you want all .WPL files to print with a print margin of 6
unless changed by the user?
Richard
|
725.3 | Override the settings in the .wpl file | ODIXIE::BIRCH | | Thu May 21 1992 17:14 | 15 |
| .2 - I have an application that creates a document from data input to a
form. The users have printers that need a left margin set to 10 or
better. If I store the left margin in the file as 10 spaces then the
read function (DO WPLIST) also displays the 10 spaces and the text
goes off the right side of the screen. If I put 0 spaces in WPL file
(left margin), the read looks good but the printing doesn't start in
the correct place. Of course the user can manually ajust the print
margin but many of them are just not that bright.
Secondly we have a problem where users will set a left margin (so they
can print the document of their printers), and then mail the document
to another user. The recieving user goes to print the file on a
standard printer and the print function picks up the spaces put in by
the originator. I would like to provide a "Print with standard
settings" function to overide the settings put in by the originator.
|
725.4 | How about this? | KURTAN::WESTERBACK | Mimsy were the borogroves | Thu May 21 1992 23:45 | 8 |
| I'm not sure if I follow you completely, but if the problem is that
you want the documents printed on a certain printer to always start
printing further to the right, i.e. move the printable area to the
right, this can be done with WPS-PLUS 4.0 by adjusting the PRA file
entry for Horizontal Positioning.
HTH
Hans
|
725.5 | And on a similar track | NEWOA::UWINS | Set Profile/Pers=Recursive | Fri Jul 03 1992 16:08 | 22 |
| Not wanting to start a new note because I have a similar problem...
How do I get the output from the FORMAT function *not* to produce
a form feed every n lines (where n = oa$wpl_get_pl)?
If I use the printer tables VT%00.PRA, no <FF> character is produced
in the output from the FORMAT function, even when a "real" new page
character is found.
Where as if I use A1TEXT or LA75 (or my own defined one!) I get form
feeds every oa$wpl_get_pl lines even though the printer tables define
the number of lines to a page to be 0 in each case. I use a printer
setting that has the Auto Paginate flag set to "N", and the WPS-PLUS
document has "N" for its AP flag as well.
I also tried setting the lines per page in the PRA file to 32767,
but still no luck.
I can't use the VT%00.PRA files as I need to be able to recognise
when a "real" new page has been entered.
Any ideas?
|