Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Anonymous_User Absent Member.
Absent Member.
2457 views

Iprint & dos applications

I still have a bunch of DOS applications in use and we're trying to switch
over to iprint, but i cant get the dos applications to print.
Ive captured lpt1 with the icapture and pointed the applications to it, but
it just wont start printing.
if i do 'echo hello! >lpt1' on a command prompt, then it does work.
Any ideas ?

-
Arjan


0 Likes
13 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Iprint & dos applications

Create a print queue, capture to that from the login script, and let the PA
service that

http://www.novell.com/documentation/nw65/iprint/data/hx0rwd73.html#h8de1l51



--
Best Regards

Tommy Mikkelsen

IT Quality A/S
Denmark

Novell Support Forums SYSOP

Please Report back any success or failure, That way we all learn

Sorry, but no support through email

"I hate bugs".......Tommy Lee Jones, MIB

Be a GroupWiseR, go http://www.groupwiser.net
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Iprint & dos applications

This is what i was thinking also, but our idea is to get rid of all que
based printing if possible and run everything over iprint, including
workstastion <-> server.
It just seems a bit odd that iprint doesnt handle the lpt1 propperly
somehow, i did manage to get it working with some extra 3rd party capture
program so i know its an issue with the iprint client.

-
Arjan

"Tommy Mikkelsen" <tm@NoSpAmitq.dk> schreef in bericht
news:zZP1h.22822$0h7.7525@prv-forum2.provo.novell.com...
> Create a print queue, capture to that from the login script, and let the
> PA
> service that
>
> http://www.novell.com/documentation/nw65/iprint/data/hx0rwd73.html#h8de1l51
>
>
>
> --
> Best Regards
>
> Tommy Mikkelsen
>
> IT Quality A/S
> Denmark
>
> Novell Support Forums SYSOP
>
> Please Report back any success or failure, That way we all learn
>
> Sorry, but no support through email
>
> "I hate bugs".......Tommy Lee Jones, MIB
>
> Be a GroupWiseR, go http://www.groupwiser.net



0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Iprint & dos applications

Strange, I got it to work just fine on XP.

Just a few points, did you first install the iPrint printer as a windows
printer first?

When you look in the Printers and Faxes Folder did you see the printer
named something like:
PRINTERNAME on ipp://iPrinterServerName

Can you send test prints from the Windows Printer to successfully?

Did you use the command:
icapture L=1 P=PRINTERNAME

When you run the command "echo Hello! > lpt1" check the PWD to see if a
new file called lpt1 was created?

Bob

Arjan wrote:
> I still have a bunch of DOS applications in use and we're trying to switch
> over to iprint, but i cant get the dos applications to print.
> Ive captured lpt1 with the icapture and pointed the applications to it, but
> it just wont start printing.
> if i do 'echo hello! >lpt1' on a command prompt, then it does work.
> Any ideas ?
>
> -
> Arjan
>
>
>

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Iprint & dos applications

I tried using icapture.exe and the client to capture the printer.
The printer works just fine as a windows printer, and it prints also if i
send something from the command promt to lpt1.
Just not from within actual DOS applications, the program says it printed
but nothing is showing up.
Checked and doublechecked if the program is pointed at anything else but
lpt1 anywhere but its all set to lpt1.

-
Arjan

"Bob Brandt" <Bob.Brandt.NOSPAM@opw.deleteme.ie> schreef in bericht
news:MVY1h.22955$0h7.5220@prv-forum2.provo.novell.com...
> Strange, I got it to work just fine on XP.
>
> Just a few points, did you first install the iPrint printer as a windows
> printer first?
>
> When you look in the Printers and Faxes Folder did you see the printer
> named something like:
> PRINTERNAME on ipp://iPrinterServerName
>
> Can you send test prints from the Windows Printer to successfully?
>
> Did you use the command:
> icapture L=1 P=PRINTERNAME
>
> When you run the command "echo Hello! > lpt1" check the PWD to see if a
> new file called lpt1 was created?
>
> Bob
>
> Arjan wrote:
>> I still have a bunch of DOS applications in use and we're trying to
>> switch over to iprint, but i cant get the dos applications to print.
>> Ive captured lpt1 with the icapture and pointed the applications to it,
>> but it just wont start printing.
>> if i do 'echo hello! >lpt1' on a command prompt, then it does work.
>> Any ideas ?
>>
>> -
>> Arjan
>>
>>



0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Iprint & dos applications

So If you did use the command echo blahblah > lpt1 it will come out on
the printer?? But the DOS program with printers to lpt1 does not?? Weird.

And the DOS program worked when you just captured a queue-based printers?

