Автор Тема: Проблем със share на принтер през samba  (Прочетена 3866 пъти)

iskren

  • Напреднали
  • *****
  • Публикации: 185
  • Distribution: Fedora Core 8
  • Window Manager: KDE3
    • Профил
    • WWW
Здравейте на всички!

Не мога да накарам принтера да работи през самба. Значи принтера е закачен и правилно конфигуриран - работи под конзолата с lp както и със всички други програми, които пробвах (openoffice, kate итн). Принтера е вкаран в smb с настройки взети от man page на cupsaddsmb. Когато се конектна към принтера и му подам операция за печат, нито един от логовете на самба не се променя (проверих със tail -f *). От друга страна в логовете на CUPS се изписват разни неща, никое от които не изглежда притеснително, но принтера не печата нищо...

Ето конфирурацията на самбата:
Код:
[global]
workgroup = ISSIHOME
server string = Samba Server Version %v

netbios name = ISSIPC

log file = /var/log/samba/log.%m
max log size = 50

security = user
passdb backend = tdbsam

wins support = yes

load printers = yes
cups options = raw

printing = cups
printcap name = cups

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes

# the following is from the cupsaddsmb man page
[print$]
comment = Printer Drivers
path = /usr/share/cups/drivers
browseable = yes
guest ok = no
read only = yes
write list = root
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes

ето промяната във логовете на къпс при неуспешно принтиране (през samba):
Код:
==> access_log <==
localhost - - [21/Jan/2009:00:36:26 +0200] "POST / HTTP/1.1" 200 268 Get-Jobs successful-ok
localhost - - [21/Jan/2009:00:36:26 +0200] "POST / HTTP/1.1" 200 189 Get-Printer-Attributes successful-ok
localhost - - [21/Jan/2009:00:36:26 +0200] "POST /printers/xerox3117 HTTP/1.1" 200 362 Print-Job successful-ok

==> error_log <==
I [21/Jan/2009:00:36:26 +0200] [Job 51] Adding start banner page "none".
I [21/Jan/2009:00:36:26 +0200] [Job 51] Adding job file of type application/vnd.cups-raw.
I [21/Jan/2009:00:36:26 +0200] [Job 51] Adding end banner page "none".
I [21/Jan/2009:00:36:26 +0200] [Job 51] Queued on "xerox3117" by "iskren".
I [21/Jan/2009:00:36:26 +0200] [Job 51] Started backend /usr/lib/cups/backend/usb (PID 13656)
I [21/Jan/2009:00:36:26 +0200] [Job 51] Completed successfully.

==> page_log <==
xerox3117 iskren 51 [21/Jan/2009:00:36:26 +0200] 1 1 - 192.168.1.100

ето промяната във логовете на къпс при успешно принтиране (през команден ред с lp на текстов файл):
Код:
==> access_log <==
localhost - - [21/Jan/2009:00:41:12 +0200] "POST / HTTP/1.1" 200 418 CUPS-Get-Printers successful-ok
localhost - - [21/Jan/2009:00:41:12 +0200] "POST / HTTP/1.1" 200 418 CUPS-Get-Classes successful-ok
localhost - - [21/Jan/2009:00:41:12 +0200] "POST / HTTP/1.1" 200 75 CUPS-Get-Default successful-ok
localhost - - [21/Jan/2009:00:41:12 +0200] "POST /printers/xerox3117 HTTP/1.1" 200 421 Print-Job successful-ok

==> error_log <==
I [21/Jan/2009:00:41:12 +0200] [Job 52] Adding start banner page "none".
I [21/Jan/2009:00:41:12 +0200] [Job 52] Adding job file of type text/plain.
I [21/Jan/2009:00:41:12 +0200] [Job 52] Adding end banner page "none".
I [21/Jan/2009:00:41:12 +0200] [Job 52] Queued on "xerox3117" by "iskren".
I [21/Jan/2009:00:41:12 +0200] [Job 52] Started filter /usr/lib/cups/filter/texttopaps (PID 13696)
I [21/Jan/2009:00:41:12 +0200] [Job 52] Started filter /usr/lib/cups/filter/pstops (PID 13697)
I [21/Jan/2009:00:41:12 +0200] [Job 52] Started filter /usr/lib/cups/filter/foomatic-rip (PID 13698)
I [21/Jan/2009:00:41:12 +0200] [Job 52] Started backend /usr/lib/cups/backend/usb (PID 13699)
I [21/Jan/2009:00:41:13 +0200] [Job 52] Completed successfully.

==> page_log <==
xerox3117 iskren 52 [21/Jan/2009:00:41:13 +0200] 1 1 - localhost

До колкото видях при последната POST заявка към /printers/xerox3117 в единия случай имаме числото 421 (успешно) а в другия 362 (неуспешния). Идея си нямам какво значи това.

update
Пробвах да закача принтера на windows машина в мрежата, шерна се доста лесно и всичко изглеждаше ок. Под линукса smbtree го намери, конектвам се, пускам файл за печат със put/print/queue без успех. Под уина принтера работи...
Някакви идеи? Може ли двата проблема да са свързани?
« Последна редакция: Jan 21, 2009, 01:18 от iskren »
Активен

completer

  • Напреднали
  • *****
  • Публикации: 347
  • Distribution: Debian 6.0
  • Window Manager: Gnome
    • Профил
    • WWW
Re: Проблем със share на принтер през samba
« Отговор #1 -: Jan 21, 2009, 13:16 »
Пробвай да добавиш този ред в smb.conf

Код:
use client driver = yes

Може и да поразгледаш това:
http://www.debian-administration.org/articles/425
« Последна редакция: Jan 21, 2009, 13:19 от completer »
Активен

I'm using Linux and i'm proud of it!!!
I hate Windows and i'm also proud of it!!! :)

iskren

  • Напреднали
  • *****
  • Публикации: 185
  • Distribution: Fedora Core 8
  • Window Manager: KDE3
    • Профил
    • WWW
Re: Проблем със share на принтер през samba
« Отговор #2 -: Jan 22, 2009, 00:34 »
Пробвах да добавя опцията във [printers] както и в [print$]. Никъде не помогна. Общо взето ... ако съдя по логовете на cups нищо не се е променило.

Колкото до линка - там човека наистина описва решения на разнообразни проблеми, за жалост нямам нито един от тях :)

::edit:: писал съм във форума на cups, ако и там не помогнат ще пиша и във форума на samba. Имате ли идея в кой друг лог може да пише нещо полезно?
« Последна редакция: Jan 22, 2009, 00:39 от iskren »
Активен

iskren

  • Напреднали
  • *****
  • Публикации: 185
  • Distribution: Fedora Core 8
  • Window Manager: KDE3
    • Профил
    • WWW
Re: Проблем със share на принтер през samba
« Отговор #3 -: Feb 07, 2009, 18:00 »
Здравейте отново,

От около месец вече съм писал в mail листите на cups / samba и от там няма никакъв отговор. Навсякъде се разправя, че самбата била най-добре документирания опън проект и имало супер много хелп навсякъде, само аз ли не мога да го намеря?

Има ли някакъв начин да пусна cups във по-verbose режим за да се види къде по веригата се чупи нещо?
Има ли начин да пусна samba в по-verbose режим за да се види поне нещо когато печатам документ?

Според логовете на къпс, всичко е минало успешно (може да видите в първия пост). Къде мога да видя какво е станало с документа след като според cups едва ли не той е изпечатан?
Активен

mystical

  • Напреднали
  • *****
  • Публикации: 326
  • Distribution: Debian, FreeBSD
  • Window Manager: XFCE
    • Профил
    • WWW
