다음을 통해 공유


2.2.4.68 SMB_COM_WRITE_PRINT_FILE (0xC1)

This is an original Core Protocol command. This command is deprecated. Use the SMB_COM_WRITE_ANDX command to write to an open spool file.

This command is used to write data to an open print queue spool file.

The first data written to the print file MUST be printer-specific control data, the length of the control data block is specified in the SMB_Parameters.Words.SetupLength field in the SMB_COM_OPEN_PRINT_FILE request that is used to create the print file. A single SMB_COM_WRITE_PRINT_FILE command can contain both printer-specific control data and print file data, as long as the control data is completely written first.