Printing problem: printing control characters
Miles Purdy
PURDYM at fipd.gc.ca
Mon Dec 31 11:31:07 GMT 2001
Hi folks:
AIX Samba server: 4.3.3
Samba v: 2.2.1a
Windows NT sp6a
printer: various HP: 4500, 8150
I have set up the print queues the long way, by copying all the .dll's to unix, etc. All the config's look work, in fact I can print, but it print the 'control characters'. I actually see the: '@PJL .......' which I believe is the PCL control code. I could really use some help.
Thanks Miles
Config file:
[global]
workgroup = DATABASE
netbios name = CWS
server string = cws
interfaces = 11.255.50.254/255.0.0.0 192.168.16.31/255.255.255.0
encrypt passwords = Yes
update encrypted = Yes
log level = 3
syslog = 2
log file = /var/samba/log/samba_log.%m
socket options = TCP_NODELAY IPTOS_THROUGHPUT SO_SNDBUF=8192
os level = 34
preferred master = True
dns proxy = No
hosts allow = ALL
printer driver file = /usr/local/lib/samba-2.2.1a/print/printers.def
[Q6BLU_1]
comment = Q6BLU_1
path = /tmp
guest ok = Yes
printable = Yes
print command = /usr/bin/lpr -r -P%p %s
;print command = /usr/bin/enq -B nn -P %p %s
lpq command = /usr/bin/lpq -P%p
printer driver = HP LaserJet 8150 PCL 6
printer driver location = \\%L\PRINTER$
[PRINTER$]
path = /usr/local/lib/samba-2.2.1a/print
read only = yes
browsable = no
guest ok = yes
Sample output:
^[%-12345X at PJL JOB NAME="boot.ini - Notepad"^M
@PJL SET OUTBINPROCESS =1 ^M
@PJL SET RET=ON^M
@PJL SET DUPLEX=ON^M
@PJL SET BINDING=LONGEDGE^M
@PJL SET ECONOMODE=OFF^M
@PJL SET OUTBIN=UPPER^M
@PJL SET FINISH=NONE^M
@PJL SET PAGEPROTECT=AUTO^M
@PJL SET PAPER=LETTER^M
@PJL SET HOLD=OFF^M
@PJL SET RESOLUTION=600^M
@PJL SET BITSPERPIXEL=2^M
@PJL SET EDGETOEDGE=NO^M
@PJL ENTER LANGUAGE=PCLXL^M
) HP-PCL XL;2;0;Comment Copyright Hewlett-Packard Company 1989-1998. Version 4.2.1.8
<snip>
----------------------------------------------------------------------------------------------
Miles Purdy
System Manager
Farm Income Programs Directorate
Winnipeg, MB, CA
purdym at fipd.gc.ca
ph: (204) 984-1602 fax: (204) 983-7557
"If you hold a UNIX shell up to your ear, can you hear the C?"
-------------------------------------------------------------------------------------------------
More information about the samba
mailing list