Re: Проблем със share на принтер през samba
« Отговор #4 -: Feb 12, 2009, 12:51 »
Предполагам, че си видял това http://myfreesoft.net/phpBB2/viewtopic.php?t=129 ръководство.
През мрежата виждали се твоят компютър и всички успяватли да четат и пишат в директория tmp? Как се държи принтера, когато се опиташ да принтираш нещо от самия компютър?

Цитат
==> page_log <==
xerox3117 iskren 51 [21/Jan/2009:00:36:26 +0200] 1 1 - 192.168.1.100
Цитат
==> page_log <==
xerox3117 iskren 52 [21/Jan/2009:00:41:13 +0200] 1 1 - localhost
Обърни внимание, че при първия случяй, когато user: iskren се опитва да принтира нещо от IP: 192.168.1.100 няма права.
Във втория случай, когато принтира през localhost - 127.0.0.1 се получава.

Пробвай да създадеш user, който има права за достъп до samba и е в групи - users и cups

Успех!
Активен

Ако не можеш да градиш, поне не руши!

iskren

  • Напреднали
  • *****
  • Публикации: 185
  • Distribution: Fedora Core 8
  • Window Manager: KDE3
    • Профил
    • WWW
Re: Проблем със share на принтер през samba
« Отговор #5 -: Feb 12, 2009, 14:12 »
През мрежата всички (моя компютър и още един windows) успяват да пишат/четат/трият директорията tmp като се конектвъм винаги с user iskren (защото ми е малко мътна цялата история със user-ите).

Показал съм логовете на къпс при опит за принтиране през smbclient (първия лог - неуспешен) и lp (втория лог - успешен). Аднах iskren към група users, без особен ефект. Група cups нямам.

заб: сложих iskren и в група sys понеже видях е някак по-важна за самбата ... пак без успех.

Мисля че samba-та е настроена да използва юзърите от системата (поне съм останал с такова впечатление).

Ето конфигурационния файл на къпс: (cupsd.conf - в останалите не видях нещо интересно :))
Код
GeSHi (XML):
  1. #
  2. # "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $"
  3. #
  4. #   Sample configuration file for the Common UNIX Printing System (CUPS)
  5. #   scheduler.  See "man cupsd.conf" for a complete description of this
  6. #   file.
  7. #
  8.  
  9. # Log general information in error_log - change "info" to "debug" for
  10. # troubleshooting...
  11. LogLevel debug
  12.  
  13. # Administrator user group...
  14. SystemGroup sys root
  15.  
  16.  
  17. # Only listen for connections from the local machine.
  18. Listen localhost:631
  19. Listen /var/run/cups/cups.sock
  20.  
  21. # Show shared printers on the local network.
  22. Browsing On
  23. BrowseOrder allow,deny
  24. BrowseAllow all
  25.  
  26. # Default authentication type, when authentication is required...
  27. DefaultAuthType Basic
  28.  
  29. # Restrict access to the server...
  30. <Location />
  31.  Order allow,deny
  32. </Location>
  33.  
  34. # Restrict access to the admin pages...
  35. <Location /admin>
  36.  Encryption Required
  37.  Order allow,deny
  38. </Location>
  39.  
  40. # Restrict access to configuration files...
  41. <Location /admin/conf>
  42.  AuthType Default
  43.  Require user @SYSTEM
  44.  Order allow,deny
  45. </Location>
  46.  
  47. # Set the default printer/job policies...
  48. <Policy default>
  49.  # Job-related operations must be done by the owner or an administrator...
  50.  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
  51.    Require user @OWNER @SYSTEM
  52.    Order deny,allow
  53.  </Limit>
  54.  
  55.  # All administration operations require an administrator to authenticate...
  56.  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
  57.    AuthType Default
  58.    Require user @SYSTEM
  59.    Order deny,allow
  60.  </Limit>
  61.  
  62.  # All printer operations require a printer operator to authenticate...
  63.  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
  64.    AuthType Default
  65.    Require user @SYSTEM
  66.    Order deny,allow
  67.  </Limit>
  68.  
  69.  # Only the owner or an administrator can cancel or authenticate a job...
  70.  <Limit Cancel-Job CUPS-Authenticate-Job>
  71.    Require user @OWNER @SYSTEM
  72.    Order deny,allow
  73.  </Limit>
  74.  
  75.  <Limit All>
  76.    Order deny,allow
  77.  </Limit>
  78. </Policy>
  79.  
  80. #
  81. # End of "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $".
  82. #
  83.  

