Re: problem when printing from command line

From: <sum1_lists_at_yahoo.com>
Date: Mon Apr 09 2007 - 14:34:19 CEST

--- Carlos Nieves Ónega <cnieves@iespana.es> wrote:

>
> Hi,
> I'm using Abiword 2.4.6 under Debian unstable (x86), and I noticed
> some
> strange things when printing. I don't know if it is a known issue or
> not.
>
> I included a call to abiword to generate a ps file in a makefile, in
> order to automatically generate the postscript file for printing
> ("abiword -p file_from_command_line.ps file.abw").
>
> I generated it, and reviewed it using gv and ggv: all seemed right.
> When
> I printed the .ps generated file (from the command line, running "lpr
> file_from_command_line.ps"), I noticed that the top margin was not
> the
> one I have in the document.
>
> Then I printed the file to postscript using the File->Print dialog,
> selecting "Generic Postscript", and choosing "file" from the "target"
> combobox (I don't know the exact english label, since I'm running it
> in
> my language). I called the output filename "file_from_abiword.ps".
> Afterwards, I run "lpr file_from_abiword.ps". The printed sheet was
> perfect.
>
> If I compare the two .ps files as shown by gv or ggv, they are nearly
> the same. However, they seems to be generated using different tools.
>
> The file "file_from_command_line.ps" has this header:
>
> %!PS-Adobe-2.0
> %%Creator: AbiWord
> %%Orientation: Portrait
> %%Pages: 0
> %%DocumentPaperSizes: A4
> %%DocumentSuppliedResources: font BitstreamVeraSerif-Roman
> BitstreamVeraSerif-Bold
> %%EndComments
>
> while the file "file_from_abiword.ps" has this header:
>
> %!PS-Adobe-3.0
> %%Creator: Gnome Print Version 2.12.1
> %%CreationDate: D:20070409133826
> %%LanguageLevel: 2
> %%DocumentMedia: Regular 595 841 0 () ()
> %%Orientation: Portrait
> %%BoundingBox: 0 0 596 842
> %%Pages: 1
> %%PageOrder: Ascend
> %%Title:
> %%DocumentSuppliedResources: procset pnome-print-procs-2.12.1
> %%+ font (GnomeUni-BitstreamVeraSerif-Roman) cvn
> %%+ font (GnomeUni-BitstreamVeraSerif-Bold) cvn
> %%Requirements: numcopies(1) duplex
> %%EndComments
>
> I don't know why they are generated using different backends, or why
> gv
> and ggv doesn't show any difference. However I'd like that the
> postscript file generated by abiword from the command line
> could be printed correctly.
>
> Despite the fact I'm describing here is to print only one document, I
> can't avoid the command line because I'm using the mail merging
> feature
> "abiword -m file.csv -p file.ps file.abw".
>
> Any pointers will be very appreciated. I can provide the abiword
> document, as well as both postscript outputs if needed. Should I
> submit
> this to the bug tracker?

This bug is fixed in (GTK+) versions >= 2.5.0:
http://bugzilla.abisource.com/show_bug.cgi?id=9278. The first stable
release that will include the fix is 2.6.0.

 
____________________________________________________________________________________
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
-----------------------------------------------
To unsubscribe from this list, send a message to
abiword-user-request@abisource.com with the word
unsubscribe in the message body.
Received on Mon Apr 9 14:34:07 2007

This archive was generated by hypermail 2.1.8 : Mon Apr 09 2007 - 14:34:07 CEST