[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2321.0. "Print setting confusion" by STKAI1::AGUSTAFSSON () Wed Feb 24 1993 14:12

I have a question concerning print-settings.

I'm creating documents with special handling, defined in FORMAT.DAT.
The handling has a DO-script defined as Print function. This script
calls for document formatting:

<FORMAT #infile,#outfile,#print_device_type,-2,0,0,

this FORMAT "-2" parameter means "Do not display WPS-PLUS formatting print
setting menu".

If I change the "-2" to "-1" and look at the settings, they are not what
I want and I can't see where they come from. Where DO they come from??
 
I print to a LN03 and OA$PRINTSTYLES.DAT contains OA$HLS_80 as Print form 
and the settings in OA$HLS_80 are not the ones I get in the document and
it does not get the lines per page from my default settings when creating
a new WPL-doc.

My problem is the number of lines per page and top/bottom margin.

Regards
-----------
�sa Gustafsson
T.RTitleUserPersonal
Name
DateLines
2321.1WPS-PLUS formatter settingsIOSG::NEWLANDRichard Newland, IOSG, REO2-G/L2Wed Feb 24 1993 18:1652
> I'm creating documents with special handling, defined in FORMAT.DAT.
> The handling has a DO-script defined as Print function. This script
> calls for document formatting:
> 
> <FORMAT #infile,#outfile,#print_device_type,-2,0,0,
> 
> this FORMAT "-2" parameter means "Do not display WPS-PLUS formatting print
> setting menu".
>
> If I change the "-2" to "-1" and look at the settings, they are not what
> I want and I can't see where they come from. Where DO they come from??

What you are looking at are the WPS-PLUS Formatter Print settings.  If you
are formatting a WPS-PLUS or DX file the values you will see are those
stored in the header of the .WPL or .DX file.  If you are formatting other
types of files (e.g. ASCII file) the settings are system defined defaults.

When the WPS-PLUS editor creates a new document the settings are taken from 
the user's #0 saved settings (which are stored is the WPSDEF.WPL file).

WPS-PLUS Formatter Print settings define how the WPS-PLUS formatter should 
format the document, and therefore the eventual contents of the listing 
file created by the formatter.  



> I print to a LN03 and OA$PRINTSTYLES.DAT contains OA$HLS_80 as Print form 
> and the settings in OA$HLS_80 are not the ones I get in the document and
> it does not get the lines per page from my default settings when creating
> a new WPL-doc.

OA$HLS_80 is a VMS Print Form.  VMS Print Forms provide a way of doing some 
're-formatting' of a listing while it is being printed.



An ALL-IN-1 print operation of a document consistes of two major stages:

    1.	FORMATTING - when a revisable file, such as .WPL, is formatted
    	to create a printable listing file

    2.	PRINTING - when the listing file is printed.


The WPS-PLUS Formatter print settings are used during the formatting stage.
The VMS Print Form settings are used during the printing stage.  There is 
no interaction between the two stages, except that one processes a file 
created by the other.



Richard