Ето и новия къпс лог след като пуснах на debug Loging-а
Код
GeSHi (Apache configuration):
  1. ==> access_log <==
  2. localhost - - [12/Feb/2009:13:56:31 +0200] "POST / HTTP/1.1" 200 268 Get-Jobs successful-ok
  3. localhost - - [12/Feb/2009:13:56:31 +0200] "POST / HTTP/1.1" 200 189 Get-Printer-Attributes successful-ok
  4. localhost - - [12/Feb/2009:13:56:31 +0200] "POST /printers/xerox3117 HTTP/1.1" 200 1352 Print-Job successful-ok
  5.  
  6. ==> error_log <==
  7. D [12/Feb/2009:13:56:31 +0200] cupsdAcceptClient: skipping getpeercon()
  8. D [12/Feb/2009:13:56:31 +0200] cupsdAcceptClient: 8 from localhost (Domain)
  9. D [12/Feb/2009:13:56:31 +0200] Report: clients=1
  10. D [12/Feb/2009:13:56:31 +0200] Report: jobs=85
  11. D [12/Feb/2009:13:56:31 +0200] Report: jobs-active=0
  12. D [12/Feb/2009:13:56:31 +0200] Report: printers=1
  13. D [12/Feb/2009:13:56:31 +0200] Report: printers-implicit=0
  14. D [12/Feb/2009:13:56:31 +0200] Report: stringpool-string-count=4713
  15. D [12/Feb/2009:13:56:31 +0200] Report: stringpool-alloc-bytes=8888
  16. D [12/Feb/2009:13:56:31 +0200] Report: stringpool-total-bytes=76136
  17. D [12/Feb/2009:13:56:31 +0200] cupsdReadClient: 8 POST / HTTP/1.1
  18. D [12/Feb/2009:13:56:31 +0200] cupsdAuthorize: No authentication data provided.
  19. D [12/Feb/2009:13:56:31 +0200] Get-Jobs ipp://localhost/printers/xerox3117
  20. D [12/Feb/2009:13:56:31 +0200] cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
  21. D [12/Feb/2009:13:56:31 +0200] cupsdReadClient: 8 POST / HTTP/1.1
  22. D [12/Feb/2009:13:56:31 +0200] cupsdAuthorize: No authentication data provided.
  23. D [12/Feb/2009:13:56:31 +0200] Get-Printer-Attributes ipp://localhost/printers/xerox3117
  24. D [12/Feb/2009:13:56:31 +0200] cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
  25. D [12/Feb/2009:13:56:31 +0200] cupsdCloseClient: 8
  26. D [12/Feb/2009:13:56:31 +0200] cupsdAcceptClient: skipping getpeercon()
  27. D [12/Feb/2009:13:56:31 +0200] cupsdAcceptClient: 8 from localhost (Domain)
  28. D [12/Feb/2009:13:56:31 +0200] cupsdReadClient: 8 POST /printers/xerox3117 HTTP/1.1
  29. D [12/Feb/2009:13:56:31 +0200] cupsdAuthorize: No authentication data provided.
  30. D [12/Feb/2009:13:56:31 +0200] Print-Job ipp://localhost/printers/xerox3117
  31. D [12/Feb/2009:13:56:31 +0200] add_job: setting context of job to UNKNOWN SL
  32. D [12/Feb/2009:13:56:31 +0200] add_job: requesting-user-name="iskren"
  33. D [12/Feb/2009:13:56:31 +0200] Adding default job-sheets values "none,none"...
  34. I [12/Feb/2009:13:56:31 +0200] [Job 98] Adding start banner page "none".
  35. D [12/Feb/2009:13:56:31 +0200] Discarding unused job-created event...
  36. I [12/Feb/2009:13:56:31 +0200] [Job 98] Adding job file of type application/vnd.cups-raw.
  37. I [12/Feb/2009:13:56:31 +0200] [Job 98] Adding end banner page "none".
  38. I [12/Feb/2009:13:56:31 +0200] [Job 98] Queued on "xerox3117" by "iskren".
  39. D [12/Feb/2009:13:56:31 +0200] [Job 98] hold_until = 0
  40. D [12/Feb/2009:13:56:31 +0200] Discarding unused printer-state-changed event...
  41. D [12/Feb/2009:13:56:31 +0200] [Job 98] job-sheets=none,none
  42. D [12/Feb/2009:13:56:31 +0200] [Job 98] banner_page = 0
  43. D [12/Feb/2009:13:56:31 +0200] [Job 98] argv[0]="xerox3117"
  44. D [12/Feb/2009:13:56:31 +0200] [Job 98] argv[1]="98"
  45. D [12/Feb/2009:13:56:31 +0200] [Job 98] argv[2]="iskren"
  46. D [12/Feb/2009:13:56:31 +0200] [Job 98] argv[3]="smbprn.00000026 Remote Downlevel Document contestapplet.conf"
  47. D [12/Feb/2009:13:56:31 +0200] [Job 98] argv[4]="1"
  48. D [12/Feb/2009:13:56:31 +0200] [Job 98] argv[5]="job-uuid=urn:uuid:b897be64-8ece-3bcc-588b-2909da96d82a"
  49. D [12/Feb/2009:13:56:31 +0200] [Job 98] argv[6]="/var/spool/cups/d00098-001"
  50. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
  51. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[1]="CUPS_DATADIR=/usr/share/cups"
  52. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups-1.3.7"
  53. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
  54. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
  55. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
  56. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[6]="CUPS_SERVERROOT=/etc/cups"
  57. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[7]="CUPS_STATEDIR=/var/run/cups"
  58. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[8]="PATH=/usr/lib/cups/filter:/usr/lib64/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
  59. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[9]="SERVER_ADMIN=root@iskren.info"
  60. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[10]="SOFTWARE=CUPS/1.3.7"
  61. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[11]="TMPDIR=/var/spool/cups/tmp"
  62. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[12]="USER=root"
  63. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[13]="CUPS_SERVER=/var/run/cups/cups.sock"
  64. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[14]="CUPS_ENCRYPTION=IfRequested"
  65. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[15]="IPP_PORT=631"
  66. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[16]="CHARSET=utf-8"
  67. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[17]="LANG=en_US.UTF8"
  68. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[18]="PPD=/etc/cups/ppd/xerox3117.ppd"
  69. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[19]="RIP_MAX_CACHE=8m"
  70. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[20]="CONTENT_TYPE=application/vnd.cups-raw"
  71. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[21]="DEVICE_URI=usb://Xerox/Phaser%203117"
  72. D [12/Feb/2009:13:56:31 +0200] [Job 98] envp[22]="PRINTER=xerox3117"
  73. I [12/Feb/2009:13:56:31 +0200] [Job 98] Started backend /usr/lib/cups/backend/usb (PID 16386)
  74. D [12/Feb/2009:13:56:31 +0200] Discarding unused job-state-changed event...
  75. D [12/Feb/2009:13:56:31 +0200] cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
  76. D [12/Feb/2009:13:56:31 +0200] cupsdCloseClient: 8
  77. D [12/Feb/2009:13:56:31 +0200] Discarding unused printer-state-changed event...
  78. D [12/Feb/2009:13:56:31 +0200] [Job 98] Printer using device file "/dev/usblp0"...
  79. D [12/Feb/2009:13:56:31 +0200] Discarding unused job-progress event...
  80. D [12/Feb/2009:13:56:31 +0200] [Job 98] backendRunLoop(print_fd=5, device_fd=6, use_bc=1, side_cb=0x7f50685cb060)
  81. D [12/Feb/2009:13:56:31 +0200] [Job 98] Read 1036 bytes of print data...
  82. D [12/Feb/2009:13:56:31 +0200] Discarding unused printer-state-changed event...
  83. D [12/Feb/2009:13:56:31 +0200] [Job 98] Wrote 1036 bytes of print data...
  84. D [12/Feb/2009:13:56:31 +0200] Discarding unused printer-state-changed event...
  85. D [12/Feb/2009:13:56:31 +0200] PID 16386 (/usr/lib/cups/backend/usb) exited with no errors.
  86. D [12/Feb/2009:13:56:31 +0200] [Job 98] File 0 is complete.
  87. I [12/Feb/2009:13:56:31 +0200] [Job 98] Completed successfully.
  88. D [12/Feb/2009:13:56:31 +0200] Discarding unused printer-state-changed event...
  89. D [12/Feb/2009:13:56:31 +0200] Discarding unused job-completed event...
  90.  
  91. ==> page_log <==
  92. xerox3117 iskren 98 [12/Feb/2009:13:56:31 +0200] 1 1 - 192.168.1.100
  93.  
  94. ==> error_log <==
  95. D [12/Feb/2009:13:56:32 +0200] [Job 98] Unloading...
  96.  

