For Programmers: Free Programming Magazines  


Home > Archive > Cobol > November 2007 > LPT1









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author LPT1
thepla@attglobal.net

2007-11-18, 6:55 pm

I have a program that writes to LPT1. We are buying new computers and
the company wants to save the money and not re-buy our label printers
that are parallel only. I bought a USB to Parallel converter but I
cannot figure out how to write to the port. Does anybody have any
ideas. I'm using CA Realia (Windows version 3.3).
Robert

2007-11-19, 3:56 am

On Sun, 18 Nov 2007 16:54:05 -0800 (PST), thepla@attglobal.net wrote:

>I have a program that writes to LPT1. We are buying new computers and
>the company wants to save the money and not re-buy our label printers
>that are parallel only. I bought a USB to Parallel converter but I
>cannot figure out how to write to the port. Does anybody have any
>ideas. I'm using CA Realia (Windows version 3.3).


Make it a shared printer.
Get to a command prompt by running cmd.
Issue this command: net use LPT1 \\computer_name\printer_name /persistent:yes
Go to the printer on Control Panel, Properties, Advanced, Print Processor.
Change it from raw to text.

If that doesn't work, setup the printer twice: on LPT1 and USB.
Go to the printer's Properties/Ports.
Select Enable Printer Pooling and both printers.
Judson McClendon

2007-11-19, 3:56 am

<thepla@attglobal.net> wrote:
>I have a program that writes to LPT1. We are buying new computers and
> the company wants to save the money and not re-buy our label printers
> that are parallel only. I bought a USB to Parallel converter but I
> cannot figure out how to write to the port. Does anybody have any
> ideas. I'm using CA Realia (Windows version 3.3).


If your new PCs have LPT ports - connect label printers and continue as before.

If not - purchase 3rd party PCI LPT cards for $20 ea. connect label printers and continue as before.
--
Judson McClendon judmc@sunvaley0.com (remove zero)
Sun Valley Systems http://sunvaley.com
"For God so loved the world that He gave His only begotten Son, that
whoever believes in Him should not perish but have everlasting life."


HeyBub

2007-11-19, 7:55 am

thepla@attglobal.net wrote:
> I have a program that writes to LPT1. We are buying new computers and
> the company wants to save the money and not re-buy our label printers
> that are parallel only. I bought a USB to Parallel converter but I
> cannot figure out how to write to the port. Does anybody have any
> ideas. I'm using CA Realia (Windows version 3.3).


1. It gets easier if you can jigger the program to send its output to a
file. There are several programs that, when started, continually poll the
hard drive looking for a file to send to whatever printer on whatever port
you selected.

2. As has been stated, for small money, you can add a parallel port to a
computer without one. Unless the computer is a laptop...

3. Here's a web site with a technique we've used with some success:

http://members.shaw.ca/bsanders/printfromdos.htm

The author shows how to "pool" the "port" or create a "share" and map the
printer to an emulated port.


foodman123@gmail.com

2007-11-19, 7:55 am

I found the following. For $103.00 it seems you cannot go wrong.
They provide excellent support via email. The company is in Italy.

http://www.printfil.com/english.htm

You can print to any type of printer via a disk file. You can also
email the files, etc.

Works very well in my experience.

tony dilworth

Robert

2007-11-19, 6:58 pm

On Mon, 19 Nov 2007 05:49:08 -0800 (PST), foodman123@gmail.com wrote:

>I found the following. For $103.00 it seems you cannot go wrong.
>They provide excellent support via email. The company is in Italy.
>
>http://www.printfil.com/english.htm
>
>You can print to any type of printer via a disk file. You can also
>email the files, etc.


You can assign a printer (named LPT1) to the FILE port using Windows, without an add-on.
The file can be printed by dragging and dropping it on the printer icon. Or from the
command prompt, COPY the file to the printer name.

Richard

2007-11-19, 6:58 pm

