Optional settings for writing postscript?

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, xnview

Post Reply
User avatar
hawkse
Posts: 7
Joined: Sat Oct 01, 2005 9:04 pm

Optional settings for writing postscript?

Post by hawkse » Wed Jul 12, 2006 8:41 pm

I am trying to batch print a large number of tiff (g4) files to a postscript printer. I do this by calling nconvert like this:

Code: Select all

nconvert.exe -quiet -out ps -o \\computer\spool c:\Temp\faximage.tif
The job spools and reaches the printer but doesn't print since the printer still shows the message "waiting for data". If I then press the "OK" button on the printer, the image is printed OK.

I have also tried this by printing to a local printer but with the same result.

Trying to convert and print using pcl format instead also gives the same result.

If I convert the image into a postscript file, I can open the file in GSView and it looks good there.

I then tried to copy the postscript file produced by nconvert to the printer:

Code: Select all

copy faximage.ps \\computer\spool
This also gave the same result (have to press "OK" button on printer to get the image printed).

If I take another postscript file (produced from a pdf by pdftops.exe from xpdf) and copy it to the print spool it will print directly without waiting for more data.

This leads me to believe that this must have something to do with the postscript format produced nconvert . Is it possible to somehow alter the postscript written by nconvert (ie, level 1,2 or 3)?

User avatar
xnview
Author of XnView
Posts: 32499
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Optional settings for writing postscript?

Post by xnview » Thu Jul 13, 2006 2:03 am

hawkse wrote:This leads me to believe that this must have something to do with the postscript format produced nconvert . Is it possible to somehow alter the postscript written by nconvert (ie, level 1,2 or 3)?
Strange, could you send a ps sample?
Pierre.

User avatar
hawkse
Posts: 7
Joined: Sat Oct 01, 2005 9:04 pm

Re: Optional settings for writing postscript?

Post by hawkse » Thu Jul 13, 2006 6:06 am

xnview wrote:
hawkse wrote:This leads me to believe that this must have something to do with the postscript format produced nconvert .
Strange, could you send a ps sample?
The sample is in the mail. I found this page suggesting adding a "form feed" at the end of the job on the Microsoft site:
http://support.microsoft.com/kb/q132460/

I tried setting the queue to RAW Append and RAW Auto as suggested there but it didn't make any difference.

User avatar
xnview
Author of XnView
Posts: 32499
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Optional settings for writing postscript?

Post by xnview » Thu Jul 13, 2006 8:05 am

hawkse wrote:
xnview wrote:
hawkse wrote:This leads me to believe that this must have something to do with the postscript format produced nconvert .
Strange, could you send a ps sample?
The sample is in the mail. I found this page suggesting adding a "form feed" at the end of the job on the Microsoft site:
http://support.microsoft.com/kb/q132460/

I tried setting the queue to RAW Append and RAW Auto as suggested there but it didn't make any difference.
Which mail? at xnview.com??
Pierre.

User avatar
hawkse
Posts: 7
Joined: Sat Oct 01, 2005 9:04 pm

Re: Optional settings for writing postscript?

Post by hawkse » Thu Jul 13, 2006 8:17 am

xnview wrote:
hawkse wrote:
xnview wrote: Strange, could you send a ps sample?
The sample is in the mail.
Which mail? at xnview.com??
The one listed for your MSN account (pierre g wanadoo fr) here.

User avatar
xnview
Author of XnView
Posts: 32499
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Optional settings for writing postscript?

Post by xnview » Fri Jul 14, 2006 7:16 am

hawkse wrote:
xnview wrote:
hawkse wrote: The sample is in the mail.
Which mail? at xnview.com??
The one listed for your MSN account (pierre g wanadoo fr) here.
No, please webmaster-nospam@xnview-nospam.com (remove -nospam)
Pierre.

Post Reply