LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-21-2007, 11:07 PM   #1
tkalfaoglu
Member
 
Registered: Oct 2003
Location: Izmir, Turkey
Distribution: Fedora Core 10
Posts: 68

Rep: Reputation: 15
Printing plain text from DOS program produces nothing


My CANONiP6600D is connected to my Mandriva 10.0 machine.

The client, an XP, prints fine from any windows application.

Recently I had to use a DOS program on the XP, just to print plain text, and I defined:

net use lpt1: \\192.168.0.1\CANONiP6600D

(where 192.168.0.1 is the IP of the Mandriva)

now when I open up a DOS window on that XP and do a
dir > lpt1:

I see the following items in my /var/log/cups/error_log , but nothing prints.

(I also tried sharing the printer on the XP, and then:
net use lpt1: \\xpboxname\sharename
which took, but when I try the same dir > lpt1:, it gives me "invalid parameter" )

I would appreciate any assistance!
-turgut


Code:
D [22/Feb/2007:07:08:37 -0500] AcceptClient: 8 from localhost:631.
D [22/Feb/2007:07:08:37 -0500] ReadClient: 8 POST / HTTP/1.1
D [22/Feb/2007:07:08:37 -0500] ProcessIPPRequest: 8 status_code=0
D [22/Feb/2007:07:08:37 -0500] ReadClient: 8 POST / HTTP/1.1
D [22/Feb/2007:07:08:37 -0500] ProcessIPPRequest: 8 status_code=0
D [22/Feb/2007:07:08:37 -0500] AcceptClient: 9 from localhost:631.
D [22/Feb/2007:07:08:37 -0500] ReadClient: 9 POST /printers/CANONiP6600D HTTP/1.1
D [22/Feb/2007:07:08:37 -0500] print_job: request file type is application/vnd.cups-raw.
D [22/Feb/2007:07:08:37 -0500] check_quotas: requesting-user-name = 'smbguest'
D [22/Feb/2007:07:08:37 -0500] print_job: requesting-user-name = 'smbguest'
D [22/Feb/2007:07:08:37 -0500] Adding default job-sheets values "none,none"...
I [22/Feb/2007:07:08:37 -0500] Adding start banner page "none" to job 195.
I [22/Feb/2007:07:08:37 -0500] Adding end banner page "none" to job 195.
I [22/Feb/2007:07:08:37 -0500] Job 195 queued on 'CANONiP6600D' by 'smbguest'.
D [22/Feb/2007:07:08:37 -0500] Job 195 hold_until = 0
D [22/Feb/2007:07:08:37 -0500] StartJob(195, 0x81d2440)
D [22/Feb/2007:07:08:37 -0500] StartJob() id = 195, file = 0/1
D [22/Feb/2007:07:08:37 -0500] job-sheets=none,none
D [22/Feb/2007:07:08:37 -0500] banner_page = 0
D [22/Feb/2007:07:08:37 -0500] StartJob: argv = "CANONiP6600D","195","smbguest","smbprn.00000200 Remote Downlevel Document","1","","/var/spool/cups/d00195-001"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[2]="USER=root"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[3]="CHARSET=iso-8859-1"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[4]="LANG=en_US"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[5]="PPD=/etc/cups/ppd/CANONiP6600D.ppd"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[6]="CUPS_SERVERROOT=/etc/cups"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[7]="RIP_MAX_CACHE=8m"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[8]="TMPDIR=/var/spool/cups/tmp"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[9]="CONTENT_TYPE=application/vnd.cups-raw"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[10]="DEVICE_URI=beh:/1/0/30/usb://Canon/iP6600D"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[11]="PRINTER=CANONiP6600D"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[12]="CUPS_DATADIR=/usr/share/cups"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[13]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[14]="CUPS_SERVER=localhost"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[15]="IPP_PORT=631"
D [22/Feb/2007:07:08:37 -0500] StartJob: envp[16]="LD_LIBRARY_PATH=/usr/X11R6/lib"
D [22/Feb/2007:07:08:37 -0500] StartJob: statusfds = [ 10 11 ]
D [22/Feb/2007:07:08:37 -0500] StartJob: filterfds[1] = [ 12 -1 ]
D [22/Feb/2007:07:08:37 -0500] StartJob: backend = "/usr/lib/cups/backend/beh"
D [22/Feb/2007:07:08:37 -0500] StartJob: filterfds[0] = [ -1 13 ]
D [22/Feb/2007:07:08:37 -0500] start_process("/usr/lib/cups/backend/beh", 0xbfb66760, 0xbfb65cd8, 12, 13, 11)
I [22/Feb/2007:07:08:37 -0500] Started backend /usr/lib/cups/backend/beh (PID 11866) for job 195.
D [22/Feb/2007:07:08:37 -0500] ProcessIPPRequest: 9 status_code=0
D [22/Feb/2007:07:08:37 -0500] CloseClient: 9
D [22/Feb/2007:07:08:37 -0500] [Job 195] Printer using device file "/dev/usb/lp0"...
D [22/Feb/2007:07:08:37 -0500] [Job 195] LPGETSTATUS returned a port status of 18...
D [22/Feb/2007:07:08:37 -0500] UpdateJob: job 195, file 0 is complete.
D [22/Feb/2007:07:08:37 -0500] CancelJob: id = 195
D [22/Feb/2007:07:08:37 -0500] StopJob: id = 195, force = 0
D [22/Feb/2007:07:08:37 -0500] StopJob: printer state is 3
D [22/Feb/2007:07:08:37 -0500] CloseClient: 8

Last edited by tkalfaoglu; 02-22-2007 at 01:17 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing from the web produces garbage mikieboy Linux - Hardware 1 01-10-2007 11:13 AM
CMS for plain text rblampain Linux - Software 3 12-14-2005 10:40 PM
Amigo 2 on plain DOS? renato2 Amigo 10 03-22-2005 01:46 PM
Plain Text Printing Messed Up milkycow Linux - Newbie 0 10-11-2004 02:27 AM
Printing from lpr to plain text DoubleLetter Linux - General 2 07-19-2002 11:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration