Page 1 of 1

SPOOLCMD under NWP

Posted: Fri Jun 26, 2009 12:00 am
by Susan Smith
Hi all,

I'm converting an application to use NWP for the first time. When using Windows "WIN:" printing (as opposed to Direct "PRN:" or "DIRECT:" Printing), what is the role of the SPOOLCMD? Do I still use it?

SPOOLCMD wbspool -Q[PRINTER] -E [&ERRNO][SPOOLFILE]

Or does the Windows spooler take over? Should I have any reference to SPOOLCMD and SPOOLPATH in my BRCONFIG.SYS file when using NWP?

-- Susan

Posted: Fri Jun 26, 2009 5:45 am
by gtisdale
No.

SPOOLCMD only allies to printers opened PRN:

It is not used by WIN: DIRECT: PREVIEW: or PDF: opens

Re: SPOOLCMD under NWP

Posted: Fri Sep 04, 2009 10:52 am
by bluesfannoz
SPOOLPATH is still important because any temporary files created during the printing process will be created there, so if is set to a folder that the user doesn't have permission to, you can get errors.

On client Server you need to check both SPOOLPATH and REMOTESPOOLPATH to make sure the user has permissions to both folders.

Steve

Susan Smith wrote:Hi all,

I'm converting an application to use NWP for the first time. When using Windows "WIN:" printing (as opposed to Direct "PRN:" or "DIRECT:" Printing), what is the role of the SPOOLCMD? Do I still use it?

SPOOLCMD wbspool -Q[PRINTER] -E [&ERRNO][SPOOLFILE]

Or does the Windows spooler take over? Should I have any reference to SPOOLCMD and SPOOLPATH in my BRCONFIG.SYS file when using NWP?

-- Susan