ето лога при успешно принтиране:
Код
GeSHi (Apache configuration):
  1. ==> access_log <==
  2. localhost - - [12/Feb/2009:13:59:54 +0200] "POST / HTTP/1.1" 200 418 CUPS-Get-Printers successful-ok
  3. localhost - - [12/Feb/2009:13:59:54 +0200] "POST / HTTP/1.1" 200 418 CUPS-Get-Classes successful-ok
  4. localhost - - [12/Feb/2009:13:59:54 +0200] "POST / HTTP/1.1" 200 75 CUPS-Get-Default successful-ok
  5. localhost - - [12/Feb/2009:13:59:54 +0200] "POST /printers/xerox3117 HTTP/1.1" 200 1426 Print-Job successful-ok
  6.  
  7. ==> error_log <==
  8. D [12/Feb/2009:13:59:54 +0200] cupsdAcceptClient: skipping getpeercon()
  9. D [12/Feb/2009:13:59:54 +0200] cupsdAcceptClient: 11 from localhost (Domain)
  10. D [12/Feb/2009:13:59:54 +0200] Report: clients=1
  11. D [12/Feb/2009:13:59:54 +0200] Report: jobs=86
  12. D [12/Feb/2009:13:59:54 +0200] Report: jobs-active=0
  13. D [12/Feb/2009:13:59:54 +0200] Report: printers=1
  14. D [12/Feb/2009:13:59:54 +0200] Report: printers-implicit=0
  15. D [12/Feb/2009:13:59:54 +0200] Report: stringpool-string-count=4799
  16. D [12/Feb/2009:13:59:54 +0200] Report: stringpool-alloc-bytes=9016
  17. D [12/Feb/2009:13:59:54 +0200] Report: stringpool-total-bytes=78088
  18. D [12/Feb/2009:13:59:54 +0200] cupsdReadClient: 11 POST / HTTP/1.1
  19. D [12/Feb/2009:13:59:54 +0200] cupsdAuthorize: No authentication data provided.
  20. D [12/Feb/2009:13:59:54 +0200] CUPS-Get-Printers
  21. D [12/Feb/2009:13:59:54 +0200] cupsdProcessIPPRequest: 11 status_code=0 (successful-ok)
  22. D [12/Feb/2009:13:59:54 +0200] cupsdReadClient: 11 POST / HTTP/1.1
  23. D [12/Feb/2009:13:59:54 +0200] cupsdAuthorize: No authentication data provided.
  24. D [12/Feb/2009:13:59:54 +0200] CUPS-Get-Classes
  25. D [12/Feb/2009:13:59:54 +0200] cupsdProcessIPPRequest: 11 status_code=0 (successful-ok)
  26. D [12/Feb/2009:13:59:54 +0200] cupsdReadClient: 11 POST / HTTP/1.1
  27. D [12/Feb/2009:13:59:54 +0200] cupsdAuthorize: No authentication data provided.
  28. D [12/Feb/2009:13:59:54 +0200] CUPS-Get-Default
  29. D [12/Feb/2009:13:59:54 +0200] cupsdProcessIPPRequest: 11 status_code=0 (successful-ok)
  30. D [12/Feb/2009:13:59:54 +0200] cupsdAcceptClient: skipping getpeercon()
  31. D [12/Feb/2009:13:59:54 +0200] cupsdAcceptClient: 12 from localhost (Domain)
  32. D [12/Feb/2009:13:59:54 +0200] cupsdCloseClient: 11
  33. D [12/Feb/2009:13:59:54 +0200] cupsdReadClient: 12 POST /printers/xerox3117 HTTP/1.1
  34. D [12/Feb/2009:13:59:54 +0200] cupsdAuthorize: No authentication data provided.
  35. D [12/Feb/2009:13:59:54 +0200] Print-Job ipp://localhost/printers/xerox3117
  36. D [12/Feb/2009:13:59:54 +0200] print_job: auto-typing file...
  37. D [12/Feb/2009:13:59:54 +0200] add_job: setting context of job to UNKNOWN SL
  38. D [12/Feb/2009:13:59:54 +0200] add_job: requesting-user-name="iskren"
  39. I [12/Feb/2009:13:59:54 +0200] [Job 99] Adding start banner page "none".
  40. D [12/Feb/2009:13:59:54 +0200] Discarding unused job-created event...
  41. I [12/Feb/2009:13:59:54 +0200] [Job 99] Adding job file of type text/plain.
  42. I [12/Feb/2009:13:59:54 +0200] [Job 99] Adding end banner page "none".
  43. I [12/Feb/2009:13:59:54 +0200] [Job 99] Queued on "xerox3117" by "iskren".
  44. D [12/Feb/2009:13:59:54 +0200] [Job 99] hold_until = 0
  45. D [12/Feb/2009:13:59:54 +0200] Discarding unused printer-state-changed event...
  46. D [12/Feb/2009:13:59:54 +0200] [Job 99] job-sheets=none,none
  47. D [12/Feb/2009:13:59:54 +0200] [Job 99] banner_page = 0
  48. D [12/Feb/2009:13:59:54 +0200] [Job 99] argv[0]="xerox3117"
  49. D [12/Feb/2009:13:59:54 +0200] [Job 99] argv[1]="99"
  50. D [12/Feb/2009:13:59:54 +0200] [Job 99] argv[2]="iskren"
  51. D [12/Feb/2009:13:59:54 +0200] [Job 99] argv[3]="contestapplet.conf"
  52. D [12/Feb/2009:13:59:54 +0200] [Job 99] argv[4]="1"
  53. D [12/Feb/2009:13:59:54 +0200] [Job 99] argv[5]="media=Letter finishings=3 number-up=1 PageSize=A4 job-uuid=urn:uuid:73ba713d-a03a-39f3-5116-329f42104996"
  54. D [12/Feb/2009:13:59:54 +0200] [Job 99] argv[6]="/var/spool/cups/d00099-001"
  55. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
  56. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[1]="CUPS_DATADIR=/usr/share/cups"
  57. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups-1.3.7"
  58. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
  59. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
  60. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
  61. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[6]="CUPS_SERVERROOT=/etc/cups"
  62. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[7]="CUPS_STATEDIR=/var/run/cups"
  63. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[8]="PATH=/usr/lib/cups/filter:/usr/lib64/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
  64. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[9]="SERVER_ADMIN=root@iskren.info"
  65. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[10]="SOFTWARE=CUPS/1.3.7"
  66. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[11]="TMPDIR=/var/spool/cups/tmp"
  67. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[12]="USER=root"
  68. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[13]="CUPS_SERVER=/var/run/cups/cups.sock"
  69. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[14]="CUPS_ENCRYPTION=IfRequested"
  70. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[15]="IPP_PORT=631"
  71. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[16]="CHARSET=utf-8"
  72. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[17]="LANG=en_US.UTF8"
  73. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[18]="PPD=/etc/cups/ppd/xerox3117.ppd"
  74. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[19]="RIP_MAX_CACHE=8m"
  75. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[20]="CONTENT_TYPE=text/plain"
  76. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[21]="DEVICE_URI=usb://Xerox/Phaser%203117"
  77. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[22]="PRINTER=xerox3117"
  78. D [12/Feb/2009:13:59:54 +0200] [Job 99] envp[23]="FINAL_CONTENT_TYPE=printer/xerox3117"
  79. I [12/Feb/2009:13:59:54 +0200] [Job 99] Started filter /usr/lib/cups/filter/texttopaps (PID 16411)
  80. I [12/Feb/2009:13:59:54 +0200] [Job 99] Started filter /usr/lib/cups/filter/pstops (PID 16412)
  81. I [12/Feb/2009:13:59:54 +0200] [Job 99] Started filter /usr/lib/cups/filter/foomatic-rip (PID 16413)
  82. I [12/Feb/2009:13:59:54 +0200] [Job 99] Started backend /usr/lib/cups/backend/usb (PID 16414)
  83. D [12/Feb/2009:13:59:54 +0200] Discarding unused job-state-changed event...
  84. D [12/Feb/2009:13:59:54 +0200] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok)
  85. D [12/Feb/2009:13:59:54 +0200] cupsdCloseClient: 12
  86. D [12/Feb/2009:13:59:54 +0200] Discarding unused printer-state-changed event...
  87. D [12/Feb/2009:13:59:54 +0200] [Job 99] Printer using device file "/dev/usblp0"...
  88. D [12/Feb/2009:13:59:54 +0200] [Job 99] backendRunLoop(print_fd=0, device_fd=5, use_bc=1, side_cb=0x7f39a2241060)
  89. D [12/Feb/2009:13:59:54 +0200] Discarding unused printer-state-changed event...
  90. D [12/Feb/2009:13:59:54 +0200] [Job 99] Page = 595x842; 18,36 to 577,806
  91. D [12/Feb/2009:13:59:54 +0200] [Job 99] slow_collate=0, slow_duplex=0, slow_order=0
  92. D [12/Feb/2009:13:59:54 +0200] [Job 99] Before copy_comments - %!PS-Adobe-3.0
  93. D [12/Feb/2009:13:59:54 +0200] [Job 99] %!PS-Adobe-3.0
  94. D [12/Feb/2009:13:59:54 +0200] [Job 99] %cupsRotation: 0
  95. D [12/Feb/2009:13:59:54 +0200] [Job 99] %%Title: contestapplet.conf
  96. D [12/Feb/2009:13:59:54 +0200] [Job 99] %%Creator: paps version 0.6.7 by Dov Grobgeld
  97. D [12/Feb/2009:13:59:54 +0200] [Job 99] %%Pages: (atend)
  98. D [12/Feb/2009:13:59:54 +0200] [Job 99] %%BoundingBox: 0 0 595 842
  99. D [12/Feb/2009:13:59:54 +0200] [Job 99] %%For: iskren
  100. D [12/Feb/2009:13:59:54 +0200] [Job 99] %%Orientation: Portrait
  101. D [12/Feb/2009:13:59:54 +0200] [Job 99] %%EndComments
  102. D [12/Feb/2009:13:59:54 +0200] [Job 99] Before copy_prolog - %%BeginProlog
  103. D [12/Feb/2009:13:59:54 +0200] [Job 99] Before copy_setup - %%BeginSetup
  104. D [12/Feb/2009:13:59:54 +0200] [Job 99] Before page loop - %%Page: 1 1
  105. D [12/Feb/2009:13:59:54 +0200] [Job 99] Copying page 1...
  106. D [12/Feb/2009:13:59:54 +0200] [Job 99] pagew = 559.0, pagel = 770.0
  107. D [12/Feb/2009:13:59:54 +0200] [Job 99] bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 842
  108. D [12/Feb/2009:13:59:54 +0200] [Job 99] PageLeft = 18.0, PageRight = 577.0
  109. D [12/Feb/2009:13:59:54 +0200] [Job 99] PageTop = 806.0, PageBottom = 36.0
  110. D [12/Feb/2009:13:59:54 +0200] [Job 99] PageWidth = 595.0, PageLength = 842.0
  111. D [12/Feb/2009:13:59:54 +0200] [Job 99] Wrote 1 pages...
  112. D [12/Feb/2009:13:59:54 +0200] PID 16412 (/usr/lib/cups/filter/pstops) exited with no errors.
  113. D [12/Feb/2009:13:59:54 +0200] PID 16411 (/usr/lib/cups/filter/texttopaps) exited with no errors.
  114. D [12/Feb/2009:13:59:54 +0200] [Job 99] foomatic-rip version $Revision$ running...
  115. D [12/Feb/2009:13:59:54 +0200] [Job 99] Parsing PPD file ...
  116. D [12/Feb/2009:13:59:54 +0200] [Job 99] *cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
  117. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option ColorSpace
  118. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option Manualfeed
  119. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option Resolution
  120. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option Economode
  121. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option MediaType
  122. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option RET
  123. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option Copies
  124. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option PageSize
  125. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option PageRegion
  126. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option ImageableArea
  127. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option PaperDimension
  128. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option HalftoningAlgorithm
  129. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option Density
  130. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option JamRecovery
  131. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option AllowReprint
  132. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option Altitude
  133. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option PageTimeout
  134. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option PowerSaving
  135. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option PowerSaveTime
  136. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option PageSizeJCL
  137. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option PageSizePS
  138. D [12/Feb/2009:13:59:54 +0200] [Job 99] Added option Font
  139. D [12/Feb/2009:13:59:54 +0200] [Job 99]
  140. D [12/Feb/2009:13:59:54 +0200] [Job 99] Parameter Summary
  141. D [12/Feb/2009:13:59:54 +0200] [Job 99] -----------------
  142. D [12/Feb/2009:13:59:54 +0200] [Job 99]
  143. D [12/Feb/2009:13:59:54 +0200] [Job 99] Spooler: cups
  144. D [12/Feb/2009:13:59:54 +0200] [Job 99] Printer: xerox3117
  145. D [12/Feb/2009:13:59:54 +0200] [Job 99] Shell: /bin/sh
  146. D [12/Feb/2009:13:59:54 +0200] [Job 99] PPD file: /etc/cups/ppd/xerox3117.ppd
  147. D [12/Feb/2009:13:59:54 +0200] [Job 99] ATTR file:
  148. D [12/Feb/2009:13:59:54 +0200] [Job 99] Printer model: Samsung ML-1710 Foomatic/gdi
  149. D [12/Feb/2009:13:59:54 +0200] [Job 99] Job title: contestapplet.conf
  150. D [12/Feb/2009:13:59:54 +0200] [Job 99] File(s) to be printed:
  151. D [12/Feb/2009:13:59:54 +0200] [Job 99] <STDIN>
  152. D [12/Feb/2009:13:59:54 +0200] [Job 99]
  153. D [12/Feb/2009:13:59:54 +0200] [Job 99] GhostScript extra search path ('GS_LIB'): /usr/share/cups/fonts
  154. D [12/Feb/2009:13:59:54 +0200] [Job 99] Pondering option 'media=Letter'
  155. D [12/Feb/2009:13:59:54 +0200] [Job 99] Pondering option 'finishings=3'
  156. D [12/Feb/2009:13:59:54 +0200] [Job 99] Unknown option finishings=3.
  157. D [12/Feb/2009:13:59:54 +0200] [Job 99] Pondering option 'number-up=1'
  158. D [12/Feb/2009:13:59:54 +0200] [Job 99] Unknown option number-up=1.
  159. D [12/Feb/2009:13:59:54 +0200] [Job 99] Pondering option 'PageSize=A4'
  160. D [12/Feb/2009:13:59:54 +0200] [Job 99] Pondering option 'job-uuid=urn:uuid:73ba713d-a03a-39f3-5116-329f42104996'
  161. D [12/Feb/2009:13:59:54 +0200] [Job 99] Unknown option job-uuid=urn:uuid:73ba713d-a03a-39f3-5116-329f42104996.
  162. D [12/Feb/2009:13:59:54 +0200] [Job 99]
  163. D [12/Feb/2009:13:59:54 +0200] [Job 99] ================================================
  164. D [12/Feb/2009:13:59:54 +0200] [Job 99]
  165. D [12/Feb/2009:13:59:54 +0200] [Job 99] File: <STDIN>
  166. D [12/Feb/2009:13:59:54 +0200] [Job 99]
  167. D [12/Feb/2009:13:59:54 +0200] [Job 99] ================================================
  168. D [12/Feb/2009:13:59:54 +0200] [Job 99]
  169. D [12/Feb/2009:13:59:54 +0200] [Job 99] Reading PostScript input ...
  170. D [12/Feb/2009:13:59:54 +0200] [Job 99] --> This document is DSC-conforming!
  171. D [12/Feb/2009:13:59:54 +0200] [Job 99]
  172. D [12/Feb/2009:13:59:54 +0200] [Job 99] -----------
  173. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginProlog
  174. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%EndProlog
  175. D [12/Feb/2009:13:59:54 +0200] [Job 99]
  176. D [12/Feb/2009:13:59:54 +0200] [Job 99] -----------
  177. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginSetup
  178. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginFeature: *PageSize A4
  179. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: PageSize=A4 --> Setting option
  180. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %% FoomaticRIPOptionSetting: PageSize=A4
  181. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: PageSize=A4 --> Setting option
  182. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginFeature: *Manualfeed Off
  183. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: Manualfeed=Off --> Setting option
  184. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %% FoomaticRIPOptionSetting: Manualfeed=Off
  185. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: Manualfeed=Off --> Setting option
  186. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginFeature: *Resolution 600x600dpi
  187. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: Resolution=600x600dpi --> Option will be set by PostScript interpreter
  188. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginFeature: *Economode Off
  189. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: Economode=Off --> Setting option
  190. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %% FoomaticRIPOptionSetting: Economode=Off
  191. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: Economode=Off --> Setting option
  192. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginFeature: *MediaType Normal
  193. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: MediaType=Normal --> Setting option
  194. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %% FoomaticRIPOptionSetting: MediaType=Normal
  195. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: MediaType=Normal --> Setting option
  196. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginFeature: *Density 3
  197. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: Density=3 --> Setting option
  198. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %% FoomaticRIPOptionSetting: Density=3
  199. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: Density=3 --> Setting option
  200. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginFeature: *JamRecovery Yes
  201. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: JamRecovery=Yes --> Setting option
  202. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %% FoomaticRIPOptionSetting: JamRecovery=Yes
  203. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: JamRecovery=Yes --> Setting option
  204. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginFeature: *AllowReprint Yes
  205. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: AllowReprint=Yes --> Setting option
  206. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %% FoomaticRIPOptionSetting: AllowReprint=Yes
  207. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: AllowReprint=Yes --> Setting option
  208. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginFeature: *Altitude Low
  209. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: Altitude=Low --> Setting option
  210. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %% FoomaticRIPOptionSetting: Altitude=Low
  211. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: Altitude=Low --> Setting option
  212. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginFeature: *Copies 1
  213. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: Copies=1 --> Setting option
  214. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %% FoomaticRIPOptionSetting: Copies=1
  215. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: Copies=1 --> Setting option
  216. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginFeature: *PageTimeout 15
  217. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: PageTimeout=15 --> Setting option
  218. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %% FoomaticRIPOptionSetting: PageTimeout=15
  219. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: PageTimeout=15 --> Setting option
  220. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginFeature: *PowerSaving On
  221. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: PowerSaving=On --> Setting option
  222. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %% FoomaticRIPOptionSetting: PowerSaving=On
  223. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: PowerSaving=On --> Setting option
  224. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginFeature: *PowerSaveTime 5
  225. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: PowerSaveTime=5 --> Setting option
  226. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %% FoomaticRIPOptionSetting: PowerSaveTime=5
  227. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: PowerSaveTime=5 --> Setting option
  228. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%EndSetup
  229. D [12/Feb/2009:13:59:54 +0200] [Job 99] Inserting PostScript code for CUPS' page accounting
  230. D [12/Feb/2009:13:59:54 +0200] [Job 99]
  231. D [12/Feb/2009:13:59:54 +0200] [Job 99] -----------
  232. D [12/Feb/2009:13:59:54 +0200] [Job 99] New page:  1 1
  233. D [12/Feb/2009:13:59:54 +0200] [Job 99] Inserting option code into "PageSetup" section.
  234. D [12/Feb/2009:13:59:54 +0200] [Job 99]
  235. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginPageSetup
  236. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%BeginFeature: *HalftoningAlgorithm Standard
  237. D [12/Feb/2009:13:59:54 +0200] [Job 99] Option: HalftoningAlgorithm=Standard --> Option will be set by PostScript interpreter
  238. D [12/Feb/2009:13:59:54 +0200] [Job 99] Found: %%EndPageSetup
  239. D [12/Feb/2009:13:59:54 +0200] [Job 99] End of page header
  240. D [12/Feb/2009:13:59:54 +0200] [Job 99] Flushing FIFO.
  241. D [12/Feb/2009:13:59:54 +0200] [Job 99]
  242. D [12/Feb/2009:13:59:54 +0200] [Job 99] Starting renderer
  243. D [12/Feb/2009:13:59:54 +0200] [Job 99] JCL: <job data>
  244. D [12/Feb/2009:13:59:54 +0200] [Job 99]
  245. D [12/Feb/2009:13:59:54 +0200] [Job 99]
  246. D [12/Feb/2009:13:59:54 +0200] [Job 99] Closing renderer
  247. D [12/Feb/2009:13:59:54 +0200] [Job 99] renderer PID kid4=16419
  248. D [12/Feb/2009:13:59:54 +0200] [Job 99] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=gdi -sOutputFile=- - | perl -p -e 's/PJL PAGE LETTER/PJL PAGE A4/; s/PJL PAGE (\S*) AUTO/PJL PAGE $1 AUTO/; s/PJL SET TONERSAVE = OFF/PJL SET TONERSAVE = OFF\r\n\@PJL SET ECONOMODE = OFF/; s/PJL SET PAPERTYPE = NORMAL/PJL SET PAPERTYPE = NORMAL/; s/PJL SET DENSITY = 1/PJL SET DENSITY = 3/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET RET = OFF\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET JAMRECOVERY = ON\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET REPRINT = ON\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET ALTITUDE = OFF\r\n$1/; s/PJL COPIES = 1/PJL COPIES = 1/; s/(\@PJL ENTER LANGUAGE)/\@PJL DEFAULT TIMEOUT = 15\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL DEFAULT POWERSAVE = ON\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL DEFAULT POWERSAVETIME = 5\r\n$1/; '
  249. D [12/Feb/2009:13:59:54 +0200] [Job 99] Starting process 16420: "foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=gdi -sOutputFile=- - | perl..."
  250. D [12/Feb/2009:13:59:55 +0200] [Job 99] foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=gdi' '-sOutputFile=%stdout' '-_'
  251. D [12/Feb/2009:13:59:55 +0200] Discarding unused job-progress event...
  252. D [12/Feb/2009:13:59:55 +0200] [Job 99] Read 4096 bytes of print data...
  253. D [12/Feb/2009:13:59:55 +0200] [Job 99] Wrote 4096 bytes of print data...
  254. D [12/Feb/2009:13:59:55 +0200] [Job 99] Read 8192 bytes of print data...
  255. D [12/Feb/2009:13:59:55 +0200] Discarding unused printer-state-changed event...
  256. D [12/Feb/2009:13:59:55 +0200] [Job 99] Wrote 8192 bytes of print data...
  257. D [12/Feb/2009:13:59:55 +0200] [Job 99] Read 8192 bytes of print data...
  258. ...
  259. D [12/Feb/2009:13:59:56 +0200] [Job 99] Process 16420 ending: "foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=gdi -sOutputFile=- - | perl..."
  260. D [12/Feb/2009:13:59:56 +0200] [Job 99] KID3 exited with status 0
  261. D [12/Feb/2009:13:59:56 +0200] [Job 99] Read 8192 bytes of print data...
  262. D [12/Feb/2009:13:59:56 +0200] [Job 99] Wrote 8192 bytes of print data...
  263. ...
  264. D [12/Feb/2009:13:59:56 +0200] [Job 99] tail process done writing data to STDOUT
  265. D [12/Feb/2009:13:59:56 +0200] [Job 99] KID4 finished
  266. D [12/Feb/2009:13:59:56 +0200] [Job 99] KID4 exited with status 0
  267. D [12/Feb/2009:13:59:56 +0200] [Job 99] Renderer exit stat: 0
  268. D [12/Feb/2009:13:59:56 +0200] [Job 99] KID3 finished
  269. D [12/Feb/2009:13:59:56 +0200] [Job 99] Renderer process finished
  270. D [12/Feb/2009:13:59:56 +0200] [Job 99]
  271. D [12/Feb/2009:13:59:56 +0200] [Job 99] Closing foomatic-rip.
  272. D [12/Feb/2009:13:59:56 +0200] [Job 99] Read 8192 bytes of print data...
  273. D [12/Feb/2009:13:59:56 +0200] PID 16413 (/usr/lib/cups/filter/foomatic-rip) exited with no errors.
  274. D [12/Feb/2009:13:59:56 +0200] [Job 99] Wrote 8192 bytes of print data...
  275. D [12/Feb/2009:13:59:56 +0200] [Job 99] Read 8192 bytes of print data...
  276. ...
  277.  
  278. ==> page_log <==
  279. xerox3117 iskren 99 [12/Feb/2009:13:59:55 +0200] 1 1 - localhost
  280.  
  281. ==> error_log <==
  282. D [12/Feb/2009:13:59:56 +0200] [Job 99] Wrote 8192 bytes of print data...
  283. D [12/Feb/2009:13:59:56 +0200] [Job 99] Read 8192 bytes of print data...
  284. ...
  285. D [12/Feb/2009:13:59:56 +0200] PID 16414 (/usr/lib/cups/backend/usb) exited with no errors.
  286. D [12/Feb/2009:13:59:56 +0200] [Job 99] File 0 is complete.
  287. I [12/Feb/2009:13:59:56 +0200] [Job 99] Completed successfully.
  288. D [12/Feb/2009:13:59:56 +0200] Discarding unused printer-state-changed event...
  289. D [12/Feb/2009:13:59:56 +0200] Discarding unused job-completed event...
  290. D [12/Feb/2009:13:59:57 +0200] [Job 99] Unloading...
  291.  
  292.  
