NWFSE_PRINT_INFO

Returns Server Environment printing information. Used by NWGetServerConnInfo.

Service:Server Environment
Defined In:nwfse.h

Structure

  typedef struct 
  { 
     nuint8   printFlags; 
     nuint8   tabSize 
     nuint8   numberCopies; 
     nuint8   printToFileFlag; 
     nuint8   bannerFileName[14]; 
     nuint8   targetServerID; 
     nuint8   formType; 
  } NWFSE_PRINT_INFO;
  

Delphi Syntax

  uses calwin32 
  
    NWFSE_PRINT_INFO = packed RECORD
       printFlags : nuint8;
       tabSize : nuint8;
       numberCopies : nuint8;
       printToFileFlag : nuint8;
       bannerFileName : Array[1..14] of nuint8;
       targetServerID : nuint8;
       formType : nuint8;
    End;
  

Fields

printFlags
Specifies the print flags:

Value

Constant and Description

0x08

SFormSuppressBit specifies the print service suppresses automatic form feed after the print job is printed.

0x10

SCreateBit

0x20

SDeleteBit

0x40

STabBit

0x80

sBannerPageBit specifies the print service precedes the print job with a banner page.

tabSize
Specifies the tab size which is a value between 1 and 18 inclusive (default setting is 0x08).
numberCopies
Specifies the number of copies (0 to 255) of the captured file that is printed (default setting is 0x0001). If 0x0000, nothing prints.
printToFileFlag
Specifies that the data is sent to a file rather than a printer.
bannerFileName
Specifies the name of the banner that is printed when a print job is submitted.
targetServerID
Specifies the server ID of the queue server servicing the job. If this field is set to 0xFFFFFFFF, any queue server can service the job. If the specified queue server is not attached to the queue, QMS removes the job from the queue.
formType
Specifies the type of form (0 to 255) a user must mount in the printer to print files captured to the LPT device. If the form currently mounted in the printer differs from the form type returned in this field, the NetWare server console displays a message instructing the console operator to mount the correct form. The default form is 0x0000.

Remarks

The banner specified in bannerFileName will be printed only if the user has selected the option to print a banner. If a banner is not specified in bannerFileName, a default banner will print that contains the name of the file being printed.