On Nov 19, 1:54 pm, the...@attglobal.net wrote:
> I have a program that writes to LPT1. We are buying new computers and
> the company wants to save the money and not re-buy our label printers
> that are parallel only. I bought a USB to Parallel converter but I
> cannot figure out how to write to the port. Does anybody have any
> ideas. I'm using CA Realia (Windows version 3.3).


see:

http://members.shaw.ca/bsanders/printfromdos.htm

or many similar pages by serach google for 'capture port'.
Stephen Plotnick

2007-11-19, 6:58 pm

Thanks for the replies. Iwill try a few.

I did not explain one thing.

The printer is used for printing labels around 6000 per day and when the
user scans a barcode the printer automatically prints This goes on all day
in stores and I cannot have any delay that would slow the process down. Now
I write directly to LPT1; if I create a windows printer and go through the
spooler will the process slow down?

Steve
<thepla@attglobal.net> wrote in message
news:62f0bbce-617a-4905-aa16-e0706ea532b5@l1g2000hsa.googlegroups.com...
>I have a program that writes to LPT1. We are buying new computers and
> the company wants to save the money and not re-buy our label printers
> that are parallel only. I bought a USB to Parallel converter but I
> cannot figure out how to write to the port. Does anybody have any
> ideas. I'm using CA Realia (Windows version 3.3).
>


HeyBub

2007-11-19, 6:58 pm

Richard wrote:
> On Nov 19, 1:54 pm, the...@attglobal.net wrote:
>
> see:
>
> http://members.shaw.ca/bsanders/printfromdos.htm
>
> or many similar pages by serach google for 'capture port'.


There is no "capture port" in XP or Vista.


HeyBub

2007-11-19, 6:58 pm

Stephen Plotnick wrote:
> Thanks for the replies. Iwill try a few.
>
> I did not explain one thing.
>
> The printer is used for printing labels around 6000 per day and when
> the user scans a barcode the printer automatically prints This goes
> on all day in stores and I cannot have any delay that would slow the
> process down. Now I write directly to LPT1; if I create a windows
> printer and go through the spooler will the process slow down?
>


Um, depends on what you mean by "slow down."

You lose a few seconds on each label, but you make it up in volume. (old
joke)

That is, you can scan and process faster, but there's some hesitation in
producing the labels.


Stephen Plotnick

2007-11-19, 9:55 pm

Thanks for the vote of confidence with the speed.

When they scan now they can go from item to item without any hesitation. The
positive is that they usually do need to wait for the printer to catch up,
sometimes 30-40 labels.

Steve
"HeyBub" <heybub@gmail.com> wrote in message
news:13k432hcedbnle0@corp.supernews.com...
> Stephen Plotnick wrote:
>
> Um, depends on what you mean by "slow down."
>
> You lose a few seconds on each label, but you make it up in volume. (old
> joke)
>
> That is, you can scan and process faster, but there's some hesitation in
> producing the labels.
>
>


Richard

2007-11-20, 3:55 am

On Nov 20, 11:15 am, "HeyBub" <hey...@gmail.com> wrote:
> Richard wrote:
>
>
>
>
> There is no "capture port" in XP or Vista.


Did you read the link ?
Howard Brazee

2007-11-20, 6:55 pm

On Mon, 19 Nov 2007 16:15:41 -0600, "HeyBub" <heybub@gmail.com> wrote:

>
>There is no "capture port" in XP or Vista.


I wonder if something like Bojour can be useful here.

http://www.apple.com/support/downlo...forwindows.html
HeyBub

2007-11-20, 6:55 pm

Richard wrote:
> On Nov 20, 11:15 am, "HeyBub" <hey...@gmail.com> wrote:
>
> Did you read the link ?


You mean the one I posted three hours before you?

Nah, didn't bother.


Richard

2007-11-20, 9:58 pm

On Nov 21, 6:10 am, "HeyBub" <hey...@gmail.com> wrote:
[color=darkred]
>

The point about searching for 'capture port' is that the web sites
will have solutions for lack of capture port and a google search will
find these.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com