Mail Archives: geda-help/2017/02/18/17:40:58
Karl:
> How do I print a sch file to a postscript file where the output is
> supposed to completely fill the page ?
>
> Formely, when gschem produced the postscript itself, I could do that
> by specifying "without extents". With current gschem I can print,
> but (probably) since I don't have cups installed, I just get some
> dumb dialogue where I cannot change anything. It gives a posttscript
> file in letter size and with some automatic margins.
Ok, I'll start over. This is a question about the gaf postscript
export, not the pdf export.
I have this small test schematics;
$ cat tt.sch
v 20121203 2
C 0 0 1 0 0 EMBEDDEDA4liggande.sym
[
H 3 25 2 0 -1 -1 0 -1 -1 -1 -1 -1 3
M 1800,37860
L 0,37860
L 0,36060
H 3 25 2 0 -1 -1 0 -1 -1 -1 -1 -1 5
M 1800,34260
L 51840,34260
L 51840,1860
L 1800,1860
L 1800,34260
H 3 25 2 0 -1 -1 0 -1 -1 -1 -1 -1 3
M 1800,60
L 0,60
L 0,1860
H 3 25 2 0 -1 -1 0 -1 -1 -1 -1 -1 3
M 53460,1860
L 53460,60
L 51660,60
H 3 25 2 0 -1 -1 0 -1 -1 -1 -1 -1 3
M 51660,37860
L 53460,37860
L 53460,36060
]
T 4000 31000 9 80 1 0 0 0 1
ABC
$
If I do the obvious thing:
gaf export -f ps -p iso_a4 -m 0 -o tt.ps tt.sch
I get a postscript file which shows fine in gv but at printout, the
content is rotated 90degrees relative the paper.
The problem does not appear when then schematics rotated in gschem,
i.e. when the in gschem view on screen is "portrait".
Now, is this a bug in the cairo postscript routines or have I called
gaf export in the wrong way ?
Regards,
/Karl Hammar
-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57
- Raw text -