Citrix (Ubuntu) -> 1Cv8 -> Windows (проблемы.... ()

WINE@Etersoft, "1С","Ананас" и прочие проекты

Модератор: Модераторы разделов

Аватара пользователя
EvilR1
Сообщения: 10
ОС: Ubuntu

Citrix (Ubuntu) -> 1Cv8 -> Windows

Сообщение EvilR1 »

Здравствуйте! Я довольно-таки новый Юзер в Линуксе..... около 2х месяцев..... сейчас же дело дошло до 1С (в будующем наша контора собирается перейти на Линукс!)..... возникли проблемы!

и так. Есть 1Сv8 которая работает на виндовском серваке, все остальные машины подключаются через Citrix (Оси у них - Windows)... я поставил себе Ubuntu для тестирования...... все работает отлично, проблем бы нибыло если бы не пару нюансов... таких как :

1. Печать из 1С не работает (принтер локальный подключен и виден из 1С, страница посылается,но не доходит до назначения!)
2. Сохранение документов на локальные диски из 1С не получается, так как Винда не видит их...

З.Ы. Сильно не пинайте ...... Help плиз ....
Спасибо сказали:
Аватара пользователя
DjSpike
Сообщения: 2265
Статус: в поисках истины
ОС: Lubuntu 12.04

Re: Citrix (Ubuntu) -> 1Cv8 -> Windows

Сообщение DjSpike »

хм... А под линукс разве есть клиент Citrix ???
Или ты просто подключался через rdesktop ???
AvReg - По для организации Видеонаблюдения на Linux.
ДЭНСИ:КАССА - Рабочее место кассира под Linux.
Терминальные решения под Linux
Консультации по установке 1с+PostgreSQL+Ubuntu.
Спасибо сказали:
pavelbag
Сообщения: 14

Re: Citrix (Ubuntu) -> 1Cv8 -> Windows

Сообщение pavelbag »

Была у меня проблема с печатью, решается так

1. В файле /etc/cups/mime.convs должна быть строчка "application/octet-stream application/vnd.cups-raw 0 -"
2. В файле /etc/cups/mime.types должна быть строчка "application/octet-stream"

По крафней мере у меня на Сузе работает, я тоже подключаюсь, правда через rdesktop, на терминал под Виндой... Цитрикс, как
я понимаю, это надстройка на стандартный терминал
Спасибо сказали:
iYang
Сообщения: 41
ОС: SuSE 10.3, 11.0

Re: Citrix (Ubuntu) -> 1Cv8 -> Windows

Сообщение iYang »

DjSpike писал(а):
14.07.2009 18:19
хм... А под линукс разве есть клиент Citrix ???
Или ты просто подключался через rdesktop ???

Клиент Цитрикса есть. http://citrix.com/English/ss/downloads/det...p;c1=ost1349860
Спасибо сказали:
Аватара пользователя
EvilR1
Сообщения: 10
ОС: Ubuntu

Re: Citrix (Ubuntu) -> 1Cv8 -> Windows

Сообщение EvilR1 »

pavelbag писал(а):
15.07.2009 05:55
Была у меня проблема с печатью, решается так

1. В файле /etc/cups/mime.convs должна быть строчка "application/octet-stream application/vnd.cups-raw 0 -"
2. В файле /etc/cups/mime.types должна быть строчка "application/octet-stream"
...

файлы такие нашел... строки такие есть, только начинаются они с # .... а вот отредактировать их не представляется возможным..... пробывал разблокировать root'а, однако ситуация не изменилась.....



и еще, я так понимаю строки которые начинаются с ключа "#" - отключены?
У вас нет необходимых прав для просмотра вложений в этом сообщении.
Спасибо сказали:
Аватара пользователя
0ut
Сообщения: 307
Статус: Злыдень
ОС: *nix

Re: Citrix (Ubuntu) -> 1Cv8 -> Windows

Сообщение 0ut »

# - коментарий, т.е. строки начинающиеся с # игнорируются

что значит разблокировать root'a?
Запросы ошибок к операционной системе игнорироваться не могут.
Спасибо сказали:
Аватара пользователя
DjSpike
Сообщения: 2265
Статус: в поисках истины
ОС: Lubuntu 12.04

Re: Citrix (Ubuntu) -> 1Cv8 -> Windows

Сообщение DjSpike »

в коносоли набери sudo vi /etc/cups/mime.convs
AvReg - По для организации Видеонаблюдения на Linux.
ДЭНСИ:КАССА - Рабочее место кассира под Linux.
Терминальные решения под Linux
Консультации по установке 1с+PostgreSQL+Ubuntu.
Спасибо сказали:
Аватара пользователя
EvilR1
Сообщения: 10
ОС: Ubuntu

Re: Citrix (Ubuntu) -> 1Cv8 -> Windows

Сообщение EvilR1 »

0ut писал(а):
15.07.2009 12:30
...
что значит разблокировать root'a?


Система -> Администрирование -> Пользователи и группы


DjSpike писал(а):
15.07.2009 12:31
в коносоли набери sudo vi /etc/cups/mime.convs

чот теперь сохранить не получается........ :blush:
У вас нет необходимых прав для просмотра вложений в этом сообщении.
Спасибо сказали:
Аватара пользователя
DjSpike
Сообщения: 2265
Статус: в поисках истины
ОС: Lubuntu 12.04

Re: Citrix (Ubuntu) -> 1Cv8 -> Windows

Сообщение DjSpike »

чот теперь сохранить не получается........

ESC :w :q
AvReg - По для организации Видеонаблюдения на Linux.
ДЭНСИ:КАССА - Рабочее место кассира под Linux.
Терминальные решения под Linux
Консультации по установке 1с+PostgreSQL+Ubuntu.
Спасибо сказали:
Аватара пользователя
EvilR1
Сообщения: 10
ОС: Ubuntu

Re: Citrix (Ubuntu) -> 1Cv8 -> Windows

Сообщение EvilR1 »

перепробовал всякое....... что нифига не печатает.... может есть еще соображения? :blush:
Спасибо сказали:
pavelbag
Сообщения: 14

Re: Citrix (Ubuntu) -> 1Cv8 -> Windows

Сообщение pavelbag »

Вы строчки, которые я писал, расскоментарили? Если нет, то делайте это, печать не работает именно из-за этого
Спасибо сказали:
Аватара пользователя
EvilR1
Сообщения: 10
ОС: Ubuntu

Re: Citrix (Ubuntu) -> 1Cv8 -> Windows

Сообщение EvilR1 »

pavelbag писал(а):
21.07.2009 06:16
Вы строчки, которые я писал, расскоментарили? Если нет, то делайте это, печать не работает именно из-за этого

все сделал..... крутил и так и сяк..... сейчас так....

mime.convs

Код: Выделить всё

#
#
#   DO NOT EDIT THIS FILE, AS IT IS OVERWRITTEN WHEN YOU INSTALL NEW
#   VERSIONS OF CUPS.  Instead, create a "local.convs" file that
#   reflects your local configuration changes.
#
#   MIME converts file for the Common UNIX Printing System (CUPS).
#
#   Copyright 2007 by Apple Inc.
#   Copyright 1997-2007 by Easy Software Products.
#
#   These coded instructions, statements, and computer programs are the
#   property of Apple Inc. and are protected by Federal copyright
#   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
#   which should have been included with this file.  If this file is
#   file is missing or damaged, see the license at "http://www.cups.org/".
#

########################################################################
#
# Format of Lines:
#
#   source/type destination/type cost filter
#
# General Notes:
#
#   The "cost" field is used to find the least costly filters to run
#   when converting a job file to a printable format.
#
#   All filters *must* accept the standard command-line arguments
#   (job-id, user, title, copies, options, [filename or stdin]) to
#   work with CUPS.
#

########################################################################
#
# PostScript filters
#

application/pdf        application/postscript    33    pdftops
application/postscript    application/vnd.cups-postscript    100    pstops
application/vnd.hp-HPGL    application/postscript    66    hpgltops
application/x-cshell    application/postscript    33    texttops
application/x-csource    application/postscript    33    texttops
application/x-perl    application/postscript    33    texttops
application/x-shell    application/postscript    33    texttops
text/plain        application/postscript    33    texttops
text/html        application/postscript    33    texttops
image/gif        application/vnd.cups-postscript    66    imagetops
image/png        application/vnd.cups-postscript    66    imagetops
image/jpeg        application/vnd.cups-postscript    66    imagetops
image/tiff        application/vnd.cups-postscript    66    imagetops
image/x-bitmap        application/vnd.cups-postscript    66    imagetops
image/x-photocd        application/vnd.cups-postscript    66    imagetops
image/x-portable-anymap    application/vnd.cups-postscript    66    imagetops
image/x-portable-bitmap    application/vnd.cups-postscript    66    imagetops
image/x-portable-graymap application/vnd.cups-postscript    66    imagetops
image/x-portable-pixmap    application/vnd.cups-postscript    66    imagetops
image/x-sgi-rgb        application/vnd.cups-postscript    66    imagetops
image/x-xbitmap        application/vnd.cups-postscript    66    imagetops
image/x-xpixmap        application/vnd.cups-postscript    66    imagetops
#image/x-xwindowdump    application/vnd.cups-postscript    66    imagetops
image/x-sun-raster    application/vnd.cups-postscript    66    imagetops


########################################################################
#
# Form filter...
#
# This filter does not currently exist, but the file format is defined
# in the IDD and registered with the IANA for future use...
#

#application/vnd.cups-form application/vnd.cups-postscript 33 formtops

########################################################################
#
# Raster filters...
#

image/gif        application/vnd.cups-raster    100    imagetoraster
image/png        application/vnd.cups-raster    100    imagetoraster
image/jpeg        application/vnd.cups-raster    100    imagetoraster
image/tiff        application/vnd.cups-raster    100    imagetoraster
image/x-bitmap        application/vnd.cups-raster    100    imagetoraster
image/x-photocd        application/vnd.cups-raster    100    imagetoraster
image/x-portable-anymap    application/vnd.cups-raster    100    imagetoraster
image/x-portable-bitmap    application/vnd.cups-raster    100    imagetoraster
image/x-portable-graymap application/vnd.cups-raster    100    imagetoraster
image/x-portable-pixmap    application/vnd.cups-raster    100    imagetoraster
image/x-sgi-rgb        application/vnd.cups-raster    100    imagetoraster
image/x-xbitmap        application/vnd.cups-raster    100    imagetoraster
image/x-xpixmap        application/vnd.cups-raster    100    imagetoraster
#image/x-xwindowdump    application/vnd.cups-raster    100    imagetoraster
image/x-sun-raster    application/vnd.cups-raster    100    imagetoraster

# pstoraster is part of GPL Ghostscript...
application/vnd.cups-postscript    application/vnd.cups-raster    100    pstoraster

########################################################################
#
# Raw filter...
#
# Uncomment the following filter to allow printing of arbitrary files
# without the -oraw option.
#

application/octet-stream    application/vnd.cups-raw    0    -

#
#


mime.types

Код: Выделить всё

#
#
#   MIME types file for the Common UNIX Printing System (CUPS).
#
#   DO NOT EDIT THIS FILE, AS IT IS OVERWRITTEN WHEN YOU INSTALL NEW
#   VERSIONS OF CUPS.  Instead, create a "local.types" file that
#   reflects your local configuration changes.
#
#   Copyright 2007 by Apple Inc.
#   Copyright 1997-2007 by Easy Software Products.
#
#   These coded instructions, statements, and computer programs are the
#   property of Apple Inc. and are protected by Federal copyright
#   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
#   which should have been included with this file.  If this file is
#   file is missing or damaged, see the license at "http://www.cups.org/".
#

########################################################################
#
# Format of Lines:
#
#   super/type rules
#
# "rules" can be any combination of:
#
#   ( expr )                Parenthesis for expression grouping
#   +                    Logical AND
#   , or whitespace            Logical OR
#   !                    Logical NOT
#   match("pattern")            Pattern match on filename
#   extension                Pattern match on "*.extension"
#   ascii(offset,length)        True if bytes are valid printable ASCII
#                    (CR, NL, TAB, BS, 32-126)
#   printable(offset,length)        True if bytes are printable 8-bit chars
#                    (CR, NL, TAB, BS, 32-126, 128-254)
#   string(offset,"string")        True if bytes are identical to string
#   istring(offset,"string")        True if bytes are identical to
#                                       case-insensitive string
#   char(offset,value)            True if byte is identical
#   short(offset,value)            True if 16-bit integer is identical
#   int(offset,value)            True if 32-bit integer is identical
#   locale("string")                    True if current locale matches string
#   contains(offset,range,"string")    True if the range contains the string
#
# General Notes:
#
#   MIME type names are case-insensitive.  Internally they are converted
#   to lowercase.  Multiple occurrences of a type will cause the provided
#   rules to be appended to the existing definition.  Type names are sorted
#   in ascending order, so if two types use the same rules to resolve a type
#   (e.g. doc extension for two types), the returned type will be the first
#   type in the sorted list.
#
#   The "printable" rule differs from the "ascii" rule in that it also
#   accepts 8-bit characters in the range 128-255.
#
#   String constants must be surrounded by "" if they contain whitespace.
#   To insert binary data into a string, use the <hex> notation.
#

########################################################################
#
# Application-generated files...
#

#application/msword        doc string(0,<D0CF11E0A1B11AE1>)
application/pdf            pdf string(0,%PDF)
application/postscript        ai eps ps string(0,%!) string(0,<04>%!) \
                contains(0,128,<1B>%-12345X) + \
                (contains(0,4096,"LANGUAGE=POSTSCRIPT") \
                 contains(0,4096,"LANGUAGE = Postscript") \
                 contains(0,4096,"LANGUAGE = PostScript") \
                 contains(0,4096,"LANGUAGE = POSTSCRIPT") \
                 (contains(0,4096,<0a>%!) + \
                  !contains(0,4096,"ENTER LANGUAGE")))
application/vnd.hp-HPGL        hpgl \
                string(0,<1B>E<1B>%0B) \
                string(0,<1B>%-1B) string(0,<201B>)\
                string(0,BP;) string(0,IN;) string(0,DF;) \
                string(0,BPINPS;) \
                (contains(0,128,<1B>%-12345X) + \
                 (contains(0,4096,"LANGUAGE=HPGL") \
                  contains(0,4096,"LANGUAGE = HPGL")))

########################################################################
#
# Image files...
#

image/gif            gif string(0,GIF87a) string(0,GIF89a)
image/png            png string(0,<89>PNG)
image/jpeg            jpeg jpg jpe string(0,<FFD8FF>) &&\
                (char(3,0xe0) char(3,0xe1) char(3,0xe2) char(3,0xe3)\
                 char(3,0xe4) char(3,0xe5) char(3,0xe6) char(3,0xe7)\
                 char(3,0xe8) char(3,0xe9) char(3,0xea) char(3,0xeb)\
                 char(3,0xec) char(3,0xed) char(3,0xee) char(3,0xef))
image/tiff            tiff tif string(0,MM<002A>) string(0,II<2A00>)
image/x-photocd            pcd string(2048,PCD_IPI)
image/x-portable-anymap        pnm
image/x-portable-bitmap        pbm string(0,P1) string(0,P4)
image/x-portable-graymap    pgm string(0,P2) string(0,P5)
image/x-portable-pixmap        ppm string(0,P3) string(0,P6)
image/x-sgi-rgb            rgb sgi bw icon short(0,474)
image/x-xbitmap            xbm
image/x-xpixmap            xpm ascii(0,1024) + string(3,"XPM")
#image/x-xwindowdump        xwd string(4,<00000007>)
image/x-sun-raster        ras string(0,<59a66a95>)

#image/fpx            fpx
image/x-alias            pix short(8,8) short(8,24)
image/x-bitmap            bmp string(0,BM) && !printable(2,14)
image/x-icon            ico

########################################################################
#
# Text files...
#

application/x-cshell        csh printable(0,1024) + string(0,#!) +\
                (contains(2,80,/csh) contains(2,80,/tcsh))
application/x-perl        pl printable(0,1024) + string(0,#!) +\
                contains(2,80,/perl)
application/x-shell        sh printable(0,1024) + string(0,#!) +\
                (contains(2,80,/bash) contains(2,80,/ksh)\
                 contains(2,80,/sh) contains(2,80,/zsh))
application/x-csource        c cxx cpp cc C h hpp \
                printable(0,1024) + \
                (string(0,/*) string(0,//)
                 string(0,#include) contains(0,1024,<0a>#include) \
                 string(0,#define) contains(0,1024,<0a>#define))
text/html            html htm printable(0,1024) +\
                (istring(0,"<HTML>") istring(0,"<!DOCTYPE"))
text/plain            txt printable(0,1024)
text/css            css


########################################################################
#
# RSS feed type...
#

application/rss+xml        rss


########################################################################
#
# CUPS-specific types...
#

application/vnd.cups-command    string(0,'#CUPS-COMMAND')
application/vnd.cups-form    string(0,"<CUPSFORM>")
application/vnd.cups-pdf
application/vnd.cups-postscript
application/vnd.cups-ppd    ppd string(0,"*PPD-Adobe:")
application/vnd.cups-raster    string(0,"RaSt") string(0,"tSaR")
application/vnd.cups-raw    (string(0,<1B>E) + !string(2,<1B>%0B)) \
                string(0,<1B>@) \
                (contains(0,128,<1B>%-12345X) + \
                 (contains(0,4096,"LANGUAGE=PCL") \
                  contains(0,4096,"LANGUAGE = PCL")))

########################################################################
#
# Raw print file support...
#
# Comment the following type to prevent raw file printing.
#

application/octet-stream

#
#

iУведомление от модератора Aectann
Снимки рабочих столов или как постить картинки
Просьба ознакомиться.
Спасибо сказали:
pavelbag
Сообщения: 14

Re: Citrix (Ubuntu) -> 1Cv8 -> Windows

Сообщение pavelbag »

Попробуйте подключаться к Цитриксу через клиент rdesktop
Спасибо сказали:
pavelbag
Сообщения: 14

Re: Citrix (Ubuntu) -> 1Cv8 -> Windows

Сообщение pavelbag »

Еще почитайте hp+samba не идет печать

Сам стокнулся с проблемой, что даже при расскоментированных строчках в файлах mime.convs и mime.types печать на принтеры HP 1000 и HP 1020 не работала. Все дело оказалось в том, что нужен другой драйвер этих принтеров в винде
Спасибо сказали: