[Samba] cups, firefox + acrobat (Getting PJL output)
Kirk Patton
kpatton at montalvosystems.com
Fri May 18 23:38:24 GMT 2007
Hello,
I am having a problem when printing pdf files as viewed from firefox/acroread to a samba print share. When I print from firefox, I get PJL output. If I print the very same file directly from Acrobat, the file prints properly. Standard web pages print from firfox just fine.
#Sample output
-12345X at PJL COMMENT MS PCLXL NT DRIVER
@PJl JOB NAME ...
I can print from firefox/acroread "if" I print directly to the printer and skip samba/cups.
I have uncommitted "application/octet..." in mime.types and mime.conv. I have tried setting "cups options = raw" and I still get the same output. Is there something else I could be missing?
When I tail cups error_log, I can see that the file is getting filtered when it should not be if I am using 'cups options' correctly.
I [18/May/2007:16:10:42 -0700] Adding start banner page "standard" to job 16413.
I [18/May/2007:16:10:42 -0700] Adding end banner page "none" to job 16413.
I [18/May/2007:16:10:42 -0700] Job 16413 queued on 'hpduplex1' by 'exchtest'.
I [18/May/2007:16:10:42 -0700] Started filter /usr/lib64/cups/filter/pstops (PID 24802) for job 16413.
I [18/May/2007:16:10:42 -0700] Started backend /usr/lib64/cups/backend/ipp (PID 24803) for job 16413.
N [18/May/2007:16:10:42 -0700] [Job 16413] : Print file accepted - job ID 498.
I [18/May/2007:16:10:42 -0700] Started filter /usr/lib64/cups/filter/texttops (PID 24804) for job 16413.
I [18/May/2007:16:10:42 -0700] Started filter /usr/lib64/cups/filter/pstops (PID 24805) for job 16413.
I [18/May/2007:16:10:42 -0700] Started backend /usr/lib64/cups/backend/ipp (PID 24806) for job 16413.
N [18/May/2007:16:10:46 -0700] [Job 16413] : Print file accepted - job ID 499.
testparm -L samba
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[groups]"
Processing section "[public]"
Processing section "[projects]"
Processing section "[tools]"
Processing section "[technology]"
Processing section "[schedule]"
WARNING: The "printer admin" option is deprecated
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions
[global]
workgroup = MONTALVO-US
netbios aliases = samba, mserver
server string = Montalvo Samba Server
security = DOMAIN
password server = PDCUS
log level = 2
log file = /var/log/samba/%m.log
max log size = 50
lpq cache time = 3
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 SO_KEEPALIVE
printcap name = cups
cups server = printsrv01
dns proxy = No
printer admin = @it, root, kpatton
cups options = raw
include = /etc/samba/conf.samba
[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
write list = @it, root
guest ok = Yes
...
I am running Samba 3.0.23c
any suggestions are appreciated
Thanks,
Kirk
More information about the samba
mailing list