[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

4100.0. "SCRATCH PAD AND CUSTOMERIZED PS PRINT STYLE" by CROCKE::YUEN (Banquo Yuen, Darwin Australia) Thu Apr 21 1994 09:37

    Have problem with printing scratch pad content.
    
    When printing to a Dataproduct LZR2080 postscript printer, nothing
    comes out.  The print style PSLZR is a site customized print style,
    it works when printing ordinary WPSPLUS document from ALL-IN-1.
    
    (Note it won't accept postscript file generated using the supplied
    PS print stype which will be accepted by DEC postscript printer)
    
    When I trapped the file sent to the printer, I found that it was
    only an ordinary text file, not postscript file.
    
    But if I use PS as print style when printing scratch pad content,
    it generated a postscript which was accepted by a DEClaser 2250
    but not the DP LZR2080, as predicted.
    
    Is there anything wrong in the PRA file?
    
    Thanks
    Banquo
    
T.RTitleUserPersonal
Name
DateLines
4100.1Style PS is hardcodedGIDDAY::JOYCEBurn me kangaroo down sportFri Apr 22 1994 00:5840
    
    Banquo,
    
    The reason is as follows;
    
    Postscript output is created using the WPS-PLUS formatter.
    Normally, when printing an ASCII document/file the WPS-PLUS formatter
    is not used BUT printing to style PS is a special case.
    
    If FILEFORMAT.SCP (foreground formatting) you have the following lines...
    
    ! Text Data Set mechanism cannot format to PostScript. If formatting to
    ! PostScript, we have to use the WPS-PLUS formatter.
        .if #FILEFMT_DEST_FORMAT eqs "PS" then .goto wpsplus
      
    You need to change the last line to...
    
       .if #FILEFMT_DEST_FORMAT eqs "PS" or -
    		#FILEFMT_DEST_FORMAT eqs "PSLZR" then .goto wpsplus
    
    Similarly, in WPPRINT.SCP (background formatting) you have these lines...
    
    ! Text Data Set mechanism cannot format to PostScript. If formatting to
    ! PostScript, we have to use the WPS-PLUS formatter.
        .if #PRINT_FINAL_FORM eqs "PS" then .goto WPSPLUS
         
    The last line needs to be changed to...
    
       .if #PRINT_FINAL_FORM eqs "PS" or -
    		#PRINT_FINAL_FORM eqs "PSLZR" then .goto WPSPLUS
        
    OR, you could just change the "eqs" to "=" (Beginning) in both scripts
    to catch all print style that start with "PS".
    
    Hope this helps.
    
    
    Andy
    CSC Sydney