LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Printing plain text from DOS program produces nothing (https://www.linuxquestions.org/questions/linux-hardware-18/printing-plain-text-from-dos-program-produces-nothing-531210/)

tkalfaoglu 02-21-2007 11:07 PM

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



All times are GMT -5. The time now is 09:33 PM.