• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

printer und samba

Horschd

Newbie
hi,

ich wollte nen printer server mit samba einrichten und über ghostscript "ps" dateien zu "pdf" konvertieren.

der samba erstellt auch die dateien im pdf format, jedoch sind sie leer.
wenn ich mit "./ps2pdf datei.ps" ausführ kommt immer der fehler


Code:
Error: /invalidfont in findfont
Operand stack:
   F1   12   Times-Roman   Font   Times-Roman   343616   Times-Roman   --nostringval--   Times-Roman   NimbusRomNo9L-Regu   Courier
  NimbusMonL-Regu
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostring
val--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %
oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval-
-   3   4   %oparray_pop   4   4   %oparray_pop   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostring
val--   false   1   %stopped_push   7   5   %oparray_pop   --nostringval--   --nostringval--   --nostringval--   1   -1   1   --nost
ringval--   %for_neg_int_continue
Dictionary stack:
   --dict:1114/1686(ro)(G)--   --dict:0/20(G)--   --dict:75/200(L)--   --dict:31/70(L)--   --dict:17/17(ro)(G)--   --dict:1114/1686(
ro)(G)--
Current allocation mode is local
Last OS error: 2
Current file position is 61042
GPL Ghostscript 8.15: Unrecoverable error, exit code 1

hier die printer sektion aus der smb.conf


Code:
[pdf]
        path = /tmp
        printable = yes
        guest ok = yes
        writeable = yes
        print command = /usr/bin/printpdf %s
        lpq command =
        lprm command =
        use client driver = yes


[printers]
        comment = All Printers
        path = /var/tmp
        create mask = 0600
        printable = Yes
        browseable = No


ich hab ghostscript 8.15 und debian 3.0-rc3 , kernel 2.4.18-bf24

wenn jemand weiter weis ... ---> danke ;-)
 
OP
H

Horschd

Newbie
okay, danke dir hab das auch fast hingekriegt,

jedoch kommt beim

pdfprint.pl befehl immer

"**** Unable to open the initial device, quitting."


weiss jemand weiter ?
 
OP
H

Horschd

Newbie
okay ich hab jetzt ein anderes script genommen , jeodch schreibt mein windows rechner keine ps files mehr .. hier mal der aktuelle auszug aus der smb.conf



[pdf]
path = /home/tmp
printable = yes
guest ok = yes
print command = /usr/local/bin/printpdf %s
lpq command =
lprm command =
use client driver = yes
printer admin = @beck


hier mal die letzten log


schreibrechte stimmen .. weiss jemand weiter ?
Code:
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2005/05/16 11:34:00, 3] smbd/trans2.c:call_trans2qfilepathinfo(2452)
  call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
[2005/05/16 11:34:00, 3] smbd/process.c:process_smb(1091)
  Transaction 266 of length 90
[2005/05/16 11:34:00, 3] smbd/process.c:switch_message(886)
  switch message SMBtrans2 (pid 12902) conn 0x83ad8d0
[2005/05/16 11:34:00, 3] smbd/trans2.c:call_trans2findfirst(1351)
  call_trans2findfirst: dirtype = 22, maxentries = 1366, close_after_first=0, close_if_end = 2 requires_resume_key = 4 level = 0x104,
[2005/05/16 11:34:00, 3] smbd/dir.c:dptr_create(476)
  creating new dirptr 256 for path ./, expect_close = 1
[2005/05/16 11:34:00, 3] smbd/process.c:process_smb(1091)
  Transaction 267 of length 74
[2005/05/16 11:34:00, 3] smbd/process.c:switch_message(886)
  switch message SMBtrans2 (pid 12902) conn 0x83ad8d0
[2005/05/16 11:34:00, 3] smbd/trans2.c:call_trans2qfsinfo(1775)
  call_trans2qfsinfo: level = 258
[2005/05/16 11:34:00, 3] smbd/process.c:process_smb(1091)
  Transaction 268 of length 74
[2005/05/16 11:34:00, 3] smbd/process.c:switch_message(886)
  switch message SMBtrans2 (pid 12902) conn 0x83ad8d0
[2005/05/16 11:34:00, 3] smbd/trans2.c:call_trans2qfsinfo(1775)
  call_trans2qfsinfo: level = 261
[2005/05/16 11:34:00, 3] smbd/process.c:process_smb(1091)
  Transaction 269 of length 74
[2005/05/16 11:34:00, 3] smbd/process.c:switch_message(886)
  switch message SMBtrans2 (pid 12902) conn 0x83ad8d0
[2005/05/16 11:34:00, 3] smbd/trans2.c:call_trans2qfsinfo(1775)
  call_trans2qfsinfo: level = 1007
[2005/05/16 11:34:00, 3] lib/sysquotas.c:sys_get_quota(413)
  sys_get_vfs_quota() failed for mntpath[/home/media2] bdev[/dev/hdg1] qtype[2] id[1013]: No such process
[2005/05/16 11:34:00, 3] lib/sysquotas.c:sys_get_quota(413)
  sys_get_vfs_quota() failed for mntpath[/home/media2] bdev[/dev/hdg1] qtype[4] id[102]: No such process
[2005/05/16 11:34:10, 3] smbd/process.c:process_smb(1091)
  Transaction 270 of length 43
[2005/05/16 11:34:10, 3] smbd/process.c:switch_message(886)
  switch message SMBulogoffX (pid 12902) conn 0x0
[2005/05/16 11:34:10, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/05/16 11:34:10, 3] smbd/reply.c:reply_ulogoffX(1264)
  ulogoffX vuid=102
[2005/05/16 11:34:10, 3] smbd/process.c:process_smb(1091)
  Transaction 271 of length 39
[2005/05/16 11:34:10, 3] smbd/process.c:switch_message(886)
  switch message SMBtdis (pid 12902) conn 0x83ad198
[2005/05/16 11:34:10, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/05/16 11:34:10, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/05/16 11:34:10, 3] smbd/service.c:close_cnum(830)
  vale (192.168.0.50) closed connection to service IPC$
[2005/05/16 11:34:10, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to IPC$
[2005/05/16 11:34:10, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0[quote][/quote]


edit:// lag an den rechten
 
Oben