Patent ID: 8760690

Claim:
A print server adapted to implement a pull-printing technique with a printing apparatus, when said print server is connected to said printing apparatus over a network via a firewall which is adapted to restrict spontaneous accesses from said print server to said printing apparatus, comprising: a data generation unit configured to, when a print request is received from a user terminal via the network, generate print data in accordance with the print request, and store the print data in a storage; a determination unit configured to determine whether or not transmission processing for transmitting print data to the printing apparatus has finished, the print data being generated by the data generation unit in accordance with a read request of print data received from said printing apparatus via the network; and a cancel control unit configured to (a) store a generated cancel command in the storage as data separate from the print data if it is determined that the transmission processing has finished, and (b) store print data in the storage if it is determined that the transmission processing has not finished, wherein if the transmission processing has not finished, a next command in the print data to be transmitted to the printing apparatus is replaced with a cancel command.