SPOOLCMD under NWP

Discussion about printing issues and techniques.

Moderators: Susan Smith, admin, Gabriel

Post Reply
Susan Smith
Posts: 717
Joined: Sun Aug 10, 2008 4:24 am
Location: Southern California

SPOOLCMD under NWP

Post 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
gtisdale
Posts: 218
Joined: Sun Jun 07, 2009 7:54 am
Location: Concord, Massachusetts
Contact:

Post by gtisdale »

No.

SPOOLCMD only allies to printers opened PRN:

It is not used by WIN: DIRECT: PREVIEW: or PDF: opens
bluesfannoz
Posts: 291
Joined: Fri Jun 19, 2009 9:01 am
Location: Lawrence, Kansas
Contact:

Re: SPOOLCMD under NWP

Post 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
Steve Koger
Computer Specialist
SEKESC-MACS Division
Post Reply