Bug 691921 - GSPrint - incorrect page orientation
Summary: GSPrint - incorrect page orientation
Status: NOTIFIED WONTFIX
Alias: None
Product: Artifex GSview
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: PC All
: P2 enhancement
Assignee: Ken Sharp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-01 19:46 UTC by Marcos H. Woehrmann
Modified: 2014-06-08 19:29 UTC (History)
3 users (show)

See Also:
Customer: 351
Word Size: ---


Attachments
landscape.ps (1.81 MB, application/postscript)
2011-02-01 19:47 UTC, Marcos H. Woehrmann
Details
portrait_print_job_printer_output.pdf (5.13 MB, application/pdf)
2011-02-01 19:48 UTC, Marcos H. Woehrmann
Details
landscape_print_job_printer_output.pdf (4.56 MB, application/pdf)
2011-02-01 19:49 UTC, Marcos H. Woehrmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2011-02-01 19:46:30 UTC
The customer reports that if the two attached PostScript files are printed using this command line:

  gsprint.exe -ghostscript gswin32c.exe -printer -noquery -mono

each is printed with the incorrect orientation.

I've tried converting the files to TIFF using Ghostscript and the output appears to be correct (i.e. it matches what is printed if I send the files to PostScript laser printer).

I've also attached two PDF files, which are scans from the customer of the output printed via gsprint.
Comment 2 Marcos H. Woehrmann 2011-02-01 19:47:36 UTC
Created attachment 7176 [details]
landscape.ps
Comment 3 Marcos H. Woehrmann 2011-02-01 19:48:10 UTC
Created attachment 7177 [details]
portrait_print_job_printer_output.pdf
Comment 4 Marcos H. Woehrmann 2011-02-01 19:49:35 UTC
Created attachment 7178 [details]
landscape_print_job_printer_output.pdf
Comment 5 Russell Lang 2011-03-24 23:05:08 UTC
It works correctly if the Windows printer is set to use A3 paper and portrait orientation.

If the Windows printer set set to use A4, or landscape, or rotated landscape, then it will print incorrectly.

When using GSPRINT, you can't set the page size from the command line.
You can tell it to use portrait orientation with the "-portrait" command line optoin, which overrides the "Portrait, Landscape, Rotated Landscape" setting in the printer "printing preferences" (defaults).
Comment 6 Marcos H. Woehrmann 2011-09-10 15:57:53 UTC
Assigning to me to discuss with customer.
Comment 7 Hin-Tak Leung 2014-01-15 04:34:13 UTC
If I remember correctly, gsprint can print to a windows printer queue by name? That could work around the papersize issue by having multiple queues per physical printer. It has been almost 10 years since I last configured/used gsprint so my memory could be fuzzy.

Of course this idea is not new: unix print queues have been that way - different queues for different options for the same physical printer - in the early days. It is only when cups came along that it becomes possible/routine to set options per queue.
Comment 8 Ken Sharp 2014-01-15 05:21:09 UTC
(In reply to comment #7)
> If I remember correctly, gsprint can print to a windows printer queue by
> name?

You can specify the printer by name, yes. I believe if you don't specify a printer it uses whichever printer is currently set as the default.


> That could work around the papersize issue by having multiple queues
> per physical printer. It has been almost 10 years since I last
> configured/used gsprint so my memory could be fuzzy.

That is possible, the default settings for each 'printer' would have to be different, which could be difficult in the case of printers with a lot of options, but its certainly possible.
Comment 9 Alex Comerford 2014-03-06 04:20:01 UTC
Has there been any progress with this bug?
Comment 10 Ken Sharp 2014-06-02 16:26:19 UTC
With the current version of GSPrint the only solution is to set up multiple printers with the default setup set correclty, and send teh job to that virtual printer.

We will be releasing a new version of GSView/GSPrint in future and any issues will be addressed in that or subsequent releases.