Skip to Content
avatar image
Former Member

Difference between Print Immediately and Send to Spool for later print

I'm having an issue in my R3 4.7 with printing.

I have recently migrated to unicode, but I decided not to stick this into the Unicode section for now.

The value of parameter rspo/host_spool/print is:

/usr/local/bin/multiprint &P &F &C "&R" "&T" &c "&o" "&t" 2>&&1;

This is the problem.

If I have a print list and I decide to print it, I can send it the spooler for immediate print.

That works fine, it comes off the printer.

I see this in the dev trace file:

COMMAND to execute is /usr/local/bin/multiprint cups_hwps01

/usr/sap/<SID>/DVEBMGS00/data/000bC8f3.<SID>"MYUSERNAME" "" 1 "MYUSERNAME" ""

...

...

Using Hostspool command: '/usr/local/bin/multiprint cups_hwps01

/usr/sap/<SID>/DVEBMGS00/data/000bC8f3.<SID>1 "MYUSERNAME" "" 1 "MYUSERNAME"

This is correct.

Now, if I have a print list and select 'Send to SAP Spooler only for now' I can see it in SP01.

However, if I try and print it from SP01 I see an error.

There is an error in the STDERR2 file as follows:

sh: -c: line 0: unexpected EOF while looking for matching `"'

sh: -c: line 1: syntax error: unexpected end of file

I see this in the dev trace file:

COMMAND to execute is /usr/local/bin/multiprint cups_whps06

/usr/sap/DTD/DVEBMGS00/data/000aocyn.DTD 1 "PH4417" "" 1 "PH4417" "

Note the last ". It seems SAP is truncating the command it calls.

I've logged it with SAP but wondered if anyone else had encountered it?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 14, 2011 at 11:11 AM

    Seems it was a Kernel bug. Fixed.

    Add comment
    10|10000 characters needed characters exceeded