Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Печать через Cups
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
Silverow
n00b
n00b


Joined: 11 Apr 2005
Posts: 46

PostPosted: Sat Jan 21, 2006 1:00 pm    Post subject: Печать через Cups Reply with quote

Перерыл весь инет, прочитал кучу мануалов и форумов, но так ничего и не понял.

Как печатать из программ (Firefox, Evolution, OpenOffice 2, Gimp)????
У меня на работе сервер печати под WIndows.
При чем CUPS я настроил и тестовая страница печатается.
Видимо я что-то не понимаю в идеалогии.
Помогите пож.
Back to top
View user's profile Send private message
Kee_Keekkenen
n00b
n00b


Joined: 01 Dec 2005
Posts: 34

PostPosted: Mon Jan 23, 2006 3:17 pm    Post subject: Re: Печать через Cups Reply with quote

у офиса(там где он лежит есть утилита для настройки печати) и гимпа(gimp-print или что-то в этом роде) свои системы печати
Back to top
View user's profile Send private message
sa10
Apprentice
Apprentice


Joined: 20 Jan 2005
Posts: 251
Location: Minsk

PostPosted: Tue Jan 24, 2006 7:49 am    Post subject: Re: Печать через Cups Reply with quote

Silverow wrote:
прочитал кучу мануалов и форумов

Наверное слишком много ... :roll:
Должно все работать после настройки по одному единственному мануалу
http://www.gentoo.org/doc/en/printing-howto.xml
Back to top
View user's profile Send private message
Silverow
n00b
n00b


Joined: 11 Apr 2005
Posts: 46

PostPosted: Wed Jan 25, 2006 9:03 am    Post subject: Reply with quote

Разобрался уже, умные люди помогли.
Дело было в настройке cups
Back to top
View user's profile Send private message
Alen
n00b
n00b


Joined: 22 Nov 2004
Posts: 17

PostPosted: Thu Jan 26, 2006 11:06 am    Post subject: НЕ ПЕЧАТАЕТ ПАРАЛЕЛЬНЫЙ ПРИНТЕР Reply with quote

Может мне тоже умные люди помогут? У меня не хочет печатать принтер HPLJ5P на паралельном разумеется интерфейсе. Все делал по указанной выше доке - даже тестовую страницу не печатает.
Вот что установлено:

bash-2.05b# emerge -pv ghostscript
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] app-text/ghostscript-7.07.1-r8 +X -cjk +cups -debug -emacs +gtk 0 kB

bash-2.05b# emerge -pv cups
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] net-print/cups-1.1.23-r1 -debug +nls +pam +samba -slp +ssl 0 kB

* net-print/foomatic
Latest version available: 3.0.2
Latest version installed: 3.0.2
Size of downloaded files: 0 kB
Homepage: http://www.linuxprinting.org/foomatic.html
Description: The Foomatic printing meta package
License: GPL-2

* net-print/foomatic-db
Latest version available: 20040302
Latest version installed: 20040302
Size of downloaded files: 3,213 kB
Homepage: http://www.linuxprinting.org/foomatic
Description: Foomatic printer database
License: GPL-2

* net-print/foomatic-db-engine
Latest version available: 3.0.2
Latest version installed: 3.0.2
Size of downloaded files: 279 kB
Homepage: http://www.linuxprinting.org/foomatic
Description: Foomatic printer database engine
License: GPL-2

* net-print/foomatic-filters
Latest version available: 3.0.2
Latest version installed: 3.0.2
Size of downloaded files: 122 kB
Homepage: http://www.linuxprinting.org/foomatic
Description: Foomatic wrapper scripts
License: GPL-2

добавил принтер:

Description: HP LaserJet 5P
Location: Office
Printer State: idle, accepting jobs.
Device URI: parallel:/dev/unknown-parallel0

пробуем печатать тест страницу получаем:
Description: HP LaserJet 5P
Location: Office
Printer State: processing, accepting jobs.
"Printer not connected; will retry in 30 seconds..."
Device URI: parallel:/dev/unknown-parallel0

Вот что говорит
bash-2.05b# cat /var/log/cups/error_log
I [26/Jan/2006:15:33:50 +0500] Scheduler shutting down normally.
I [26/Jan/2006:15:33:53 +0500] Listening to 0:631
I [26/Jan/2006:15:33:53 +0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [26/Jan/2006:15:33:53 +0500] Configured for up to 100 clients.
I [26/Jan/2006:15:33:53 +0500] Allowing up to 100 client connections per host.
I [26/Jan/2006:15:33:53 +0500] Full reload is required.
I [26/Jan/2006:15:33:55 +0500] LoadPPDs: Read "/etc/cups/ppds.dat", 16 PPDs...
I [26/Jan/2006:15:33:55 +0500] LoadPPDs: No new or changed PPDs...
I [26/Jan/2006:15:33:55 +0500] Full reload complete.
I [26/Jan/2006:15:34:34 +0500] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=929)
I [26/Jan/2006:15:35:28 +0500] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=931)
I [26/Jan/2006:15:35:40 +0500] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=932)
I [26/Jan/2006:15:35:43 +0500] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=933)
I [26/Jan/2006:15:35:47 +0500] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=934)
I [26/Jan/2006:15:35:48 +0500] Setting HPLJ5P device-uri to "parallel:/dev/unknown-parallel0" (was "file:/dev/null".)
I [26/Jan/2006:15:35:48 +0500] Setting HPLJ5P printer-is-accepting-jobs to 1 (was 0.)
I [26/Jan/2006:15:35:48 +0500] Setting HPLJ5P printer-state to 3 (was 5.)
I [26/Jan/2006:15:35:48 +0500] Saving printers.conf...
I [26/Jan/2006:15:35:48 +0500] New printer 'HPLJ5P' added by 'root'.
I [26/Jan/2006:15:35:51 +0500] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=935)
I [26/Jan/2006:15:37:34 +0500] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=937)
I [26/Jan/2006:15:37:34 +0500] Adding start banner page "none" to job 1.
I [26/Jan/2006:15:37:34 +0500] Adding end banner page "none" to job 1.
I [26/Jan/2006:15:37:34 +0500] Job 1 queued on 'HPLJ5P' by 'root'.
I [26/Jan/2006:15:37:34 +0500] Started filter /usr/lib/cups/filter/pstops (PID 938) for job 1.
I [26/Jan/2006:15:37:34 +0500] Started filter /usr/lib/cups/filter/foomatic-rip (PID 939) for job 1.
I [26/Jan/2006:15:37:34 +0500] Started backend /usr/lib/cups/backend/parallel (PID 940) for job 1.
I [26/Jan/2006:15:38:25 +0500] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=952)

При этом вмварь прекрасно себе печатает на устройство /dev/parport0
пробовал писать в конфиге что бы запускался от рута - не помогает
И что я не так делаю?
_________________
Я даже падая - лечу!
Back to top
View user's profile Send private message
kon
Apprentice
Apprentice


Joined: 05 Mar 2004
Posts: 156
Location: Russia. Saint-Petersburg

PostPosted: Fri Jan 27, 2006 11:16 am    Post subject: Reply with quote

"Printer not connected; will retry in 30 seconds..."
Device URI: parallel:/dev/unknown-parallel0

А вмварь, как ты верно заметил, печатает отнюдь не в "/dev/unknown-parallel0"

И еще, во время твоих объяснений ты отделался фразой "Добавил принтер" умолчав, однако, о том, КАК ты это делал.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum