A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Printing and Faxing with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

command line print issue



 
 
Thread Tools Display Modes
  #1  
Old March 29th 10, 08:57 AM posted to microsoft.public.windowsxp.print_fax
M. Müller
external usenet poster
 
Posts: 6
Default command line print issue

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
--
to replay vie mail, remove the "DontSpamMe_"-part from my email
Ads
  #2  
Old March 31st 10, 05:09 PM posted to microsoft.public.windowsxp.print_fax
Alan Morris [MSFT]
external usenet poster
 
Posts: 783
Default command line print issue

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 he
http://support.microsoft.com/search/?adv=1

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

"M. Müller" wrote in message
...
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
--
to replay vie mail, remove the "DontSpamMe_"-part from my email



  #3  
Old March 31st 10, 05:09 PM posted to microsoft.public.windowsxp.print_fax
Alan Morris [MSFT]
external usenet poster
 
Posts: 783
Default command line print issue

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 he
http://support.microsoft.com/search/?adv=1

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

"M. Müller" wrote in message
...
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
--
to replay vie mail, remove the "DontSpamMe_"-part from my email



  #4  
Old April 1st 10, 08:19 AM posted to microsoft.public.windowsxp.print_fax
M. Müller
external usenet poster
 
Posts: 6
Default command line print issue

On Wed, 31 Mar 2010 09:09:16 -0700, "Alan Morris [MSFT]"
wrote:

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.
  #5  
Old April 1st 10, 08:19 AM posted to microsoft.public.windowsxp.print_fax
M. Müller
external usenet poster
 
Posts: 6
Default command line print issue

On Wed, 31 Mar 2010 09:09:16 -0700, "Alan Morris [MSFT]"
wrote:

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.
  #6  
Old April 1st 10, 06:54 PM posted to microsoft.public.windowsxp.print_fax
Alan Morris [MSFT]
external usenet poster
 
Posts: 783
Default command line print issue

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 he
http://support.microsoft.com/search/?adv=1

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

"M. Müller" wrote in message
...
On Wed, 31 Mar 2010 09:09:16 -0700, "Alan Morris [MSFT]"
wrote:

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.



  #7  
Old April 1st 10, 06:54 PM posted to microsoft.public.windowsxp.print_fax
Alan Morris [MSFT]
external usenet poster
 
Posts: 783
Default command line print issue

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 he
http://support.microsoft.com/search/?adv=1

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

"M. Müller" wrote in message
...
On Wed, 31 Mar 2010 09:09:16 -0700, "Alan Morris [MSFT]"
wrote:

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.



 




Thread Tools
Display Modes

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

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






All times are GMT +1. The time now is 12:27 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.