[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: XY Printing under XP or Vista



At 10:32 AM 3/5/2007, Patricia M. Godfrey wrote:
William E. Shawcross wrote:
Anyway, I was wondering if anyone here has figured out how to send the XY print stream to a network port rather than using the LPT1 hardware connection. Thanks!

Yes, indeed. Easy as pie. On Sept. 7, 2003, robert Holmgren wrote:

>> the simplest way is to set XyWrite up to print to LPT1, ...
> then allow your ... printer to be shared,
> determine the name of the share (NET VIEW command will print it to
> the console, or goto your printer ==> Properties ==> Sharing ==>
> click "Shared as" ==> set or get the sharename in the box there),
> and then redirect LPT1 to the share, thus:

> NET USE LPT1 \\computername\sharename /PERSISTENT:YES

> Just print normally from XyWrite to "LPT1". Should work.


> Another solution (the one I use) is to TYF your document, then use
> the Unix command LPR (Line Printer Remote) to send the document to
> your "network" printer. Something like:

> lpr -S 123.456.789.012 -P Hp1000 -o l d:\path\FO.TMP

> where "-S" is the URL of the machine with the printer, "-P" is the
> printer device (the sharename), "-o l" treats the file as binary
> data (which it is, after processing through a XyWrite printer file),
> and FO.TMP is the default output of TYF. The only thing I don't
> know is whether that will work on just one machine and not a
> network. Worth a try, though, because it's fast and can
> be automated: TYF, then dos/nv/x/z /c LPR ... -- always the same
> command, always FO.TMP.

I'm not sure if that last bit would apply to xy III.
OK, so how do I get the Xy print stream diverted from LPT1 to USB - the latter not having been invented in Xy days?

jmrb