View Issue Details

IDProjectCategoryView StatusLast Update
0000100SkyChart1-Softwarepublic09-02-07 17:58
ReporterStephen Irons Assigned ToPatrick Chevalley  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformx86OSLinuxOS Version2.6
Product Version3.0.1.1 SVN 
Target Version3.2Fixed in Version3.0.1.5 SVN 
Summary0000100: Linux printing to system printer: printed chart is not usable
DescriptionWhen printing to a system printer, my chart comes out very badly:

1. There is no text at all on the chart.

2. The lines are very thick, much thicker than when printed from Windows.

3. The printer resolution is reported as 72 dpi even though the printer is capable of much higher resolution.

4. I have selected landscape in the 'Print Chart' dialog, but it comes out in portait mode.

5. When I select landscape mode from the File > Print Setup > Printer Setup > "Printing" > Properties > Printer Properties dialog box, then go to File > Print > Setup > Printer Setup > "Printing" > Properties > Printer Properties dialog box, it has reverted to portrait mode. It is not clear to me how to make landscape mode the default, if it is even possible.

6. The chart is printed at the bottom-left of the page and runs off the right-hand edge--formatted for landscape, but printing portrait. However, the altitude-azimuth grid continues in the space above the chart, as well as the constellation lines. It looks as though the alt-az grid and constellation lines are not clipped to the correct rectangle. This problem will probably go away when landscape printing is fixed, but it might point to some other problem.
TagsNo tags attached.

Relationships

related to 0000405 closedPatrick Chevalley Postscript printing on Windows 
related to 0000101 closedPatrick Chevalley Linux printing to postscript: various issues 

Activities

Patrick Chevalley

07-01-06 18:37

administrator   ~0000325

Most problem where because Unix always report a resolution of 72dpi for any printer. This is the Postscript resolution.
This problems must be fixed now. I also add clipping to be sure no line go out of the page.

Stephen Irons

07-01-07 23:41

reporter   ~0000326

Problems 1, 2, 3, 4 and 5 have been resolved with Linux snapshot 2007-01-06. However, there is still a problem with the printout in landscape mode, and with clipping in both landscape and portrait mode.

If I print in portrait mode, the chart comes out as expected, except there is still some alt-azim grid lines and some constellation lines above the chart and to the right of the chart.

If I print in landscape mode, the chart prints in portrait mode, and it includes alt-azim grid line and constallation lines above the chart. The chart is layed out for portait mode printing: there is no border at the right-hand edge, so it seems to continue off the edge of the page.

If I print in landscape mode to postscript, and view the result in Evince (Gnome PS and PDF viewer), the chart looks correct: it is in landscape mode and has not extra bits. However, it prints from Evince onto the printer incorrectly.

If I view the same PS file in GS on windows, it looks exactly the same as what gets printed.

Patrick Chevalley

07-01-14 17:36

administrator   ~0000334

You are right there is problem with landscape mode. I suggest we focus on this problem and try to find a better clipping afterward.

Can you try to add the folowing to the .ps file, near the top of the file, just after %%Page: 1

<< /PageSize [3300 2400] /Policies <</PageSize 3 >> >> setpagedevice

Replace 3300 2400 by the value you have in the second line:
%%BoundingBox: 0 0 3300 2400

When I do that ps2pdf give me a correctly oriented .pdf file but my printer still print in portrait as you describe.
What your printer do with that ?

Stephen Irons

07-01-22 03:08

reporter   ~0000342

When I add
<< /PageSize [792 576] /Policies <</PageSize 3 >> >> setpagedevice

after
%%Page: 1

in cdcprint.ps, then
   * GS still displays and prints incorrectly
   * Evince displays and prints correctly [Note 1]

If I ps2pdf the modified file, then
   * Acroread displays and prints correctly
   * Evince displays and prints correctly [Note 1]

I would be tempted to say that something is still a bit dogdy in the PS, because GS fails. I know nothing of PS or GS, though, so I cannot help.

[Note 1] Actually, it does not print to the printer, because I have somehow messed up printing to that printer from Linux. However, if I print to a PS file, then GS displays the resulting PS file correctly. I tend to trust GS.

Printer is Toshiba eStudio 4511.

Stephen Irons

07-01-22 03:16

reporter   ~0000343

I have stopped using Postscript printing because I find the bitmap output to be better. At 150 dpi

1. the solid lines are nice and thin
2. the dotted lines are finely dotted
3. the text is nice and small
4. gaps between overlapping stars and planets are nice and thin

In the Poscript output

1. the solid lines are too thick
2. the dots in the dotted lines are too far apart
3. the text is acceptable (slightly too big but OK)
4. gaps between overlapping stars are too big.

Overall, bitmap printing looks much more attractive.

Patrick Chevalley

08-10-16 14:23

administrator   ~0000692

This is fixed by revision 1027:
http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=1027

Gs and Evince no show the page right, with clipping. Send the file to a Xerox PS printer also work.

Issue History

Date Modified Username Field Change
06-06-28 23:39 Stephen Irons New Issue
07-01-06 18:37 Patrick Chevalley Status new => resolved
07-01-06 18:37 Patrick Chevalley Resolution open => fixed
07-01-06 18:37 Patrick Chevalley Assigned To => Patrick Chevalley
07-01-06 18:37 Patrick Chevalley Note Added: 0000325
07-01-07 23:41 Stephen Irons Status resolved => feedback
07-01-07 23:41 Stephen Irons Resolution fixed => reopened
07-01-07 23:41 Stephen Irons Note Added: 0000326
07-01-14 17:36 Patrick Chevalley Note Added: 0000334
07-01-22 03:08 Stephen Irons Note Added: 0000342
07-01-22 03:16 Stephen Irons Note Added: 0000343
08-01-05 14:32 Patrick Chevalley Target Version 0.3.0 => 3.1
08-10-16 14:17 Patrick Chevalley Relationship added related to 0000405
08-10-16 14:23 Patrick Chevalley Status feedback => resolved
08-10-16 14:23 Patrick Chevalley Fixed in Version 0.3.0 => 3.0.1.5 SVN
08-10-16 14:23 Patrick Chevalley Resolution reopened => fixed
08-10-16 14:23 Patrick Chevalley Note Added: 0000692
08-10-16 16:14 Patrick Chevalley Relationship added related to 0000101
09-01-12 10:42 Patrick Chevalley Target Version 3.1 => 3.2
09-02-07 17:58 Patrick Chevalley Status resolved => closed