what is the dos code to start the printer spool?

You didn't say what OS you're talking about, but the only one I know of is Net Start Spooler

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.