PC Review


Reply
Thread Tools Rate Thread

copying binary files to a printer

 
 
Gavin
Guest
Posts: n/a
 
      11th Sep 2003
In Windows 2000 I used the following dos command to print
a binary file:

copy c:\testprint.prn \\SMD\HPLJ5_Upstairs.smd

When I try to run it in Windows XP the specified path is
now invalid. As far as I'm aware the printer hasn't
changed.
Has anyone else come across this or am I being thick?!

Cheers.
 
Reply With Quote
 
 
 
 
Lem
Guest
Posts: n/a
 
      11th Sep 2003
Try renaming the printer share name with less than 12 characters and
without the underscore.

(I think the limit I've see is 12, but I don't recall exactly, and I
know underscore isn't normally considered a "special character," but
....)

Gavin wrote:

> In Windows 2000 I used the following dos command to print
> a binary file:
>
> copy c:\testprint.prn \\SMD\HPLJ5_Upstairs.smd
>
> When I try to run it in Windows XP the specified path is
> now invalid. As far as I'm aware the printer hasn't
> changed.
> Has anyone else come across this or am I being thick?!
>
> Cheers.


 
Reply With Quote
 
Gav
Guest
Posts: n/a
 
      12th Sep 2003
Thanks for that. I tried it bit didn't seem to work. Have
now rewrote the program to write directly to the printer
queue using the Win32 API. If you want any more about
this then give us a shout.

Cheers,

Gav.

>-----Original Message-----
>Try renaming the printer share name with less than 12

characters and
>without the underscore.
>
>(I think the limit I've see is 12, but I don't recall

exactly, and I
>know underscore isn't normally considered a "special

character," but
>....)
>
>Gavin wrote:
>
>> In Windows 2000 I used the following dos command to

print
>> a binary file:
>>
>> copy c:\testprint.prn \\SMD\HPLJ5_Upstairs.smd
>>
>> When I try to run it in Windows XP the specified path

is
>> now invalid. As far as I'm aware the printer hasn't
>> changed.
>> Has anyone else come across this or am I being thick?!
>>
>> Cheers.

>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying part of a binary file? simonc Windows XP General 5 4th Sep 2009 07:02 PM
Sending binary data to client printer via web page. =?Utf-8?B?U2Nod2FydHk=?= Microsoft ASP .NET 4 13th Feb 2006 09:06 AM
Copying Binary Data To the Clipboard Neo Microsoft Dot NET 0 15th Dec 2005 02:27 AM
Printer & Copying files Andre Ladenius Windows XP Work Remotely 0 15th Jan 2004 02:26 PM
Printer Install Frozen Copying Files Randy Windows XP Print / Fax 0 9th Sep 2003 04:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:43 AM.