Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

raw printing in Windows XP

Status
Not open for further replies.

PC888

Programmer
Nov 7, 2003
117
CA
When I do CAD, I save my drawings into a file directly in the printers language. This way, the next time I print, I do not need the CAD software, and I get identical copies every time independent of the CAD software's settings.

Some files are in PCL6, some are in PostScript. I have not found a way to dump these files to the printer without using an application like Word, Wordpad, or anything that does not modifiy the file. In other words, I need the DOS equivalent of copy filename.pcl lpt1.

What complicates a little more is that the printer is remote, and is connected directly with an IP address.
The command or procedure, if found, should preferably be non-printer specific, i.e. no printer drivers required.

Many thanks in advance.
 
You get the idea, that's what I usually do in Linux/Unix. I'd like to find the equivalent in Windows/XP, if a similar command exists.
 
Hi,
How about lpr?
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\transfers\CIDData>lpr

Sends a print job to a network printer

Usage: lpr -S server -P printer [-C class] [-J job] [-o option] [-x] [-d] filename

Options:
     -S server    Name or ipaddress of the host providing lpd service
     -P printer   Name of the print queue
     -C class     Job classification for use on the burst page
     -J job       Job name to print on the burst page
     -o option    Indicates type of the file (by default assumes a text file)
                  Use "-o l" for binary (e.g. postscript) files
     -x           Compatibility with SunOS 4.1.x and prior
     -d           Send data file first




[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
I did not know that lpr exists in XP. I'll try it out and get back.
Many thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top