Bug 691515 - Cannot redirect mswinpr2
Summary: Cannot redirect mswinpr2
Status: RESOLVED INVALID
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: General (show other bugs)
Version: 8.71
Hardware: PC Windows XP
: P4 normal
Assignee: Default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-30 20:29 UTC by Ivan Kovtun
Modified: 2010-08-03 18:23 UTC (History)
2 users (show)

See Also:
Customer:
Word Size: ---


Attachments
log in debug mode (66.95 KB, text/plain)
2010-07-30 20:29 UTC, Ivan Kovtun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Kovtun 2010-07-30 20:29:34 UTC
Created attachment 6586 [details]
log in debug mode

Please review the attached log file.
I need redirect stream to network printer Samsung SCX-4828.
Do not know how to describe the situation.
Comment 1 Alex Cherepanov 2010-07-31 03:40:48 UTC
Probably, you are using wrong tools.

The RedMon port monitor redirects a special printer port to a program.
RedMon is commonly used with Ghostscript and a non-PostScript printer
to emulate a PostScript printer. RedMon can be used with any program that
accepts data on standard input.

In your case, a PCL stream is sent to Ghostscript and Ghostscript
rightfully rejects it.
Comment 2 Ivan Kovtun 2010-07-31 10:55:35 UTC
(In reply to comment #1)
> Probably, you are using wrong tools.
> 
> The RedMon port monitor redirects a special printer port to a program.
> RedMon is commonly used with Ghostscript and a non-PostScript printer
> to emulate a PostScript printer. RedMon can be used with any program that
> accepts data on standard input.
> 
> In your case, a PCL stream is sent to Ghostscript and Ghostscript
> rightfully rejects it.

I need a virtual printer to share it on localhost. It is because the native network driver cannot be shared.

So this unreadable string is a PCL stream... Seems I use a wrong driver for my virtual printer. Will try a PostScript driver. Would you please to recommend one. Thanks!
Comment 3 Ray Johnston 2010-08-03 16:09:43 UTC
First, this is not a blocker.

For a Windows PostScript driver, try using the PPD in lib/ghostpdf.ppd

In any case, Ghostscript works as expected, so closing this bug
Comment 4 Ivan Kovtun 2010-08-03 18:23:17 UTC
(In reply to comment #3)
> First, this is not a blocker.
> 
> For a Windows PostScript driver, try using the PPD in lib/ghostpdf.ppd
> 
> In any case, Ghostscript works as expected, so closing this bug

Correct! The task is done. Thanks for a good tool.