Активен

mystical

  • Напреднали
  • *****
  • Публикации: 326
  • Distribution: Debian, FreeBSD
  • Window Manager: XFCE
    • Профил
    • WWW
Re: Проблем със share на принтер през samba
« Отговор #6 -: Feb 12, 2009, 14:48 »
Твоят проблем не е в samba, а в cups. Редактирай /etc/cups/cupsd.conf файла:
заменяш тази част
Цитат
Restrict access to the server...
<Location />

 Order allow,deny

</Location>
със
Цитат
<Location />
  Order Deny,Allow
  Deny From All
  Allow From 127.0.0.1
  Allow From 192.168.1.
</Location>
и рестартираш: /etc/init.d/cupsd restart
Като:
- Deny From All - забранява използването на принтера от всички, това е добре, понеже ако си с реално IP, го скриваш от всички
- Allow From 127.0.0.1 - позволява използването на принтера от localhost, самия компютър
- Allow From 192.168.1.  - позволява използването на принтера от локалната мрежа. Ако не се получи по този начин, конкретизирай IP-то примерно:
Allow From 192.168.1.100
Allow From 192.168.1.2

Използвана литература http://www.axllent.org/docs/networking/cups_network_client_access
Активен

Ако не можеш да градиш, поне не руши!

iskren

  • Напреднали
  • *****
  • Публикации: 185
  • Distribution: Fedora Core 8
  • Window Manager: KDE3
    • Профил
    • WWW
