INT 6F - 10-NET - SPOOL/PRINT                         

Input

Output

AX

0Dh   Status (see function 00h) AX

BX

        BX

CX

        CX

 

        DX
DS:DX Control Record Set on Error CF
Additional Status Codes:        FF17h Device not mounted
                                FF18h Already spooling to named device

Control Record:

                       WORD  operation code
                             0 initiate spool
                             1 abort print
                             2 close spool
                             3 delete spool
                             4 print
                             5 get report info
                             6 set chat template
                             7 queue
                             8 return queue
                             9 queue non-spooled file for printing
                    11 BYTEs file name in FCB format

               (if operation code = 00h or 06h, record continues)
                       BYTE  notification
                               bit 7: queue to top
                               bit 6: do ID page
                               bit 5: no form feed
                               bit 4: reserved
                               bit 3: explicity queuing only
                               bit 2: notify at print completion
                               bit 1: notify server operator/reply
                               bit 0: notify at print start
                       BYTE  days to keep (FFh=forever)
                       BYTE  bits 0,1: device (1=LPT1)
                             bits 4-7: remote drive to store spool  file
                                       (1=A,...)
                       WORD  length of following data area
                     N BYTEs up to 64 bytes of description
               (if operation code = 03h, record continues)
                     8 BYTEs user ID to associate with filename

               (if operation code = 04h, record continues)
                       WORD  block number
                     8 BYTEs user ID to associate with filename
               (if operation code = 05h, record continues)
                       BYTE  RRN to start retrieve
                       BYTE  bits 0,1: local print device (LPTx)
                             bit 3: if set, return entries for all users
                       WORD  length of following area
                     N BYTEs up to 1500  bytes to receive $SCNTL records
                             returned
               (if operation code = 07h, record continues)
                       BYTE  queue number
                       BYTE  bits 0,1: local print device (LPTx)
                       WORD  number of bytes of test print to be done
                       BYTE  code: 01h prnt device
                                   02h test print count
                                   03h prn

               (if operation code = 08h, record continues)
                       BYTE  queue location or $SCNTL location  to start
                             access
                               returns next item for access:
                                       00h-7Fh queued items
                                       80h-FEh non-queued,  non-printed
                                               items
                                       FFh     no more items
                       WORD  unused
                       WORD  length of following area
                     N BYTEs up to 64 bytes to receive $SCNTL records
               (if operation code = 09h, record continues)
                     3 BYTEs unused
                     N BYTEs path  to non-spooled file to be queued  for
                             printing

$SCNTL record:

             8 BYTEs user ID
            11 BYTEs filename in FCB format
             6 BYTEs node ID
             3 BYTEs creation date
               BYTE  flags
                     bit 7: queue to top
                         6: do ID page
                         5: no form feed at end
                         4: reserved
                         3: explicit queueing only
                         2: notify at completion
                         1: notify server operator/reply
                         0: notify at start
               BYTE  retention time in days
               BYTE  printing device (LPTx)

             3 BYTEs date last printed (0 = never)
               BYTE  device containing spoolfile
               WORD  bytes to print for test print
               WORD  block number to start print
               BYTE  reserved


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .