network shared printer wont print if printed from MSDOS

Laur Kaarna laur at kaarna.net
Wed Apr 1 16:09:32 PDT 2009


My setup is like this: i have a small office network and i bought yesterday a new multifunctional printer Samsung SCX-4521F. It is shared with samba and connected to the server with USB. In the network everyhing works well, users can log on to the domain, print from windows to the new shared Samsung printer and i even managed to enable network scannin. But when i try to print from MS DOS i wont get a single page. We have an accounting program in dos. All the other computers are XP Pro SP3. My server is running for 2 weeks the newest CentOS with all updates.

I'v maped the network printer in windows witht the command "net use LPT1 \\Server\SCX-4521F. I get a message that maping was completed succesfully. If i start a print job nothing happens. "Printing" or "warming up" flashes several times on the printer and thats it.

CUPS error log:
[code]I [02/Apr/2009:00:03:45 +0300] Adding start banner page "none" to job 125.
I [02/Apr/2009:00:03:45 +0300] Adding end banner page "none" to job 125.
I [02/Apr/2009:00:03:45 +0300] Job 125 queued on "SCX-4x21_Series" by "jaanus".
I [02/Apr/2009:00:03:45 +0300] Started backend /usr/lib/cups/backend/hal (PID 5327) for job 125.[/code]

Here my samba conf. also. My old LaserJet 1200 started to work fine after i added "cups options = raw" to my conf file. Before that i got only blank pages from dos. The same is with the new Samsung printer. If raw isn't enabled it prints blank pages.

[code]
[global]
	workgroup = ENTAR.LOCAL
	netbios name = SERVER
	server string = entar
	passdb backend = tdbsam
	username map = /etc/samba/smbusers
	printcap name = cups
	add user script = /usr/sbin/useradd -m %u
	delete user script = /usr/sbin/userdel -r %u
	add group script = /usr/sbin/groupadd %g
	delete group script = /usr/sbin/groupdel %g
	add user to group script = /usr/sbin/usermod -G %g %u
	add machine script = /usr/sbin/useradd -n -g machines -c Machine -d
	logon script = logon.bat
	logon path = \\%L\Profiles\%U
	logon drive = H:
	logon home = \\%L\%U
	domain logons = Yes
	os level = 35
	preferred master = Yes
	domain master = Yes

[netlogon]
	comment = Network Logon Service
	path = /var/lib/samba/netlogon/scripts
	admin users = root
	browseable = No

[Profiles]
	comment = Roaming Profile Share
	path = /var/lib/samba/profiles
	read only = No
	profile acls = Yes
	browseable = No

[printers]
	comment = All Printers
	path = /var/spool/samba
	guest ok = Yes
	printable = Yes
	browseable = No

[cabas]
	path = /home/cabas/
	read only = No

[rax]
	path = /home/rax/
	read only = No

[SCX4521]
	path = /var/spool/samba
	printer admin = @meistrid
	read only = No
	guest ok = Yes
	printable = Yes
	cups options = raw
	printer name = SCX4521
	use client driver = Yes
	oplocks = No
	share modes = No
[/code]

I enabled debug mode, stoped CUPS, cleared the log and restart CUPS. After that i started a print job from dos. Here's the error log:

[code]
I [02/Apr/2009:00:34:07 +0300] Listening to :::631 (IPv6)
I [02/Apr/2009:00:34:07 +0300] Listening to 0.0.0.0:631 (IPv4)
I [02/Apr/2009:00:34:07 +0300] Listening to /var/run/cups/cups.sock (Domain)
I [02/Apr/2009:00:34:07 +0300] Loaded configuration file "/etc/cups/cupsd.conf"
I [02/Apr/2009:00:34:07 +0300] Using default TempDir of /var/spool/cups/tmp...
I [02/Apr/2009:00:34:07 +0300] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [02/Apr/2009:00:34:07 +0300] Configured for up to 100 clients.
I [02/Apr/2009:00:34:07 +0300] Allowing up to 100 client connections per host.
I [02/Apr/2009:00:34:07 +0300] Using policy "default" as the default!
I [02/Apr/2009:00:34:07 +0300] Full reload is required.
I [02/Apr/2009:00:34:07 +0300] Loaded MIME database from '/etc/cups': 34 types, 39 filters...
D [02/Apr/2009:00:34:07 +0300] Loading printer SCX4521...
E [02/Apr/2009:00:34:07 +0300] cupsdSetPrinterAttrs: Unable to get printer context
I [02/Apr/2009:00:34:07 +0300] Loading job cache file "/var/cache/cups/job.cache"...
D [02/Apr/2009:00:34:07 +0300] Loading job 96 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 97 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 98 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 99 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 100 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 101 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 102 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 103 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 104 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 105 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 106 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 107 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 108 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 109 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 110 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 111 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 112 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 113 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 114 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 115 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 116 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 117 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 121 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 123 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 124 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 128 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 129 from cache...
D [02/Apr/2009:00:34:07 +0300] Loading job 130 from cache...
I [02/Apr/2009:00:34:07 +0300] Full reload complete.
I [02/Apr/2009:00:34:07 +0300] Listening to :::631 on fd 3...
I [02/Apr/2009:00:34:07 +0300] Listening to 0.0.0.0:631 on fd 4...
I [02/Apr/2009:00:34:07 +0300] Listening to /var/run/cups/cups.sock on fd 5...
D [02/Apr/2009:00:34:16 +0300] cupsdAcceptClient: skipping getpeercon()
D [02/Apr/2009:00:34:16 +0300] cupsdAcceptClient: 9 from localhost (Domain)
D [02/Apr/2009:00:34:16 +0300] cupsdReadClient: 9 POST / HTTP/1.1
D [02/Apr/2009:00:34:16 +0300] cupsdAuthorize: No authentication data provided.
D [02/Apr/2009:00:34:16 +0300] Get-Printer-Attributes ipp:///printers/SCX4521
D [02/Apr/2009:00:34:16 +0300] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok)
D [02/Apr/2009:00:34:16 +0300] cupsdAcceptClient: skipping getpeercon()
D [02/Apr/2009:00:34:16 +0300] cupsdAcceptClient: 11 from localhost (Domain)
D [02/Apr/2009:00:34:16 +0300] cupsdCloseClient: 9
D [02/Apr/2009:00:34:16 +0300] cupsdReadClient: 11 POST / HTTP/1.1
D [02/Apr/2009:00:34:16 +0300] cupsdAuthorize: No authentication data provided.
D [02/Apr/2009:00:34:16 +0300] Get-Jobs ipp://localhost/printers/SCX4521
D [02/Apr/2009:00:34:16 +0300] cupsdProcessIPPRequest: 11 status_code=0 (successful-ok)
D [02/Apr/2009:00:34:16 +0300] cupsdReadClient: 11 POST / HTTP/1.1
D [02/Apr/2009:00:34:16 +0300] cupsdAuthorize: No authentication data provided.
D [02/Apr/2009:00:34:16 +0300] Get-Printer-Attributes ipp://localhost/printers/SCX4521
D [02/Apr/2009:00:34:16 +0300] cupsdProcessIPPRequest: 11 status_code=0 (successful-ok)
D [02/Apr/2009:00:34:16 +0300] cupsdCloseClient: 11
D [02/Apr/2009:00:34:16 +0300] cupsdAcceptClient: skipping getpeercon()
D [02/Apr/2009:00:34:16 +0300] cupsdAcceptClient: 9 from localhost (Domain)
D [02/Apr/2009:00:34:16 +0300] cupsdReadClient: 9 POST /printers/SCX4521 HTTP/1.1
D [02/Apr/2009:00:34:16 +0300] cupsdAuthorize: No authentication data provided.
D [02/Apr/2009:00:34:16 +0300] Print-Job ipp://localhost/printers/SCX4521
D [02/Apr/2009:00:34:16 +0300] print_job: request file type is application/vnd.cups-raw.
D [02/Apr/2009:00:34:16 +0300] add_job: setting context of job to UNKNOWN SL
D [02/Apr/2009:00:34:16 +0300] add_job: requesting-user-name="jaanus"
D [02/Apr/2009:00:34:16 +0300] Adding default job-sheets values "none,none"...
I [02/Apr/2009:00:34:16 +0300] Adding start banner page "none" to job 131.
D [02/Apr/2009:00:34:16 +0300] Discarding unused job-created event...
I [02/Apr/2009:00:34:16 +0300] Adding end banner page "none" to job 131.
I [02/Apr/2009:00:34:16 +0300] Job 131 queued on "SCX4521" by "jaanus".
D [02/Apr/2009:00:34:16 +0300] Job 131 hold_until = 0
D [02/Apr/2009:00:34:16 +0300] Discarding unused printer-state-changed event...
D [02/Apr/2009:00:34:16 +0300] job-sheets=none,none
D [02/Apr/2009:00:34:16 +0300] banner_page = 0
D [02/Apr/2009:00:34:16 +0300] [Job 131] argv[0]="SCX4521"
D [02/Apr/2009:00:34:16 +0300] [Job 131] argv[1]="131"
D [02/Apr/2009:00:34:16 +0300] [Job 131] argv[2]="jaanus"
D [02/Apr/2009:00:34:16 +0300] [Job 131] argv[3]="smbprn.00000030 Remote Downlevel Document"
D [02/Apr/2009:00:34:16 +0300] [Job 131] argv[4]="1"
D [02/Apr/2009:00:34:16 +0300] [Job 131] argv[5]="job-uuid=urn:uuid:54b92942-9865-301e-7a3c-452a29513641"
D [02/Apr/2009:00:34:16 +0300] [Job 131] argv[6]="/var/spool/cups/d00131-001"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups-1.2.4"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[9]="SERVER_ADMIN=root at localhost.localdomain"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[10]="SOFTWARE=CUPS/1.2.4"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[11]="TMPDIR=/var/spool/cups/tmp"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[12]="USER=root"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[13]="CUPS_SERVER=/var/run/cups/cups.sock"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[14]="CUPS_ENCRYPTION=IfRequested"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[15]="IPP_PORT=631"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[16]="CHARSET=iso-8859-1"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[17]="LANG=en_US"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[18]="PPD=/etc/cups/ppd/SCX4521.ppd"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[19]="RIP_MAX_CACHE=8m"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[20]="CONTENT_TYPE=application/vnd.cups-raw"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[21]="DEVICE_URI=mfp:/dev/mfp4"
D [02/Apr/2009:00:34:16 +0300] [Job 131] envp[22]="PRINTER=SCX4521"
I [02/Apr/2009:00:34:16 +0300] Started backend /usr/lib/cups/backend/mfp (PID 5687) for job 131.
D [02/Apr/2009:00:34:16 +0300] Discarding unused job-state event...
D [02/Apr/2009:00:34:16 +0300] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok)
D [02/Apr/2009:00:34:16 +0300] cupsdCloseClient: 9
D [02/Apr/2009:00:34:16 +0300] PID 5687 (/usr/lib/cups/backend/mfp) exited with no errors.
D [02/Apr/2009:00:34:16 +0300] [Job 131] File 0 is complete.
D [02/Apr/2009:00:34:16 +0300] Discarding unused printer-state-changed event...
D [02/Apr/2009:00:34:16 +0300] Discarding unused job-completed event...
D [02/Apr/2009:00:34:17 +0300] Unloading job 131...
[/code]

And here is the error log of my old LaserJet 1200, also with a cleared log. This prinjob finised perfectly fine.

[code]
I [02/Apr/2009:00:53:45 +0300] Listening to :::631 (IPv6)
I [02/Apr/2009:00:53:45 +0300] Listening to 0.0.0.0:631 (IPv4)
I [02/Apr/2009:00:53:45 +0300] Listening to /var/run/cups/cups.sock (Domain)
I [02/Apr/2009:00:53:45 +0300] Loaded configuration file "/etc/cups/cupsd.conf"
I [02/Apr/2009:00:53:45 +0300] Using default TempDir of /var/spool/cups/tmp...
I [02/Apr/2009:00:53:45 +0300] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [02/Apr/2009:00:53:45 +0300] Configured for up to 100 clients.
I [02/Apr/2009:00:53:45 +0300] Allowing up to 100 client connections per host.
I [02/Apr/2009:00:53:45 +0300] Using policy "default" as the default!
I [02/Apr/2009:00:53:45 +0300] Full reload is required.
I [02/Apr/2009:00:53:45 +0300] Loaded MIME database from '/etc/cups': 34 types, 39 filters...
D [02/Apr/2009:00:53:45 +0300] Loading printer HP_LaserJet_1200_USB_2...
D [02/Apr/2009:00:53:45 +0300] Loading printer SCX4521...
E [02/Apr/2009:00:53:45 +0300] cupsdSetPrinterAttrs: Unable to get printer context
I [02/Apr/2009:00:53:45 +0300] Loading job cache file "/var/cache/cups/job.cache"...
D [02/Apr/2009:00:53:45 +0300] Loading job 96 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 97 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 98 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 99 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 100 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 101 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 102 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 103 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 104 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 105 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 106 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 107 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 108 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 109 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 110 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 111 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 112 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 113 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 114 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 115 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 116 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 117 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 121 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 123 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 124 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 128 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 129 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 130 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 131 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 132 from cache...
D [02/Apr/2009:00:53:45 +0300] Loading job 133 from cache...
I [02/Apr/2009:00:53:45 +0300] Full reload complete.
I [02/Apr/2009:00:53:45 +0300] Listening to :::631 on fd 3...
I [02/Apr/2009:00:53:45 +0300] Listening to 0.0.0.0:631 on fd 4...
I [02/Apr/2009:00:53:45 +0300] Listening to /var/run/cups/cups.sock on fd 5...
D [02/Apr/2009:00:53:46 +0300] cupsdNetIFUpdate: "lo" = localhost...
D [02/Apr/2009:00:53:46 +0300] cupsdNetIFUpdate: "eth0" = 192.168.2.1...
D [02/Apr/2009:00:53:46 +0300] cupsdNetIFUpdate: "eth1" = 84.50.209.90...
D [02/Apr/2009:00:53:46 +0300] cupsdNetIFUpdate: "lo" = localhost...
D [02/Apr/2009:00:53:46 +0300] cupsdNetIFUpdate: "eth0" = fe80::250:4ff:fe33:b846%eth0...
D [02/Apr/2009:00:53:46 +0300] cupsdNetIFUpdate: "eth1" = fe80::230:6eff:fe26:e87c%eth1...
D [02/Apr/2009:00:53:46 +0300] cupsdUpdateCUPSBrowse: Refused 186 bytes from 192.168.2.1
D [02/Apr/2009:00:53:46 +0300] cupsdUpdateCUPSBrowse: Refused 187 bytes from 84.50.209.90
D [02/Apr/2009:00:53:51 +0300] cupsdAcceptClient: skipping getpeercon()
D [02/Apr/2009:00:53:51 +0300] cupsdAcceptClient: 9 from localhost (Domain)
D [02/Apr/2009:00:53:51 +0300] cupsdReadClient: 9 POST / HTTP/1.1
D [02/Apr/2009:00:53:51 +0300] cupsdAuthorize: No authentication data provided.
D [02/Apr/2009:00:53:51 +0300] Get-Printer-Attributes ipp:///printers/HP_LaserJet_1200_USB_2
D [02/Apr/2009:00:53:51 +0300] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok)
D [02/Apr/2009:00:53:51 +0300] cupsdCloseClient: 9
D [02/Apr/2009:00:53:51 +0300] cupsdAcceptClient: skipping getpeercon()
D [02/Apr/2009:00:53:51 +0300] cupsdAcceptClient: 9 from localhost (Domain)
D [02/Apr/2009:00:53:51 +0300] cupsdReadClient: 9 POST / HTTP/1.1
D [02/Apr/2009:00:53:51 +0300] cupsdAuthorize: No authentication data provided.
D [02/Apr/2009:00:53:51 +0300] Get-Jobs ipp://localhost/printers/HP_LaserJet_1200_USB_2
D [02/Apr/2009:00:53:51 +0300] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok)
D [02/Apr/2009:00:53:51 +0300] cupsdReadClient: 9 POST / HTTP/1.1
D [02/Apr/2009:00:53:51 +0300] cupsdAuthorize: No authentication data provided.
D [02/Apr/2009:00:53:51 +0300] Get-Printer-Attributes ipp://localhost/printers/HP_LaserJet_1200_USB_2
D [02/Apr/2009:00:53:51 +0300] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok)
D [02/Apr/2009:00:53:51 +0300] cupsdCloseClient: 9
D [02/Apr/2009:00:53:51 +0300] cupsdAcceptClient: skipping getpeercon()
D [02/Apr/2009:00:53:51 +0300] cupsdAcceptClient: 9 from localhost (Domain)
D [02/Apr/2009:00:53:51 +0300] cupsdReadClient: 9 POST /printers/HP_LaserJet_1200_USB_2 HTTP/1.1
D [02/Apr/2009:00:53:51 +0300] cupsdAuthorize: No authentication data provided.
D [02/Apr/2009:00:53:51 +0300] Print-Job ipp://localhost/printers/HP_LaserJet_1200_USB_2
D [02/Apr/2009:00:53:51 +0300] print_job: request file type is application/vnd.cups-raw.
D [02/Apr/2009:00:53:51 +0300] add_job: setting context of job to UNKNOWN SL
D [02/Apr/2009:00:53:51 +0300] add_job: requesting-user-name="jaanus"
D [02/Apr/2009:00:53:51 +0300] Adding default job-sheets values "none,none"...
I [02/Apr/2009:00:53:51 +0300] Adding start banner page "none" to job 134.
D [02/Apr/2009:00:53:51 +0300] Discarding unused job-created event...
I [02/Apr/2009:00:53:51 +0300] Adding end banner page "none" to job 134.
I [02/Apr/2009:00:53:51 +0300] Job 134 queued on "HP_LaserJet_1200_USB_2" by "jaanus".
D [02/Apr/2009:00:53:51 +0300] Job 134 hold_until = 0
D [02/Apr/2009:00:53:51 +0300] Discarding unused printer-state-changed event...
D [02/Apr/2009:00:53:51 +0300] job-sheets=none,none
D [02/Apr/2009:00:53:51 +0300] banner_page = 0
D [02/Apr/2009:00:53:51 +0300] [Job 134] argv[0]="HP_LaserJet_1200_USB_2"
D [02/Apr/2009:00:53:51 +0300] [Job 134] argv[1]="134"
D [02/Apr/2009:00:53:51 +0300] [Job 134] argv[2]="jaanus"
D [02/Apr/2009:00:53:51 +0300] [Job 134] argv[3]="smbprn.00000003 Remote Downlevel Document"
D [02/Apr/2009:00:53:51 +0300] [Job 134] argv[4]="1"
D [02/Apr/2009:00:53:51 +0300] [Job 134] argv[5]="job-uuid=urn:uuid:c452be47-a61b-3af1-6d0c-3e5e7cbbb47a"
D [02/Apr/2009:00:53:51 +0300] [Job 134] argv[6]="/var/spool/cups/d00134-001"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups-1.2.4"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[9]="SERVER_ADMIN=root at localhost.localdomain"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[10]="SOFTWARE=CUPS/1.2.4"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[11]="TMPDIR=/var/spool/cups/tmp"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[12]="USER=root"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[13]="CUPS_SERVER=/var/run/cups/cups.sock"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[14]="CUPS_ENCRYPTION=IfRequested"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[15]="IPP_PORT=631"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[16]="CHARSET=iso-8859-1"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[17]="LANG=en_US"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[18]="PPD=/etc/cups/ppd/HP_LaserJet_1200_USB_2.ppd"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[19]="RIP_MAX_CACHE=8m"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[20]="CONTENT_TYPE=application/vnd.cups-raw"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[21]="DEVICE_URI=usb://HP/LaserJet%201200"
D [02/Apr/2009:00:53:51 +0300] [Job 134] envp[22]="PRINTER=HP_LaserJet_1200_USB_2"
I [02/Apr/2009:00:53:51 +0300] Started backend /usr/lib/cups/backend/usb (PID 6175) for job 134.
D [02/Apr/2009:00:53:51 +0300] Discarding unused job-state event...
D [02/Apr/2009:00:53:51 +0300] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok)
D [02/Apr/2009:00:53:51 +0300] Discarding unused printer-state-changed event...
D [02/Apr/2009:00:53:51 +0300] cupsdCloseClient: 9
D [02/Apr/2009:00:53:51 +0300] [Job 134] Printer using device file "/dev/usb/lp1"...
D [02/Apr/2009:00:53:51 +0300] Discarding unused printer-state-changed event...
D [02/Apr/2009:00:53:51 +0300] Discarding unused job-progress event...
D [02/Apr/2009:00:53:51 +0300] [Job 134] backendRunLoop(print_fd=4, device_fd=5, use_bc=1)
D [02/Apr/2009:00:53:51 +0300] [Job 134] Read 2989 bytes of print data...
D [02/Apr/2009:00:53:51 +0300] [Job 134] Wrote 2989 bytes of print data...
D [02/Apr/2009:00:53:51 +0300] PID 6175 (/usr/lib/cups/backend/usb) exited with no errors.
D [02/Apr/2009:00:53:51 +0300] [Job 134] File 0 is complete.
D [02/Apr/2009:00:53:51 +0300] Discarding unused printer-state-changed event...
D [02/Apr/2009:00:53:51 +0300] Discarding unused job-completed event...
D [02/Apr/2009:00:53:52 +0300] Unloading job 134...
[/code]

I'v installed the printer with the driver cd that came with the printer. No problems with that. I cant print from linux just fine, i can scan without any problems, Windows users can print and scan from Windows but i cant print from dos.

I'm running samba 3.0.28-1.el5_2.1.i386 and cups 1:1.2.4-11.18.el5_2.3.i386




More information about the cups mailing list