Re: Проблем със share на принтер през samba
« Отговор #7 -: Feb 12, 2009, 15:54 »
:::::ЕДИТ::::::
Не е от аутентикацията - в момента е със allow from all и в двата случая дава реда cupsdAuthorize: No authentication data provided. Просто не знам по каква причина ако се принти със lp се случват едни неща, ако се принти със smbclient се случват други


Ами и аз съм 99% сигурен, че проблема е в cups, само че не е само това с правата - промених ги няколко пъти, даже накрая сложиш allow from all, спрях си firewall-а (за всеки случай), пробвах да печатам през root (и самба) - без особена промяна
Код
GeSHi (Apache configuration):
  1. ==> access_log <==
  2. localhost - - [12/Feb/2009:15:50:43 +0200] "POST / HTTP/1.1" 200 268 Get-Jobs successful-ok
  3. localhost - - [12/Feb/2009:15:50:43 +0200] "POST / HTTP/1.1" 200 189 Get-Printer-Attributes successful-ok
  4. localhost - - [12/Feb/2009:15:50:43 +0200] "POST /printers/xerox3117 HTTP/1.1" 200 1352 Print-Job successful-ok
  5.  
  6. ==> error_log <==
  7. D [12/Feb/2009:15:50:43 +0200] cupsdAcceptClient: skipping getpeercon()
  8. D [12/Feb/2009:15:50:43 +0200] cupsdAcceptClient: 12 from localhost (Domain)
  9. D [12/Feb/2009:15:50:43 +0200] cupsdAcceptClient: skipping getpeercon()
  10. D [12/Feb/2009:15:50:43 +0200] cupsdAcceptClient: 13 from localhost (Domain)
  11. D [12/Feb/2009:15:50:43 +0200] cupsdReadClient: 13 POST / HTTP/1.1
  12. D [12/Feb/2009:15:50:43 +0200] cupsdAuthorize: No authentication data provided.
  13. D [12/Feb/2009:15:50:43 +0200] Get-Jobs ipp://localhost/printers/xerox3117
  14. D [12/Feb/2009:15:50:43 +0200] cupsdProcessIPPRequest: 13 status_code=0 (successful-ok)
  15. D [12/Feb/2009:15:50:43 +0200] cupsdReadClient: 13 POST / HTTP/1.1
  16. D [12/Feb/2009:15:50:43 +0200] cupsdAuthorize: No authentication data provided.
  17. D [12/Feb/2009:15:50:43 +0200] Get-Printer-Attributes ipp://localhost/printers/xerox3117
  18. D [12/Feb/2009:15:50:43 +0200] cupsdProcessIPPRequest: 13 status_code=0 (successful-ok)
  19. D [12/Feb/2009:15:50:43 +0200] cupsdCloseClient: 13
  20. D [12/Feb/2009:15:50:43 +0200] cupsdReadClient: 12 POST /printers/xerox3117 HTTP/1.1
  21. D [12/Feb/2009:15:50:43 +0200] cupsdAuthorize: No authentication data provided.
  22. D [12/Feb/2009:15:50:43 +0200] Print-Job ipp://localhost/printers/xerox3117
  23. D [12/Feb/2009:15:50:43 +0200] add_job: setting context of job to UNKNOWN SL
  24. D [12/Feb/2009:15:50:43 +0200] add_job: requesting-user-name="iskren"
  25. D [12/Feb/2009:15:50:43 +0200] Adding default job-sheets values "none,none"...
  26. I [12/Feb/2009:15:50:43 +0200] [Job 108] Adding start banner page "none".
  27. D [12/Feb/2009:15:50:43 +0200] Discarding unused job-created event...
  28. I [12/Feb/2009:15:50:43 +0200] [Job 108] Adding job file of type application/vnd.cups-raw.
  29. I [12/Feb/2009:15:50:43 +0200] [Job 108] Adding end banner page "none".
  30. I [12/Feb/2009:15:50:43 +0200] [Job 108] Queued on "xerox3117" by "iskren".
  31. D [12/Feb/2009:15:50:43 +0200] [Job 108] hold_until = 0
  32. D [12/Feb/2009:15:50:43 +0200] Discarding unused printer-state-changed event...
  33. D [12/Feb/2009:15:50:43 +0200] [Job 108] job-sheets=none,none
  34. D [12/Feb/2009:15:50:43 +0200] [Job 108] banner_page = 0
  35. D [12/Feb/2009:15:50:43 +0200] [Job 108] argv[0]="xerox3117"
  36. D [12/Feb/2009:15:50:43 +0200] [Job 108] argv[1]="108"
  37. D [12/Feb/2009:15:50:43 +0200] [Job 108] argv[2]="iskren"
  38. D [12/Feb/2009:15:50:43 +0200] [Job 108] argv[3]="smbprn.00000034 Remote Downlevel Document contestapplet.conf"
  39. D [12/Feb/2009:15:50:43 +0200] [Job 108] argv[4]="1"
  40. D [12/Feb/2009:15:50:43 +0200] [Job 108] argv[5]="job-uuid=urn:uuid:6e60fbb2-fda2-3daa-6428-516f39ee095f"
  41. D [12/Feb/2009:15:50:43 +0200] [Job 108] argv[6]="/var/spool/cups/d00108-001"
  42. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
  43. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[1]="CUPS_DATADIR=/usr/share/cups"
  44. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups-1.3.7"
  45. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
  46. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
  47. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
  48. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[6]="CUPS_SERVERROOT=/etc/cups"
  49. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[7]="CUPS_STATEDIR=/var/run/cups"
  50. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[8]="PATH=/usr/lib/cups/filter:/usr/lib64/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
  51. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[9]="SERVER_ADMIN=root@iskren.info"
  52. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[10]="SOFTWARE=CUPS/1.3.7"
  53. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[11]="TMPDIR=/var/spool/cups/tmp"
  54. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[12]="USER=root"
  55. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[13]="CUPS_SERVER=/var/run/cups/cups.sock"
  56. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[14]="CUPS_ENCRYPTION=IfRequested"
  57. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[15]="IPP_PORT=631"
  58. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[16]="CHARSET=utf-8"
  59. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[17]="LANG=en_US.UTF8"
  60. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[18]="PPD=/etc/cups/ppd/xerox3117.ppd"
  61. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[19]="RIP_MAX_CACHE=8m"
  62. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[20]="CONTENT_TYPE=application/vnd.cups-raw"
  63. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[21]="DEVICE_URI=usb://Xerox/Phaser%203117"
  64. D [12/Feb/2009:15:50:43 +0200] [Job 108] envp[22]="PRINTER=xerox3117"
  65. I [12/Feb/2009:15:50:43 +0200] [Job 108] Started backend /usr/lib/cups/backend/usb (PID 17979)
  66. D [12/Feb/2009:15:50:43 +0200] Discarding unused job-state-changed event...
  67. D [12/Feb/2009:15:50:43 +0200] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok)
  68. D [12/Feb/2009:15:50:43 +0200] Discarding unused printer-state-changed event...
  69. D [12/Feb/2009:15:50:43 +0200] cupsdCloseClient: 12
  70. D [12/Feb/2009:15:50:43 +0200] [Job 108] Printer using device file "/dev/usblp0"...
  71. D [12/Feb/2009:15:50:43 +0200] Discarding unused job-progress event...
  72. D [12/Feb/2009:15:50:43 +0200] [Job 108] backendRunLoop(print_fd=5, device_fd=6, use_bc=1, side_cb=0x7fac7f8f2060)
  73. D [12/Feb/2009:15:50:43 +0200] [Job 108] Read 1036 bytes of print data...
  74. D [12/Feb/2009:15:50:43 +0200] Discarding unused printer-state-changed event...
  75. D [12/Feb/2009:15:50:43 +0200] PID 17979 (/usr/lib/cups/backend/usb) exited with no errors.
  76. D [12/Feb/2009:15:50:43 +0200] [Job 108] Wrote 1036 bytes of print data...
  77. D [12/Feb/2009:15:50:43 +0200] Discarding unused printer-state-changed event...
  78. D [12/Feb/2009:15:50:43 +0200] [Job 108] File 0 is complete.
  79. I [12/Feb/2009:15:50:43 +0200] [Job 108] Completed successfully.
  80. D [12/Feb/2009:15:50:43 +0200] Discarding unused printer-state-changed event...
  81. D [12/Feb/2009:15:50:43 +0200] Discarding unused job-completed event...
  82.  
  83. ==> page_log <==
  84. xerox3117 iskren 108 [12/Feb/2009:15:50:43 +0200] 1 1 - 192.168.1.100
  85.  
  86. ==> access_log <==
  87. localhost - - [12/Feb/2009:15:50:44 +0200] "POST / HTTP/1.1" 200 129 CUPS-Get-Printers successful-ok
  88. localhost - - [12/Feb/2009:15:50:44 +0200] "POST / HTTP/1.1" 200 129 CUPS-Get-Classes successful-ok
  89.  
  90. ==> error_log <==
  91. D [12/Feb/2009:15:50:44 +0200] cupsdAcceptClient: skipping getpeercon()
  92. D [12/Feb/2009:15:50:44 +0200] cupsdAcceptClient: 12 from localhost (Domain)
  93. D [12/Feb/2009:15:50:44 +0200] [Job 108] Unloading...
  94. D [12/Feb/2009:15:50:44 +0200] cupsdReadClient: 12 POST / HTTP/1.1
  95. D [12/Feb/2009:15:50:44 +0200] cupsdAuthorize: No authentication data provided.
  96. D [12/Feb/2009:15:50:44 +0200] CUPS-Get-Printers
  97. D [12/Feb/2009:15:50:44 +0200] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok)
  98. D [12/Feb/2009:15:50:44 +0200] cupsdReadClient: 12 POST / HTTP/1.1
  99. D [12/Feb/2009:15:50:44 +0200] cupsdAuthorize: No authentication data provided.
  100. D [12/Feb/2009:15:50:44 +0200] CUPS-Get-Classes
  101. D [12/Feb/2009:15:50:44 +0200] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok)
  102. D [12/Feb/2009:15:50:44 +0200] cupsdCloseClient: 12
