[mdk-re] [JT] OO & Printing

Serge Skorokhodov =?iso-8859-1?q?suralis-s_=CE=C1_mtu-net=2Eru?=
Пт Ноя 2 18:06:05 MSK 2001


Здравствуйте!

OG> On Fri, 02 Nov 2001 12:59:40 +0300
OG> Aleksey Novodvorsky <aen на altlinux.ru> wrote:

AN>>> Самое странное, что из всех приложений печатает а из ОО
AN>>> никак. lpr <File> - Все ОК
AN>>>
AN>>> В spadmin принтер установлен как Generic Printer (HP 1100 в
AN>>> спске нет) Комада для печати - lpr Жму - "Пробная печать",
AN>>> лампочка на принтере мигает секунду-две как при загрузке
AN>>> документа и все.... тишина... принтер молчит как ничего и
AN>>> не было (((
AN>> 
AN>> Работает ли preview?

OG> Работает.

AN>> А если распечатать в файл, а потом послать результат на
AN>> принтер ?

OG> Провел пару экспериментов. Если файл только с англицкими
OG> буковками - все ОК, печатает.

OG> Русские не хочет.

OG> Вывел в файл - на вид нормальный PS. (в аттаче)

OG> lpr Printer.ps - То же что описывал выше.

OG> Такое ощущение что принтер какие то встроенные шрифты
OG> использует и про существование русского языка не знает и в
OG> помине ((((( Но ведь из той же сильфиды русский прекрасно
OG> печатается...

Для интереса попробовал открыть в GSView с седьмым GS под Win32:(

Вот выдержки из ругани:

DSC Error
At line 97:
  %%Page: 0 0

This line is incorrect.
The two arguments should be a label and an ordinal.
The ordinal should be 1 for the first page and should
increase by 1 for each following page.
The page ordinal is missing or is not in sequence.

It is likely that this line is part of an included file that
was not enclosed in %%BeginDocument / %%EndDocument.

'OK' will ignore this page, assuming it is part of an
incorrectly encapsulated EPS file.
'Cancel' will treat this as a valid page
Response = Ignore All DSC

DSC Information
At line 98:
  %%PageBoundingBox: 18 18 577 824

This comment is duplicated in the header, which is unnecessary.
The first occurence of a header line takes precedence.

'OK' or 'Cancel' will ignore the duplicate line.
Unknown in Page section at line 101:
  %%EndSetup

DSC Error
%%Pages: doesn't match number of %%Page:

'OK' will adjust the page count to match the number of %%Page:
comments found
'Cancel' will set the page count from %%Pages:
Response = Ignore All DSC

AFPL Ghostscript 7.0 (2001-04-08)
Copyright (C) 2001 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying DSC file c:/buf/attach/Printer.ps without pages
Loading NimbusRomNo9L-Regu font from C:\usr\gs\fonts\n021003l.pfb... 1991808 610376 1662720 371641 0 done.
Substituting .notdef for afii10082
Substituting .notdef for afii10080
Substituting .notdef for afii10066
Substituting .notdef for afii10065
Unrecoverable error: rangecheck in get
Operand stack:
    5  --nostringval--  5  --nostringval--  Times-Roman

--- Begin offending input ---
%%BeginSetup

%

%%BeginFeature: *PageSize A4

<</PageSize [595 842] /ImagingBBox null>> setpagedevice

%%EndFeature

%%EndSetup

%%Page: 0 0

%%PageBoundingBox: 18 18 577 824

%%BeginSetup

%

%%EndSetup

%%BeginPageSetup

%

/#copies 1 def

<< /NumCopies null /Policies << /NumCopies 1 >> >> setpagedevice

gsave

[0.23999 0 0 -0.23999 18 824] concat

gsave

%%EndPageSetup

/Times-RomanEnc2 [ /afii10033 /afii10082 /afii10080 /afii10066 /afii10065 

] def

161 206 moveto

0 0 0 setrgbcolor

/Times-Roman Times-RomanEnc2 psp_findfont 50 -50 matrix scale makefont setfont

<0102030405>

show

showpage

grestore grestore

%%PageTrailer




--- End offending input ---
file offset = 5126
gsapi_run_string_continue returns -15

Обычно он у меня все открывает.

Serge Skorokhodov aka suralis
02.11.2001 suralis-s на mtu-net.ru





Подробная информация о списке рассылки community