The invention provides a cloud printing method with real-time deduction of
copying and scanning fees, comprising the steps: scanning, by a
mobile device, a quick response code displayed by a printer;correlating, by a gateway, a user to the printer temporarily; detecting, by a
cloud server, whether the printer enables
copying permission or scanning permission; detecting, by the
cloud server, whether the amount in a user's local account is enough to pay the fee for single
copying or scanning; if yes, opening, by the gateway, the copying or scanning function; if not, ending the process; executing, by the printer, copying or scanning operation once; uploading, by the gateway, the
record to the
cloud server; deducting, by the cloud
server, the fee for the copying or scanning in real time; circularly detecting the amount in the local account, executing operations, and deducting fees to end the process until tasks are done. The method of the invention has the advantages that fees are deducted in real time during execution of copying or scanning operation, the technical problem of the cloud
server in calculating copying and scanning fees is solved, and the technical problem in deducting fees for copying and scanning operations is also solved.