command line print issue

  • Thread starter Thread starter M. Müller
  • Start date Start date
M

M. Müller

hi there.

using xp pro sp3 32bit and trying to print from cmd. i used "print
/d:\\[computer]\[printer] [filename]" for the printer (which is set up
for sharing), but xp only tells me that the printer couldn't be
initialized. printer (magicolor 2350) is connected via usb. on other
machines the command completes successfully with some other kinds of
printers (magicolo 2300, brother hl-1250).

does anyone have an idea what's going wrong there?

greets,

marcel
 
The file needs to be in a format the printer understands. Most QMS devices
will consume TEXT format. What type of data are you sending?

Normal method of copying data to the share is setting up a printer on one
machine that does not have access to the printer. Launch an application and
select the printer but print the data to File. Then copy the file to
portable storage. On the machine that has access to the print share copy
(or use print.exe but it's the same thing) to the machine sharing the
device. Print.exe, like copy, does not format the file in a language the
printer understands, you have to have performed this task during the file
creation process.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/search/?adv=1

This posting is provided "AS IS" with no warranties, and confers no rights.
 
The file needs to be in a format the printer understands. Most QMS devices
will consume TEXT format. What type of data are you sending?

it's a regular txt-file i wanted to print.. so nothing unusual on this
side of the track, i'd say.

the printer is connected locally via usb. i got the "could not be
initialized" message when i tried 'print /D:"magicolor 2300"
textfile.txt'. i set up the printer for sharing and tried /D:magicolor
(share name), /D:\\server\magicolor, /D:"\\server\magicolor,
D:"magicolor" ... but with no success for either of the options.

printing from windows applications is no problem at all, everything
works fine. just in the dos-box it won't do what it should.
 
the only option that can work is \\machine\share. Stick with a sharename
that does not contain any spaces

E:\>print file.txt /D:\\server\printer
E:\file.txt is currently being printed

You can also use \\localhost when the machine has the local printer
attached.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/search/?adv=1

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top