View Issue Details

IDProjectCategoryView StatusLast Update
0006151ScribusPrintingpublic2014-01-22 04:52
ReporterWerner Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformPCOSWin XP 
Product Version1.3.4 
Summary0006151: printer is unaware of page format
DescriptionThe printer is not informed about the page layout; so every time you start the program, you have to switch to the printer options dialog and switch the printer from portray to landscape mode (I'm using the flyer template installed by the setup).
TagsNo tags attached.
Patch

Activities

avox

2007-08-26 00:34

administrator   ~0017159

Usually printers figure out how to use their paper formats, not the client.
Scribus sends print jobs which contain the exact page dimensions, the printer should rotate the pages automatically.

Communication between print client and printer is a science of its own. With some printers it might still be necessary to set the options right in the print client, YMMV.

christoph_s

2008-02-05 22:42

administrator   ~0018832

Can we close this one?

stritti

2008-02-25 13:05

reporter   ~0019079

I think, this is a very annoying problem. I think I printed every landscaped layout minimum once in portrait for the trash can.
I do not know many details about the printing API, but on Windows, most applications can "tell" the printer the orientation of the layout.

jghali

2008-02-25 22:03

administrator   ~0019088

Last edited: 2008-02-25 22:04

>> on Windows, most applications can "tell" the printer the orientation of the layout

In my experience almost none does : Word does not, Excel does not, Indesign does not, QuarkXPress does not... Amongst exceptions are Acrobat Pro and Reader.

stritti

2008-02-26 08:35

reporter   ~0019093

>> In my experience almost none does : Word does not, Excel does not, Indesign does not, QuarkXPress does not... Amongst exceptions are Acrobat Pro and Reader.

You are right. I am really astonished. But Word will warn you at least when the bounding printing area is out of range of printer.

antondubinin

2014-01-22 04:52

reporter  

print_rotate_bug_fix.patch (2,396 bytes)   
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 scribus (1.4.2.dfsg+r18267-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * debian/patch/qreal_double.patch: Avoid qreal/double clashes on ARM
     (imported from Ubuntu). (Closes: #707882)
Author: Mattia Rizzolo <mattia@mapreri.org>
Bug-Debian: http://bugs.debian.org/707882

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- scribus-1.4.2.dfsg+r18267.orig/scribus/pslib.cpp
+++ scribus-1.4.2.dfsg+r18267/scribus/pslib.cpp
@@ -653,8 +653,8 @@ void PSLib::PS_begin_page(Page* pg, Marg
 		PutStream(">> setpagedevice\n");
 	}
 	PutStream("save\n");
-	if(pg->PageOri == 1 && psExport)
-		PutStream("90 rotate 0 "+IToStr(qRound(maxBoxY))+" neg translate\n");
+	//if(pg->PageOri == 1 && psExport)
+	//	PutStream("90 rotate 0 "+IToStr(qRound(maxBoxY))+" neg translate\n");
   	PutStream("/DeviceCMYK setcolorspace\n");
 	PutStream(ToStr(bleedLeft+markOffs)+" "+ToStr(Options.bleeds.Bottom+markOffs)+" tr\n");
 	ActPage = pg;
@@ -679,8 +679,8 @@ void PSLib::PS_end_page()
 	double maxBoxX = ActPage->width()+bleedLeft+bleedRight+markOffs*2.0;
 	double maxBoxY = ActPage->height()+Options.bleeds.Bottom+Options.bleeds.Top+markOffs*2.0;
 	PutStream("gs\n");
-	if(ActPage->PageOri == 1 && psExport)
-		PutStream("90 rotate 0 "+IToStr(qRound(maxBoxY))+" neg translate\n");
+	//if(ActPage->PageOri == 1 && psExport)
+	//	PutStream("90 rotate 0 "+IToStr(qRound(maxBoxY))+" neg translate\n");
 	if ((Options.cropMarks) || (Options.bleedMarks) || (Options.registrationMarks) || (Options.colorMarks))
 	{
 		PutStream("gs\n");
print_rotate_bug_fix.patch (2,396 bytes)   

antondubinin

2014-01-22 04:52

reporter   ~0031170

upload patch
in postscript 3 already have the sheet size and the size of box and when converted to gs, and it is used in the cups everywhere sheet is rotated in accordance with box

Issue History

Date Modified Username Field Change
2007-08-25 18:05 Werner New Issue
2007-08-26 00:34 avox Note Added: 0017159
2008-02-05 22:42 christoph_s Note Added: 0018832
2008-02-25 13:05 stritti Note Added: 0019079
2008-02-25 22:03 jghali Note Added: 0019088
2008-02-25 22:04 jghali Note Edited: 0019088
2008-02-26 08:35 stritti Note Added: 0019093
2014-01-22 04:52 antondubinin File Added: print_rotate_bug_fix.patch
2014-01-22 04:52 antondubinin Note Added: 0031170