1 |
On Sun, 2005-12-04 at 18:05 -0700, Joseph wrote: |
2 |
> I want to print to "letter" size paper. |
3 |
> I'm using Sql-Ledger to print invoices, program is set to print with |
4 |
> command: |
5 |
> lpr -P Printer Name |
6 |
> Sql-Ledger is using latex forms to generate invoices. So to my |
7 |
> understanding the program will be using "dvips" to convert latex to |
8 |
> postscript and send it directly to printer, am I right? |
9 |
> Is there any other utility that conversion goes through, that I've |
10 |
> missed? |
11 |
> |
12 |
> This is setting of: /usr/share/texmf/dvips/config/config.ps: |
13 |
> % This shows how to add your own map file. |
14 |
> % Remove the comment and adjust the name: |
15 |
> % p +myfonts.map |
16 |
> |
17 |
> @ letterSize 8.5in 11in |
18 |
> |
19 |
> @ A4size 210mm 297mm |
20 |
> @+ %%PaperSize: A4 |
21 |
> |
22 |
> @ letter 8.5in 11in |
23 |
> @+ %%BeginPaperSize: Letter |
24 |
> @+ letter |
25 |
> @+ %%EndPaperSize |
26 |
> |
27 |
> Should the these two line be commented out: |
28 |
> @ A4size 210mm 297mm |
29 |
> @+ %%PaperSize: A4 |
30 |
> |
31 |
> Be default postscript is printing to "letter" size perer. How to check? |
32 |
> Where else should I look? |
33 |
> |
34 |
> -- |
35 |
> #Joseph |
36 |
|
37 |
Partial success. |
38 |
I can save in pdf file and print it using cups it works but I can not |
39 |
set the right letter size in dvips. |
40 |
I've tired the commands: |
41 |
texconfig dvips paper letter |
42 |
texconfig xdvi us |
43 |
|
44 |
It doesn't work. Printer is still asking for A4 paper size. |
45 |
|
46 |
-- |
47 |
#Joseph |
48 |
-- |
49 |
gentoo-user@g.o mailing list |