cups-samba drivers problem

Helge Blischke h.blischke at srz.de
Sun Jul 10 11:04:13 PDT 2005


Anonymous wrote:
> 
> Hi everybody I'm trring to get printing stats of my HP Laserjet 1015 printer so I read every howto and manual I could. I've got cups-samba drivers exported and I can install them on my win2k clients but when I print, just numbers and letters are printed, it seems like cups is not calling pstops filter:
> 
> D [08/Jul/2005:15:58:55 -0300] ReadClient: 7 POST /printers/Laserjet HTTP/1.1
> D [08/Jul/2005:15:58:55 -0300] print_job: request file type is application/vnd.cups-raw.
> D [08/Jul/2005:15:58:55 -0300] check_quotas: requesting-user-name = 'Administrator'
> D [08/Jul/2005:15:58:55 -0300] print_job: requesting-user-name = 'Administrator'
> D [08/Jul/2005:15:58:55 -0300] Adding default job-sheets values "none,none"...
> I [08/Jul/2005:15:58:55 -0300] Adding start banner page "none" to job 1.
> I [08/Jul/2005:15:58:55 -0300] Adding end banner page "none" to job 1.
> I [08/Jul/2005:15:58:55 -0300] Job 1 queued on 'Laserjet' by 'Administrator'.
> D [08/Jul/2005:15:58:55 -0300] Job 1 hold_until = 0
> D [08/Jul/2005:15:58:55 -0300] StartJob(1, 0x86070f0)
> D [08/Jul/2005:15:58:55 -0300] StartJob() id = 1, file = 0/1
> D [08/Jul/2005:15:58:55 -0300] job-sheets=none,none
> D [08/Jul/2005:15:58:55 -0300] banner_page = 0
> D [08/Jul/2005:15:58:55 -0300] StartJob: argv = "Laserjet","1","Administrator","smbprn.00000001 Test Page","1","","/var/spool/cups/d00001-001"
> D [08/Jul/2005:15:58:55 -0300] StartJob: envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
> D [08/Jul/2005:15:58:55 -0300] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
> D [08/Jul/2005:15:58:55 -0300] StartJob: envp[2]="USER=root"
> D [08/Jul/2005:15:58:55 -0300] StartJob: envp[3]="CHARSET=utf-8"
> D [08/Jul/2005:15:58:55 -0300] StartJob: envp[4]="LANG=en_US"
> D [08/Jul/2005:15:58:55 -0300] StartJob: envp[5]="PPD=/etc/cups/ppd/Laserjet.ppd"
> D [08/Jul/2005:15:58:55 -0300] StartJob: envp[6]="CUPS_SERVERROOT=/etc/cups"
> D [08/Jul/2005:15:58:55 -0300] StartJob: envp[7]="RIP_MAX_CACHE=8m"
> D [08/Jul/2005:15:58:55 -0300] StartJob: envp[8]="TMPDIR=/var/spool/cups/tmp"
> D [08/Jul/2005:15:58:55 -0300] StartJob: envp[9]="CONTENT_TYPE=application/vnd.cups-raw"
> D [08/Jul/2005:15:58:55 -0300] StartJob: envp[10]="DEVICE_URI=parallel:/dev/lp0"
> D [08/Jul/2005:15:58:55 -0300] StartJob: envp[11]="PRINTER=Laserjet"
> D [08/Jul/2005:15:58:55 -0300] StartJob: envp[12]="CUPS_DATADIR=/usr/share/cups"
> D [08/Jul/2005:15:58:55 -0300] StartJob: envp[13]="CUPS_FONTPATH=/usr/share/cups/fonts"
> D [08/Jul/2005:15:58:55 -0300] StartJob: envp[14]="CUPS_SERVER=localhost"
> D [08/Jul/2005:15:58:55 -0300] StartJob: envp[15]="IPP_PORT=631"
> D [08/Jul/2005:15:58:55 -0300] StartJob: statusfds = [ 9 10 ]
> D [08/Jul/2005:15:58:55 -0300] StartJob: filterfds[1] = [ 11 -1 ]
> D [08/Jul/2005:15:58:55 -0300] StartJob: backend = "/usr/lib/cups/backend/parallel"
> D [08/Jul/2005:15:58:55 -0300] StartJob: filterfds[0] = [ -1 12 ]
> D [08/Jul/2005:15:58:55 -0300] start_process("/usr/lib/cups/backend/parallel", 0xbff83f00, 0xbff83270, 11, 12, 10)
> I [08/Jul/2005:15:58:55 -0300] Started backend /usr/lib/cups/backend/parallel (PID 5229) for job 1.
> D [08/Jul/2005:15:58:55 -0300] ProcessIPPRequest: 7 status_code=0
> D [08/Jul/2005:15:58:55 -0300] CloseClient: 7
> 
> Please, anyone can guide me what should be wrong ??

What looks your SAMBA printing setup like? Do you use "printing = cups" and friends?
Perhaps you could post (an URL to) a sample file (to get one, stop the printer by CUPS, print something, and
save the resulting file from your /var/spool/samba directory).

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list