« Последна редакция: Feb 12, 2009, 16:09 от iskren »
Активен

mystical

  • Напреднали
  • *****
  • Публикации: 326
  • Distribution: Debian, FreeBSD
  • Window Manager: XFCE
    • Профил
    • WWW
Re: Проблем със share на принтер през samba
« Отговор #8 -: Feb 12, 2009, 17:39 »
Нещата се прецакват, когато се използва "/dev/usblp0"
Цитат
Printer using device file "/dev/usblp0"...
Не мога да си обесня, защо в едния случай успява да използва устройството, а в другия не.
https://bugs.launchpad.net/ubuntu/+source/foo2zjs/+bug/43824

Успех!
Активен

Ако не можеш да градиш, поне не руши!

iskren

  • Напреднали
  • *****
  • Публикации: 185
  • Distribution: Fedora Core 8
  • Window Manager: KDE3
    • Профил
    • WWW
Re: Проблем със share на принтер през samba
« Отговор #9 -: Feb 12, 2009, 19:16 »
Не бих казал... при успешно принтиране се използва същия device. Освен това в дискусията хората не могат да подкарат принтера ... а аз мога :) (макар и частично).
Около ред 78/87 на предните 2 лога се вижда. Иначе проблема е, че в единия случай започва да подготвя страницата (реда с [job XX] Page = ...) а в другия не ... което идея си нямам защо го прави.
Активен

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
samba share
Настройки на софтуер
anakinn 4 2691 Последна публикация Oct 06, 2005, 19:23
от
Предложение за Samba share
Настройка на програми
aylov 10 3517 Последна публикация Jan 19, 2006, 13:01
от aylov
Не мога да влязя в samba share
Настройка на програми
peterhr 11 3766 Последна публикация Jan 08, 2007, 17:00
от peterhr
samba, windows несъществуващ share
Хардуерни и софтуерни проблеми
lod 1 2335 Последна публикация Nov 07, 2008, 17:24
от lod
Samba share permissions
Настройка на програми
g@b0 5 2300 Последна публикация Jan 23, 2013, 20:23
от g@b0