Skip to content

GS 9.18 - does not seem to recognize \\spool\printer_name device #2

@dspiatkowski

Description

@dspiatkowski

Describe the bug
Attempting to print a PDF to a known PostScript printer (Brother HL5470DW), produces an error about unrecognized device:

=== START ===
Printing: G:\Desktop\AMAZON-PolishBooksOrder.pdf using: 600 DPI resolution!

GPL Ghostscript 9.18 (2015-10-05)
Copyright (C) 2015 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GPL Ghostscript 9.18: **** Could not open the file \spool\PSCRIPTB .
**** Unable to open the initial device, quitting.
=== STOP ===

To Reproduce
Steps to reproduce the behavior:

  1. Execute the following command line to print:

'gsos2.exe -sDEVICE=ps2write -sOutputFile="\spool\PSCRIPTB" -dDEVICEXRESOLUTION=600 -dDEVICEYRESOLUTION=600 -I"G:\usr\share\ghostscript\9.18\resource\init" -sFONTPATH="g:\psfonts;g:\usr\share\fonts\default\ghostscript" filename'

WHERE:
"filename" is the sample PDFf file you are attempting to print

Expected behavior
The file should spool to the printer's queue and print accordingly.

Additional context
There was a BUG logged against a much older OS/2 GhostScript port (see https://bugs.ghostscript.com/show_bug.cgi?id=687542) where the author at that time claims to have developed a patch which allows the OS/2 port to work similarly to other platforms. However, this does not appear to work either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions