index > XML Paper Specification (XPS) > USB Print

USB Print


Hello sir, I have one HP DeskJet 3920 USB port printer.
When i goes to MsDos prompt and want to print
any .TXT file, printer can't print.

command like this C:\>COPY TEMP.TXT PRN

How to be assign USB port.

Kindly help me.
Thanks

 




nbp
Nisith Paul

Follow these steps (on Windows XP, ...):

1. Make your USB printer a shared network resource, even if it is connected to your own PC; choose a share name (not more than 8.3 characters), e.g. "HPDJ3920".

2. Redirect a free DOS printer device of your PC (LPT1...3) to that shared network printer using the console command "net", this way:

C:\> net use LPT1: \\mycomputer\HPDJ3920 /persistent:yes

where "mycomputer" is to be replaced by your computer's name.

3. Print your, in general binary, PRN files like this

C:\> copy mydoc.prn LPT1: /b

where the file "mydoc.prn" has been produced in advance by a normal printing menu command of the application (say MS Word) - but with checkbox "Print to File" checked. By the latter choice, you will be prompted for a file name and you chose, say, mydoc.prn.

helmut.b

I got this from Pam.

Steve in Alaska

1. Share your printer

2. use

> copy file.prn \\<computer_name>\<shared_printer_name>

where <computer_name> is your computer name and <shared_printer_name> is the name you used in step 1 for your printer

Tibi.

tdumitr
reply 4

You can use google to search for other answers

 

More Articles

• output of filter pipeline
• Unable to create XPS doc with A5 pages
• Job sent notification message in system tray
• XPS and StartDoc
• How to extract XpsImageType from XpsImage?
• Using MXDW
• what's wrong with the DocumentViewer's Find method ?
• PT/PC Support in Legacy Drivers
• When is ZIP not ZIP?
• why the vista XPSDRV printer sample can not print? the result has...
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

• Under line of Glyphs
• PT/PC Support in Legacy Drivers
• XPS Viewer - SDK & plug-in interface?
• migrating to xps from pdf
• XPS and High speed digital print manufac
• Form Features
• Can not open XPS document
• XPS:Config Modules DllGetClassObject for
• XPS on PocketPC
• How to add annotations to xps document t
• Using MXDW
• Using XPS on non-Vista platforms
• Form Creation?
• How to use Custom Xml Resolver for valid
• MIME Type

Hot Articles

• XPS-Enabled Print Device
• WDK 5270
• XP Home Updation?
• Print Ticket/Print Capability Support in
• Printing to XPS from MS Word 2003 failed
• How to add annotations to xps document t
• XPS on PocketPC
• How to tell if app produced XPS natively
• Regarding UI plug-in in Feb CTP for the
• Inside COM Server, IPartBase* methods ar
• MIME Type
• stop printing from a filter
• Having a problem of Vista XPSDrv filter
• Certificate for Signdigitally?
• XPS Name when Sent to Printer

Recommend Articles

• Are WDP files openable in XML Paper Spec
• PT/PC Support in Legacy Drivers
• More information regarding IPreview
• How to apply BitmapEffect in pages displ
• How to extract XpsImageType from XpsImage?
• Using DocumentViewer Find or Search?
• XPS Viewer Scriptable?
• XPS output for SQL Reporting Services
• Page Scaling
• Printing to specific output bin
• xps viewer in Dec CTP?
• XPS performance
• Filter Pipeline(PrintFilterPipelineSvc.e
• output of filter pipeline
• XPS on PocketPC