开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Anyone get PTR2 working


 

开云体育

Has anyone gotten “PTR2” to work with any versioin of Hercules?? I’ve got 4.6 and have tried these settings:

?

#000E 1403?? Units/PTR2.txt lpp=66 fcb=1:11,4:1,5:5,8:10,14:6,19:4,24:7,34:2,44:6,49:4,54:7,63:8,66:3 optprint # PTR2

000E 1403?? Units/PTR2.txt fcb=0111040105050810140619042407340244064904540763086603 #PTR2

#000E 1403?? Units/PTR2.txt nofcbcheck? # PTR2

#000E?? 1403?? Units/PTR2.txt???????????? # PTR2

?

But HASP won’t start the printer at all.

?

Thanks


 

On Thu, Jun 29, 2023 at 07:10 PM, John Palmer wrote:
Has anyone gotten “PTR2” to work with any version of Hercules??
Yes, I have, both with Hercules 3.13 and SDL Hercules 4.5.
?
In my configuration file, I defined 00E as
?
00E 1403 1403 sockdev
?
to which I connect the virtual1403 program of Matthew Wilson:
?
https://github.com/racingmars/virtual1403
?
Once the IPL is finished (when message PEEK initialization complete appears), I type the following commands at the console:
?
hasp cold
mts *hsp
mts *las
$list 0
$release ex
%empty
?
I am not sure that virtual1403 produces the right spacing for the front/back pages, but the final output is quite satifying.
?
Cheers,
?
Rene FERLAND
?


 

John Palmer wrote:

Has anyone gotten "PTR2" to work with any versioin of Hercules?
I've got 4.6 and have tried these settings:

#000E 1403 Units/PTR2.txt lpp=66
fcb=1:11,4:1,5:5,8:10,14:6,19:4,24:7,34:2,44:6,49:4,54:7,63:8,66:3
optprint # PTR2
000E 1403 Units/PTR2.txt
fcb=0111040105050810140619042407340244064904540763086603 #PTR2
#000E 1403 Units/PTR2.txt nofcbcheck # PTR2
#000E 1403 Units/PTR2.txt # PTR2

But HASP won't start the printer at all.
I don't know MTS, but I do know Hercules, and you're doing it wrong.

A 1403 model printer does not use a FCB. Only 3203 and 3211 model printers use FCBs. Model 1403 printers use carriage control tapes:


*

*
*
*
*


Now whether that is causing your problem or not, I do not know. As I said, I don't know MTS! Sorry!

I hope that helps some!


P.S. Also, FWIW, in the SDL 4.x Hyperion version of Hercules, the 'nofcbcheck' option has been deprecated, and the 'optprint' option isn't supported at all.

--
"Fish" (David B. Trout)
Software Development Laboratories

mail: fish@...


 

On Thu, Jun 29, 2023 at 08:14 PM, Fish Fish wrote:
A 1403 model printer does not use a FCB. Only 3203 and 3211 model printers use FCBs. Model 1403 printers use carriage control tapes:
Now that you mention it, the definition below works fine with SDL Hercules 4.5 for me:

000E 3211 Units/PTR2.txt lpp=66 fcb=11:1,1:4,5:5,10:8,6:14,4:19,7:24,2:34,6:44,4:49,7:54,8:63,3:66

It will produce proper front/back pages. You might have to devise some mechanism to convert PTR2.txt to a PDF after a job, and reset it. In the past, I remember using a script to convert, and the HTTP server to reset.

Cheers,

Rene FERLAND, Montreal


 

开云体育

Yes, I have it working and it starts, but I can honestly say I use it, or to be more honest really know how to use it much.? It does work but I need a much better knowledge of MVS than I have to utilize it.?? It does however start just fine.

I am using it as an Ip sockedev, and the IP address is due to my local configuration, it resides on a windows server utilizing hercprint, and the MVS instance is on a RaspberryPi running Linux.

000F????? 3211????? 172.30.0.181:3211 sockdev????????? #JES2 PRT2

?

For the primary printer I am using

000E????? 1403????? 172.30.0.181:1403 sockdev????????? #JES2 PRT1

?

If I can supply you any additional info I certainly will, but I honestly don’t have much and value the other members here that actually know what they are doing.

?

Thanks,

Dave

?

From: <[email protected]> on behalf of John Palmer <jpalmer@...>
Reply-To: "[email protected]" <[email protected]>
Date: Thursday, June 29, 2023 at 10:10 PM
To: "[email protected]" <[email protected]>
Subject: [H390-MTS] Anyone get PTR2 working

?

Has anyone gotten “PTR2” to work with any versioin of Hercules?? I’ve got 4.6 and have tried these settings:

?

#000E 1403?? Units/PTR2.txt lpp=66 fcb=1:11,4:1,5:5,8:10,14:6,19:4,24:7,34:2,44:6,49:4,54:7,63:8,66:3 optprint # PTR2

000E 1403?? Units/PTR2.txt fcb=0111040105050810140619042407340244064904540763086603 #PTR2

#000E 1403?? Units/PTR2.txt nofcbcheck? # PTR2

#000E?? 1403?? Units/PTR2.txt???????????? # PTR2

?

But HASP won’t start the printer at all.

?

Thanks


 

开云体育

I hate to venture this, but – maybe you last line if you omit the Units part will work – not sure why you have that in there.

Try:

000E????? 1403????? PRT2.txt

?

See if that will start for you.? For fcb= and lpp= portions I have no knowedge of butit may just be the “Units/” that is causing your problem in the conf file.

?

Dave

?

From: <[email protected]> on behalf of John Palmer <jpalmer@...>
Reply-To: "[email protected]" <[email protected]>
Date: Thursday, June 29, 2023 at 10:10 PM
To: "[email protected]" <[email protected]>
Subject: [H390-MTS] Anyone get PTR2 working

?

Has anyone gotten “PTR2” to work with any versioin of Hercules?? I’ve got 4.6 and have tried these settings:

?

#000E 1403?? Units/PTR2.txt lpp=66 fcb=1:11,4:1,5:5,8:10,14:6,19:4,24:7,34:2,44:6,49:4,54:7,63:8,66:3 optprint # PTR2

000E 1403?? Units/PTR2.txt fcb=0111040105050810140619042407340244064904540763086603 #PTR2

#000E 1403?? Units/PTR2.txt nofcbcheck? # PTR2

#000E?? 1403?? Units/PTR2.txt???????????? # PTR2

?

But HASP won’t start the printer at all.

?

Thanks


 

On Thu, Jun 29, 2023 at 11:20 PM, Dave Trainor - N8ZFM wrote:
It does work but I need a much better knowledge of MVS than I have to utilize it.
Hmmm ... This group is about MTS (Michigan Terminal System), not MVS. Who is confused here, you or me?? :-)

Cheers,

Rene FERLAND, Montreal


 

开云体育

Obviously me, my apologies. I have both groups going to the same folder and apparently have gotten too old.

?

Dave

?

From: <[email protected]> on behalf of René Ferland <ferland.rene@...>
Reply-To: "[email protected]" <[email protected]>
Date: Friday, June 30, 2023 at 2:27 AM
To: "[email protected]" <[email protected]>
Subject: Re: [H390-MTS] Anyone get PTR2 working

?

On Thu, Jun 29, 2023 at 11:20 PM, Dave Trainor - N8ZFM wrote:

It does work but I need a much better knowledge of MVS than I have to utilize it.

Hmmm ... This group is about MTS (Michigan Terminal System), not MVS. Who is confused here, you or me?? :-)

Cheers,

Rene FERLAND, Montreal