pszPrinter (PSZ)
A name that specifies the device; for example, "PRINTER1". The name is used for calling DevPostDeviceModes.
The printer device name can be found by calling SplQueryQueue and passing to it the information found in the pszLogAddress field of the DEVOPENSTRUC structure pointed to by pdopData. SplQueryQueue returns a PRQINFO3 structure. The pszPrinters field in PRQINFO3 contains the printer device name to be used.