From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Posting-Agent: Hamster/1.3.21.0 From: Serge Skorokhodov X-Mailer: The Bat! (v1.53t) Organization: F.F.Yu.D. X-Priority: 3 (Normal) Message-ID: <11125689779.20011102180644@mtu-net.ru> To: Oleg Ganchenko Subject: Re[2]: [mdk-re] [JT] OO & Printing In-Reply-To: <20011102152137.38642b8f.oleg@ferrexpo.poltava.ua> References: <20011102105401.64009d66.oleg@ferrexpo.poltava.ua> <3BE26E8C.3F6E2885@altlinux.ru> <20011102152137.38642b8f.oleg@ferrexpo.poltava.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: mandrake-russian-admin@altlinux.ru Errors-To: mandrake-russian-admin@altlinux.ru X-BeenThere: mandrake-russian@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: mandrake-russian@altlinux.ru X-Reply-To: Serge Skorokhodov List-Help: List-Post: List-Subscribe: , List-Id: Linux-Mandrake RE / ALT Linux discussion list List-Unsubscribe: , List-Archive: Date: Fri Nov 2 18:06:05 2001 X-Original-Date: Fri, 2 Nov 2001 18:06:44 +0300 Archived-At: List-Archive: List-Post: Здравствуйте! OG> On Fri, 02 Nov 2001 12:59:40 +0300 OG> Aleksey Novodvorsky wrote: AN>>> Самое странное, что из всех приложений печатает а из ОО AN>>> никак. lpr - Все ОК 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 <> 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