Further testing showed that although I did run the icapture command and
was able to print from the DOS command line, the capture did not show up
in the iPrint client. On your set, right-click the iPrint icon in the
System Tray and select "iPrint settings". The last tab should be the
iCapture tab which will list the LPT port settings. See if your printer
is there (mine wasn't) if not add it and then test again.

Unfortunately this is the limit of my knowledge, but I did also notice
that the LPT captures did not show up in either the NET USE command or
the Novell Capture command you could only see then through the "icapture
show" command??

Good Luck
Bob



Arjan wrote:
> I tried using icapture.exe and the client to capture the printer.
> The printer works just fine as a windows printer, and it prints also if i
> send something from the command promt to lpt1.
> Just not from within actual DOS applications, the program says it printed
> but nothing is showing up.
> Checked and doublechecked if the program is pointed at anything else but
> lpt1 anywhere but its all set to lpt1.
>
> -
> Arjan
>
> "Bob Brandt" <Bob.Brandt.NOSPAM@opw.deleteme.ie> schreef in bericht
> news:MVY1h.22955$0h7.5220@prv-forum2.provo.novell.com...
>
>> Strange, I got it to work just fine on XP.
>>
>> Just a few points, did you first install the iPrint printer as a windows
>> printer first?
>>
>> When you look in the Printers and Faxes Folder did you see the printer
>> named something like:
>> PRINTERNAME on ipp://iPrinterServerName
>>
>> Can you send test prints from the Windows Printer to successfully?
>>
>> Did you use the command:
>> icapture L=1 P=PRINTERNAME
>>
>> When you run the command "echo Hello! > lpt1" check the PWD to see if a
>> new file called lpt1 was created?
>>
>> Bob
>>
>> Arjan wrote:
>>
>>> I still have a bunch of DOS applications in use and we're trying to
>>> switch over to iprint, but i cant get the dos applications to print.
>>> Ive captured lpt1 with the icapture and pointed the applications to it,
>>> but it just wont start printing.
>>> if i do 'echo hello! >lpt1' on a command prompt, then it does work.
>>> Any ideas ?
>>>
>>> -
>>> Arjan
>>>
>>>
>>>

>
>
>

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Iprint & dos applications


"Bob Brandt" <Bob.Brandt.NOSPAM@opw.deleteme.ie> schreef in bericht
news:2eZ1h.22958$0h7.9598@prv-forum2.provo.novell.com...
> So If you did use the command echo blahblah > lpt1 it will come out on the
> printer?? But the DOS program with printers to lpt1 does not?? Weird.

Yea, i got to the weird bit also 🙂

> And the DOS program worked when you just captured a queue-based printers?

Yes

I just found out that we have a CAD/CAM program (microstation) which uses
its own print driver which prints to lpt1 and it also isn't working.
This is a 32bit windows program, thankfully because of this it has windows
que printing also which does work, but that lacks some functions.
Seems like only place i can send things to lpt1 is from the command prompt.

-
Arjan


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Iprint & dos applications

Arjan wrote:

> i know its an issue with the iprint client


Maybe, or the printer name etc. is simply to long ?

Try with shortnames instead

--
Best Regards

Tommy Mikkelsen

IT Quality A/S
Denmark

Novell Support Forums SYSOP

Please Report back any success or failure, That way we all learn

Sorry, but no support through email

"I hate bugs".......Tommy Lee Jones, MIB

Be a GroupWiseR, go http://www.groupwiser.net
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Iprint & dos applications

We had the too long printername problem when we started using iprint so
we're allready using short names.
Adobe taking around 2 minutes before it started printing etc.

Currently the windows printers arnt giving problems, only the captures to
lptx from DOS applications and our CAD/CAM application(when using lpt
instead of windows printer)..

-
Arjan.

"Tommy Mikkelsen" <tm@NoSpAmitq.dk> schreef in bericht
news:mh42h.23273$0h7.20943@prv-forum2.provo.novell.com...
> Arjan wrote:
>
>> i know its an issue with the iprint client

>
> Maybe, or the printer name etc. is simply to long ?
>
> Try with shortnames instead
>
> --
> Best Regards
>
> Tommy Mikkelsen
>
> IT Quality A/S
> Denmark
>
> Novell Support Forums SYSOP
>
> Please Report back any success or failure, That way we all learn
>
> Sorry, but no support through email
>
> "I hate bugs".......Tommy Lee Jones, MIB
>
> Be a GroupWiseR, go http://www.groupwiser.net



0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Iprint & dos applications

We use Autocad without any serious problems (Autocad sucks when it comes
to printers!) What Cad program are you using?
Bob

Arjan wrote:
> We had the too long printername problem when we started using iprint so
> we're allready using short names.
> Adobe taking around 2 minutes before it started printing etc.
>
> Currently the windows printers arnt giving problems, only the captures to
> lptx from DOS applications and our CAD/CAM application(when using lpt
> instead of windows printer)..
>
> -
> Arjan.
>
> "Tommy Mikkelsen" <tm@NoSpAmitq.dk> schreef in bericht
> news:mh42h.23273$0h7.20943@prv-forum2.provo.novell.com...
>
>> Arjan wrote:
>>
>>
>>> i know its an issue with the iprint client
>>>

>> Maybe, or the printer name etc. is simply to long ?
>>
>> Try with shortnames instead
>>
>> --
>> Best Regards
>>
>> Tommy Mikkelsen
>>
>> IT Quality A/S
>> Denmark
>>
>> Novell Support Forums SYSOP
>>
>> Please Report back any success or failure, That way we all learn
>>
>> Sorry, but no support through email
>>
>> "I hate bugs".......Tommy Lee Jones, MIB
>>
>> Be a GroupWiseR, go http://www.groupwiser.net
>>

>
>
>

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Iprint & dos applications

What version of the iPrint client are you using? We have a mix of
machines capturing various lpt ports to queues serviced by printer
agents and some capturing lpt ports directly to printer agents. We ran
into lots problems printing from our legacy DOS apps using the 4.15
version. At the time, we had to back rev to 4.12 to get the apps to
work with icapture. Something with icapture.exe in the 4.15 version
didn't quite work right.

It all appears to be fixed again in the 4.20 iprint client as well.

Mike

Arjan wrote:
> I still have a bunch of DOS applications in use and we're trying to switch
> over to iprint, but i cant get the dos applications to print.
> Ive captured lpt1 with the icapture and pointed the applications to it, but
> it just wont start printing.
> if i do 'echo hello! >lpt1' on a command prompt, then it does work.
> Any ideas ?
>
> -
> Arjan
>
>

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Iprint & dos applications

microstation. v8
The windows printer works ok, a normal lpt capture for a binary printer
works just fine also.
Only its own print system which prints on lpt1 is giving issues.

-
Arjan

"Bob Brandt" <Bob.Brandt.NOSPAM@opw.deleteme.ie> schreef in bericht
news:36i2h.23861$0h7.13287@prv-forum2.provo.novell.com...
> We use Autocad without any serious problems (Autocad sucks when it comes
> to printers!) What Cad program are you using?
> Bob
>
> Arjan wrote:
>> We had the too long printername problem when we started using iprint so
>> we're allready using short names.
>> Adobe taking around 2 minutes before it started printing etc.
>>
>> Currently the windows printers arnt giving problems, only the captures to
>> lptx from DOS applications and our CAD/CAM application(when using lpt
>> instead of windows printer)..
>>
>> -
>> Arjan.
>>
>> "Tommy Mikkelsen" <tm@NoSpAmitq.dk> schreef in bericht
>> news:mh42h.23273$0h7.20943@prv-forum2.provo.novell.com...
>>
>>> Arjan wrote:
>>>
>>>
>>>> i know its an issue with the iprint client
>>>>
>>> Maybe, or the printer name etc. is simply to long ?
>>>
>>> Try with shortnames instead
>>>
>>> --
>>> Best Regards
>>>
>>> Tommy Mikkelsen
>>>
>>> IT Quality A/S
>>> Denmark
>>>
>>> Novell Support Forums SYSOP
>>>
>>> Please Report back any success or failure, That way we all learn
>>>
>>> Sorry, but no support through email
>>>
>>> "I hate bugs".......Tommy Lee Jones, MIB
>>>
>>> Be a GroupWiseR, go http://www.groupwiser.net

>>
>>
>>



0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Iprint & dos applications

Im using 4.20.
I cant backrev a single client because of the auto updater i think, havnt
tried it though.
We're using pure iprint and not iprint servicing old fashioned print queues.
People are loving the webpage with a map where they can install their own
printers.

-
Arjan

"Michael Busse" <michael.busse@pattersondental.com> schreef in bericht
news:fBt2h.261$475.192@prv-forum2.provo.novell.com...
> What version of the iPrint client are you using? We have a mix of
> machines capturing various lpt ports to queues serviced by printer agents
> and some capturing lpt ports directly to printer agents. We ran into lots
> problems printing from our legacy DOS apps using the 4.15 version. At the
> time, we had to back rev to 4.12 to get the apps to work with icapture.
> Something with icapture.exe in the 4.15 version didn't quite work right.
>
> It all appears to be fixed again in the 4.20 iprint client as well.
>
> Mike
>
> Arjan wrote:
>> I still have a bunch of DOS applications in use and we're trying to
>> switch over to iprint, but i cant get the dos applications to print.
>> Ive captured lpt1 with the icapture and pointed the applications to it,
>> but it just wont start printing.
>> if i do 'echo hello! >lpt1' on a command prompt, then it does work.
>> Any ideas ?
>>
>> -
>> Arjan



0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Iprint & dos applications

On Fri, 03 Nov 2006 10:09:42 +0000, Arjan wrote:

> Im using 4.20.
> I cant backrev a single client because of the auto updater i think, havnt
> tried it though.
> We're using pure iprint and not iprint servicing old fashioned print
> queues. People are loving the webpage with a map where they can install
> their own printers.


We're still using the 4.16 client, and it's working just fine with that
client. The DOS app is launched via a batch file that runs icapture, then
launches the executable. What syntax are you using for icapture?

Also, if redirecting something to lpt1 works (as you stated in your
original post) then it sounds like iPrint is doing its job. It almost
makes me wonder if your DOS app is doing some funky hardware call.

Last, by any chance, does this app use a hardware license key attached to
lpt1? Our app does that and it's actually not a problem, but I could see
how in theory that could be an issue. You just never can tell what some
old crappy DOS app is doing.

Joe
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.