ppr-list-digest volume 3, number 13, message 2

Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.


From: Alain.Lachapelle@Heimannsystems.Com
Date: Thu, 1 Feb 2001 17:30:06 +0100
Subject: PPR: Curious problem calling ppr

Hi again,

  I am calling ppr through a system call.  I build the command string which is the following, outputted by printf() :

ppr -d hp5simx  -F 'PageSize=A4' -m none /tmp/psfile.ps

I've looked at the string buffer and after the final ".ps" in the command line there are zeroes.

When ppr is called with this command line it responds:

Your new print job for "hp5simx" has been rejected because the ppr command line contains an error: only one file name allowed.

When I add a space and a newline "\n" at the end of the command line then the print job is launched twice by ppr.

Do you know what could cause this?

Regards,

Alain